/* Vantare web · tokens from DESIGN.md. Graphite + official red #D80000, like the Hub. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("/assets/fonts/rajdhani-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/assets/fonts/space-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0f0d0e;
  --bg-2: #141112;
  --surface: #1a1617;
  --surface-2: #221d1f;
  --line: rgb(250 247 247 / 0.08);
  --line-2: rgb(250 247 247 / 0.16);
  --field-edge: #776e70; /* 3.8:1 on the field, 3.9:1 on the page: WCAG 1.4.11 */
  --text: #faf7f7;
  --text-2: #d6cfd0;
  --text-3: #b0a7a9;
  --red: #d80000;
  --red-hover: #b50000;
  --red-text: #ff6b6b;
  --wine: #2a0b0e;
  --best: #b18cff;
  --green: #22c55e;
  --amber: #f5b014;

  --font: "Inter", system-ui, sans-serif;
  --display: "Rajdhani", "Inter", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  /* type scale 1.25 · base 17px */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-2xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --t-3xl: clamp(3.25rem, 1.9rem + 5.4vw, 6.25rem);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: clamp(5rem, 3rem + 7vw, 9rem);
  --r1: 6px;
  --r2: 12px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Large monitors: scale the whole system instead of leaving a narrow column. */
@media (min-width: 1800px) { html { font-size: 112.5%; } :root { --max: 1480px; } }
@media (min-width: 2400px) { html { font-size: 125%; } :root { --max: 1640px; } }

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font: 400 var(--t-base)/1.6 var(--font); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--display); font-weight: 600; line-height: 1; letter-spacing: -0.005em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 20; padding: var(--s2) var(--s4); background: var(--text); color: var(--bg); border-radius: var(--r1); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s4); }
.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; }

/* Buttons: ranked, not coloured by meaning. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5); border: 1px solid transparent; border-radius: var(--r1);
  background: var(--red); color: #fff; font: 600 var(--t-base)/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: var(--red-hover); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgb(250 247 247 / 0.3); }
.btn-small { min-height: 40px; padding: 0 var(--s4); font-size: var(--t-sm); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--surface-2); color: var(--text-3); border-color: var(--line); cursor: not-allowed; }
.btn .arrow { transition: transform 160ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; transition: text-decoration-color 160ms var(--ease); }
.link:hover { text-decoration-color: var(--red-text); }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 10; background: rgb(15 13 14 / 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.masthead .shell { display: flex; align-items: center; gap: var(--s5); height: 4.25rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; border-radius: var(--r1); }
.brand img { width: 150px; height: auto; }
.nav { display: none; gap: var(--s5); margin-inline: auto; }
.nav a, .langs a { font-size: var(--t-sm); color: var(--text-3); text-decoration: none; transition: color 160ms var(--ease); }
.nav a:hover, .langs a:hover, .langs a[aria-current] { color: var(--text); }
.masthead-end { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.langs { display: flex; gap: var(--s3); font-family: var(--mono); }
.langs a { font-size: var(--t-xs); padding: var(--s2) 2px; }
@media (min-width: 900px) { .nav { display: flex; } .masthead-end { margin-left: 0; } }
@media (max-width: 419px) { .brand img { width: 118px; } .masthead .btn-small { padding: 0 var(--s3); } }

/* Section scaffolding */
.section { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.kicker { display: flex; align-items: center; gap: var(--s3); color: var(--red-text); margin-bottom: var(--s5); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.section h2 { font-size: var(--t-2xl); max-width: 20ch; }
.section-lead { margin-top: var(--s5); max-width: 58ch; font-size: var(--t-lg); line-height: 1.55; color: var(--text-2); }
.head-split { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .head-split { grid-template-columns: 1.1fr 1fr; align-items: end; } .head-split .section-lead { margin-top: 0; } }

/* Hero */
.hero { position: relative; overflow: clip; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) var(--s8); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60rem 36rem at 78% 18%, rgb(216 0 0 / 0.16), transparent 62%),
    radial-gradient(40rem 30rem at 0% 0%, rgb(110 16 25 / 0.28), transparent 70%);
}
.hero-track { position: absolute; z-index: -1; right: -8%; top: 4%; width: min(78vw, 980px); opacity: 0.55; pointer-events: none; }
.hero-track use { fill: none; stroke: rgb(250 247 247 / 0.09); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.hero-track .comet { stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.035 0.965; animation: lap 14s linear infinite; }
@keyframes lap { to { stroke-dashoffset: -1; } }
.hero-grid { display: grid; gap: var(--s8); align-items: center; }
.hero-grid { grid-template-areas: "top" "stage" "bottom"; gap: var(--s6); }
.hero-top { grid-area: top; } .hero-bottom { grid-area: bottom; } .stage { grid-area: stage; }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "top stage" "bottom stage"; grid-template-rows: auto 1fr; column-gap: var(--s7); row-gap: 0; }
  .hero-top { align-self: end; }
}
.hero-status { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s5); color: var(--text-2); font-size: var(--t-sm); font-weight: 600; }
.hero-status .beta-dot { flex: none; }
.beta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero .kicker { color: var(--text-3); }
.hero h1 { font-size: var(--t-3xl); line-height: 0.92; letter-spacing: -0.015em; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--red-text); }
.hero-lead { margin-top: var(--s5); max-width: 40ch; font-size: var(--t-lg); line-height: 1.55; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-note { margin-top: var(--s5); max-width: 44ch; font-size: var(--t-sm); color: var(--text-3); }

/* Signature: the Overlays Studio selection frame around a widget. */
.selected { position: relative; outline: 1.5px solid var(--red); outline-offset: 6px; border-radius: 8px; }
.selected::before, .selected::after, .selected > .handle::before, .selected > .handle::after {
  content: ""; position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--red); border-radius: 2px; z-index: 2;
}
.selected::before { top: -11px; left: -11px; }
.selected::after { top: -11px; right: -11px; }
.selected > .handle::before { bottom: -11px; left: -11px; }
.selected > .handle::after { bottom: -11px; right: -11px; }
.tag {
  position: absolute; left: -7px; top: -2.6rem; z-index: 2; padding: 3px 8px; border-radius: 5px 5px 5px 0;
  background: var(--red); color: #fff; font: 600 var(--t-xs)/1.4 var(--font); white-space: nowrap;
}

