/* Vespra · landing
   Design tokens copied from design/design.pen (see src/constants/design.ts).
   Motion comes from motion.css (transitions-dev). Never hardcode a duration
   or easing here — reference the motion tokens. */

:root {
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --surface-glass: #FFFFFFC2;
  --ink: #15191D;
  --muted: #6C7680;
  --faint: #A3ACB5;
  --line: #E6E6E1;
  --brand: #1F6F5C;
  --brand-soft: #E4EFEB;
  --brand-line: #1F6F5C33;
  --brand-tint: #1F6F5C1F;
  --warn: #D8622B;
  --stop: #B3261E;
  --stop-soft: #F9E4E2;
  --chrome: #15191D;
  --glass-thick: #FFFFFFD6;
  --glass-edge: #FFFFFFD9;
  --glass-hairline: #15191D14;

  /* On-chrome ramp — the .pen system is light-ground only, so the dark band
     needs its own names (docs/web.md §5). */
  --on-chrome: #F6F6F3;
  --on-chrome-muted: #A3ACB5;
  --on-chrome-faint: #8A94A0;
  --on-chrome-line: #FFFFFF33;

  --head: "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: 80px;
  --maxw: 1280px;
}

/* ── Fonts, self-hosted and subset to Latin + Catalan. No third-party
      request: the page claims "sense cap rastrejador" and means it. ── */
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/intertight-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/intertight-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(120% 45% at 8% 0%, #1F6F5C2E 0%, #1F6F5C00 100%),
    radial-gradient(80% 30% at 95% 12%, #D8622B1A 0%, #D8622B00 100%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.6px; color: var(--faint); margin: 0; text-transform: uppercase; }
.micro { font-size: 12px; color: var(--faint); margin: 0; }
.rule { height: 2px; background: var(--ink); border: 0; margin: 0; }

/* ── Nav · floating pill ─────────────────────────────────────── */
.pill-wrap { position: fixed; top: 24px; left: 0; right: 0; display: flex; justify-content: center; z-index: 20; pointer-events: none; }
.pill {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 22px;
  padding: 7px 9px 7px 14px; border-radius: 999px;
  background: var(--glass-thick);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 8px 24px -12px #15191D2E;
}
.pill-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: -0.3px; }
/* El isotipo es la marca del icono, sin variante propia: la misma V con el
   jugador recortado. Master en design/marca/mark-cream.png. A 20-30px el
   recorte del jugador se empasta y se lee sobre todo la V; es una decision
   tomada a proposito para no tener dos marcas distintas conviviendo. */
.iso { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--brand); }
.iso img { width: 76%; height: auto; display: block; }
.pill-links { display: flex; gap: 20px; font-size: 13px; font-weight: 500; color: var(--muted); }
.pill-links a:hover { color: var(--ink); }
/* Selector de idioma del pill. El activo no es un enlace: no se puede navegar a
   la pagina en la que ya estas, y marcarlo con aria-current lo dice tambien a un
   lector de pantalla. */
