/* =====================================================================
   FluxOS — Landing Page Stylesheet (v2)
   Dark theme with light-mode override. Electric green accent.
   Organized: tokens → reset → base → layout → utilities → components →
   per-section blocks → modal → light-theme overrides → motion →
   responsive breakpoints.
   ===================================================================== */

/* ─────────────────────────────────────────────────────────────────────
   1. Design tokens
   ───────────────────────────────────────────────────────────────────── */
:root {
    /* Accent — electric green */
    --accent:         #10F590;
    --accent-hover:   #34FFA5;
    --accent-deep:    #00C275;
    --accent-glow:    rgba(16, 245, 144, .22);
    --accent-soft:    rgba(16, 245, 144, .08);

    /* Dark theme neutrals (default) */
    --bg:             #050608;
    --bg-elev-1:      #0B0D11;
    --bg-elev-2:      #14171C;
    --bg-elev-3:      #1D2127;
    --border:         #1F242C;
    --border-bright:  #2A3038;

    /* Text */
    --text:           #F2F4F7;
    --text-soft:      #C7CCD3;
    --text-muted:     #8A929E;
    --text-dim:       #5C636E;

    /* Semantic */
    --danger:         #FF5C5C;
    --warning:        #FFB938;

    /* Typography */
    --font-display:   'Inter', system-ui, -apple-system, sans-serif;
    --font-body:      'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:      'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

    /* Type scale */
    --fz-display:     clamp(2.5rem, 6vw, 5.5rem);  /* 40–88 */
    --fz-h2:          clamp(2rem,   4.2vw, 3.25rem); /* 32–52 */
    --fz-h3:          clamp(1.25rem, 2vw, 1.625rem); /* 20–26 */
    --fz-lede:        clamp(1.0625rem, 1.4vw, 1.25rem); /* 17–20 */
    --fz-body:        1rem;
    --fz-small:       .875rem;
    --fz-xs:          .75rem;

    /* Spacing */
    --space-section:  clamp(80px, 12vw, 160px);

    /* Layout */
    --max-w:          1200px;
    --max-w-narrow:   880px;

    /* Radius */
    --r-sm:           6px;
    --r-md:           10px;
    --r-lg:           16px;
    --r-xl:           24px;

    /* Shadow */
    --shadow-sm:      0 1px 2px rgba(0,0,0,.4);
    --shadow-md:      0 4px 18px rgba(0,0,0,.45);
    --shadow-lg:      0 16px 60px rgba(0,0,0,.5);
    --shadow-accent:  0 6px 30px var(--accent-glow);

    /* Transitions */
    --ease:           cubic-bezier(.4, 0, .2, 1);
    --t-fast:         .15s;
    --t-base:         .25s;
    --t-slow:         .45s;
}

/* Light theme overrides */
[data-theme="light"] {
    --bg:             #FAFBFC;
    --bg-elev-1:      #FFFFFF;
    --bg-elev-2:      #F1F3F6;
    --bg-elev-3:      #E5E9EE;
    --border:         #E1E5EA;
    --border-bright:  #CDD3DA;

    --text:           #0A0D12;
    --text-soft:      #2C3239;
    --text-muted:     #5E6670;
    --text-dim:       #8B939D;

    --accent-glow:    rgba(0, 194, 117, .18);
    --accent-soft:    rgba(0, 194, 117, .07);
    --accent:         #00B86F;       /* deeper green for AA contrast on white */
    --accent-hover:   #00D67F;
    --accent-deep:    #008A53;

    --shadow-sm:      0 1px 2px rgba(20,28,40,.06);
    --shadow-md:      0 4px 18px rgba(20,28,40,.08);
    --shadow-lg:      0 16px 50px rgba(20,28,40,.12);
}