.stage { position: relative; padding-top: 2.6rem; }
.stage .w-main { box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.9); border-radius: 8px; }
.stage .w-float {
  position: absolute; right: -2%; bottom: -14%; width: 52%; border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.95);
}
.stage { margin: 0 0 9%; }
.stage-caption { position: absolute; top: 0.35rem; right: 0; color: var(--text-3); text-align: right; }
.tag-narrow { display: none; }
@media (max-width: 599px) {
  .stage { margin: 0; }
  .stage .w-float { position: relative; width: 88%; right: auto; bottom: auto; margin: var(--s5) 0 0 auto; }
  .stage-caption { position: static; margin-top: var(--s4); text-align: left; }
  .tag-wide { display: none; } .tag-narrow { display: inline; }
}

/* Simulators strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip .shell { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); padding-block: var(--s5); }
.strip-label { color: var(--text-3); }
.strip ul { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin: 0; padding: 0; list-style: none; }
.strip li { display: flex; align-items: center; gap: var(--s2); font-family: var(--display); font-size: var(--t-lg); color: var(--text-3); letter-spacing: 0.02em; }
.strip li.on { color: var(--text); }
.strip li .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--text-3); }
.strip li.on .dot { background: var(--green); border-color: var(--green); }

/* Widgets: spec rows with numbered callouts on the image */
.specs { display: grid; gap: var(--s8); margin-top: var(--s8); }
.spec { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 1000px) {
  .spec { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); }
  .spec.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .spec.flip .spec-media { order: 2; }
}
.spec-media { position: relative; justify-self: start; width: fit-content; max-width: 100%; }
.spec.flip .spec-media { justify-self: end; }
.spec-media > img { width: 100%; }
.spec-media img { border-radius: 8px; box-shadow: 0 24px 60px -28px rgb(0 0 0 / 0.9); }
.spec-media.small { justify-self: start; padding: var(--s7); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); }
.spec-media.small img { box-shadow: none; }
.pin {
  position: absolute; display: grid; place-items: center; width: 22px; height: 22px; translate: -50% -50%;
  border-radius: 50%; background: var(--red); color: #fff; font: 700 11px/1 var(--mono);
  box-shadow: 0 0 0 3px var(--bg);
}
@media (max-width: 699px) { .pin { display: none; } }
/* pins:start */
/* Generated by tools/build.py from src/site/pins.json. */
.pin.p1 { left: calc(7.9% + 15px); top: 12.4%; }
.pin.p2 { left: calc(29.8% + 15px); top: 25.9%; }
.pin.p3 { left: calc(89.7% + 15px); top: 17.1%; }
.pin.p4 { left: calc(6.8% + 15px); top: 17.4%; }
.pin.p5 { left: calc(54.5% - 15px); top: 23.7%; }
.pin.p6 { left: calc(94.2% - 15px); top: 53.2%; }
.pin.p7 { left: calc(44.1% + 15px); top: 39.1%; }
html[lang="en"] .pin.p7 { left: calc(44.9% + 15px); top: 39.1%; }
.pin.p8 { left: calc(67% - 15px); top: 13.7%; }
html[lang="en"] .pin.p8 { left: calc(65.7% - 15px); top: 13.7%; }
.pin.p9 { left: calc(4.9% + 15px); top: 87%; }
/* pins:end */
.spec-name { display: flex; align-items: baseline; gap: var(--s3); }
.spec-name h3 { font-size: var(--t-xl); }
.spec-name .mono { color: var(--text-3); }
.spec-body { margin-top: var(--s4); color: var(--text-2); max-width: 46ch; }
.callouts { counter-reset: c; display: grid; gap: var(--s3); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.callouts li { counter-increment: c; display: grid; grid-template-columns: 26px 1fr; gap: var(--s3); color: var(--text-3); font-size: var(--t-sm); line-height: 1.5; }
.callouts li::before {
  content: counter(c); display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--red); border-radius: 50%; color: var(--text); font: 700 11px/1 var(--mono);
}
.callouts strong { color: var(--text); font-weight: 600; }
.more { margin-top: var(--s8); padding: var(--s5) var(--s6); border: 1px dashed var(--line-2); border-radius: var(--r2); color: var(--text-3); }
.more strong { color: var(--text); }

