@font-face { font-family: Geist; src: url(fonts/geist-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
/* Same palette as chequero-app/app/globals.css */
:root, :root[data-theme="dark"] {
  --bg: #0b0c0f; --fg: #e9eaee; --panel: #14161b; --panel-2: #191c22; --line: #262932; --muted: #8b8f9b;
  --asked: #34d399; --planned: #60a5fa; --building: #22d3ee; --checking: #a78bfa;
  --waiting: #fb923c; --done: #4ade80; --needs-you: #fbbf24;
  --glow: .16; --shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
:root[data-theme="light"] {
  --bg: #f7f7f5; --fg: #16171a; --panel: #ffffff; --panel-2: #fbfbfa; --line: #e3e3df; --muted: #6b6d74;
  --asked: #0f9f6e; --planned: #2f6fe0; --building: #0891b2; --checking: #7c4ddb;
  --waiting: #d9661f; --done: #16a34a; --needs-you: #d99a06;
  --glow: .09; --shadow: 0 30px 70px -25px rgba(20,22,27,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .25s, color .25s; }
a { color: inherit; }
code, .mono { font-family: "Geist Mono", ui-monospace, monospace; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font: 500 12px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: block; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; margin-top: 18px; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* Nav */
header { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand svg { width: 34px; height: auto; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); } .nav-links a:hover { color: var(--fg); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--panel); }
.seg button { all: unset; cursor: pointer; font: 500 12px/1 "Geist Mono", monospace; padding: 6px 9px; border-radius: 999px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--line); color: var(--fg); }
.icon-btn { all: unset; cursor: pointer; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); }
.icon-btn svg { width: 16px; height: 16px; }
:root[data-theme="dark"] .i-sun, :root[data-theme="light"] .i-moon { display: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 Geist, sans-serif; padding: 13px 20px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-ghost { border-color: var(--line); background: var(--panel); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--fg) 30%, var(--line)); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--building); outline-offset: 2px; }

/* Hero */
.hero { padding: 88px 0 0; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -64px 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 300px at 18% 22%, color-mix(in srgb, var(--asked) calc(var(--glow) * 100%), transparent), transparent 70%),
    radial-gradient(560px 300px at 55% 8%, color-mix(in srgb, var(--planned) calc(var(--glow) * 100%), transparent), transparent 70%),
    radial-gradient(600px 320px at 88% 30%, color-mix(in srgb, var(--checking) calc(var(--glow) * 100%), transparent), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: -64px 0 auto; height: 900px; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; font-size: 13px; color: var(--muted); text-decoration: none; }
