/* Static SEO pages (pricing, template, alternatives, /fr/).
 * Plain HTML + this file, no JS, so crawlers and LLMs read the full page.
 * Tokens mirror src/styles/tokens.css — keep the two in step.
 * Nav lives in nav.css (shared with the React landing).
 * ponytail: nav/footer are copied per page; move to a build step if pages pass ~20. */

@font-face { font-family: Archivo; font-weight: 100 900; font-display: swap; src: url("/fonts/Archivo-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2192, U+2212; }
@font-face { font-family: Archivo; font-weight: 100 900; font-display: swap; src: url("/fonts/Archivo-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20C0; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/fonts/IBMPlexMono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("/fonts/IBMPlexMono-600-latin.woff2") format("woff2"); }

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.978 0 0);
  --ink: oklch(0.17 0 0);
  --ink-soft: oklch(0.36 0 0);
  --muted: oklch(0.47 0 0);
  --rule: oklch(0.915 0 0);
  --rule-strong: oklch(0.845 0 0);
  --ok: oklch(0.5 0.11 162);
  --bad: oklch(0.52 0.15 20);
  --font: Archivo, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.02rem/1.6 var(--font); }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
p, ul, ol { margin: 0 0 1em; }
code { font-family: var(--font-mono); font-size: 0.9em; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.narrow { max-width: 760px; }
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
section + section { border-top: 1px solid var(--rule); }
.tint { background: var(--surface); }
.eyebrow { font: 600 0.78rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 44rem; }
.muted { color: var(--muted); font-size: 0.92rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.62rem 1.05rem; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--bg); font-weight: 600; font-size: 0.94rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface); border-color: var(--muted); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.14); }
.btn-primary:hover { background: oklch(0.28 0 0); border-color: oklch(0.28 0 0); }
.btn-lg { padding: 0.82rem 1.6rem; font-size: 0.98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* pricing */
.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2rem; }
.plans-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 920px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--rule-strong); border-radius: 12px; padding: 1.6rem; background: var(--bg); }
.plan.featured { border-color: var(--ink); box-shadow: 0 18px 44px -28px oklch(0 0 0 / 0.35); }
.plan h3 { margin-bottom: 0.2rem; }
.price { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em; margin: 0.6rem 0 0.1rem; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.95rem; flex: 1; margin-bottom: 1.2rem; }
.plan ul strong { color: var(--ink); font-weight: 650; }
.plan-pitch { color: var(--ink-soft); margin: 0.2rem 0 1.2rem; }
.plan-what { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 650; color: var(--muted); }
.plan-when { margin: 0 0 0.2rem; padding: 0.8rem 0.9rem; border-radius: 8px; background: var(--surface); color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; }
.tag-space { height: 1.55rem; margin: 0 0 1em; }
.dash { color: var(--muted); }
.plan { scroll-margin-top: 90px; }
#waitlist { scroll-margin-top: 64px; }

/* waitlist form (no JS: posts to /api/waitlist, 303 → /thanks) */
.wl-form { margin-top: 1.4rem; }
.wl-form label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.92rem; }
.wl-form input[type="email"] { width: 100%; max-width: 30rem; height: 48px; padding: 0 0.9rem; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.wl-form input[type="email"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.wl-buttons { margin-top: 0.9rem; }
.wl-form button { cursor: pointer; font: inherit; font-weight: 600; }
.wl-form .muted { margin-top: 0.9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.plan li { margin-bottom: 0.35rem; }
.plan .btn { width: 100%; margin-top: 0.8rem; }
.tag { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 5px; background: var(--ink); color: var(--bg); font: 600 0.72rem/1.4 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }

/* comparison table */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--rule); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
th, td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
thead th { background: var(--surface); font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; width: 28%; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--bad); font-weight: 600; }

/* cards / grids */
.grid-3 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.6rem; }
.card { border: 1px solid var(--rule); border-radius: 12px; padding: 1.3rem 1.4rem; background: var(--bg); }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* faq */
main details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
main summary { cursor: pointer; font-weight: 650; letter-spacing: -0.015em; }
main details p { margin: 0.7rem 0 0; color: var(--ink-soft); }
@media (max-width: 860px) { .tag-space { display: none; } }
@media (max-width: 600px) { table { min-width: 0; font-size: 0.88rem; } th, td { padding: 0.6rem 0.55rem; } td:first-child { width: 40%; } }
