/* NLS · Coming soon. Un solo archivo, tokens en :root. Esquinas rectas en todo. */

/* ---------- Fuentes (autoalojadas, OFL) ---------- */
@font-face { font-family: "Sora"; src: url("../fonts/sora-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Fallbacks con métricas ajustadas (tools/metrics.py) para que el cambio de fuente no mueva nada */
@font-face { font-family: "Sora fb"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); font-weight: 800; size-adjust: 102.51%; ascent-override: 94.63%; descent-override: 28.29%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta fb"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans-Regular"); font-weight: 400; size-adjust: 105.3%; ascent-override: 98.58%; descent-override: 21.08%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta fb"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); font-weight: 600; size-adjust: 105.3%; ascent-override: 98.58%; descent-override: 21.08%; line-gap-override: 0%; }
@font-face { font-family: "Mono fb"; src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("LiberationMono-Regular"); size-adjust: 99.98%; ascent-override: 100.52%; descent-override: 29.5%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --ink: #0A0A0A;
  --paper: #FAFAFA;
  --grey: #9A9A9A;
  --blue: #2563EB;
  --f-display: "Sora", "Sora fb", Arial, sans-serif;
  --f-body: "Plus Jakarta Sans", "Jakarta fb", Arial, sans-serif;
  --f-mono: "Geist Mono", "Mono fb", "Courier New", monospace;
  --gutter: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --header-h: clamp(4rem, 8vh, 4.5rem);
  --fs-hero: clamp(2.5rem, calc((100vw - 2 * var(--gutter)) / 7.25), min(13rem, 24svh));
  --fs-statement: clamp(2rem, 6.4vw, 6.5rem);
  --fs-h2: clamp(2.25rem, 5.2vw, 4.75rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: transparent;
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a, button, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#lista, #waitlist { scroll-margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
img, svg { display: block; }
::selection { background: var(--blue); color: var(--paper); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn:focus-visible, .back:focus-visible, .field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.lang a:focus-visible, .lang button:focus-visible, .motion-toggle:focus-visible, .notify:focus-visible, .brand:focus-visible { outline-offset: 2px; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: 0.75rem; z-index: 30;
  padding: 0.75rem 1rem; background: var(--paper); color: var(--ink);
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; outline-offset: 2px; }

/* ---------- Capas: canvas / póster ---------- */
.hero-canvas, .hero-poster {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.hero-canvas { opacity: 0; transition: opacity 400ms linear; }
.hero-canvas.is-live { opacity: 1; }
.hero-poster { display: none; background: var(--ink) center / cover no-repeat; }
.is-poster .hero-canvas { display: none; }
.is-poster .hero-poster { display: block; background-image: url("../img/poster-1920.webp"); }
@media (orientation: portrait) {
  .is-poster .hero-poster { background-image: url("../img/poster-portrait.webp"); }
}

/* ---------- CTA magnéticos (JS pone --mx/--my solo con puntero fino y movimiento permitido) ---------- */
[data-magnetic] { translate: var(--mx, 0) var(--my, 0); transition: translate 380ms var(--ease-out); }
[data-magnetic].is-pulled { transition-duration: 120ms; }

/* ---------- Intro: arranque en mono que se resuelve en el logo (≤1,2 s, CSS pura) ---------- */
.boot { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-boot) .boot {
    position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
    background: var(--ink); pointer-events: none;
    animation: boot-out 260ms linear 900ms forwards;
  }
  .boot.is-skipped { animation: boot-out 160ms linear forwards !important; }
  .boot-in { display: grid; justify-items: start; gap: 0.35rem; font: 400 0.8125rem/1.5 var(--f-mono); letter-spacing: 0.04em; color: var(--grey); }
  .boot-in p { overflow: hidden; white-space: nowrap; width: 0; animation: boot-type 220ms steps(14, end) calc(var(--n, 0) * 140ms) forwards, boot-fold 160ms var(--ease-out) 560ms forwards; }
  .boot-in p:last-of-type { color: var(--paper); }
  .boot-in p:nth-child(2) { --n: 1; } .boot-in p:nth-child(3) { --n: 2; }
  .boot-logo { margin-top: 0.5rem; opacity: 0; animation: boot-logo 380ms var(--ease-out) 560ms forwards; }
  .boot-logo svg { width: 7.5rem; height: auto; }
  @keyframes boot-type { to { width: 22ch; } }
  @keyframes boot-fold { to { opacity: 0; height: 0; margin-top: -0.35rem; } }
  @keyframes boot-logo { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
  @keyframes boot-out { to { opacity: 0; visibility: hidden; } }
  /* el titular entra cuando la intro se va */
  html:not(.no-boot) .k-line .c { animation-delay: calc(820ms + var(--i, 0) * 28ms); }
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
}
.brand { display: inline-flex; padding: 0.25rem 0; text-decoration: none; }
.brand svg { width: clamp(5.25rem, 9vw, 6.5rem); height: auto; aspect-ratio: 925 / 335; overflow: visible; }
.brand svg polygon { transition: transform 420ms var(--ease-out), fill 200ms linear; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand:hover svg polygon { transform: translate(22px, -22px); fill: var(--blue); }
}
.header-actions { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }

.notify {
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  padding: 0.5rem 0; position: relative; white-space: nowrap;
}
.notify::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(0);
  transition: transform 300ms var(--ease-out);
}
@media (hover: hover) { .notify:hover::after { transform-origin: left; transform: scaleX(1); } }

.lang { display: flex; align-items: center; font: 400 0.8125rem/1 var(--f-mono); letter-spacing: 0.04em; }
.lang a, .lang button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.25rem;
  color: var(--grey); text-decoration: none;
  background: none; border: 0; font: inherit; cursor: pointer;
  transition: color 200ms linear;
}
.lang [aria-current="page"], .lang [aria-pressed="true"] { color: var(--paper); }
.lang [aria-current="page"]::before, .lang [aria-pressed="true"]::before { content: "["; }
.lang [aria-current="page"]::after, .lang [aria-pressed="true"]::after { content: "]"; }
@media (hover: hover) { .lang a:hover, .lang button:hover { color: var(--paper); } }
.lang .sep { color: #5c5c5c; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--header-h) + clamp(1rem, 5vh, 3.5rem)) var(--gutter) clamp(1.25rem, 4.5vh, 3rem);
  overflow: clip;
  animation: hero-progress linear both;
  animation-timeline: scroll(root block);
  animation-range: 0px 90vh;
}
@keyframes hero-progress { from { --p: 0; } to { --p: 1; } }

.hero-aside {
  grid-row: 1;
  justify-self: end;
  /* dentro del marco del canvas (inset 12 %, 8 % en móvil) para que su línea no cruce el texto */
  margin-top: calc(12svh - var(--header-h) - clamp(1rem, 5vh, 3.5rem) + 1.75rem);
  margin-right: calc(12vw - var(--gutter) + 1.75rem);
  width: min(100%, 23rem);
  display: grid; gap: 1rem;
}
.hero-aside p { font-size: clamp(1rem, 0.35vw + 0.9rem, 1.1875rem); line-height: 1.55; color: var(--paper); text-wrap: pretty; }
.hero-aside .soon { font-weight: 600; color: var(--paper); display: flex; align-items: center; gap: 0.75rem; }
.hero-aside .soon::before { content: ""; width: 2.5rem; height: 2px; background: var(--blue); flex: none; }

.hero h1 {
  grid-row: 3;
  font: 800 var(--fs-hero)/0.93 var(--f-display);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-left: -0.04em;
}
.k-line { display: block; white-space: nowrap; }
.k-line .c {
  display: inline-block;
  --q: clamp(0, calc((var(--p) - var(--d, 0)) * 2.2), 1);
  transform: translate3d(calc(var(--q) * var(--dx, 0) * 1em), calc(var(--q) * var(--dy, 0) * 1em), 0);
  will-change: transform;
  animation: k-enter 1100ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 28ms);
}
.k-sp { display: inline-block; width: 0.26em; }
.k-en .l2 { padding-bottom: 0.1em; }
.k-hot { display: inline-block; }
@keyframes k-enter { from { translate: calc(var(--ex, 0) * 1em) 0; } to { translate: 0 0; } }

/* La palabra que rompe el límite deja una estela azul al cruzar */
.k-hot { position: relative; }
.k-hot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.03em;
  background: var(--blue);
  transform-origin: left; transform: scaleX(clamp(0, calc((var(--p) - 0.12) * 4), 1));
  opacity: clamp(0, calc(1 - (var(--p) - 0.3) * 3), 1);
}

/* ---------- Afirmaciones ---------- */
.statements {
  position: relative;
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(2rem, 6vh, 4rem);
  overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 9vh, 6rem);
  /* el corte en los bordes es un fundido, nunca una letra partida a cuchillo */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.statements ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 8vh, 5rem); }
