/* Homepage styles (EN + ES). Moved out of an inline <style> block so the
   CSP needs no style-src 'unsafe-inline'. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Carbon Navy — the real app's dark-theme tokens (.claude/skills/design_tokens.md),
     carried over deliberately so the marketing site and the product agree with each
     other instead of inventing a separate "pitch deck" identity. */
  --bg: #0F1623;
  --surface: #1A2332;
  --surface-elevated: #222D40;
  --surface3: #152030;
  --border: #2A3445;
  --border-hover: #3A4A63;
  --text: #E8E4DC;
  --text-secondary: #B8B4BC;
  --muted: #8A8F9C;

  /* Brand — orange, not green. Green is reserved for the FINE verdict only;
     see the 2026-09-21 critique (.impeccable/critique/) for why sharing one
     accent between "brand" and "verdict" was the top-scoring problem. */
  --brand: #F07020;
  --brand-dim: #CC5A10;

  /* Verdict colors — the real VerdictBadge hex values, not invented ones. */
  --fine: #4CAF7D;
  --fine-bg: rgba(76,175,125,.12);
  --flagged: #EF5350;
  --flagged-bg: color-mix(in srgb, var(--flagged) 12%, transparent);
  --heading: #fff;
  --on-brand: #0F1623;
  --brand-hover: #FF8A3D;
  --field-border: #5E7092;
  --danger-text: #F28B88;
  --danger-border: color-mix(in srgb, var(--flagged) 60%, transparent);
  --danger-hover-text: #FFB4B2;
  --nav-bg: rgba(15,22,35,.92);
  --nav-bg-solid: rgba(15,22,35,.97);
  --hairline: rgba(255,255,255,.05);
  --shadow: rgba(0,0,0,.35);

  /* Mid-severity accent for individual flag rows (not a verdict state —
     design_tokens.md has no dedicated "warning" token). Reuses --brand,
     matching the real app's own precedent of reusing orange
     (signalNegotiate / insightDot('analyzing')) for an attention-but-
     not-flagged state, instead of inventing a new hex. */
  --warn: var(--brand);

  --display: 'Bebas Neue', sans-serif;
  --body: 'DM Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 16px;
  --r-sm: 8px;
}

/* ── LIGHT THEME: follows the device setting only (no toggle, no storage).
   Warm Paper tokens from .claude/skills/design_tokens.md, with orange
   darkened for text and fills on light backgrounds (WCAG AA, measured).
   Screen only: print keeps its own black-on-white rules. ── */
@media screen and (prefers-color-scheme: light) {
  :root {
    --bg: #F5EFE4;
    --surface: #FBF7F0;
    --surface-elevated: #EDE5D8;
    --surface3: #EEE7DA;
    --border: #D4C9B8;
    --border-hover: #A89880;
    --field-border: #8C7E68;
    --text: #1C1610;
    --text-secondary: #5A5040;
    --muted: #6B604F;
    --heading: #1C1610;
    --brand: #A83508;
    --brand-dim: #8A2C06;
    --brand-hover: #8A2C06;
    --on-brand: #FFFFFF;
    --fine: #276B43;
    --fine-bg: rgba(39,107,67,.10);
    --flagged: #B3261E;
    --flagged-bg: rgba(179,38,30,.08);
    --danger-text: #B3261E;
    --danger-border: #B3261E;
    --danger-hover-text: #8E1D17;
    --nav-bg: rgba(245,239,228,.92);
    --nav-bg-solid: rgba(245,239,228,.98);
    --hairline: rgba(28,22,16,.10);
    --shadow: rgba(28,22,16,.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 2px; }
::selection { background: var(--brand); color: var(--on-brand); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ── CANVAS ─────────────────────────────── */
#mesh { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .05; }

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 64px;
  background: var(--nav-bg); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .3s;
}
.nav-logo { font-family: var(--display); font-size: 22px; letter-spacing: .08em; color: var(--brand); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
/* Every top-level item (links and the Free tools button) shares one box:
   same height, font and line-height, so they sit on one centre line. */
.nav-links > li > a, .nav-links > li > .nav-dd-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; line-height: 1; white-space: nowrap; }
.nav-cta { white-space: nowrap; }
/* Spanish labels are longer: tighter tracking, hamburger takes over earlier. */
html:lang(es) .nav-links { gap: 22px; }
html:lang(es) .nav-links > li > a, html:lang(es) .nav-links > li > .nav-dd-btn { letter-spacing: .05em; }
/* Collapse to the hamburger below 1320px. Re-measured 2026-11-10 with the
   "Guides" item: the EN homepage header needs 1315px. */
@media (max-width: 1319px) {
  nav .nav-links, nav .nav-cta, nav .lang-switch { display: none; }
  nav .hamburger { display: flex; }
}
/* Spanish labels are longer. Re-measured 2026-11-10 with "Guías" + EN badge:
   the ES header needs 1403px, so collapse below 1420px (the full menu fits at 1440px). */
@media (max-width: 1419px) {
  html:lang(es) nav .nav-links, html:lang(es) nav .nav-cta, html:lang(es) nav .lang-switch { display: none; }
  html:lang(es) nav .hamburger { display: flex; }
}
.nav-links a:hover { color: var(--text); }
/* "EN" badge on the ES "Guías" link: the guides are English-only. The link's
   accessible name is "Guías (en inglés)" (visually hidden text); the badge is
   aria-hidden. Owner decision 2026-11-10. */
.lang-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 5px; font-family: var(--mono); font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); border: 1px solid var(--field-border); border-radius: 4px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; white-space: nowrap;
  font-family: var(--body); line-height: 1.2; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-brand); background: var(--brand); border: none;
  padding: 10px 16px; border-radius: var(--r-sm); cursor: pointer;
  text-decoration: none; transition: background .2s, transform .15s var(--ease);
}
.nav-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; width: 44px; height: 44px; padding: 0; margin-right: -11px; background: none; border: none; }

