/**
 * Oystro Design Tokens — "Harness UI" · GLOBAL THEME
 * ============================================================================
 * Canonical direction: OPTION 2 — Modern Infra Cyan (#38BDF8) & Deep Navy.
 * This is the single source of truth for colour, typography, spacing, and
 * shared components across oystro.com, staging, the blog, and docs.
 *
 * Usage (every page <head>):
 *   <link rel="stylesheet" href="/assets/css/tokens.css">
 *
 * Theme flip: set data-theme="light" on <html> (dark is the default).
 * The styleguide (design-system.html) may still preview Option 1 / Option 3 by
 * setting data-option="1" | "3"; production pages omit data-option entirely and
 * therefore inherit the canonical Option 2 palette below.
 */

/* ==========================================================================
   1. OPTION 2 · MODERN INFRA CYAN — CANONICAL DEFAULT (DARK)
   ========================================================================== */
:root {
  /* Core surfaces */
  --bg: #060d17;
  --bg-alt: #0a1524;
  --surface: #0f1f33;
  --surface-hover: #162b45;
  --line: #1c3554;
  --line-accent: #294d78;
  --text: #e2eeff;
  --text-muted: #8ca5c4;
  --text-faint: #4e6787;
  --code-bg: #030810;
  --shadow: rgba(3, 8, 16, 0.6);

  /* Accent / brand */
  --accent: #38bdf8;
  --accent-hover: #60a5fa;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --accent-contrast: #030810;
  --accent-line: rgba(56, 189, 248, 0.35);
  --accent-bright: #7dd6fb;
  --gate-accent: #38bdf8;
  --link-accent: #38bdf8;

  /* Chrome, glows, gradients (teaser / privacy shell) */
  --header-bg: rgba(6, 13, 23, 0.72);
  --header-line: rgba(28, 53, 84, 0.6);
  --grid-line: rgba(56, 189, 248, 0.05);
  --glow-strong: rgba(56, 189, 248, 0.16);
  --glow-weak: rgba(56, 189, 248, 0.07);
  --pre-text: #c9e6ee;
  --hero-grad: linear-gradient(100deg, #7dd6fb 0%, #38bdf8 45%, #7dd6fb 100%);

  /* Semantic status */
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.15);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.15);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.15);

  /* Typography — web-safe stacks (0ms latency, zero external downloads) */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;

  /* Typography scale */
  --text-display: clamp(40px, 6vw, 68px);
  --text-h1: clamp(30px, 4.5vw, 42px);
  --text-h2: clamp(22px, 3.2vw, 30px);
  --text-h3: 20px;
  --text-lead: 19px;
  --text-body: 15.5px;
  --text-sm: 13.5px;
  --text-xs: 11.5px;

  /* Spacing, radius, motion */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;

  /* ------------------------------------------------------------------
     Back-compat aliases so legacy pages keep working unchanged.
     (teaser/blog use --ink/--muted/--gold/--success; portal uses
      --panel/--border/--blue.) Aliases resolve lazily, so they follow
      the active theme automatically.
     ------------------------------------------------------------------ */
  --ink: var(--bg);
  --ink-2: var(--bg-alt);
  --surface-2: var(--surface-hover);
  --muted: var(--text-muted);
  --gold: var(--amber);
  --success: var(--green);
  --panel: var(--surface);
  --panel-hover: var(--surface-hover);
  --border: var(--line);
  --border-accent: var(--line-accent);
  --blue: var(--accent);
  --accent-glow: var(--accent-soft);
}