.statements li > span { display: inline-block; }
.statements li {
  font: 800 var(--fs-statement)/0.98 var(--f-display);
  letter-spacing: -0.03em;
  max-width: 12em;
  text-wrap: balance;
  color: var(--paper);
}
.statements li:nth-child(2) { justify-self: end; text-align: right; }
.statements li:nth-child(3) { max-width: 14em; }

.tagline-track { overflow: clip; }
.tagline {
  font: 800 clamp(2.5rem, 10.6vw, 12.5rem)/0.92 var(--f-display);
  letter-spacing: -0.04em;
}
.tagline .t-l { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.tagline .t-l + .t-l { margin-left: auto; }
.tagline .t-dim { color: var(--grey); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* entra desde el lado, llega a su sitio antes del centro de la pantalla y ahí se queda */
    .statements li > span {
      animation: s-in linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 42%;
    }
    .statements li:nth-child(odd) > span { --from: -22vw; --skew: 8deg; }
    .statements li:nth-child(even) > span { --from: 22vw; --skew: -8deg; }
    @keyframes s-in {
      from { transform: translateX(var(--from)) skewX(var(--skew)); color: var(--grey); }
      65% { color: var(--grey); }
      to { transform: none; color: var(--paper); }
    }
    .tagline .t-l {
      animation: t-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    .tagline .t-l:first-child { --from: -30vw; }
    .tagline .t-l + .t-l { --from: 30vw; }
    @keyframes t-in { from { transform: translateX(var(--from)); } to { transform: none; } }

    /* estado y lista: suben y se encienden con el scroll */
    .status, .waitlist {
      animation: block-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes block-in { from { transform: translateY(3rem); } to { transform: none; } }
  }
}

/* ---------- Estado + lista de espera ---------- */
.launch {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) clamp(3.5rem, 9vh, 6rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem);
  row-gap: 3.5rem;
  align-items: start;
  max-width: 1600px; margin: 0 auto;
}
.status { grid-column: 1 / span 5; font: 400 clamp(0.875rem, 0.3vw + 0.8rem, 1rem)/1.75 var(--f-mono); color: var(--grey); }
.status h2 { font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); margin-bottom: 1.5rem; }
.status-body { min-height: calc(4 * 1.75em + 8.25rem); }
.ln { display: grid; grid-template-columns: 13ch 1fr; column-gap: 1ch; min-height: 1.75em; }
.ln .k { white-space: nowrap; }
.ln .k::before { content: "> "; color: #6b6b6b; }
.is-booting .ln:not(.on) { visibility: hidden; }
.ln.solo { grid-template-columns: 1fr; }
.ln .v { color: var(--paper); }
.ln .v { overflow-wrap: anywhere; }
.ln.state .v::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.6em; background: var(--blue); vertical-align: 0.05em; }
.is-open .ln.state .v { color: var(--paper); }
.bar { position: relative; display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; height: 1.75em; }
.bar-track { position: relative; flex: 1; height: 1px; }
.bar-fill { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0.92); }
.cursor { color: var(--paper); }
.cd { margin-top: 1.5rem; }
.cd-title { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cd-title::before { content: "> "; color: #6b6b6b; }
.countdown { display: grid; grid-template-columns: repeat(4, max-content); justify-content: start; column-gap: clamp(1rem, 2.4vw, 1.75rem); margin-top: 0.5rem; font-variant-numeric: tabular-nums; }
.cd-cell { display: grid; }
.countdown b { display: block; min-width: 2ch; font: 400 clamp(2.25rem, 4.2vw, 3.5rem)/1.05 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--paper); }
.cd-cell + .cd-cell b::before { content: none; }
.countdown span { font-size: 0.75rem; letter-spacing: 0.08em; }
.is-booting:not(.is-ready) .cd { visibility: hidden; }
.cd-open { margin-top: 0; }
.cd-link { color: var(--paper); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--blue); }
@media (hover: hover) { .cd-link:hover { color: var(--blue); } }