/* "Free tools" dropdown: opens on click/tap/keyboard, never hover-only (nav.js) */
.nav-dd { position: relative; }
.nav-dd-btn { font: inherit; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; margin: 0; background: none; border: 0; cursor: pointer; font-family: var(--body); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--text); }
.nav-dd-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.nav-dd-btn svg { transition: transform .2s var(--ease); }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; right: 0; min-width: 230px; list-style: none; margin-top: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: 0 12px 32px var(--shadow); z-index: 210; }
.nav-dd-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text-secondary); }
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: var(--surface3); color: var(--text); }
/* Language switcher (EN | ES): header on desktop, mobile menu on phones */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lang-switch a, .m-lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px; color: var(--muted); text-decoration: none; letter-spacing: .06em; }
.lang-switch a:hover, .m-lang a:hover { color: var(--text); }
.lang-switch a[aria-current="true"], .m-lang a[aria-current="true"] { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.lang-switch a:focus-visible, .m-lang a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.m-lang { display: flex; align-items: center; gap: 4px; padding-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mobile-menu .m-lang a { min-height: 44px; border-bottom: none; font-size: 13px; letter-spacing: .06em; text-transform: none; }
@media (max-width: 900px) { .lang-switch { display: none; } }
.mobile-menu .m-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 18px 0 2px; }
.mobile-menu a.m-tool { text-transform: none; letter-spacing: 0; color: var(--text-secondary); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 190;
  background: var(--nav-bg-solid); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 24px 16px 32px;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 16px 0;
  border-bottom: 1px solid var(--border); transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 16px; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .m-cta {
  color: var(--on-brand); background: var(--brand); text-align: center;
  padding: 14px; border-radius: var(--r-sm); border: none; margin-top: 8px;
}
.mobile-menu a.m-cta:hover { filter: brightness(1.12); color: var(--bg); }

/* ── SHARED ─────────────────────────────── */
section { position: relative; z-index: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
.ttl { font-family: var(--display); font-size: clamp(52px, 5vw, 78px); line-height: .92; color: var(--heading); }
.div { width: 48px; height: 3px; background: var(--brand); margin-top: 20px; }
.two-col { display: grid; grid-template-columns: minmax(260px, max-content) 1fr; gap: 72px; align-items: start; }
.reveal { opacity: 0; transform: translateY(20px); }

/* ── HERO ───────────────────────────────── */
#hero { min-height: 100vh; display: flex; align-items: center; padding-top: 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%; }
.hero-h1 { font-family: var(--display); font-size: clamp(48px, 5.2vw, 78px); line-height: .95; color: var(--heading); margin-bottom: 18px; }
/* The brand line, kept as the subhead under the keyword H1 (#381 item 3). */
.hero-brand { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: .02em; color: var(--text-secondary); margin-bottom: 22px; }
.hero-h1 span { color: var(--brand); }
.hero-sub { font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--text-secondary); max-width: 460px; margin-bottom: 44px; }
.hero-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-p {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-brand); background: var(--brand); border: none;
  padding: 15px 30px; border-radius: var(--r-sm); cursor: pointer; text-decoration: none;
  transition: background .2s, transform .2s var(--ease);
}
.btn-p:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-p svg { transition: transform .2s var(--ease); }
.btn-p:hover svg { transform: translateX(4px); }
.btn-g { font-size: 14px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: none; transition: color .2s; }
.btn-g:hover { color: var(--text); }
.hero-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* Hero visual */
/* A simple, non-overlapping vertical stack: criteria -> connector -> verdict.
   (An earlier absolute-positioned floating-card layout overlapped its own
   elements at real viewport widths — replaced rather than patched.) */
.hero-vis { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 360px; margin-left: auto; }
.vcard { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 24px; }
.vcard.criteria { padding: 18px 24px; }
.vcard.main { border-color: var(--flagged); }
.vc-connector {
  display: flex; align-items: center; gap: 6px; padding: 2px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted);
}
.vc-connector svg { flex-shrink: 0; transform: rotate(90deg); }
.vc-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.vc-vin { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 16px; letter-spacing: .04em; }
.vc-verdict { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 32px; letter-spacing: .05em; color: var(--flagged); margin-bottom: 18px; }
.vc-verdict::before { content: ''; width: 9px; height: 9px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.vc-flags { display: flex; flex-direction: column; gap: 6px; }
.vc-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; background: var(--surface3); border-radius: 6px; border: 1px solid var(--border); }
.vc-key { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.vc-val { font-family: var(--mono); font-size: 11px; font-weight: 500; }
.ok { color: var(--fine); } .warn { color: var(--warn); } .bad { color: var(--flagged); }

/* ── PROBLEM ────────────────────────────── */
#problem { padding: 130px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.p-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.p-card { background: var(--surface3); border: 1px solid var(--border); border-radius: var(--r); padding: 30px 26px; transition: border-color .3s, transform .3s var(--ease); }
.p-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.p-dot { width: 10px; height: 10px; background: var(--brand); border-radius: 2px; margin-bottom: 18px; }
.p-title { font-family: var(--display); font-size: 21px; letter-spacing: .04em; color: var(--heading); margin-bottom: 10px; line-height: 1.1; }
.p-text { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--text-secondary); }