/* Product screens */
.screen { margin: var(--s8) 0 0; }
.screen-frame { position: relative; border: 1px solid var(--line-2); border-radius: var(--r2); overflow: hidden; background: var(--surface); box-shadow: 0 40px 100px -40px rgb(0 0 0 / 0.9); }
.screen-frame img { width: 100%; }
@media (max-width: 699px) {
  .screen-frame.fade { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
  #studio .screen-frame { max-width: 360px; }
}
.screen figcaption { margin-top: var(--s4); color: var(--text-3); }
.points { display: grid; gap: var(--s5); margin: var(--s7) 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(4, 1fr); } }
.points li { padding-top: var(--s4); border-top: 1px solid var(--line-2); color: var(--text-3); font-size: var(--t-sm); }
.points strong { display: block; margin-bottom: var(--s2); color: var(--text); font-size: var(--t-base); font-weight: 600; }

/* Launcher: text beside the screen on wide viewports */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .split .screen { margin: 0; } }
.checks { display: grid; gap: var(--s3); margin: var(--s6) 0 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s3); color: var(--text-2); }
.checks li::before { content: ""; width: 10px; height: 10px; margin-top: 0.5em; border-radius: 2px; background: var(--red); transform: rotate(45deg); }

/* Compatibility table */
.compat { width: 100%; margin-top: var(--s7); border-collapse: collapse; font-size: var(--t-base); }
.compat th, .compat td { padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compat thead th { color: var(--text-3); font: 400 var(--t-xs)/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.compat tbody th { color: var(--text); font-family: var(--display); font-size: var(--t-lg); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: var(--s2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: var(--t-sm); color: var(--text-2); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.status.first { color: var(--text); border-color: rgb(34 197 94 / 0.5); }
.status.first::before { background: var(--green); border-color: var(--green); }
.compat td:last-child { color: var(--text-3); font-size: var(--t-sm); }
@media (max-width: 599px) { .compat td:last-child, .compat th:last-child { display: none; } }
.fine { margin-top: var(--s5); font-size: var(--t-sm); color: var(--text-3); max-width: 70ch; }

/* Honesty */
.honest { counter-reset: h; display: grid; gap: var(--s6); margin: var(--s7) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .honest { grid-template-columns: repeat(3, 1fr); gap: var(--s7); } }
.honest li { counter-increment: h; padding-top: var(--s5); border-top: 2px solid var(--red); }
.honest h3 { display: flex; align-items: baseline; gap: var(--s3); font-size: var(--t-xl); margin-bottom: var(--s3); }
.honest h3::before { content: "0" counter(h); color: var(--text-3); font: 400 var(--t-xs)/1 var(--mono); letter-spacing: 0.08em; }
.honest p { color: var(--text-3); }
.motto { margin-top: var(--s8); font: 600 var(--t-2xl)/1 var(--display); color: var(--text); text-wrap: balance; }
.motto::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: var(--s5); background: var(--red); }
.aside-motto { margin-bottom: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); font: 600 var(--t-xl)/1.1 var(--display); color: var(--red-text); }

/* Pricing */
.plans { display: grid; gap: var(--s5); margin-top: var(--s7); }
@media (min-width: 1000px) { .plans { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; } }
.plan { display: flex; flex-direction: column; padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); }
.plan.main { border-color: rgb(216 0 0 / 0.55); background: linear-gradient(180deg, rgb(216 0 0 / 0.1), transparent 45%), var(--surface); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.plan h3 { font-size: var(--t-xl); }
.plan .badge { color: var(--red-text); }
.plan-for { margin-top: var(--s2); color: var(--text-3); font-size: var(--t-sm); }
.price { display: flex; align-items: baseline; gap: var(--s2); margin-top: var(--s5); color: var(--text); }
.price b { font: 600 clamp(2.5rem, 2rem + 2vw, 3.25rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.price span { color: var(--text-3); font-size: var(--t-sm); }
.price-alt { margin-top: var(--s2); font-size: var(--t-sm); color: var(--text-3); }
.price-alt strong { color: var(--text); font-weight: 600; }
.plan ul { display: grid; gap: var(--s3); margin: var(--s5) 0 var(--s6); padding: var(--s5) 0 0; border-top: 1px solid var(--line); list-style: none; font-size: var(--t-sm); color: var(--text-2); }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: var(--s3); }
.plan li::before { content: ""; width: 9px; height: 5px; margin-top: 0.5em; border-left: 2px solid var(--red-text); border-bottom: 2px solid var(--red-text); transform: rotate(-45deg); }
.plan .cta { margin-top: auto; display: grid; gap: var(--s2); }
.plan .cta .btn { width: 100%; }
.plan-close { margin-top: var(--s3); font-size: var(--t-xs); color: var(--text-3); text-align: center; }
.plan.closed .price b { color: var(--text-3); }
.terms-line { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); font-size: var(--t-sm); color: var(--text-3); }

/* Waitlist */
.join { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .join { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s8); } }
.form { display: grid; gap: var(--s5); margin-top: var(--s7); }
.form .row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s2); }
.field label, .field .label { color: var(--text); font-size: var(--t-sm); font-weight: 600; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 var(--s4); border: 1px solid var(--field-edge); border-radius: var(--r1);
  background: var(--bg-2); color: var(--text); font: inherit; transition: border-color 160ms var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--s7); }