@media (prefers-reduced-motion: no-preference) {
  .status.is-booting .bar-fill { transform: scaleX(0); transition: transform 2400ms var(--ease-out); }
  .status.is-booting.is-ready .bar-fill { transform: scaleX(0.92); }
  .cursor { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}

.waitlist { grid-column: 7 / -1; }
.waitlist h2 { font: 800 var(--fs-h2)/0.95 var(--f-display); letter-spacing: -0.035em; text-wrap: balance; max-width: 12em; }
.waitlist .intro { margin-top: 1rem; color: var(--grey); font-size: 1.0625rem; text-wrap: pretty; }
.help, .wl-done p, .hero-aside p, .lost p { text-wrap: pretty; }

.wl-box { position: relative; margin-top: 2.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); min-height: 15.5rem; }
.edge { position: absolute; background: var(--paper); pointer-events: none; }
.e-t, .e-b { left: 0; right: 0; height: 1px; }
.e-l, .e-r { top: 0; bottom: 0; width: 1px; }
.e-t { top: 0; } .e-b { bottom: 0; } .e-l { left: 0; } .e-r { right: 0; }

.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; }
.field input {
  min-width: 0; width: 100%; height: 3.5rem; padding: 0 1rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--paper); border-radius: 0;
  font: 400 1.0625rem var(--f-body);
}
.field input::placeholder { color: #8a8a8a; }
.field input[aria-invalid="true"] { border-width: 2px; padding: 0 calc(1rem - 1px); }
.help { color: var(--grey); font-size: 0.875rem; }
.error { font-size: 0.9375rem; font-weight: 600; color: var(--paper); display: flex; gap: 0.5rem; align-items: baseline; }
.error:empty { display: none; }
.error::before { content: "!"; font: 400 0.8125rem/1 var(--f-mono); display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none; border: 1px solid var(--paper); transform: translateY(0.15rem); }

.btn {
  height: 3.5rem; padding: 0 1.5rem;
  background: var(--paper); color: var(--ink);
  border: 0; border-radius: 0;
  font: 600 1rem var(--f-body); white-space: nowrap;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 200ms linear;
}
@media (hover: hover) { .btn:hover { background: #e4e4e4; } }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; background: #d4d4d4; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn.is-loading .btn-label::after { content: "..."; display: inline-block; width: 3ch; text-align: left; font-family: var(--f-mono); }
@media (prefers-reduced-motion: no-preference) {
  .btn.is-loading .btn-label::after { animation: dots 900ms steps(4, end) infinite; overflow: hidden; vertical-align: bottom; }
  @keyframes dots { from { width: 0; } to { width: 4ch; } }
}
.wl-box.is-open { min-height: 0; }
.wl-box.is-open .edge { background: var(--blue); }
.wl-open { display: grid; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wl-done { display: none; }
.wl-box.is-done form { display: none; }
.wl-box.is-done .wl-done { display: grid; gap: 1rem; align-content: center; min-height: 11rem; }
.wl-done h3 { font: 800 clamp(3rem, 7vw, 5.5rem)/0.9 var(--f-display); letter-spacing: -0.04em; }
.wl-done h3:focus { outline: none; }
.wl-done p { color: var(--paper); max-width: 36ch; }

@media (prefers-reduced-motion: no-preference) {
  .wl-box.is-done .e-t { animation: break-x 900ms var(--ease-out) forwards; --dir: -1; }
  .wl-box.is-done .e-b { animation: break-x 900ms var(--ease-out) 60ms forwards; --dir: 1; }
  .wl-box.is-done .e-l { animation: break-y 900ms var(--ease-out) 30ms forwards; --dir: -1; }
  .wl-box.is-done .e-r { animation: break-y 900ms var(--ease-out) 90ms forwards; --dir: 1; }
  @keyframes break-x {
    0% { background: var(--paper); }
    15% { background: var(--blue); transform: scaleY(3); }
    100% { background: var(--blue); transform: translateY(calc(var(--dir) * 3rem)) scaleX(1.25); opacity: 0; }
  }
  @keyframes break-y {
    0% { background: var(--paper); }
    15% { background: var(--blue); transform: scaleX(3); }
    100% { background: var(--blue); transform: translateX(calc(var(--dir) * 3rem)) scaleY(1.25); opacity: 0; }
  }
  .wl-box.is-done .wl-done > * { animation: rise 800ms var(--ease-out) both; }
  .wl-box.is-done .wl-done > :nth-child(2) { animation-delay: 120ms; }
  @keyframes rise { from { transform: translateY(1.5rem); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .wl-box.is-done .edge { background: var(--blue); } }

/* ---------- Pie ---------- */
.site-footer {
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter) 1.75rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem 1.5rem; align-items: end;
  max-width: 1600px; margin: 0 auto;
  border-top: 1px solid #262626;
}
.site-footer .brand svg { width: 7.5rem; }
.foot-tag { margin-top: 1.25rem; font: 800 clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--f-display); letter-spacing: -0.03em; }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; color: var(--grey); font-size: 0.875rem; }
.site-footer .lang { margin-right: -0.5rem; }
.motion-toggle {
  min-height: 2.75rem; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--grey); font: 400 0.8125rem/1 var(--f-mono); letter-spacing: 0.04em;
  text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: #4a4a4a;
  transition: color 200ms linear;
}
@media (hover: hover) { .motion-toggle:hover { color: var(--paper); } }
.is-poster .motion-toggle { display: none; }
.is-still .cursor { animation: none !important; }
.is-still [data-magnetic] { translate: none !important; }

/* ---------- 404 ---------- */
.lost {
  min-height: 100svh; display: grid; align-content: end; gap: 1.5rem;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(2rem, 8vh, 5rem);
}
.lost .code { font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.14em; color: var(--paper); }
.lost h1 { font: 800 clamp(2.75rem, 9vw, 9rem)/0.9 var(--f-display); letter-spacing: -0.04em; max-width: 9em; text-wrap: balance; }
.page-404 .lost .back { transition: background-color 200ms linear; }
@media (hover: hover) { .lost .back:hover { background: #e4e4e4; } }
.lost p { color: var(--grey); max-width: 36ch; font-size: 1.125rem; }
.lost .back { justify-self: start; display: inline-flex; align-items: center; height: 3.5rem; padding: 0 1.5rem; background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.lost .back:active { transform: translateY(1px); }
[data-l][hidden] { display: none !important; }
.trace {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 85% 15%, transparent 0 35%, var(--ink) 80%),
    url("../img/poster-1920.webp") 70% 40% / cover no-repeat;
  opacity: 0.55;
}
.trace::after {
  content: ""; position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.trace-frame {
  position: absolute; top: 12%; right: 12%; width: 22vw; height: 30vh;
  border-top: 1px solid rgba(250, 250, 250, 0.22); border-right: 1px solid rgba(250, 250, 250, 0.22);
  -webkit-mask-image: linear-gradient(90deg, #000 0 38%, transparent 38% 52%, #000 52%);
  mask-image: linear-gradient(90deg, #000 0 38%, transparent 38% 52%, #000 52%);
}
.trace-frame::after { content: ""; position: absolute; top: -1px; left: 38%; width: 14%; height: 1px; background: var(--blue); transform: translate(0.75rem, -0.6rem) rotate(-8deg); }
@media (orientation: portrait) { .trace { background-image: radial-gradient(120% 90% at 85% 15%, transparent 0 35%, var(--ink) 80%), url("../img/poster-portrait.webp"); } }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .status { grid-column: 1 / -1; }
  .waitlist { grid-column: 1 / -1; }
  .launch { row-gap: 4rem; }
}
@media (max-width: 767px) {
  .hero-aside {
    justify-self: stretch; width: auto;
    margin: calc(8svh - var(--header-h) - clamp(1rem, 5vh, 3.5rem) + 1.25rem) calc(8vw - var(--gutter) + 0.875rem) 0;
  }
  .notify { font-size: 0.875rem; }
  .header-actions { gap: 0.75rem; }
  .row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .statements li, .statements li:nth-child(3) { max-width: none; }
  .ln { grid-template-columns: 13ch 1fr; }
  .ln.wide { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer .lang { margin-left: -0.5rem; }
}
@media (max-width: 380px) {
  .notify { display: none; }
}

/* ---------- Movimiento reducido: todo quieto ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; --p: 0; }
  .k-line .c { animation: none; transform: none; will-change: auto; }
  .k-hot::after { transform: scaleX(1); opacity: 1; }
  [data-magnetic] { translate: none !important; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}

/* @kinetic-start (generado por tools/build.py) */
.k-es .c1{--i:1;--dx:-0.950;--dy:0.000;--d:0.030;--ex:-0.140}
.k-es .c2{--i:2;--dx:-0.712;--dy:0.000;--d:0.030;--ex:-0.105}
.k-es .c3{--i:3;--dx:-0.475;--dy:0.000;--d:0.030;--ex:-0.070}
.k-es .c4{--i:4;--dx:-0.237;--dy:0.000;--d:0.030;--ex:-0.035}
.k-es .c5{--i:5;--dx:0.000;--dy:0.000;--d:0.030;--ex:0.000}
.k-es .c6{--i:6;--dx:0.237;--dy:0.000;--d:0.030;--ex:0.035}
.k-es .c7{--i:7;--dx:0.475;--dy:0.000;--d:0.030;--ex:0.070}
.k-es .c8{--i:8;--dx:0.712;--dy:0.000;--d:0.030;--ex:0.105}
.k-es .c9{--i:9;--dx:0.950;--dy:0.000;--d:0.030;--ex:0.140}
.k-es .c10{--i:10;--dx:-0.600;--dy:0.000;--d:0.080;--ex:-0.140}
.k-es .c11{--i:11;--dx:-0.400;--dy:0.000;--d:0.080;--ex:-0.093}
.k-es .c12{--i:12;--dx:-0.200;--dy:0.000;--d:0.080;--ex:-0.047}
.k-es .c13{--i:13;--dx:0.000;--dy:0.000;--d:0.080;--ex:0.000}
.k-es .c14{--i:14;--dx:0.200;--dy:0.000;--d:0.080;--ex:0.047}
.k-es .c15{--i:15;--dx:0.400;--dy:0.000;--d:0.080;--ex:0.093}
.k-es .c16{--i:16;--dx:0.600;--dy:0.000;--d:0.080;--ex:0.140}
.k-es .c17{--i:17;--dx:0.038;--dy:-3.487;--d:0.020;--ex:-0.140}
.k-es .c18{--i:18;--dx:-0.009;--dy:-4.495;--d:0.055;--ex:-0.084}
.k-es .c19{--i:19;--dx:0.010;--dy:-3.881;--d:0.090;--ex:-0.028}
.k-es .c20{--i:20;--dx:-0.046;--dy:-2.508;--d:0.125;--ex:0.028}
.k-es .c21{--i:21;--dx:0.097;--dy:-2.735;--d:0.160;--ex:0.084}
.k-es .c22{--i:22;--dx:-0.072;--dy:-3.894;--d:0.195;--ex:0.140}
.k-en .c1{--i:1;--dx:-0.950;--dy:0.000;--d:0.030;--ex:-0.140}
.k-en .c2{--i:2;--dx:-0.633;--dy:0.000;--d:0.030;--ex:-0.093}
.k-en .c3{--i:3;--dx:-0.317;--dy:0.000;--d:0.030;--ex:-0.047}
.k-en .c4{--i:4;--dx:0.000;--dy:0.000;--d:0.030;--ex:0.000}
.k-en .c5{--i:5;--dx:0.317;--dy:0.000;--d:0.030;--ex:0.047}
.k-en .c6{--i:6;--dx:0.633;--dy:0.000;--d:0.030;--ex:0.093}
.k-en .c7{--i:7;--dx:0.950;--dy:0.000;--d:0.030;--ex:0.140}
.k-en .c8{--i:8;--dx:11.229;--dy:0.047;--d:0.140;--ex:-0.140}
.k-en .c9{--i:9;--dx:10.414;--dy:-0.022;--d:0.110;--ex:-0.070}
.k-en .c10{--i:10;--dx:9.709;--dy:-0.049;--d:0.080;--ex:0.000}
.k-en .c11{--i:11;--dx:8.633;--dy:-0.046;--d:0.050;--ex:0.070}
.k-en .c12{--i:12;--dx:7.862;--dy:0.025;--d:0.020;--ex:0.140}
.k-en .c13{--i:13;--dx:-0.600;--dy:0.000;--d:0.130;--ex:-0.140}
.k-en .c14{--i:14;--dx:-0.467;--dy:0.000;--d:0.130;--ex:-0.109}
.k-en .c15{--i:15;--dx:-0.333;--dy:0.000;--d:0.130;--ex:-0.078}
.k-en .c16{--i:16;--dx:-0.200;--dy:0.000;--d:0.130;--ex:-0.047}
.k-en .c17{--i:17;--dx:-0.067;--dy:0.000;--d:0.130;--ex:-0.016}
.k-en .c18{--i:18;--dx:0.067;--dy:0.000;--d:0.130;--ex:0.016}
.k-en .c19{--i:19;--dx:0.200;--dy:0.000;--d:0.130;--ex:0.047}
.k-en .c20{--i:20;--dx:0.333;--dy:0.000;--d:0.130;--ex:0.078}
.k-en .c21{--i:21;--dx:0.467;--dy:0.000;--d:0.130;--ex:0.109}
.k-en .c22{--i:22;--dx:0.600;--dy:0.000;--d:0.130;--ex:0.140}
/* @kinetic-end */