.badge b { font: 600 11px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--bg); background: var(--needs-you); padding: 5px 8px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); font-weight: 650; margin-top: 26px; max-width: 980px; letter-spacing: -.04em; line-height: 1.02; }
.hero h1 .grad { background: linear-gradient(90deg, var(--asked), var(--planned) 35%, var(--building) 60%, var(--checking) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 720px; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.cta-note { font-size: 13px; color: var(--muted); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font: 500 13px/1 "Geist Mono", monospace; }
.flow span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.flow span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.flow i { color: var(--muted); font-style: normal; }

.shot { margin-top: 64px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.shot-bar .url { margin: 0 auto; font: 12px "Geist Mono", monospace; color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 4px 40px; border-radius: 6px; }
.shot img { display: block; width: 100%; height: auto; }
:root[data-theme="dark"] .light-only, :root[data-theme="light"] .dark-only { display: none !important; }
.caption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* Problem */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.tile { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 26px; }
.tile p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.q { font-size: 20px; font-weight: 550; letter-spacing: -.015em; line-height: 1.3; }
.q::before { content: "“"; color: var(--muted); }
.q::after { content: "”"; color: var(--muted); }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 56px; counter-reset: s; }
.stage { position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 22px 20px 22px; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.stage .name { font: 600 12px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.stage .by { margin-top: 16px; font-size: 15px; font-weight: 550; line-height: 1.35; }
.stage .how { margin-top: 10px; font-size: 13px; color: var(--muted); }
.stage .how code { color: var(--fg); font-size: 12px; }
.stage.lit { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 12%, transparent); }
.stage { transition: border-color .4s, box-shadow .4s; }
.beside { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 14px; color: var(--muted); justify-content: center; }
.beside b { color: var(--fg); font-weight: 550; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature { background: var(--panel); padding: 30px 28px; }
.feature .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.feature .ic svg { width: 19px; height: 19px; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.checks li b { font-weight: 550; }
.checks li span { color: var(--muted); }
.checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--done); }
.shot.small { margin-top: 0; }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }
.privacy .tile h3 { display: flex; align-items: center; gap: 10px; }
.privacy ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.privacy li { display: flex; gap: 10px; font-size: 15px; }
.privacy li::before { content: "+"; font-family: "Geist Mono", monospace; color: var(--done); width: 14px; flex: none; }
.privacy .never li::before { content: "×"; color: var(--waiting); }
.privacy .never li { color: var(--muted); }
.fine { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.fine code { color: var(--fg); font-size: 13px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.grid-3 > *, .steps > *, .features > *, .stages > *, .split > *, .beta-grid > *, .privacy > * { min-width: 0; }
.step .n { font: 500 13px/1 "Geist Mono", monospace; color: var(--muted); }
.step h3 { margin-top: 12px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.term { margin-top: 18px; border-radius: 10px; background: #0b0c0f; border: 1px solid #262932; color: #e9eaee; font: 13px/1.7 "Geist Mono", monospace; padding: 14px 16px; overflow-x: auto; white-space: pre; }
.term .p { color: #4ade80; user-select: none; } .term .c { color: #8b8f9b; } .term .k { color: #22d3ee; } .term .s { color: #fbbf24; }

/* Principles */
.principles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.principles span { border: 1px solid var(--line); background: var(--panel); padding: 10px 16px; border-radius: 999px; font-size: 15px; }

/* Beta */
.beta { position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 64px 56px; overflow: hidden; isolation: isolate; }
.beta::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--needs-you) calc(var(--glow) * 90%), transparent), transparent 70%),
              radial-gradient(500px 260px at 0% 100%, color-mix(in srgb, var(--done) calc(var(--glow) * 90%), transparent), transparent 70%); }
.beta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.beta .facts { display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 15px; }
.fact b { font-weight: 550; display: block; } .fact span { color: var(--muted); }
.fact .dot { margin: 8px 0 0; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 17px; font-weight: 550; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 22px/1 "Geist Mono", monospace; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 700px; }
details code { color: var(--fg); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer .brand { font-size: 16px; color: var(--fg); }
footer .end { margin-left: auto; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stages .stage:last-child { grid-column: span 2; }
  .features, .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .split, .split.rev, .beta-grid, .privacy { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .shot { order: 2; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .features, .grid-3, .steps, .stages { grid-template-columns: 1fr; }
  .stages .stage:last-child { grid-column: auto; }
  .beta { padding: 40px 22px; }
  .nav { gap: 12px; }
  .nav .btn-sm { display: none; }
  .shot-bar .url { padding: 4px 14px; }
  footer .end { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; }
}

/* Footer links */
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--fg); }

/* Long texts in both languages: the page shows the one matching <html lang> */
:root[lang="en"] [lang="es"].bilingual, :root[lang="es"] [lang="en"].bilingual { display: none; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 40px; }
.legal .back { font-size: 14px; color: var(--muted); text-decoration: none; }
.legal .back:hover { color: var(--fg); }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 650; letter-spacing: -.035em; margin-top: 28px; }
.legal .updated { margin-top: 14px; font: 13px "Geist Mono", monospace; color: var(--muted); }
.legal .summary { margin-top: 36px; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 24px 26px; }
.legal .summary h2 { margin: 0; font-size: 13px; font: 500 12px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal .summary ul { margin: 16px 0 0; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin-top: 48px; }
.legal h3 { font-size: 16px; margin-top: 26px; }
.legal p, .legal li { color: color-mix(in srgb, var(--fg) 82%, var(--muted)); font-size: 16px; line-height: 1.7; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal li::marker { color: var(--muted); }
.legal strong { color: var(--fg); font-weight: 600; }
.legal code { font-size: 14px; color: var(--fg); }
.legal a { color: var(--fg); text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--fg); }
.legal td { color: var(--muted); }
.fill { background: color-mix(in srgb, var(--needs-you) 28%, transparent); color: var(--fg); padding: 0 5px; border-radius: 4px; }
@media (max-width: 640px) { .legal { padding: 48px 16px 24px; } .legal table { font-size: 14px; } }
