/* ============================================================================
   TINORA — Machine 2 site styles  ·  built ON studio/assets/frozen/tokens.css
   Paige Lane (The Studio) · 2026-07-21 · consumes the frozen semantic roles only.
   No new palette, no new type scale — every value is a var(--token) from the freeze.
   FONTS: the lean Concourse ship-set is now self-hosted below (@font-face) on the
   owner-ratified tinora.app webfont slot (TYPE-RULING §4). The tokens.css stack already
   names 'Concourse' first with the system fallback after; font-display:swap keeps every
   layout holding on that fallback during load. The governed base64 one-pager subset must
   NEVER reach a public server (FREEZE-RECORD §1) — this ship-set is the licit ¶8 exception.
   ============================================================================ */

/* Public traffic build uses the governed system fallback stack. The licensed
   webfont payload stays out of this standalone deployment package. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-400);          /* 16px body floor */
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.num { font-family: var(--font-tab); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---- accessibility scaffolding ------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--ink-on-still);
  padding: var(--space-2) var(--space-4); border-radius: 0 0 var(--r-field) 0;
}
.skip-link:focus { left: 0; }
:where(a, button, [tabindex]):focus-visible {
  outline: var(--focus-width) solid var(--focus);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-chip);
}

/* ---- layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: var(--space-5); }
.wrap--narrow { max-width: 720px; }
section { padding-block: var(--space-8); }
@media (max-width: 640px) { section { padding-block: var(--space-7); } }

.kicker {
  font-family: var(--font-caps);
  font-weight: var(--fw-bold);
  font-size: var(--fs-200);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-700);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  max-width: 22ch;
}
.lede { font-size: var(--fs-500); color: var(--ink); max-width: 56ch; margin-top: var(--space-4); }
.muted { color: var(--ink-secondary); }

/* ---- buttons (living layer) ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap-min); padding: 0 var(--space-6);
  font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: var(--fs-400);
  border: 0; border-radius: var(--r-field); cursor: pointer; text-decoration: none;
  transition: transform var(--motion-living-fast) var(--ease-living),
              background-color var(--motion-living-fast) var(--ease-living);
}
.btn--primary { background: var(--action); color: var(--ink-on-action); }
.btn--primary:hover { background: var(--action-pressed); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--action); box-shadow: inset 0 0 0 1.5px var(--action); }
.btn--ghost:hover { background: var(--surface-accent-soft); }
/* on the still (Tinta) layer a filled white button keeps the Caribe action signal at AA */
.btn--on-still { background: var(--surface-card); color: var(--action); }
.btn--on-still:hover { background: #EAF1F2; transform: translateY(-1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ---- header (persistent · isotipo mark only → no 7/8 wordmark juxtaposition) */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface-ground) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding-block: var(--space-2); }
.brand-mark { display: inline-flex; align-items: center; min-height: var(--tap-min); min-width: var(--tap-min); }
.brand-mark img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a { color: var(--ink); text-decoration: none; font-weight: var(--fw-medium); font-size: var(--fs-300); }
.nav a:hover { color: var(--action); }
.nav .btn { padding: 0 var(--space-4); }
.nav .btn--primary { color: var(--ink-on-action); }
.nav .btn--primary:hover { color: var(--ink-on-action); }
@media (max-width: 560px) {
  .nav { gap: var(--space-3); }
  .nav .nav-link { display: none; }   /* keep CTA thumb-reachable; links live in footer + hero */
}

/* ---- hero (living layer) ------------------------------------------------- */
.hero { padding-block: clamp(var(--space-7), 9vw, var(--space-8)); }
.hero__wordmark { height: clamp(52px, 10vw, 84px); width: auto; margin-bottom: var(--space-6); }
.hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(var(--fs-800), 8vw, var(--fs-900));
  line-height: var(--lh-tight); letter-spacing: var(--ls-display);
  max-width: 16ch;
}
.hero__frame {
  margin-top: var(--space-4); font-weight: var(--fw-bold);
  font-size: var(--fs-600); color: var(--ink); max-width: 40ch;
}
.hero__sub { margin-top: var(--space-4); font-size: var(--fs-500); color: var(--ink-secondary); max-width: 52ch; }
.hero__reassure { margin-top: var(--space-3); font-size: var(--fs-300); color: var(--ink-secondary); }