.field input::placeholder { color: #8f8689; opacity: 1; }
.field input:hover, .field select:hover { border-color: #9a9093; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--red-text); border-width: 2px; }
.consent:has(input[aria-invalid="true"]) { outline: 2px solid var(--red-text); outline-offset: 6px; border-radius: 2px; }
.field-error { display: flex; gap: var(--s2); color: var(--red-text); font-size: var(--t-sm); font-weight: 600; }
.field-error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--red-text); color: var(--bg); font: 700 12px/1 var(--font); }
.field-error[hidden] { display: none; }
.optional { color: var(--text-3); font-weight: 400; }
.form fieldset { display: grid; gap: var(--s5); margin: 0; padding: 0; border: 0; min-width: 0; }
.form fieldset:disabled { opacity: 0.55; }
.form fieldset:disabled * { cursor: not-allowed; }
.closed-note { margin-top: var(--s6); padding: var(--s4) var(--s5); border: 1px solid var(--line-2); border-left: 3px solid var(--red); border-radius: var(--r1); background: var(--surface); color: var(--text-2); font-size: var(--t-sm); }
.closed-note strong { color: var(--text); }
.info-basic { max-width: 68ch; font-size: var(--t-xs); line-height: 1.6; color: var(--text-3); }
.hint { font-size: var(--t-xs); color: var(--text-3); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .consent { font-weight: 400; color: var(--text-2); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; font-size: var(--t-sm); color: var(--text-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.form-status { min-height: 1.6em; font-size: var(--t-sm); color: var(--text-2); }
.form-status[data-state="sent"] { color: var(--green); }
.form-status[data-state="error"], .form-status[data-state="limited"] { color: var(--red-text); }
.form[aria-busy="true"] .btn { opacity: 0.7; cursor: progress; }
.aside-card { padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); align-self: start; }
.aside-card + .aside-card { margin-top: var(--s5); }
.aside-card h3 { font-size: var(--t-xl); }
.aside-card p { margin-top: var(--s3); color: var(--text-3); font-size: var(--t-sm); }
.aside-card .btn { margin-top: var(--s5); }

/* FAQ */
.faq { margin-top: var(--s7); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s5); min-height: 64px; padding-block: var(--s4);
  color: var(--text); font-size: var(--t-lg); font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover::after { border-color: var(--red-text); }
.faq details p { padding-bottom: var(--s5); max-width: 68ch; color: var(--text-3); }
@media (min-width: 1000px) { .faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s8); } .faq-wrap .faq { margin-top: 0; } }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: var(--s8) var(--s6); font-size: var(--t-sm); }
.footer-grid { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer .brand img { width: 170px; }
.footer-tag { margin-top: var(--s4); color: var(--text-3); max-width: 32ch; }
.footer h2 { font-family: var(--mono); font-size: var(--t-xs); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s4); }
.footer ul { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.footer ul a { color: var(--text-2); text-decoration: none; }
.footer ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--t-xs); }
.footer-base .langs a { color: var(--text-3); }