/* ─────────────────────────────────────────────────────────────────────
   2. Reset + base
   ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fz-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
p { margin: 0; color: var(--text-soft); }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent-hover); }
code, pre { font-family: var(--font-mono); }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

/* ─────────────────────────────────────────────────────────────────────
   3. Layout primitives
   ───────────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-section) 0; position: relative; }
.section-head { max-width: var(--max-w-narrow); margin-bottom: 64px; }
.section-head--centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: var(--fz-h2); margin-bottom: 18px; }
.section-title--big { font-size: var(--fz-display); }
.section-lede { font-size: var(--fz-lede); color: var(--text-muted); line-height: 1.55; }
.section-head--centered .section-lede { margin-left: auto; margin-right: auto; max-width: 720px; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--accent);
    margin-bottom: 18px;
    padding: 4px 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-glow);
    border-radius: 999px;
}

/* Utility */
.muted { color: var(--text-muted); }
.visually-hidden {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    width: 1px; height: 1px; overflow: hidden;
    white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────────
   4. Buttons
   ───────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fz-body);
    line-height: 1;
    cursor: pointer;
    transition: background var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease),
                transform var(--t-fast) var(--ease),
                box-shadow var(--t-base) var(--ease);
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--accent);
    color: #001A0C;
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-hover); color: #001A0C; box-shadow: 0 8px 36px var(--accent-glow); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-bright);
}
.btn-ghost:hover { background: var(--bg-elev-2); color: var(--text); border-color: var(--text-muted); }

.btn-sm { padding: 8px 14px; font-size: var(--fz-small); }
.btn-lg { padding: 16px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ─────────────────────────────────────────────────────────────────────
   5. Nav
   ───────────────────────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid transparent;
    transition: background var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease);
}
.nav.is-scrolled { border-color: var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -.01em;
}
.nav-brand:hover { color: var(--text); }
.nav-logo { width: 24px; height: 24px; color: var(--accent); }
.nav-wordmark { font-size: 1.0625rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    color: var(--text-soft);
    font-weight: 500;
    font-size: var(--fz-small);
    padding: 6px 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-link-muted { color: var(--text-muted) !important; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    width: 36px; height: 36px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-bright); background: var(--bg-elev-2); }

/* ─────────────────────────────────────────────────────────────────────
   6. HERO
   ───────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 120px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--border) 65%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--border) 65%, transparent) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}
.hero-orb--1 {
    width: 520px; height: 520px;
    top: -180px; left: -120px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
}
.hero-orb--2 {
    width: 420px; height: 420px;
    bottom: -160px; right: -80px;
    background: radial-gradient(circle, #16A6FF, transparent 70%);
    opacity: .18;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.hero-left { max-width: 620px; }
.hero-title {
    font-size: var(--fz-display);
    line-height: 1.04;
    letter-spacing: -.03em;
    font-weight: 900;
    margin-bottom: 24px;
}
.hero-title-accent {
    background: linear-gradient(135deg, var(--accent), #5EE5FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: var(--fz-lede);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}
.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-microtrust {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--text-muted);
    letter-spacing: .02em;
}
.microtrust-license { color: var(--text-dim); }

/* Terminal mock in hero */
.terminal {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.terminal-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-elev-2);
    border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; opacity: .85; }