/* ── HOW ────────────────────────────────── */
#how { padding: 130px 0; }
.how-hdr { display: grid; grid-template-columns: minmax(260px, max-content) 1fr; gap: 72px; margin-bottom: 60px; }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
.s-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px; transition: border-color .3s; }
.s-card:hover { border-color: var(--border-hover); }
.s-num { font-family: var(--display); font-size: 50px; color: var(--brand); line-height: 1; margin-bottom: 12px; }
.s-name { font-family: var(--display); font-size: 22px; letter-spacing: .06em; color: var(--heading); margin-bottom: 10px; }
.s-desc { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--text-secondary); }
.s-arr { color: var(--on-brand); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--brand); border-radius: 50%; flex-shrink: 0; margin: 0 10px; }
.how-cap { text-align: center; margin-top: 44px; font-family: var(--mono); font-size: 13px; font-style: italic; color: var(--muted); letter-spacing: .04em; }

/* ── VERDICT ────────────────────────────── */
#verdict { padding: 130px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.v-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-brand); background: var(--brand); padding: 7px 14px; border-radius: 999px; margin-top: 28px; white-space: nowrap; }
/* The Spanish badge is longer: slightly tighter tracking keeps it on one line. */
html:lang(es) .v-badge { letter-spacing: .06em; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-card { background: var(--surface3); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 26px; transition: border-color .3s, transform .3s var(--ease); position: relative; overflow: hidden; }
.f-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.f-card.wide { grid-column: span 2; }
.f-line { position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--brand); opacity: 0; transition: opacity .3s; }
.f-card:hover .f-line { opacity: 1; }
.f-title { font-family: var(--display); font-size: 21px; letter-spacing: .05em; color: var(--heading); margin-bottom: 10px; }
.f-desc { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--text-secondary); margin-bottom: 18px; }
.d-row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-secondary); padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.d-row:last-child { border-bottom: none; }
.d-time { color: var(--muted); font-size: 11px; flex-shrink: 0; }
.d-evt { flex: 1; letter-spacing: .03em; }
.d-evt.flag { color: var(--flagged); } .d-evt.warn { color: var(--warn); } .d-evt.ok { color: var(--fine); }

/* ── TARGETS ────────────────────────────── */
#targets { padding: 130px 0; }
.t-hdr { display: grid; grid-template-columns: minmax(260px, max-content) 1fr; gap: 72px; margin-bottom: 56px; align-items: center; }
.t-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px; transition: border-color .3s, transform .3s var(--ease); }
.t-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.t-card.prim { border-color: var(--brand); }
.t-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 4px 11px; border-radius: 999px; display: inline-block; margin-bottom: 18px; }
.t-tag.pt { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }
.t-name { font-family: var(--display); font-size: 26px; letter-spacing: .04em; color: var(--heading); margin-bottom: 10px; }
.t-desc { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--text-secondary); }


/* ── FREE TOOLS ─────────────────────────── */
#tools { padding: 130px 0; }
#tools h3.t-name { font-weight: 400; }
.tools-lede { font-size: 17px; font-weight: 300; color: var(--text-secondary); max-width: 460px; line-height: 1.7; }
.tool-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--brand); text-decoration: none; }
.tool-link:hover { color: var(--text); }