/* ==========================================================================
   2. OPTION 2 · LIGHT MODE
   ========================================================================== */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --surface: #e9f2fa;
  --surface-hover: #dbeaf7;
  --line: #cde0f2;
  --line-accent: #a5c7ea;
  --text: #0a1f38;
  --text-muted: #425b78;
  --text-faint: #7995b5;
  --code-bg: #f0f6fc;
  --shadow: rgba(10, 31, 56, 0.08);

  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-soft: rgba(2, 132, 199, 0.14);
  --accent-contrast: #ffffff;
  --accent-line: rgba(2, 132, 199, 0.35);
  --accent-bright: #0ea5e9;
  --gate-accent: #0284c7;
  --link-accent: #0284c7;

  --header-bg: rgba(255, 255, 255, 0.8);
  --header-line: rgba(205, 224, 242, 0.9);
  --grid-line: rgba(2, 132, 199, 0.06);
  --glow-strong: rgba(2, 132, 199, 0.1);
  --glow-weak: rgba(2, 132, 199, 0.05);
  --pre-text: #0a1f38;
  --hero-grad: linear-gradient(100deg, #0284c7 0%, #0ea5e9 45%, #0284c7 100%);

  --green: #059669;
  --green-soft: rgba(5, 150, 105, 0.12);
  --red: #dc2626;
  --red-soft: rgba(220, 38, 38, 0.12);
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.12);
}

/* ==========================================================================
   3. STYLEGUIDE-ONLY PREVIEWS (design-system.html)
   ========================================================================== */

/* Option 1: Sovereign Executive — Warm Gold & Obsidian Bronze (dark) */
:root[data-option="1"] {
  --bg: #0c1314; --bg-alt: #101b1d; --surface: #142426; --surface-hover: #1b3033;
  --line: #243c3f; --line-accent: #375b60; --text: #f4f1e8; --text-muted: #9bb0ad;
  --text-faint: #576d6b; --code-bg: #070d0e; --shadow: rgba(0, 0, 0, 0.5);
  --accent: #d7b56d; --accent-hover: #e5c57e; --accent-soft: rgba(215, 181, 109, 0.14);
  --accent-contrast: #0c1314; --gate-accent: #d7b56d; --link-accent: #d7b56d;
  --green: #4ade80; --green-soft: rgba(74, 222, 128, 0.15);
  --red: #f87171; --red-soft: rgba(248, 113, 113, 0.15);
  --amber: #d7b56d; --amber-soft: rgba(215, 181, 109, 0.15);
}
:root[data-theme="light"][data-option="1"] {
  --bg: #fcfbf7; --bg-alt: #f6f3eb; --surface: #ede8dc; --surface-hover: #e4ddcf;
  --line: #dbd2c0; --line-accent: #c4b69d; --text: #1c1813; --text-muted: #5c5446;
  --text-faint: #918674; --code-bg: #f4efe2; --shadow: rgba(28, 24, 19, 0.08);
  --accent: #9a7322; --accent-hover: #805e19; --accent-soft: rgba(154, 115, 34, 0.14);
  --accent-contrast: #ffffff; --gate-accent: #9a7322; --link-accent: #9a7322;
  --green: #15803d; --green-soft: rgba(21, 128, 61, 0.12);
  --red: #b91c1c; --red-soft: rgba(185, 28, 28, 0.12);
  --amber: #9a7322; --amber-soft: rgba(154, 115, 34, 0.12);
}

/* Option 3: Zapier High-Contrast Signal — Graphite & Safety Orange (dark) */
:root[data-option="3"] {
  --bg: #09090b; --bg-alt: #121215; --surface: #18181b; --surface-hover: #222226;
  --line: #27272a; --line-accent: #3f3f46; --text: #fafafa; --text-muted: #a1a1aa;
  --text-faint: #52525b; --code-bg: #040405; --shadow: rgba(0, 0, 0, 0.55);
  --accent: #ff5722; --accent-hover: #ff7043; --accent-soft: rgba(255, 87, 34, 0.16);
  --accent-contrast: #ffffff; --gate-accent: #ff9800; --link-accent: #ff5722;
  --green: #10b981; --green-soft: rgba(16, 185, 129, 0.16);
  --red: #ef4444; --red-soft: rgba(239, 68, 68, 0.16);
  --amber: #ff9800; --amber-soft: rgba(255, 152, 0, 0.16);
}
:root[data-theme="light"][data-option="3"] {
  --bg: #ffffff; --bg-alt: #fafafa; --surface: #f4f4f5; --surface-hover: #e4e4e7;
  --line: #e4e4e7; --line-accent: #d4d4d8; --text: #09090b; --text-muted: #52525b;
  --text-faint: #a1a1aa; --code-bg: #f4f4f5; --shadow: rgba(9, 9, 11, 0.08);
  --accent: #ea580c; --accent-hover: #c2410c; --accent-soft: rgba(234, 88, 12, 0.12);
  --accent-contrast: #ffffff; --gate-accent: #d97706; --link-accent: #ea580c;
  --green: #059669; --green-soft: rgba(5, 150, 105, 0.12);
  --red: #dc2626; --red-soft: rgba(220, 38, 38, 0.12);
  --amber: #d97706; --amber-soft: rgba(217, 119, 6, 0.12);
}