.terminal-dot--r { background: #FF6058; }
.terminal-dot--y { background: #FEBC2E; }
.terminal-dot--g { background: #28C941; }
.terminal-title {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--text-muted);
}
.terminal-body {
    margin: 0;
    padding: 20px 22px;
    font-family: var(--font-mono);
    font-size: .875rem;
    line-height: 1.65;
    color: var(--text-soft);
    overflow-x: auto;
}
.terminal-body code { color: var(--text-soft); white-space: pre; }
.terminal-result {
    border-top: 1px dashed var(--border);
    padding: 14px 22px 20px;
    font-family: var(--font-mono);
    font-size: .8125rem;
    color: var(--text-soft);
}
.terminal-result-header,
.terminal-result-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    padding: 5px 0;
}
.terminal-result-header {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .6875rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.terminal-result-row { border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
.terminal-result-row .num { color: var(--accent); text-align: right; min-width: 80px; }
.terminal-result-row--ghost { opacity: .35; }

/* Syntax tokens shared across code blocks */
.tok-kw   { color: var(--accent); font-weight: 600; }
.tok-pipe { color: var(--accent); }
.tok-str  { color: #FFB97D; }
.tok-fn   { color: #5EE5FF; }

/* ─────────────────────────────────────────────────────────────────────
   7. THE PROBLEM
   ───────────────────────────────────────────────────────────────────── */
.problem-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
}
.stack-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
}
.stack-node {
    width: 100%;
    max-width: 320px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-md);
    padding: 14px 18px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.stack-node-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 1.0625rem;
    margin-bottom: 2px;
}
.stack-node-role {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--text-muted);
}
.stack-node-pain {
    margin-top: 6px;
    font-size: .6875rem;
    color: var(--danger);
    opacity: .8;
}
.stack-edge {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    position: relative;
}
.stack-edge::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: var(--border-bright);
    transform: translateX(-50%);
}
.stack-edge-label {
    background: var(--bg-elev-1);
    padding: 2px 10px;
    font-family: var(--font-mono);
    font-size: .6875rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.problem-receipts-title {
    font-size: var(--fz-h3);
    margin-bottom: 16px;
    color: var(--text);
}
.problem-receipts p { margin-bottom: 14px; color: var(--text-muted); }
.problem-receipts p strong { color: var(--text); }
.problem-receipts-kicker {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    border-left: 3px solid var(--accent);
    padding-left: 18px;
    margin-top: 28px !important;
    line-height: 1.35;
}

/* ─────────────────────────────────────────────────────────────────────
   8. THE SOLUTION (pillars)
   ───────────────────────────────────────────────────────────────────── */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.pillar {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px 28px;
    transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.pillar:hover { border-color: var(--accent); transform: translateY(-2px); }
.pillar-num {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent);
    font-size: .8125rem;
    margin-bottom: 18px;
    letter-spacing: .12em;
}
.pillar-title {
    font-size: var(--fz-h3);
    margin-bottom: 14px;
}
.pillar-body { color: var(--text-muted); margin-bottom: 22px; }
.pillar-body strong { color: var(--text); }
.pillar-body code {
    font-size: .875rem;
    background: var(--bg-elev-2);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--text);
}
.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pillar-tags span {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--text-muted);
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ─────────────────────────────────────────────────────────────────────
   9. THE LANGUAGE (comparison)
   ───────────────────────────────────────────────────────────────────── */
.comparison {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.comparison-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elev-2);
    overflow-x: auto;
}
.comparison-tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: var(--fz-small);
    font-weight: 500;
    padding: 18px 22px;
    white-space: nowrap;
    transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.comparison-tab:hover { color: var(--text); }
.comparison-tab.is-active { color: var(--text); border-bottom-color: var(--accent); }