/* Classes that replace the old inline style= attributes */
.vc-criteria { font-family: var(--mono); font-size: 12px; color: var(--text); line-height: 1.9; }
.d-tag { font-family: var(--mono); font-size: 11px; }
.sub-lede { font-size: 17px; font-weight: 300; color: var(--text-secondary); max-width: 460px; line-height: 1.7; }
.sub-lede-center { align-self: center; max-width: none; }
.v-sub { margin-top: 20px; font-size: 15px; font-weight: 300; color: var(--text-secondary); line-height: 1.65; }
.btn-lg { font-size: 15px; padding: 18px 38px; }

/* ── PRINT: black on white, no nav, footer or CTAs ── */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface3: #fff; --surface-elevated: #fff; --border: #999; --text: #000; --text-secondary: #222; --muted: #444; --heading: #000; --brand: #000; --on-brand: #fff; --hairline: #ccc; }
  html, body { background: #fff !important; color: #000; }
  nav, #navbar, .mobile-menu, #mesh, footer, #cta, .hero-btns, .hero-hint, .skip { display: none !important; }
  .reveal, .p-grid > *, .steps > *, .f-grid > *, .t-grid > * { opacity: 1 !important; transform: none !important; }
  #hero { min-height: 0; padding-top: 0; }
  #problem, #how, #verdict, #targets, #tools { padding: 16px 0 !important; border: none; }
  .p-card, .s-card, .f-card, .t-card, .vcard { break-inside: avoid; }
  a { color: #000; }
  body { font-size: 10pt; }
  .container { padding: 0; }
  .hero-grid, .two-col, .how-hdr, .t-hdr { display: block !important; margin-bottom: 8pt !important; }
  .hero-vis, .s-arr, .div { display: none; }
  .hero-h1 { font-size: 34pt !important; margin-bottom: 8pt; }
  .p-card, .s-card, .f-card, .t-card, .p-grid > *, .t-grid > * { border-radius: 6px; }
  .ttl { font-size: 24pt !important; margin-bottom: 8pt; }
  .hero-sub, .sub-lede, .tools-lede, .v-sub { font-size: 10pt; margin-bottom: 8pt; max-width: none; }
  .p-grid, .f-grid, .t-grid { grid-template-columns: 1fr 1fr !important; gap: 8pt !important; }
  .f-card.wide { grid-column: span 2 !important; }
  .steps { grid-template-columns: 1fr 1fr 1fr !important; gap: 8pt !important; }
  .p-card, .s-card, .f-card, .t-card { padding: 8pt 10pt; border-color: #999; }
  .p-title, .f-title, .t-name, .s-name { font-size: 12pt; }
  .s-num { font-size: 20pt; }
  .p-text, .s-desc, .f-desc, .t-desc { font-size: 9pt; }
  .how-cap { margin-top: 8pt; }
}

/* ── CTA ────────────────────────────────── */
#cta { padding: 150px 0; text-align: center; background: var(--surface); border-top: 1px solid var(--border); }
.cta-h2 { font-family: var(--display); font-size: clamp(60px,8vw,108px); line-height: .9; color: var(--heading); margin-bottom: 44px; }
.cta-note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ── FOOTER ─────────────────────────────── */
footer { padding: 36px 64px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; gap: 24px; flex-wrap: wrap; }
.f-logo { font-family: var(--display); font-size: 20px; letter-spacing: .08em; color: var(--brand); }
.f-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.f-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: var(--text); }
.f-copy { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.f-tm { flex-basis: 100%; font-size: 12px; color: var(--muted); }

/* ── RESPONSIVE ─────────────────────────── */
/* Below 1100px the section headings stack above their cards, so the
   3 problem cards and 2 verdict cards get the full width. */
@media (max-width: 1100px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  html:lang(es) .v-badge { letter-spacing: .03em; padding: 7px 12px; }
}

@media (max-width: 900px) {
  nav { padding: 0 16px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 16px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-vis { max-width: 420px; margin-left: 0; }

  #problem { padding: 80px 0; }
  .p-grid { grid-template-columns: 1fr; gap: 14px; }

  #how { padding: 80px 0; }
  .how-hdr { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .s-arr { rotate: 90deg; margin: 4px auto; }

  #verdict { padding: 80px 0; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .f-grid { grid-template-columns: 1fr; }
  .f-card.wide { grid-column: span 1; }

  #targets { padding: 80px 0; }
  .t-hdr { grid-template-columns: 1fr; gap: 32px; }
  .t-grid { grid-template-columns: 1fr; }


  #tools { padding: 80px 0; }
  #cta { padding: 100px 0; }

  footer { padding: 28px 16px; flex-direction: column; text-align: center; }
  .f-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 48px; }
  .ttl { font-size: 48px; }
  .cta-h2 { font-size: 52px; }
  .vc-verdict { font-size: 26px; }
}