/* ---- accent rule (Caribe) — echoes the one-pager .acento --------------- */
.acento { width: 46px; height: 4px; border-radius: 2px; background: var(--action); margin: var(--space-4) 0 var(--space-5); }

/* ---- proof: the number is the hero image (el retrato) -------------------- */
.proof { background: var(--surface-ground); }
.retrato {
  background: var(--surface-card); border-radius: var(--r-card);
  box-shadow: var(--elev-card); padding: clamp(var(--space-5), 5vw, var(--space-7));
  max-width: 720px; margin-inline: auto;
}
.retrato__label { font-size: var(--fs-200); color: var(--ink-secondary); }
.retrato__figure {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: clamp(56px, 16vw, 96px); line-height: 1.02; letter-spacing: var(--ls-display);
  color: var(--ink);
}
.retrato__method { margin-top: var(--space-2); font-size: var(--fs-300); color: var(--ink-secondary); max-width: 54ch; }
.retrato__note {
  margin-top: var(--space-5); padding: var(--space-3) var(--space-4);
  background: var(--surface-metodo); border-left: 3px solid var(--action);
  border-radius: 0 var(--r-field) var(--r-field) 0; font-size: var(--fs-400);
}
.retrato__cta { margin-top: var(--space-5); }

/* ---- the turn (soft Caribe field, living layer) -------------------------- */
.turn { background: var(--surface-accent-soft); }
.turn .section-title { max-width: 26ch; }
.turn__reassure { margin-top: var(--space-4); font-weight: var(--fw-bold); color: var(--ink); }

/* ---- offer ladder -------------------------------------------------------- */
.ladder-grid { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 720px) { .ladder-grid { grid-template-columns: 1fr 1fr; } }
.offer {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--r-card); padding: var(--space-6); display: flex; flex-direction: column;
}
.offer__tier { font-family: var(--font-caps); font-weight: var(--fw-bold); font-size: var(--fs-200); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--ink-secondary); }
.offer__name { font-size: var(--fs-600); font-weight: var(--fw-bold); margin-top: var(--space-1); }
.offer__price { font-family: var(--font-tab); font-variant-numeric: tabular-nums; font-size: var(--fs-700); font-weight: var(--fw-bold); margin-top: var(--space-3); }
.offer__hyp { font-family: var(--font-sans); font-weight: var(--fw-medium); font-size: var(--fs-100); color: var(--ink-secondary); letter-spacing: var(--ls-caps); text-transform: uppercase; margin-left: var(--space-2); }
.offer__body { margin-top: var(--space-3); color: var(--ink); }
.offer__list { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.offer__list li { padding-left: var(--space-4); position: relative; font-size: var(--fs-300); }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--action); }

/* ---- method + trust (the shade — sombra-método) -------------------------- */
.metodo { background: var(--surface-metodo); }
.trust-grid { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust h3 { font-size: var(--fs-500); font-weight: var(--fw-bold); }
.trust p { margin-top: var(--space-2); color: var(--ink-secondary); font-size: var(--fs-300); }

/* ---- closing still band (STILL layer — the verdict goes still) ----------- */
.still {
  background: var(--surface-still); color: var(--ink-on-still);
}
.still .frame {
  font-family: var(--font-sans); font-weight: var(--fw-bold);
  font-size: clamp(var(--fs-700), 5vw, var(--fs-800)); line-height: var(--lh-snug);
  letter-spacing: var(--ls-display); max-width: 20ch;
}
.still p.sub { margin-top: var(--space-4); color: var(--reversa-sec, #B9C1CC); max-width: 50ch; }

/* ---- footer -------------------------------------------------------------- */
.site-footer { background: var(--surface-ground); border-top: 1px solid var(--border-hairline); padding-block: var(--space-7); }
.site-footer .wm { height: 22px; width: auto; margin-bottom: var(--space-3); }  /* 7 Bold workhorse */
.footer-cols { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1.4fr 1fr; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a { color: var(--ink); text-decoration: none; font-size: var(--fs-300); }
.footer-links a:hover { color: var(--action); }
.legit { font-size: var(--fs-300); color: var(--ink-secondary); max-width: 46ch; }
.legit strong { color: var(--ink); font-weight: var(--fw-bold); }
.fineprint { margin-top: var(--space-4); font-size: var(--fs-100); color: var(--ink-secondary); max-width: 62ch; line-height: 1.5; }

/* ---- mobile sticky CTA (thumb-reachable, zero-JS) ------------------------ */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface-ground) 92%, transparent);
    backdrop-filter: blur(8px); border-top: 1px solid var(--border-hairline);
  }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: 84px; }   /* clear the fixed bar above the footer */
}