.pill-lang { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: var(--faint); }
.pill-lang a { color: var(--faint); }
.pill-lang a:hover { color: var(--ink); }
.pill-lang [aria-current="true"] { color: var(--ink); }
.pill-lang .sep { color: var(--line); }
.btn-solid { display: inline-flex; align-items: center; gap: 8px; background: var(--chrome); color: #fff; border-radius: 13px; padding: 14px 22px; font-size: 15px; font-weight: 600; border: 0; font-family: var(--body); cursor: pointer; }
.pill .btn-solid { border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 13px; padding: 13px 21px; font-size: 15px; font-weight: 600; background: transparent; cursor: pointer; font-family: var(--body); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { padding-top: 104px; }
.hero-grid { display: grid; grid-template-columns: 1fr 390px; gap: 72px; align-items: start; }
.hero h1 { font-family: var(--head); font-size: 60px; font-weight: 700; letter-spacing: -2.4px; line-height: 1.05; margin: 14px 0 0; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 20px 0 0; }
.teams { margin-top: 28px; }
.chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--glass-thick); border: 1px solid var(--glass-edge);
  font-size: 13px; font-weight: 600;
}
.chip.has-ini { padding: 5px 13px 5px 5px; }
.chip .ini { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-tint); color: var(--brand); font-family: var(--head); font-weight: 700; font-size: 10px; }
.chip.is-active { background: var(--chrome); color: #fff; border-color: transparent; }
.teams .micro { margin-top: 10px; max-width: 46ch; line-height: 1.5; }
.cta-row { display: flex; gap: 22px; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.hero .micro.meta { margin-top: 16px; }
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: 24px; }
.shot.crop { height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; }
.shot.crop img { border: 0; border-radius: 0; }
.shot figcaption { font-size: 11px; color: var(--faint); margin-top: 10px; line-height: 1.5; }

/* ── Stages · narrative workflow ─────────────────────────────── */
.stage { padding-top: 96px; }
.stage + .stage { padding-top: 72px; }
.stage-head { display: flex; align-items: flex-end; gap: 16px; padding-top: 14px; }
.stage-num { font-family: var(--head); font-size: 40px; font-weight: 700; letter-spacing: -1.6px; line-height: 1.05; }
.stage-day { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); padding-bottom: 7px; }
.stage-grid { display: grid; grid-template-columns: 1fr 390px; gap: 72px; align-items: start; padding-top: 24px; }
.stage h2 { font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: -0.9px; line-height: 1.2; margin: 0; }
.stage p.body { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 14px 0 0; }
.cap { font-size: 11px; color: var(--faint); line-height: 1.5; margin: 9px 0 0; }

/* Notification exhibit — wears .t-toast */
.notif { display: flex; gap: 10px; padding: 13px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px -8px #15191D24; }
.notif .iso { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; }
.notif-body { flex: 1; min-width: 0; }
.notif-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.notif-top strong { font-size: 12px; font-weight: 700; }
.notif-top span { font-size: 10px; color: var(--faint); }
.notif p { font-size: 12px; line-height: 1.42; margin: 2px 0 0; }

/* Crawl cadence rows */
.cadence { padding-top: 4px; }
.cadence div { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cadence b { font-family: var(--head); font-size: 17px; font-weight: 700; letter-spacing: -0.3px; width: 112px; flex: 0 0 auto; }
.cadence span { font-size: 13px; color: var(--muted); }
.cadence .brand { color: var(--brand); }
.cadence .quiet { color: var(--muted); }

/* ── 05 · the streaks band ───────────────────────────────────── */
.band { background: var(--brand-soft); margin-top: 96px; padding: 56px 0 72px; }
.band .rule { background: var(--brand); }
.band .stage-num, .band .stage-day { color: var(--brand); }
.band h2 { font-family: var(--head); font-size: 34px; font-weight: 700; letter-spacing: -1.1px; line-height: 1.15; margin: 24px 0 0; max-width: 720px; }
.band p.body { max-width: 720px; }
.band-grid { display: grid; grid-template-columns: 1fr 390px; gap: 72px; align-items: start; padding-top: 36px; }
.label { font-size: 10px; font-weight: 700; letter-spacing: 0.7px; color: var(--brand); margin: 0; }
.form-row { padding: 16px 0; border-bottom: 1px solid var(--brand-line); }
.form-top { display: flex; gap: 12px; align-items: center; }
.form-top .who { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; width: 180px; flex: 0 0 auto; }
.form { display: flex; gap: 5px; }
.form i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-family: var(--head); font-style: normal; font-size: 11px; font-weight: 700; }
.form .v { background: var(--brand-tint); color: var(--brand); }
.form .e { background: var(--glass-hairline); color: var(--muted); }
.form .d { background: var(--stop-soft); color: var(--stop); }
.form-row strong { display: block; font-family: var(--head); font-size: 17px; font-weight: 700; letter-spacing: -0.4px; margin-top: 9px; }
.context { background: var(--surface-glass); border: 1px solid var(--glass-edge); border-radius: 18px; padding: 20px; }
.context .label { color: var(--faint); }
.context li { display: flex; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--glass-hairline); font-size: 14px; font-weight: 500; }
.context ul { list-style: none; margin: 0; padding: 0; }
.context svg { flex: 0 0 auto; color: var(--brand); }