.comparison-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
}
.comparison-panel.is-hidden { display: none; }
.comparison-col { background: var(--bg-elev-1); padding: 24px 28px; }
.comparison-col-label {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.comparison-col-label--accent { color: var(--accent); }

.code {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .875rem;
    line-height: 1.7;
    color: var(--text-soft);
    overflow-x: auto;
}
.code code { white-space: pre; color: inherit; }
.code--accent {
    color: var(--text);
}

.comparison-kicker {
    text-align: center;
    padding: 22px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 1.125rem;
    border-top: 1px solid var(--border);
    background: var(--bg-elev-2);
}

/* ─────────────────────────────────────────────────────────────────────
   10. LIVE DEMO
   ───────────────────────────────────────────────────────────────────── */
.demo {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
}
.demo-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.demo-preset {
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: var(--fz-small);
    font-weight: 500;
    transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.demo-preset:hover { color: var(--text); border-color: var(--border-bright); }
.demo-preset.is-active {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.demo-editor { background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.demo-editor-chrome {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--text-muted);
    background: var(--bg-elev-1);
}
.demo-editor-input {
    display: block;
    width: 100%;
    min-height: 140px;
    background: transparent;
    border: 0;
    padding: 16px 18px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: .9375rem;
    line-height: 1.6;
    resize: vertical;
}
.demo-editor-input:focus { outline: 0; }
.demo-editor-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: var(--bg-elev-1);
}
.demo-shortcut {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--text-muted);
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 4px;
}

.demo-results {
    margin-top: 18px;
    min-height: 160px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: auto;
}
.demo-results-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 160px;
    color: var(--text-muted);
    font-size: var(--fz-small);
}
.demo-results-empty-icon { color: var(--accent); font-size: 1.25rem; }
.demo-results table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .8125rem; }
.demo-results th, .demo-results td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.demo-results th { color: var(--text-muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .6875rem; background: var(--bg-elev-1); }
.demo-results td { color: var(--text-soft); }
.demo-results-error {
    padding: 16px 20px;
    color: var(--danger);
    font-family: var(--font-mono);
    font-size: .8125rem;
    white-space: pre-wrap;
}

.demo-footnote {
    margin-top: 18px;
    font-size: var(--fz-small);
    color: var(--text-muted);
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────
   11. CAPABILITIES
   ───────────────────────────────────────────────────────────────────── */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.capability {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px 22px 24px;
    transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.capability:hover { border-color: var(--border-bright); transform: translateY(-1px); }
.capability-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.capability-icon svg { width: 100%; height: 100%; }
.capability-title {
    font-size: 1.0625rem;
    margin-bottom: 6px;
    line-height: 1.3;
}
.capability-body { color: var(--text-muted); font-size: var(--fz-small); }
.capability-body code {
    font-size: .8125rem;
    background: var(--bg-elev-2);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--text);
}
.capabilities-kicker {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: var(--fz-small);
}

/* ─────────────────────────────────────────────────────────────────────
   12. PRODUCTION-READY (stats)
   ───────────────────────────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.stat {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 28px;
}
.stat--accent { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-elev-1) 60%); }
.stat-number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--accent);
    margin-bottom: 12px;
}
.stat-unit { font-size: .55em; color: var(--text-soft); margin-left: 4px; }
.stat-label {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 1.0625rem;
    margin-bottom: 8px;
}
.stat-detail { color: var(--text-muted); font-size: var(--fz-small); line-height: 1.55; }

/* ─────────────────────────────────────────────────────────────────────
   13. SECURITY
   ───────────────────────────────────────────────────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.security-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.security-card-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.security-card-icon svg { width: 100%; height: 100%; }
.security-card-title { font-size: 1.0625rem; margin-bottom: 4px; }
.security-card p { color: var(--text-muted); font-size: var(--fz-small); margin: 0; }
.security-card code {
    font-size: .8125rem;
    background: var(--bg-elev-2);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--text);
}
.security-kicker {
    text-align: center;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: var(--fz-small);
}

/* ─────────────────────────────────────────────────────────────────────
   14. PRICING
   ───────────────────────────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 1080px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; margin: 0 auto; }
}
.pricing-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}
.pricing-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #001A0C;
    font-size: var(--fz-xs);
    font-weight: 700;
    letter-spacing: .1em;
    padding: 4px 12px;
    border-radius: 999px;
}
.pricing-card-header { margin-bottom: 14px; }
.pricing-card-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.pricing-card-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -.02em;
    color: var(--accent);
}
.pricing-card-price--small { font-size: 1.5rem; }
.pricing-card-body { color: var(--text-muted); font-size: var(--fz-small); margin-bottom: 22px; flex: 1; }
.pricing-card-feats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 8px; }
.pricing-card-feats li {
    color: var(--text-muted);
    font-size: var(--fz-small);
    position: relative;
    padding-left: 22px;
}
.pricing-card-feats li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 1px;
    color: var(--accent);
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────────────
   15. FINAL CTA
   ───────────────────────────────────────────────────────────────────── */
.section--final-cta {
    background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 60%), var(--bg);
}
.final-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.final-cta-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
}
.final-cta-card--accent { border-color: var(--accent); }
.final-cta-card-label {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--accent);
    letter-spacing: .14em;
    margin-bottom: 14px;
}
.final-cta-card-title { font-size: 1.125rem; margin-bottom: 8px; }
.final-cta-card p { color: var(--text-muted); font-size: var(--fz-small); margin-bottom: 16px; }
.final-cta-card p code { background: var(--bg-elev-2); padding: 1px 6px; border-radius: 4px; color: var(--text); font-size: .8125rem; }
.code--final-cta {
    background: var(--bg-elev-2);
    padding: 16px;
    border-radius: var(--r-md);
    margin-bottom: 14px;
    font-size: .8125rem;
}

