/* ============================================================================
   Nexo — design system del sitio (thenexo.tech)
   Identidad según docs de marca: navy tinta + papel frío + ámbar marcador.
   Sin framework: tokens + componentes a mano. Fuentes self-hosted en /fonts.
   ========================================================================== */

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/lexend.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/source-sans-3.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono.woff2) format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #EEF2F7;
  --surface: #FFFFFF;
  --surface-2: #F7FAFC;
  --ink: #102A43;
  --body-c: #334E68;
  --muted: #627D98;
  --line: #D9E2EC;
  --line-strong: #BCCCDC;
  --navy: #243B53;
  --navy-deep: #0A1C2E;
  --accent: #F0B429;
  --accent-soft: rgba(240, 180, 41, .30);
  --accent-strong: #A16A0B;
  --ok: #2F9E63;
  --bad: #D64545;
  --chip-bg: #F0F4F8;
  --shadow-card: 0 1px 2px rgba(16,42,67,.05), 0 10px 28px -10px rgba(16,42,67,.14);
  --shadow-lift: 0 2px 4px rgba(16,42,67,.06), 0 24px 48px -16px rgba(16,42,67,.26);
  --f-display: 'Lexend', system-ui, sans-serif;
  --f-body: 'Source Sans 3', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body-c);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.mono { font-family: var(--f-mono); }

::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* motivo de la cita */
.hl {
  background: var(--accent-soft);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 .12em;
  border-radius: .15em;
}
sup.cite {
  font-family: var(--f-mono);
  font-size: .5em;
  color: var(--accent-strong);
  margin-left: .2em;
  font-weight: 500;
}
.footnote { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: -.01em; }
.footnote b { color: var(--accent-strong); font-weight: 500; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-strong);
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--chip-bg); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn-amber { background: var(--accent); color: #102A43; }
.btn-amber:hover { background: #FFD166; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy-deep); color: #fff;
  display: grid; place-items: center; flex: none;
}
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Hero (mundo oscuro fijo) ---------- */
.hero { background: var(--navy-deep); color: #E4ECF4; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(159,179,200,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(159,179,200,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; gap: 56px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  padding-block: 88px 96px;
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; padding-block: 64px; } }