/* ── Roadmap ─────────────────────────────────────────────────── */
.roadmap { padding-top: 96px; }
.roadmap-head { display: flex; gap: 72px; align-items: flex-end; padding-top: 26px; }
.roadmap-head h2 { font-family: var(--head); font-size: 40px; font-weight: 700; letter-spacing: -1.4px; line-height: 1.1; margin: 12px 0 0; }
.roadmap-head p { font-size: 15px; line-height: 1.65; color: var(--muted); width: 460px; flex: 0 0 auto; margin: 0 0 6px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; padding-top: 44px; }
.cols h3 { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; margin: 0 0 12px; }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.cols svg { flex: 0 0 auto; margin-top: 4px; }
.col-now h3, .col-now svg { color: var(--brand); }
.col-next h3, .col-next svg { color: var(--warn); }
.col-think h3, .col-think svg { color: var(--muted); }
.caveat { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 14px 0 10px; }

/* ── Download + footer ───────────────────────────────────────── */
.download { padding-top: 96px; }
.download h2 { font-family: var(--head); font-size: 44px; font-weight: 700; letter-spacing: -1.6px; line-height: 1.1; margin: 30px 0 0; max-width: 720px; }
.download p.body { max-width: 660px; font-size: 17px; }
.buttons { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.alts { display: grid; grid-template-columns: 1fr 440px; gap: 72px; padding-top: 34px; }
.alts > div { border-top: 1px solid var(--line); padding-top: 20px; }
/* Variante de una sola columna: la usa la seccion de descarga desde que
   se quito el bloque de precio. Sin esto el filete superior se cortaria a
   media pagina, porque el grid seguiria reservando los 440px de la derecha. */
.alts.single { grid-template-columns: 1fr; }
.alts p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 8px 0 0; }
.alts .label { color: var(--faint); }
footer { border-top: 1px solid var(--line); margin-top: 88px; padding: 24px 0 40px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-row .who { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; color: var(--muted); }
.foot-row .who .iso { width: 20px; height: 20px; border-radius: 6px; }
.foot-links { display: flex; gap: 20px; font-size: 12px; font-weight: 500; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
footer .micro { max-width: 820px; margin-top: 12px; line-height: 1.6; font-size: 11px; }

/* ── Link with a chevron (transitions-dev · learn more hover) ── */
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; padding-bottom: 3px; border-bottom: 1px solid var(--ink); background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; font-family: var(--body); color: var(--ink); }
.link-arrow.sm { font-size: 13px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --gutter: 20px; }
  .hero-grid, .stage-grid, .band-grid, .alts { grid-template-columns: 1fr; gap: 32px; }
  .cols { grid-template-columns: 1fr; gap: 26px; }
  .roadmap-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .roadmap-head p { width: auto; }
  .hero { padding-top: 76px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .lede { font-size: 16px; }
  .band h2 { font-size: 26px; letter-spacing: -0.8px; }
  .roadmap-head h2 { font-size: 30px; letter-spacing: -1px; }
  .download h2 { font-size: 32px; letter-spacing: -1.1px; }
  .stage h2 { font-size: 24px; letter-spacing: -0.7px; }
  .stage-num { font-size: 30px; }
  .form-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-top .who { width: auto; }
  .alts { gap: 24px; }
  .buttons .btn-solid, .buttons .btn-ghost { flex: 1 1 100%; justify-content: center; }
  .pill-links { display: none; }
  .shot.crop { height: 430px; }
  h1, h2, h3 { overflow-wrap: anywhere; min-width: 0; }
}