/* ─────────────────────────────────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
    background: var(--bg-elev-1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: 12px;
}
.footer-brand-link svg { width: 22px; height: 22px; color: var(--accent); }
.footer-brand-link:hover { color: var(--text); }
.footer-tagline { color: var(--text-muted); font-size: var(--fz-small); }
.footer-col h4 {
    font-size: var(--fz-small);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: var(--text-soft);
    font-size: var(--fz-small);
    padding: 4px 0;
    transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: var(--fz-xs);
}

/* ─────────────────────────────────────────────────────────────────────
   17. WAITLIST MODAL
   ───────────────────────────────────────────────────────────────────── */
.waitlist-modal {
    background: transparent;
    border: 0;
    padding: 0;
    max-width: 480px;
    width: 92%;
    color: var(--text);
}
.waitlist-modal::backdrop {
    background: rgba(5, 6, 8, .82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.waitlist-modal-inner {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-lg);
    padding: 40px 32px 32px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.waitlist-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    background: transparent;
    border: 0;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.waitlist-modal-close:hover { color: var(--text); background: var(--bg-elev-2); }
.waitlist-modal h2 {
    font-size: 1.75rem;
    margin: 8px 0 12px;
}
.waitlist-modal p { color: var(--text-muted); font-size: var(--fz-small); margin-bottom: 22px; }
.waitlist-form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.waitlist-form input {
    flex: 1;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-bright);
    color: var(--text);
    padding: 12px 14px;
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: var(--fz-small);
}
.waitlist-form input:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.waitlist-fineprint { font-size: var(--fz-xs); color: var(--text-dim); margin-top: 4px; }

.waitlist-success { text-align: center; padding: 12px 0; }
.waitlist-success-icon {
    width: 48px; height: 48px;
    background: var(--accent);
    color: #001A0C;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.waitlist-success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.waitlist-success p { color: var(--text-muted); font-size: var(--fz-small); }
.waitlist-success strong { color: var(--text); }

/* ─────────────────────────────────────────────────────────────────────
   18. Motion (respect reduced-motion)
   ───────────────────────────────────────────────────────────────────── */
@keyframes reveal-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.is-revealed { animation: reveal-up var(--t-slow) var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-orb { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────
   19. Responsive breakpoints
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-left { max-width: none; }
    .hero-right { order: 2; }
    .problem-grid { grid-template-columns: 1fr; gap: 48px; }
    .stack-diagram { max-width: 480px; margin: 0 auto; }
    .pillar-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .final-cta-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .nav-links { display: none; }
    .container { padding: 0 18px; }
    .hero { padding: 56px 0 80px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }
    .security-grid { grid-template-columns: 1fr; }
    .comparison-panel { grid-template-columns: 1fr; }
    .terminal-result { padding: 14px 18px 16px; }
    .terminal-body { padding: 16px 18px; }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; }
}