/* ---- diagnostic surface (adapted from frozen one-pager.html) ------------- */
.hoja {
  max-width: 700px; margin: var(--space-5) auto; padding: 40px 44px 34px;
  background: var(--surface-card); border-radius: 16px; box-shadow: var(--elev-card);
}
.hoja .marca { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.hoja .marca .wm { height: 26px; width: auto; color: var(--ink); }
.hoja .descriptor { font-size: var(--fs-200); color: var(--ink-secondary); }
.hoja .expediente { font-size: 12.5px; color: var(--ink-secondary); margin-block: var(--space-5) var(--space-6); line-height: 1.5; }
.hoja h1 { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 30px; line-height: var(--lh-tight); letter-spacing: -0.015em; margin-bottom: var(--space-5); }
.hoja .cifra-etiqueta { font-size: 12.5px; color: var(--ink-secondary); margin-bottom: 2px; }
.hoja .cifra { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 70px; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.hoja .cifra-frase { max-width: 56ch; margin-bottom: var(--space-6); }
.hoja strong { font-weight: var(--fw-bold); }
.hoja h2 { font-weight: var(--fw-bold); font-size: var(--fs-200); letter-spacing: var(--ls-caps); color: var(--ink-secondary); margin: var(--space-6) 0 var(--space-2); }
.hoja table { width: 100%; border-collapse: collapse; }
.hoja td { padding: var(--space-2) 0; border-bottom: 1px solid var(--border-hairline); vertical-align: baseline; }
.hoja td.v { text-align: right; white-space: nowrap; font-weight: var(--fw-bold); }
.hoja td.v small { font-weight: var(--fw-book); color: var(--ink-secondary); }
.hoja .nota { margin: var(--space-4) 0 var(--space-1); padding: var(--space-3) var(--space-4); background: var(--surface-metodo); border-left: 3px solid var(--action); border-radius: 0 var(--r-field) var(--r-field) 0; font-size: 15px; }
.hoja .metodo-foot { margin-top: var(--space-6); padding: 14px 16px; background: var(--surface-metodo); border-radius: var(--r-field); font-family: var(--font-tab); font-size: 12.5px; line-height: 1.6; color: var(--ink-secondary); font-variant-numeric: tabular-nums; }
.hoja .cierre { margin-top: var(--space-6); max-width: 58ch; }
.hoja .frame { margin-top: var(--space-3); font-weight: var(--fw-bold); }
.hoja .firma-foot { margin-top: var(--space-6); padding-top: var(--space-3); border-top: 1px solid var(--border-hairline); }
.hoja .firma { font-size: var(--fs-300); font-weight: var(--fw-bold); }
.hoja .privacidad { margin-top: var(--space-2); font-size: 12.5px; line-height: 1.5; color: var(--ink-secondary); }
@media (max-width: 520px) {
  .hoja { margin: 0; padding: 28px 20px 24px; border-radius: 0; box-shadow: none; }
  .hoja .cifra { font-size: 56px; } .hoja h1 { font-size: 25px; }
}

/* ---- request block on /diagnostico --------------------------------------- */
.solicitar { max-width: 700px; margin: var(--space-6) auto 0; padding: var(--space-6); background: var(--surface-accent-soft); border-radius: var(--r-card); }
.solicitar h2 { font-size: var(--fs-600); font-weight: var(--fw-bold); }
.solicitar p { margin-top: var(--space-3); color: var(--ink); max-width: 54ch; }

/* ---- verdict chips (HTML, built to the frozen chips.svg forms) ----------- */
/* Form carries the verdict; colour confirms it. Caribe never on a chip. DESCARTA never red. */
.chips-demo { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 var(--space-3); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 38px;
  padding: 0 var(--space-4); border-radius: var(--r-chip);
  font-family: var(--font-caps); font-weight: var(--fw-bold); font-size: var(--fs-300);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
}
.chip--presenta { background: var(--verdict-presenta); color: var(--ink-on-action); }               /* solid */
.chip--condiciones { background: transparent; color: var(--verdict-condiciones); box-shadow: inset 0 0 0 1.8px var(--verdict-condiciones); }  /* outlined */
.chip--condiciones .chip__count { font-family: var(--font-tab); font-variant-numeric: tabular-nums; border-left: 1px solid currentColor; padding-left: var(--space-3); }
.chip--descarta {                                                                                    /* filed / folded corner */
  background: var(--verdict-descarta); color: var(--ink-on-action);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}
.chips-caption { font-size: var(--fs-300); color: var(--ink-secondary); max-width: 60ch; }

/* ---- method steps -------------------------------------------------------- */
.steps { display: grid; gap: var(--space-4); margin-top: var(--space-6); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--r-card); padding: var(--space-5); }
.step__n { font-family: var(--font-tab); font-variant-numeric: tabular-nums; font-weight: var(--fw-bold); color: var(--action); font-size: var(--fs-300); }
.step h3 { font-size: var(--fs-500); font-weight: var(--fw-bold); margin-top: var(--space-1); }
.step p { margin-top: var(--space-2); color: var(--ink-secondary); font-size: var(--fs-300); }

/* ---- FAQ (/metodo) ------------------------------------------------------- */
.faq { display: grid; gap: var(--space-2); margin-top: var(--space-6); }
.faq details { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--r-field); padding: var(--space-4) var(--space-5); }
.faq summary { font-weight: var(--fw-bold); cursor: pointer; font-size: var(--fs-500); }
.faq details[open] summary { margin-bottom: var(--space-3); }
.faq p { color: var(--ink-secondary); }