/* ==========================================================================
   4. GLOBAL BASE STYLES
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a { color: var(--link-accent); text-decoration: none; transition: opacity var(--transition-fast); }
a:hover { opacity: 0.85; }

code, pre, kbd { font-family: var(--font-mono); }

::selection { background: var(--accent); color: var(--accent-contrast); }

/* Layout helpers */
.container, .wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ==========================================================================
   5. BRAND LOGO (extracted from the teaser — the canonical Oystro mark)
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { opacity: 1; }
.brand-logo { width: 34px; height: 34px; flex: 0 0 auto; display: block; }
.brand-logo svg { width: 100%; height: 100%; display: block; }

/* Brand mark fills (usable anywhere the canonical SVG is inlined) */
.mark-bg { fill: var(--accent); }
.mark-ink { fill: var(--accent-contrast); }

/* ==========================================================================
   6. MASTHEAD & SITE FOOTER (shared page shell)
   ========================================================================== */
.masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding var(--transition-normal);
}
.masthead.scrolled { padding: 12px 40px; }
.masthead .nav-links { display: flex; align-items: center; gap: 30px; }
.masthead .nav-links a { color: var(--text-muted); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.masthead .nav-links a:hover { color: var(--accent); opacity: 1; }

.site-footer {
  padding: 46px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer .brand { justify-content: center; margin-bottom: 12px; }
.site-footer .row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer .row a { color: var(--text-muted); font-size: 13px; }
.site-footer .row a:hover { color: var(--accent); }

/* ==========================================================================
   7. COMPONENTS: BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-contrast);
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:disabled { background: var(--surface); color: var(--text-faint); border-color: var(--line); cursor: not-allowed; transform: none; }
.btn:disabled:hover { background: var(--surface); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-hover); border-color: var(--line-accent); color: var(--text); transform: none; }
.btn.small { padding: 8px 15px; font-size: 13px; border-radius: 7px; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--line-accent); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   COMPONENTS: CTA BOX  (shared by all blog posts)
   ========================================================================== */
.cta-box {
  margin: 64px 0 10px;
  padding: 40px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.cta-box h3 { margin-top: 0; color: var(--text); font-size: 24px; }
.cta-box p { max-width: 560px; margin: 12px auto 24px; color: var(--muted); font-size: 16px; }
.cta-box .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-box .btn { border-radius: 6px; padding: 12px 24px; font-weight: 700; font-size: 14px; }
.cta-box .btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: transparent; }
.cta-box .btn-primary:hover { background: var(--accent); opacity: .9; }
.cta-box .btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.cta-box .btn-secondary:hover { border-color: var(--muted); background: var(--surface); }


/* ==========================================================================
   8. COMPONENTS: STATUS BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.badge-gate { background: var(--amber-soft); color: var(--amber); border-color: var(--amber); }
.badge-pass { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.badge-fail { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.badge-info { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   9. COMPONENTS: CARDS
   ========================================================================== */
.card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.card:hover { border-color: var(--line-accent); transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }

/* ==========================================================================
   10. COMPONENTS: ARTICLE / PROSE (blog & docs)
   ========================================================================== */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: var(--text-h1); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--text); }
