/* Cross launch site. Tokens match app/globals.css in this repo. */
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --acid: #d9df4a;
  --ink: #000;
  --paper: #fff;
  --fog: #f1f2eb;
  --line: #d8d9d1;
  --muted: #64655f;
  --muted-dark: #a3a49c;
  --error: #ff8a7a;
  --gutter: clamp(16px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.55 "Geist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }

.sr-only, .hp {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--acid); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Logo: same construction as the working lockup in Revoluciones/cross-design
   (white CROSS crossed by the acid line, acid chevron in the O, "by" white +
   REVOLUCIONES acid). Matches .brand-* in app/globals.css. */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-word { position: relative; display: inline-block; isolation: isolate; color: var(--paper); font-size: 32px; font-weight: 850; letter-spacing: -0.1em; }
.logo-line { position: absolute; left: -5%; right: -4%; top: 52%; z-index: 1; height: 2px; background: var(--acid); }
.logo-o { position: relative; display: inline-block; }
.logo-arrow { position: absolute; left: 50%; top: 48%; z-index: 2; transform: translate(-47%, -50%); font-size: 0.7em; font-weight: 600; line-height: 1; color: var(--acid); }
.logo-by { align-self: flex-end; margin-top: 5px; font-size: 7px; font-weight: 650; letter-spacing: 0.18em; color: var(--paper); }
.logo-by strong { color: var(--acid); font-weight: 800; letter-spacing: 0.2em; }
.foot .logo-word { font-size: 42px; }
.foot .logo-line { height: 3px; }
.foot .logo-by { margin-top: 8px; font-size: 9px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}
.brand { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted-dark); }
.top nav a:hover { color: var(--paper); }
.top nav .lang { color: var(--paper); border-bottom: 2px solid var(--acid); }
@media (max-width: 640px) {
  .top nav a:not(.lang):not([href="#waitlist"]) { display: none; }
}

/* Sections */
.hero, .section { padding: clamp(64px, 11vw, 140px) var(--gutter); }
.section.light { background: var(--fog); color: var(--ink); }
.inner { max-width: 1120px; }
.hero > *, .section > * { max-width: 1120px; }
.eyebrow {
  margin: 0 0 18px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--acid);
}
.light .eyebrow { color: var(--muted); }
.hero h1 { font-size: clamp(46px, 9vw, 112px); font-weight: 700; max-width: 12ch; }
.hero h1 span { display: block; color: var(--acid); }
.section h2 { font-size: clamp(34px, 5.5vw, 64px); font-weight: 700; max-width: 18ch; }
.lead { margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; color: var(--muted-dark); }
.light .lead { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }

.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--acid); color: var(--ink);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
.button:hover { background: #e8ee5c; }
.button:disabled { opacity: 0.6; cursor: progress; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--acid); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Services: one flat list, rows divided by rules */
.services { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 48px; }
.services li { padding: 26px 0; border-top: 1px solid var(--line); }
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.services h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; }
.services p { margin: 10px 0 0; color: var(--muted); }
.badge { flex: none; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.badge::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 1px #b9be2c; vertical-align: 1px; }
.services .live .text-link { display: inline-block; margin-top: 14px; }
.badge--live { color: var(--ink); }
.badge--live::before { background: #1a9c4a; box-shadow: none; }
.fine { margin: 40px 0 0; font-size: 14px; color: var(--muted); max-width: 80ch; }

/* Guides */
.guides { list-style: none; margin: 40px 0 0; padding: 0; max-width: 820px; }
.guides a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); text-decoration: none; font-size: 19px; }
.guides a:hover { color: var(--acid); }
.more-guides { max-width: 820px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.more-guides summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--acid); }
.more-guides .guides { margin-top: 0; }

/* Waitlist form: fields sit directly in the section, no card around them */
.waitlist { margin-top: 44px; max-width: 640px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span, legend { font-weight: 600; font-size: 15px; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: transparent; color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 12px;
  font: inherit;
}
.field input:focus { border-color: var(--acid); outline: none; box-shadow: 0 0 0 1px var(--acid); }
.field small, .hint { color: var(--muted-dark); font-size: 14px; margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 12px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 24px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--acid); flex: none; }
.consent { color: var(--muted-dark); font-size: 15px; }
.waitlist .button { justify-self: start; }
.status { margin: 0; min-height: 1.5em; font-weight: 600; }
.status.ok { color: var(--acid); }
.status.error { color: var(--error); }

.ask { border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 56px; padding-bottom: 56px; }
.ask h2 { font-size: clamp(26px, 3.5vw, 40px); }

.foot { padding: 48px var(--gutter) 56px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--muted-dark); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 18px; }
.foot-links a { color: var(--paper); text-decoration: none; }
.foot-links a:hover { color: var(--acid); }
.foot p { margin: 0; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