/* ---- traffic build: diagnostic request ---------------------------------- */
.hero-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 840px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); } }
.proof-card {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--r-card); box-shadow: var(--elev-card); padding: var(--space-6);
}
.proof-card__eyebrow { color: var(--ink-secondary); font-size: var(--fs-200); }
.proof-card__number { font-family: var(--font-display); font-size: clamp(58px, 11vw, 88px); font-weight: var(--fw-black); line-height: 1; letter-spacing: var(--ls-display); }
.proof-card__caption { color: var(--ink-secondary); font-size: var(--fs-300); margin-top: var(--space-3); }
.proof-card__rows { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.proof-row { display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border-hairline); font-size: var(--fs-300); }
.proof-row strong { font-family: var(--font-tab); font-variant-numeric: tabular-nums; white-space: nowrap; }

.request-shell { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 800px) { .request-shell { grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr); } }
@media (max-width: 799px) { #solicitud { order: -1; } }
.request-card { background: var(--surface-card); border-radius: var(--r-card); box-shadow: var(--elev-card); padding: clamp(var(--space-5), 5vw, var(--space-7)); }
.request-card h2 { font-size: var(--fs-700); line-height: var(--lh-snug); letter-spacing: var(--ls-display); }
.request-card > p { margin-top: var(--space-3); color: var(--ink-secondary); }
.form-grid { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: var(--fw-bold); font-size: var(--fs-300); }
.field small { color: var(--ink-secondary); font-size: var(--fs-100); }
.field input, .field textarea {
  width: 100%; min-height: var(--tap-min); border: 1px solid #AAB2BC; border-radius: var(--r-field);
  background: var(--surface-card); color: var(--ink); font: inherit; padding: var(--space-3) var(--space-4);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: var(--focus-width) solid var(--focus); outline-offset: 1px; box-shadow: var(--focus-ring); }
.check { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; font-size: var(--fs-300); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--action); }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.form-note { color: var(--ink-secondary); font-size: var(--fs-100); line-height: 1.5; }
.form-status { min-height: 24px; color: var(--ink); font-weight: var(--fw-semibold); }
.what-you-get { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.what-you-get li { position: relative; padding-left: 28px; }
.what-you-get li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--verdict-presenta); font-weight: var(--fw-bold); }