.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: #BCCCDC;
  border: 1px solid rgba(159,179,200,.25);
  background: rgba(159,179,200,.07);
  padding: 7px 13px; border-radius: 999px;
}
.eyebrow-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-top: 26px;
}
.hero h1 .hl { background: rgba(240,180,41,.24); color: #FFE7AE; padding: 0 .1em; }
.hero h1 sup.cite { color: var(--accent); }
.hero .footnote { color: #829AB1; margin-top: 14px; }
.hero .footnote b { color: var(--accent); }
.hero .lede {
  margin-top: 22px; max-width: 34em;
  font-size: 18.5px; line-height: 1.65; color: #BCCCDC; font-weight: 300;
}
.hero .lede strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-ghost { border-color: rgba(159,179,200,.35); color: #E4ECF4; }
.hero .btn-ghost:hover { background: rgba(159,179,200,.1); }
.hero-trust { margin-top: 44px; border-top: 1px solid rgba(159,179,200,.16); padding-top: 20px; }
.hero-trust .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #627D98; }
.hero-trust .row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 14.5px; font-weight: 500; color: #9FB3C8; }

/* demo animada */
.demo-card {
  position: relative;
  border: 1px solid rgba(159,179,200,.18);
  background: rgba(159,179,200,.05);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
.demo-glow { position: absolute; inset: -30px; background: radial-gradient(ellipse at 70% 20%, rgba(240,180,41,.13), transparent 60%); pointer-events: none; }
.demo-screen { background: #fff; border-radius: 12px; padding: 22px; color: #102A43; min-height: 300px; display: flex; flex-direction: column; }
.demo-q { display: flex; gap: 12px; align-items: flex-start; }
.demo-avatar { width: 28px; height: 28px; border-radius: 8px; background: #F0F4F8; color: #627D98; display: grid; place-items: center; flex: none; }
.demo-avatar.nexo { background: #102A43; color: #fff; }
.demo-q p { font-size: 14.5px; color: #334E68; min-height: 2.9em; }
.demo-caret { display: inline-block; width: 1px; height: 1em; background: #486581; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-divider { height: 1px; background: #F0F4F8; margin: 16px 0; }
.demo-a { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.demo-a.show { opacity: 1; transform: none; }
.demo-a p { font-size: 14.5px; line-height: 1.6; color: #243B53; }
.demo-a .hl { background: rgba(240,180,41,.35); color: #102A43; font-weight: 600; }
.demo-src { margin-top: auto; padding-top: 18px; opacity: 0; transition: opacity .45s ease .15s; }
.demo-src.show { opacity: 1; }
.demo-src .label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #9FB3C8; margin-bottom: 7px; }
.demo-chip {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid #D9E2EC; background: #F7FAFC; border-radius: 9px; padding: 8px 12px;
}
.demo-chip .doc-ic { width: 22px; height: 22px; border-radius: 6px; background: rgba(240,180,41,.2); color: #A16A0B; display: grid; place-items: center; flex: none; }
.demo-chip .name { font-family: var(--f-mono); font-size: 11.5px; color: #486581; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 4px; font-size: 12px; color: #829AB1; }
.demo-foot .ok { color: #6FCF97; }
.demo-dots { display: flex; gap: 5px; }
.demo-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(159,179,200,.35); transition: background .3s; }
.demo-dots i.on { background: var(--accent); }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
@media (max-width: 760px) {
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
}
.stat .v { font-family: var(--f-display); font-weight: 650; font-size: 26px; color: var(--ink); letter-spacing: -.01em; }
.stat .v em { font-style: normal; color: var(--accent-strong); }
.stat .d { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Secciones ---------- */
section.block { padding-block: 96px; }
.sec-head { max-width: 720px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.15; margin-top: 14px; }
.sec-head .sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 38em; }

/* grilla reglada */
.ruled { margin-top: 56px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(3, 1fr); }
.ruled.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ruled.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .ruled, .ruled.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .ruled.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ruled, .ruled.cols-4 { grid-template-columns: 1fr; } }
.cell { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); }
.cell .ic { color: var(--accent-strong); }
.cell h3 { font-size: 17.5px; font-weight: 600; margin-top: 14px; }
.cell p { font-size: 15px; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.cell .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cell ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cell li { display: flex; gap: 9px; font-size: 14px; color: var(--muted); }
.cell li::before { content: "—"; color: var(--accent-strong); flex: none; }

/* pasos */
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; padding: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } }
.step { position: relative; }
.step-no {
  font-family: var(--f-mono); font-weight: 500; font-size: 13px;
  color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: 12px; width: 100%;
}
.step-no::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.step:last-child .step-no::after { background: linear-gradient(to right, var(--line-strong), transparent); }
.step h3 { font-size: 19px; font-weight: 600; margin-top: 16px; }
.step p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* banda producto (oscura fija) */
.band { background: var(--navy-deep); color: #E4ECF4; padding-block: 96px; position: relative; overflow: hidden; }
.band .eyebrow { color: var(--accent); }
.band h2 { color: #fff; }
.band .sub { color: #829AB1; }
.shots { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; }
.shot { border: 1px solid rgba(159,179,200,.16); border-radius: 14px; overflow: hidden; background: rgba(159,179,200,.04); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(159,179,200,.14); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(159,179,200,.2); }
.shot-bar .url { flex: 1; margin-left: 8px; font-family: var(--f-mono); font-size: 11px; color: rgba(159,179,200,.5); background: rgba(159,179,200,.08); border-radius: 6px; padding: 4px 10px; }
.shot-cap { text-align: center; font-size: 14px; color: #9FB3C8; margin-top: 14px; font-weight: 500; }
.shot-cap b { color: var(--accent); font-weight: 500; font-family: var(--f-mono); font-size: 12px; margin-right: 6px; }

/* ---------- Planes ---------- */
.plans { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1020px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--shadow-card);
}
.plan .name { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--accent-strong); font-weight: 500; }
.plan .plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .price { font-family: var(--f-display); font-weight: 650; font-size: 30px; color: var(--ink); margin-top: 12px; letter-spacing: -.01em; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .for { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.plan hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; width: 100%; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 9px; font-size: 14.5px; color: var(--body-c); }
.plan li svg { flex: none; margin-top: 3px; color: var(--accent-strong); }
.plan li strong { color: var(--ink); }
.plan .btn { width: 100%; }
.plan .badge { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(240,180,41,.16); color: var(--accent); border-radius: 999px; padding: 4px 10px; }
.plan.featured { background: var(--navy-deep); border-color: rgba(240,180,41,.4); color: #BCCCDC; }
.plan.featured .price { color: #fff; }
.plan.featured .price small { color: #829AB1; }
.plan.featured .for { color: #829AB1; }
.plan.featured hr { border-top-color: rgba(159,179,200,.16); }
.plan.featured li { color: #BCCCDC; }
.plan.featured li strong { color: #fff; }
.plan.featured li svg { color: var(--accent); }
.plan.featured .name { color: var(--accent); }
.plan.dashed { background: transparent; border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.plans-note { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--muted); }
.plans-note a { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line-strong); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 4px; font-family: var(--f-display); font-weight: 550; font-size: 17.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .idx { font-family: var(--f-mono); font-size: 12px; color: var(--accent-strong); flex: none; width: 2em; }
.faq summary .plus { margin-left: auto; color: var(--muted); font-family: var(--f-mono); font-size: 16px; transition: transform .2s; flex: none; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .a { padding: 0 4px 24px calc(2em + 18px); font-size: 15.5px; color: var(--muted); max-width: 62ch; }

/* ---------- Formulario ---------- */
.lead { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lift); display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; } }
.lead-pitch { background: var(--navy-deep); color: #E4ECF4; padding: 48px 44px; position: relative; overflow: hidden; }
.lead-pitch .eyebrow { color: var(--accent); }
.lead-pitch h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 650; margin-top: 12px; letter-spacing: -.015em; }
.lead-pitch .sub { color: #9FB3C8; margin-top: 14px; font-size: 16.5px; }
.lead-pitch ul { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lead-pitch li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #BCCCDC; }
.lead-pitch .tick { width: 26px; height: 26px; flex: none; border-radius: 8px; background: rgba(240,180,41,.14); color: var(--accent); display: grid; place-items: center; }
.lead-form { padding: 44px 40px; }
@media (max-width: 600px) { .lead-form { padding: 32px 24px; } .lead-pitch { padding: 36px 24px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent-strong); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 15.5px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 14px; width: 100%;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field.err input, .field.err select, .field.err textarea { border-color: var(--bad); }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: var(--accent-strong); width: 17px; height: 17px; flex: none; }
.consent a { color: var(--ink); }
.consent.err { color: var(--bad); }
.fine { text-align: center; font-size: 12px; color: var(--muted); font-family: var(--f-mono); letter-spacing: .02em; }
.form-error { text-align: center; font-size: 14px; font-weight: 600; color: var(--bad); }
.honeypot { display: none; }
.success { text-align: center; padding: 60px 20px; display: none; }
.success.show { display: block; }
.success .badge-ok { width: 60px; height: 60px; margin: 0 auto; border-radius: 16px; background: rgba(47,158,99,.14); color: var(--ok); display: grid; place-items: center; }
.success h3 { font-size: 22px; margin-top: 18px; }
.success p { color: var(--muted); margin-top: 10px; max-width: 30em; margin-inline: auto; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding-block: 42px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-tag { font-size: 14px; color: var(--muted); max-width: 34em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { width: 100%; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-legal a { color: inherit; }

/* ---------- Páginas legales ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 72px 24px 100px; }
.legal-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 650; letter-spacing: -.015em; margin-top: 14px; }
.legal-date { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.toc {
  margin-top: 40px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  padding: 24px 28px; columns: 2; column-gap: 40px; font-size: 14px;
}
@media (max-width: 640px) { .toc { columns: 1; } }
.toc a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; break-inside: avoid; }
.toc a:hover { color: var(--ink); }
.toc a b { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; color: var(--accent-strong); margin-right: 8px; }
.legal-body { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.legal-body section { scroll-margin-top: 90px; }
.legal-body h2 { font-size: 19.5px; font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.legal-body h2 b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: var(--accent-strong); flex: none; }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.7; color: var(--body-c); max-width: 72ch; }
.legal-body p { margin-top: 10px; }
.legal-body ul { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