.prose h2 { font-size: var(--text-h2); line-height: 1.2; margin: 40px 0 14px; color: var(--text); }
.prose h3 { font-size: var(--text-h3); margin: 30px 0 10px; color: var(--text); }
.prose p { font-size: var(--text-lead); line-height: 1.7; color: var(--text-muted); margin: 0 0 20px; }
.prose p strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 20px 1.25rem; color: var(--text-muted); }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 18px; margin: 24px 0; color: var(--text); font-style: italic; }
.prose code { background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 6px; font-size: 0.9em; color: var(--text); }
.prose pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; overflow: auto; margin: 0 0 24px; }
.prose pre code { background: transparent; border: 0; padding: 0; color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose img { max-width: 100%; border-radius: var(--radius-md); }

/* ==========================================================================
   11. RESPONSIVE SHELL
   ========================================================================== */
@media (max-width: 640px) {
  .masthead { padding: 14px 18px; }
  .masthead.scrolled { padding: 10px 18px; }
  .masthead .nav-links { display: none; }
}

/* ==========================================================================
   12. FOOTER (universal — injected from src/partials/footer.html)
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 44px 24px; text-align: center; color: var(--text-muted); font-size: 13px; }
.footer-wrap { max-width: 1120px; margin: 0 auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .2px; color: var(--text); text-decoration: none; margin-bottom: 16px; }
.footer-logo { width: 34px; height: 34px; flex: 0 0 auto; }
.footer-social { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-social a { font-size: 13.5px; font-weight: 600; color: var(--text-muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.footer-social a:hover { color: var(--accent); border-color: var(--line-accent); }
.footer-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { color: var(--text-muted); }

/* Homepage critical CSS — above-the-fold only.
   ---------------------------------------------------------------------------
   This file is concatenated with tokens.css at build time into
   /assets/css/home-critical.bundle.css and loaded render-blocking by index.html.
   home.css is loaded afterwards as a non-blocking stylesheet.

   These rules MUST mirror the corresponding above-the-fold rules in home.css.
   When changing the header/hero, update both files (and bump the ?v= below).
   --------------------------------------------------------------------------- */

  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--font-sans);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    transition:background-color .25s ease,color .25s ease;
  }
  ::selection{background:var(--accent);color:var(--accent-contrast)}

  /* ------- decorative background ------- */
  .bg-glow{
    position:fixed;inset:0;z-index:-2;pointer-events:none;
    background:
      radial-gradient(900px 500px at 85% -5%, var(--glow-strong), transparent 60%),
      radial-gradient(700px 500px at -10% 30%, var(--glow-weak), transparent 55%),
      linear-gradient(180deg,var(--bg) 0%,var(--bg-alt) 100%);
  }
  .grid-overlay{
    position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.5;
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size:56px 56px;
    mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
    -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  }

  /* ------- masthead ------- */
  header{
    position:fixed;top:0;left:0;right:0;z-index:100;
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 40px;
    background:var(--header-bg);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid var(--header-line);
    transition:padding .3s ease,background .25s ease,border-color .25s ease;
  }
  header.scrolled{padding:12px 40px}
  /* keep deep-link targets (e.g. #faq, #waitlist) clear of the fixed masthead */
  section[id]{scroll-margin-top:84px}
  .header-right{display:flex;align-items:center;gap:16px}
  .logo{display:flex;align-items:center;gap:12px;font-weight:800;font-size:20px;letter-spacing:.2px;color:var(--text);text-decoration:none}
  .logo svg{width:34px;height:34px;flex:0 0 auto}
  .nav-links{display:flex;align-items:center;gap:30px}
  .nav-links a{color:var(--text-muted);text-decoration:none;font-size:14.5px;font-weight:600;letter-spacing:.02em;transition:color .2s}
  .nav-links a:hover{color:var(--accent)}
  .nav-links a.btn{color:var(--accent-contrast)}
  .nav-links a.btn:hover{color:var(--accent-contrast)}
  .theme-toggle{
    display:inline-flex;align-items:center;justify-content:center;
    width:38px;height:38px;border-radius:8px;cursor:pointer;
    background:var(--surface);border:1px solid var(--line);color:var(--text);
    font-size:16px;line-height:1;transition:border-color .2s,background .2s;
  }
  .theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
  /* Buttons use the global .btn styles from tokens.css (single source of truth). */

  main{position:relative;z-index:1}

  /* ------- hero ------- */
  .hero{
    min-height:100vh;display:flex;align-items:center;justify-content:center;
    text-align:center;padding:140px 24px 80px;position:relative;
  }
  .hero-inner{max-width:900px;width:100%}
  .badge{
    display:inline-flex;align-items:center;gap:8px;
    background:var(--accent-soft);border:1px solid var(--accent-line);
    color:var(--accent);font-size:12.5px;font-weight:700;letter-spacing:.14em;
    text-transform:uppercase;padding:8px 16px;border-radius:999px;margin-bottom:28px;
  }
  .badge .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:pulse 1.6s infinite}
  @keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.75)}}
  .hero h1{
    font-size:clamp(44px,8vw,92px);line-height:1.02;font-weight:800;
    letter-spacing:-.03em;color:var(--text);margin-bottom:22px;
  }
  .hero h1 .grad{
    background:var(--hero-grad);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  }
  .hero p.sub{
    font-size:clamp(17px,2.4vw,23px);color:var(--text-muted);max-width:680px;margin:0 auto 40px;line-height:1.5;
  }
  .hero p.sub strong{color:var(--text)}

  /* ------- countdown ------- */
  .countdown{
    display:flex;justify-content:center;gap:clamp(10px,3vw,22px);margin:0 0 38px;
  }
  .cd-box{
    min-width:clamp(70px,10vw,110px);
    background:var(--surface);border:1px solid var(--line);border-radius:16px;
    padding:18px 10px 14px;position:relative;
  }
  .cd-box .num{
    font-size:clamp(34px,6vw,58px);font-weight:800;color:var(--text);line-height:1;letter-spacing:-.02em;
    font-variant-numeric:tabular-nums;
  }
  .cd-box .lbl{
    font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.14em;font-weight:700;margin-top:8px;
  }
  .cd-box .glow{
    position:absolute;inset:0;border-radius:16px;pointer-events:none;
    box-shadow:inset 0 1px 0 var(--line), 0 8px 30px var(--accent-soft);
  }
  .cd-sep{display:flex;align-items:center;color:var(--accent);font-size:28px;font-weight:300;opacity:.6}

  /* ------- waitlist form (hero) ------- */
  .waitlist{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;max-width:560px;margin:0 auto}
  .waitlist input[type=email]{
    flex:1 1 280px;background:var(--surface);border:1px solid var(--line);border-radius:10px;
    color:var(--text);padding:14px 18px;font-size:15px;outline:none;transition:border .2s;
  }
  .waitlist input[type=email]:focus{border-color:var(--accent)}
  .waitlist input::placeholder{color:var(--text-faint)}
  .form-note{margin-top:16px;font-size:13px;color:var(--text-muted)}
  .form-note a{color:var(--accent);text-decoration:none}

  .hero .scroll-hint{
    position:absolute;bottom:26px;left:50%;transform:translateX(-50%);
    color:var(--muted);font-size:12px;letter-spacing:.16em;text-transform:uppercase;
    animation:bob 2s ease-in-out infinite;
  }
  @keyframes bob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,6px)}}

  section{padding:100px 24px;position:relative}
  .wrap{max-width:1120px;margin:0 auto}
  .eyebrow{
    color:var(--accent);font-size:12.5px;font-weight:800;letter-spacing:.18em;
    text-transform:uppercase;margin-bottom:16px;
  }
  .sec-title{font-size:clamp(30px,4.6vw,50px);font-weight:800;letter-spacing:-.02em;color:var(--text);line-height:1.12;margin-bottom:18px}
  .sec-lead{font-size:clamp(16px,2vw,19px);color:var(--text-muted);max-width:700px;margin-bottom:48px}

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

  .confirm-banner{
    margin:18px auto 0;padding:14px 20px;border-radius:12px;
    background:var(--surface-2);border:1px solid var(--green);color:var(--text);
    font-size:15px;line-height:1.5;text-align:center;box-shadow:0 10px 30px var(--shadow);
  }
  .confirm-banner[hidden]{display:none}
  .confirm-banner b{color:var(--green)}

  @media(max-width:900px){
    .versus{grid-template-columns:1fr}
    .vs-mid{transform:rotate(90deg);padding:4px 0}
    .benefits,.caps{grid-template-columns:1fr}
  }
  @media(max-width:640px){
    header{padding:14px 18px}
    header.scrolled{padding:10px 18px}
    .nav-links{display:none}
    .hero{padding-top:120px}
    .cd-sep{display:none}
    section{padding:70px 18px}
  }

  /* Hero: two-column split, readable type, ADLC status line, lighthouse blink */
  /* section headings at half size; the hero heading (.hero-title) is unchanged */
  .sec-title{font-size:clamp(15px,2.3vw,25px)}
  .how-lead{max-width:none;font-size:clamp(17px,2.1vw,21px);line-height:1.7;color:var(--text-muted);margin:0 0 40px}
  .how-text{max-width:none;font-size:clamp(14px,1.5vw,16px);line-height:1.7;color:var(--text-muted);margin:0 0 16px}
  .how-text strong{color:var(--text)}
  .how-text .acc{color:var(--accent);font-weight:700}
  .lead-wide{max-width:none}
  .founder-body p{max-width:none}
  .band h2{font-size:clamp(14px,2.25vw,23px)}
  .hero{min-height:auto;padding:132px 24px 84px;display:block}
  .hero-split{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center;max-width:1080px;margin:0 auto;text-align:left}
  .hero-left{min-width:0}
  .hero-right{background:linear-gradient(170deg,var(--surface,#13202a),var(--ink-2,#0a1216));border:1px solid var(--line,#1d2b30);border-radius:20px;padding:30px 30px 26px}
  .hero-right .eyebrow{margin-bottom:8px}
  .hero-right-title{font-size:clamp(17px,2vw,22px);font-weight:800;color:var(--text,#e9f4f7);margin:0 0 10px}
  .hero-right p{color:var(--text-muted,#c3d3d8);font-size:15.5px;margin:0 0 18px}
  .hero-actions{display:flex;flex-direction:column;gap:10px}
  .hero-actions .btn{width:100%}
  .hero-quickstart{display:inline-block;margin-top:16px;font-size:14px;font-weight:600;color:var(--accent,#38bdf8);text-decoration:none}
  .hero-quickstart:hover{text-decoration:underline}
  .statusline{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px;font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--text-muted,#9db3b9)}
  .statusline .status{display:inline-flex;align-items:center;gap:7px}
  .statusline .muted{color:var(--text-faint,#6b7f86);font-weight:600}
  .statusline .status-sep{color:var(--line,#1d2b30)}
  .statusline .live{color:var(--text,#e9f4f7)}
  .statusline .blink{color:var(--green,#34d399);font-size:18px;line-height:1;transform:translateY(-1px);animation:lighthouse 2.4s ease-in-out infinite}
  @keyframes lighthouse{0%,100%{opacity:1}50%{opacity:.12}}
  .hero .hero-title{font-size:clamp(30px,4.4vw,46px);line-height:1.12;letter-spacing:-.015em;font-weight:800;margin:0 0 18px;max-width:20ch}
  .hero p.sub{font-size:clamp(16px,1.7vw,18.5px);line-height:1.62;max-width:600px;margin:0 0 14px;color:var(--text-muted,#c3d3d8);font-weight:400}
  /* compact countdown inside the hero action card */
  .hero-right-status{font-size:12.5px;font-weight:700;letter-spacing:.02em;color:var(--text-muted,#9db3b9);margin:0 0 10px}
  .hero-right-status .muted{color:var(--text-faint,#6b7f86);font-weight:600}
  .hero-right .countdown{margin:0 0 20px;gap:6px}
  .hero-right .cd-box{min-width:0;flex:1;padding:9px 4px 7px;border-radius:10px}
  .hero-right .cd-box .num{font-size:20px}
  .hero-right .cd-box .lbl{font-size:9px;letter-spacing:.1em;margin-top:4px}
  .hero-right .cd-sep{font-size:13px}

  @media(max-width:880px){.hero-split{grid-template-columns:1fr;gap:28px}.hero .hero-title{max-width:none}.hero p.sub{max-width:none}}
  .center{text-align:center}
  @media(max-width:640px){.hero{padding-top:112px}}
  .hero-maillist{width:100%;margin-bottom:20px;font-size:17px;padding:15px 24px}
  .hero-oss-btn{font-size:13.5px}
  .mt-14{margin-top:14px}
  .mt-22{margin-top:22px}