/* ---- live public preview ------------------------------------------------- */
.lookup-output { background: var(--surface-accent-soft); scroll-margin-top: 72px; }
.result-card {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--r-card); box-shadow: var(--elev-card);
  padding: clamp(var(--space-5), 5vw, var(--space-7));
}
.result-card .section-title { max-width: 100%; overflow-wrap: anywhere; }
.result-meta { margin-top: var(--space-3); color: var(--ink-secondary); font-size: var(--fs-300); }
.result-metrics { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 640px) { .result-metrics { grid-template-columns: repeat(2, 1fr); } }
.result-metric { background: var(--surface-metodo); border-radius: var(--r-field); padding: var(--space-4); }
.result-metric strong { display: block; font-family: var(--font-tab); font-variant-numeric: tabular-nums; font-size: var(--fs-600); overflow-wrap: anywhere; }
.result-metric span { display: block; margin-top: var(--space-1); color: var(--ink-secondary); font-size: var(--fs-200); }
.result-detail-grid { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
@media (min-width: 680px) { .result-detail-grid { grid-template-columns: 1fr 1fr; } }
.result-detail-grid h3 { font-size: var(--fs-400); }
.result-detail-grid p { margin-top: var(--space-3); color: var(--ink-secondary); font-size: var(--fs-300); }
.result-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.result-list li { display: flex; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--border-hairline); font-size: var(--fs-300); }
.result-list li span { overflow-wrap: anywhere; }
.result-list li strong { white-space: nowrap; font-family: var(--font-tab); font-variant-numeric: tabular-nums; }
.result-small { font-size: var(--fs-100) !important; line-height: 1.5; }
.result-source { margin-top: var(--space-4); color: var(--ink-secondary); font-size: var(--fs-100); }
.next-step-card { margin-top: var(--space-5); background: var(--surface-card); border-radius: var(--r-card); padding: var(--space-6); border: 1px solid var(--border-hairline); }
.next-step-card h2 { margin-top: var(--space-3); font-size: var(--fs-600); }
.next-step-card > p { margin-top: var(--space-3); color: var(--ink-secondary); }
[hidden] { display: none !important; }
.btn:disabled { cursor: wait; opacity: .72; transform: none; }

.stat-grid { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--r-card); padding: var(--space-5); }
.stat strong { display: block; font-family: var(--font-tab); font-size: var(--fs-700); }
.stat span { color: var(--ink-secondary); font-size: var(--fs-300); }

.notice { margin-top: var(--space-5); padding: var(--space-4); background: var(--surface-metodo); border-left: 3px solid var(--action); border-radius: 0 var(--r-field) var(--r-field) 0; }
.legal { padding-block: var(--space-7); }
.legal h1 { font-size: clamp(var(--fs-700), 6vw, var(--fs-800)); line-height: var(--lh-tight); }
.legal h2 { margin-top: var(--space-6); font-size: var(--fs-600); }
.legal p, .legal ul { margin-top: var(--space-3); max-width: 68ch; }
.legal li + li { margin-top: var(--space-2); }
.legal-meta { color: var(--ink-secondary); font-size: var(--fs-300); }
.contact-grid { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { border: 1px solid var(--border-hairline); border-radius: var(--r-card); padding: var(--space-5); background: var(--surface-card); }
.contact-card h2 { font-size: var(--fs-500); }
.contact-card p { margin-top: var(--space-2); color: var(--ink-secondary); }
.contact-card .btn { margin-top: var(--space-4); }
.route-chip { display: inline-flex; padding: var(--space-1) var(--space-3); border-radius: var(--r-pill); background: var(--surface-accent-soft); color: var(--action-pressed); font-size: var(--fs-200); font-weight: var(--fw-bold); }
.logo-inline { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.logo-inline img:first-child { width: 34px; height: 34px; }
.logo-inline img:last-child { width: 116px; height: auto; }
.nav [aria-current="page"] { color: var(--action); }
.nav .btn--primary[aria-current="page"] { color: var(--ink-on-action); }
.hide-mobile { display: inline-flex; }
@media (max-width: 560px) { .hide-mobile { display: none; } }

/* Fix inherited section padding inside the diagnostic sheet component. */
.hoja section { padding-block: 0; }

/* prefers-reduced-motion: tokens.css already zeroes durations; also drop transforms */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover, .btn--primary:hover, .btn--on-still:hover { transform: none; }
}