/* Legal pages */
.legal { padding-block: var(--s8) var(--s9); }
.legal-head { max-width: 72ch; }
.legal-head h1 { font-size: var(--t-2xl); }
.draft { margin-top: var(--s5); padding: var(--s4) var(--s5); border: 1px solid rgb(245 176 20 / 0.45); border-radius: var(--r1); background: rgb(245 176 20 / 0.07); color: var(--text); font-size: var(--t-sm); }
.prose { max-width: 72ch; margin-top: var(--s7); color: var(--text-2); }
.prose h2 { margin-top: var(--s7); font-size: var(--t-xl); }
.prose h3 { margin-top: var(--s6); font-size: var(--t-lg); }
.prose p, .prose ul, .prose ol, .prose .table { margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s2); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-underline-offset: 0.2em; text-decoration-color: var(--red-text); }
.prose code { font-family: var(--mono); font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--s7); }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r1); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { padding: var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--text); background: var(--surface); }
@media (max-width: 699px) {
  .prose .table { overflow: visible; border: 0; }
  .prose table { min-width: 0; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prose tr { display: block; margin-top: var(--s4); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r1); background: var(--surface); }
  .prose td { display: block; padding: var(--s2) 0; border: 0; }
  .prose td::before { content: attr(data-label); display: block; color: var(--text-3); font: 400 var(--t-xs)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
}
.prose mark.fill { padding: 1px 6px; border: 1px dashed var(--amber); background: rgb(245 176 20 / 0.22); font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.prose mark.note { background: rgb(245 176 20 / 0.12); font-family: var(--font); font-size: 0.8em; font-style: italic; }
.prose mark { padding: 0 4px; border-radius: 3px; background: rgb(245 176 20 / 0.18); color: var(--text); font-family: var(--mono); font-size: 0.85em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: var(--t-sm); }
.legal-nav a { color: var(--text-3); }
.legal-nav a[aria-current] { color: var(--text); text-decoration-color: var(--red); }

/* Tester sign-in (/acceso/, /en/access) */
.access-page { display: grid; gap: var(--s7); align-items: start; padding-block: var(--s8) var(--s9); }
@media (min-width: 1000px) {
  .access-page { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "story card" "more card"; grid-template-rows: auto 1fr; column-gap: var(--s8); row-gap: 0; padding-block: var(--s9); }
  .access-story { grid-area: story; } .access-card { grid-area: card; } .access-more { grid-area: more; }
}
.access-page h1 { font-size: var(--t-3xl); line-height: 0.92; }
.access-page h1 em { font-style: normal; color: var(--red-text); }
.t-signup, [data-modo="registro"] .t-login { display: none; }
[data-modo="registro"] .t-signup { display: inline; }

.access-page .kicker::before { display: none; }
.access-points { display: grid; gap: var(--s5); margin: var(--s7) 0 0; padding: 0; list-style: none; }
.access-points li { padding-top: var(--s4); border-top: 1px solid var(--line-2); color: var(--text-3); font-size: var(--t-sm); }
.access-points strong { display: block; margin-bottom: var(--s1); color: var(--text); font-size: var(--t-base); }
.access-card { padding: var(--s6); border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); }
.access-card:focus { outline: none; }
.access-secure { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s5); color: var(--text-3); }
.card-slot { min-height: 30rem; }
.access-status { display: grid; place-content: center; justify-items: center; gap: var(--s3); min-height: 30rem; text-align: center; }
.access-status[hidden] { display: none; }
.access-status h2 { font-size: var(--t-xl); }
.access-status p { color: var(--text-3); max-width: 34ch; }
.access-status.error h2 { color: var(--red-text); }
.access-status:not(.loading):not([class="access-status"]) .loader { display: none; }
.loader { width: 28px; height: 28px; border: 3px solid var(--line-2); border-top-color: var(--red); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#return-note { margin-top: var(--s4); }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; gap: var(--s5); padding-block: var(--s9); }
.lost h1 { font-size: var(--t-3xl); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
