/* ============================================================
   Velopoint - shared design system (light institutional).
   A sibling of velocel.app: identical layout, type and components.
   Only the accent tokens differ (Velocel blue, Velopoint deep
   orange). Every colour lives in this :root block. The product
   pane (--p-*) is intentionally dark in both themes.
   ============================================================ */
:root {
    --bg:            #ffffff;
    --bg-alt:        #f7f8fa;
    --bg-inset:      #eef1f5;
    --ink:           #0b1220;
    --body:          #46505f;
    --muted:         #6b7480;
    --faint:         #99a2ad;
    --line:          #e5e8ec;
    --line-strong:   #d3d8df;
    --accent:        #7c3aed;
    --accent-ink:    #5b21b6;
    --accent-tint:   #f3f0ff;
    --accent-on-dark:#c4b5fd;
    --accent-shadow: rgba(124,58,237,.42);
    --ok:            #0a7d4d;
    --err:           #b42318;
    --err-ink:       #8a1c13;
    --err-tint:      #fef3f2;
    --err-line:      #f6cdc8;

    /* product pane (kept dark in both themes) */
    --p-bg:     #0f1115;
    --p-panel:  #16181e;
    --p-line:   #292c34;
    --p-text:   #e8eaef;
    --p-muted:  #878d99;
    --p-accent: #a78bfa;
    --p-accent-tint: rgba(167,139,250,.14);
    --p-sel:    #251d36;

    /* slide canvas inside the product pane */
    --s-bg:     #ffffff;
    --s-ink:    #1f2937;
    --s-soft:   #9aa3af;
    --s-box:    #eceff3;
    --s-line:   #d5dae1;

    --radius:   10px;
    --radius-lg:14px;
    --maxw:     1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { color: var(--body); }
a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-ink); }

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

/* Utility bar */
.utilbar { background: var(--ink); color: #c7cfda; font-size: .82rem; }
.utilbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 22px; height: 38px; }
.utilbar a { color: #c7cfda; font-weight: 500; }
.utilbar a:hover { color: #fff; }
.utilbar .util-left { margin-right: auto; color: #8b95a3; }

/* Navigation */
nav.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-icon {
    width: 32px; height: 32px; border-radius: 7px;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 17px; letter-spacing: -.02em;
}
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle svg { display: block; color: var(--ink); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; font-size: .95rem; font-weight: 600;
    border-radius: 8px; border: 1px solid transparent; cursor: pointer;
    transition: all .15s ease; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--faint); color: var(--ink); background: var(--bg-alt); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--accent); }
.btn-small { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.kbd {
    display: inline-flex; align-items: center; padding: 3px 9px;
    background: var(--bg-inset); border: 1px solid var(--line-strong);
    border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--ink);
    box-shadow: 0 1px 0 var(--line-strong);
}

/* Breadcrumb (interior pages) */
.crumb { padding-top: 22px; font-size: .84rem; color: var(--faint); }
.crumb a { color: var(--muted); }

/* Hero */
.hero { padding: 84px 0 76px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 5px 13px; border: 1px solid var(--line-strong);
    border-radius: 100px; font-size: .8rem; color: var(--muted); margin-bottom: 22px;
}
.hero-badge b { color: var(--ink); font-weight: 600; }
.hero h1 { margin-bottom: 20px; }
.hero-desc { font-size: 1.16rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: .86rem; color: var(--faint); }
.hero-shortcut { margin-top: 26px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .88rem; }
.hero.interior { padding: 56px 0 64px; }
.hero.interior .hero-desc { max-width: 640px; }

/* Product pane (dark) */
.product-pane {
    background: var(--p-bg); border: 1px solid var(--p-line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: 0 24px 60px -24px rgba(11,18,32,.35);
}
.pane-titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--p-line); }
.pane-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3e47; }
.pane-dot:nth-child(1){background:#ff5f57}.pane-dot:nth-child(2){background:#febc2e}.pane-dot:nth-child(3){background:#28c840}
.pane-title { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--p-muted); }
.pane-body { padding: 26px; }
.palette { background: var(--p-panel); border: 1px solid var(--p-line); border-radius: 9px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.palette-search { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid var(--p-line); }
.palette-search svg { color: var(--p-muted); flex-shrink: 0; }
.palette-search .typed { font-size: .98rem; color: var(--p-text); }
.palette-search .caret { width: 1px; height: 17px; background: var(--p-accent); display: inline-block; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.palette-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; }
.palette-item.sel { background: var(--p-sel); box-shadow: inset 2px 0 0 var(--p-accent); }
.palette-left { display: flex; align-items: center; gap: 12px; }
.palette-ico { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: #21252e; border-radius: 6px; font-size: .72rem; color: var(--p-muted); font-family: 'JetBrains Mono', monospace; }
.palette-name { font-size: .88rem; color: var(--p-text); }
.palette-desc { font-size: .76rem; color: var(--p-muted); }
.palette-key { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--p-accent); background: var(--p-accent-tint); padding: 2px 8px; border-radius: 4px; }

/* Stats / credibility band */
.stats { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.stat span { font-size: .84rem; color: var(--muted); }
.stat + .stat { border-left: 1px solid var(--line); }

/* Proof line */
.proof { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 34px 0; }
.proof-inner { display: flex; align-items: center; justify-content: center; text-align: center; }
.proof-inner p { font-size: .95rem; color: var(--muted); max-width: 760px; }
.proof-inner b { color: var(--ink); font-weight: 600; }

/* Feature grid */
.features { background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: 30px; background: var(--bg); }
.feature-ico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); border-radius: 9px; margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--muted); }

/* Persona / "who it's for" */
.persona-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.persona { padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s; }
.persona:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.persona h3 { font-size: 1rem; margin-bottom: 6px; }
.persona p { font-size: .9rem; color: var(--muted); }
.persona .tag { font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }

/* Commands */
.commands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cmd-cat { padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.cmd-cat h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.cmd-list { display: flex; flex-direction: column; gap: 9px; }
.cmd-row { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; }
.cmd-row span { color: var(--body); }
.cmd-row code { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--accent); background: var(--accent-tint); padding: 2px 7px; border-radius: 4px; }
.commands-foot { margin-top: 26px; font-size: .92rem; color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote { padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.quote p { font-size: 1rem; color: var(--ink); margin-bottom: 16px; }
.quote .who { font-size: .84rem; color: var(--muted); }
.quote .who b { color: var(--ink); font-weight: 600; }

/* Security band (dark) */
.trust { background: var(--ink); color: #cfd6e0; }
.trust h2 { color: #fff; }
.trust .eyebrow { color: var(--accent-on-dark); }
.trust .section-head p { color: #aeb6c2; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.trust-item { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.trust-item h3 { color: #fff; font-size: 1rem; margin-bottom: 7px; }
.trust-item p { color: #9aa3b1; font-size: .92rem; }

/* Pricing */
.pricing { background: var(--bg-alt); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.tier.featured { border: 1.5px solid var(--accent); box-shadow: 0 18px 50px -30px var(--accent-shadow); }
.tier-name { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.tier-name h3 { font-size: 1.15rem; }
.tier-badge { font-size: .72rem; color: var(--accent); font-weight: 600; background: var(--accent-tint); padding: 3px 10px; border-radius: 100px; }
.tier-amount { margin: 16px 0 4px; }
.tier-amount .cur { font-size: 1.3rem; color: var(--muted); vertical-align: top; font-weight: 600; }
.tier-amount .num { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.tier-amount .per { font-size: .95rem; color: var(--muted); }
.tier-sub { font-size: .88rem; color: var(--muted); min-height: 20px; }
.tier-feats { list-style: none; margin: 20px 0; flex: 1; }
.tier-feats li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; color: var(--body); font-size: .92rem; }
.tier-feats svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.tier .btn { width: 100%; }
.tier-note { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }
.tier-was { font-size: .9rem; color: var(--faint); margin-top: 2px; }
.was { text-decoration: line-through; color: var(--faint); font-weight: 600; }
.hero-note b { color: var(--ink); font-weight: 700; }
.tier-app { font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tier-amount .from { font-size: .95rem; color: var(--muted); margin-right: 4px; }
.tier .tier-btn2 { margin-top: 10px; }
.tiers.two.center-block { margin-left: auto; margin-right: auto; }
.tier-prices { width: 100%; border-collapse: collapse; margin: 16px 0 10px; font-size: .92rem; }
.tier-prices td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.tier-prices tr:first-child td { border-top: 1px solid var(--line); }
.tier-prices td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
.tier-prices b { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-note { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: .9rem; color: var(--muted); }
.price-note b { color: var(--ink); font-weight: 600; }
.suite-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 22px; padding: 20px 26px; background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.suite-strip p { font-size: .95rem; color: var(--body); flex: 1 1 420px; }
.suite-strip b { color: var(--ink); font-weight: 600; }

/* Per-seat calculator */
.calc { background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 32px; max-width: 760px; margin: 0 auto; }
.calc-product { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--bg-inset); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 24px; }
.calc-prod { border: 0; background: transparent; border-radius: 7px; padding: 10px 8px; font-family: inherit; font-size: .92rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s ease; white-space: nowrap; }
.calc-prod:hover { color: var(--ink); }
.calc-prod.on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12), 0 0 0 1px var(--line-strong); }
.calc-prod:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.calc-note { margin: -6px 0 20px; font-size: .88rem; color: var(--muted); text-align: center; min-height: 2.8em; }
.calc-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.calc-top h3 { font-size: 1.2rem; }
.calc-seatbox { display: flex; align-items: center; gap: 10px; }
.calc-step { width: 38px; height: 38px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 8px; font-size: 1.2rem; color: var(--ink); cursor: pointer; line-height: 1; }
.calc-step:hover { background: var(--bg-alt); }
.calc-seats { width: 84px; text-align: center; font-size: 1.1rem; font-weight: 700; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px; font-family: 'JetBrains Mono', monospace; }
.calc-slider { width: 100%; margin: 8px 0 22px; accent-color: var(--accent); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.calc-cell { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.calc-cell .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.calc-cell .v { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.calc-cell .v small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.calc-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc-cta .btn { flex: 1; min-width: 180px; }
.calc-fine { margin-top: 14px; font-size: .8rem; color: var(--faint); }
.calc-tiers { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .84rem; color: var(--muted); }
.calc-tiers table { width: 100%; border-collapse: collapse; }
.calc-tiers td { padding: 5px 0; }
.calc-tiers td:last-child { text-align: right; font-family: 'JetBrains Mono', monospace; color: var(--ink); white-space: nowrap; padding-left: 12px; }

/* Enterprise pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pillar { padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar-ico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); border-radius: 9px; margin-bottom: 16px; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { font-size: .93rem; color: var(--muted); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature-row + .feature-row { margin-top: 44px; }
.feature-row h3 { font-size: 1.4rem; margin-bottom: 12px; }
.feature-row ul { list-style: none; margin-top: 14px; }
.feature-row li { display: flex; gap: 10px; padding: 6px 0; font-size: .95rem; color: var(--body); }
.feature-row li svg { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.status-tag { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-inset); border: 1px solid var(--line); padding: 2px 8px; border-radius: 100px; margin-left: 8px; vertical-align: middle; }

/* Forms */
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; max-width: 620px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 8px;
    font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent-tint); border-color: var(--accent); }
.field textarea { min-height: 110px; resize: vertical; }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 22px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-q { font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.faq-a { font-size: .94rem; color: var(--muted); }
.faq-a code { font-family: 'JetBrains Mono', monospace; font-size: .82em; background: var(--bg-inset); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* CTA */
.cta { text-align: center; background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta h2 { margin-bottom: 14px; }
.cta p { font-size: 1.08rem; color: var(--muted); margin-bottom: 28px; }

/* Fat footer */
.site-footer { background: var(--ink); color: #aeb6c2; padding: 56px 0 32px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-icon { background: var(--accent); }
.footer-brand p { color: #8b95a3; font-size: .88rem; margin-top: 14px; max-width: 260px; }
.footer-brand p a { color: #c7cfda; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.footer-brand p a:hover { color: #fff; }
.footer-col h5 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col a { display: block; color: #aeb6c2; font-size: .9rem; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 24px; font-size: .82rem; color: #8b95a3; line-height: 1.7; }
.footer-legal b { color: #c7cfda; font-weight: 600; }
.footer-legal a { color: #aeb6c2; }

/* Long-form prose (legal pages) */
section.doc { padding-top: 56px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.2rem; letter-spacing: -.01em; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1rem; margin: 26px 0 8px; }
.prose p, .prose li { font-size: .98rem; color: var(--body); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose address { font-style: normal; }
.prose code { font-family: 'JetBrains Mono', monospace; font-size: .85em; background: var(--bg-inset); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.doc-meta { font-size: .86rem; color: var(--faint); margin-top: 18px; }
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 36px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 6px; }
.table-wrap { overflow-x: auto; margin: 6px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.doc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.doc-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Download page */
.tiers.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.tier-meta { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.tier p.tier-body { font-size: .94rem; color: var(--muted); margin-top: 14px; }
.spec { max-width: 880px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--ink); font-weight: 600; }
.spec-row dd { color: var(--body); }
.step code, .cta p code, .tier-feats code, .spec-row code, .feature p code, .section-head p code { font-family: 'JetBrains Mono', monospace; font-size: .85em; background: var(--bg-inset); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.step .kbd { padding: 1px 6px; font-size: .74rem; }

/* Demo band (no video: an HTML/CSS illustration of a real command) */
.demo { border-bottom: 1px solid var(--line); }
.demo-note { margin-top: 16px; text-align: center; font-size: .86rem; color: var(--faint); }
.demo-note code { font-family: 'JetBrains Mono', monospace; font-size: .85em; background: var(--bg-inset); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* Slide canvas mock (inside a dark .product-pane). Shapes are placed in % so the
   drawing scales with the pane. Purely decorative: every mock is aria-hidden. */
.pane-body.stage { padding: 22px 22px 24px; background: #1b1d22; }
.slide {
    position: relative; aspect-ratio: 16 / 9; background: var(--s-bg);
    border-radius: 3px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.slide .s-title { position: absolute; left: 6%; top: 8%; width: 54%; height: 5.5%; background: var(--s-ink); border-radius: 2px; }
.slide .s-sub { position: absolute; left: 6%; top: 17%; width: 36%; height: 3.2%; background: var(--s-soft); border-radius: 2px; opacity: .7; }
.slide .s-rule { position: absolute; left: 6%; right: 6%; top: 25%; height: 1px; background: var(--s-line); }
.slide .s-foot { position: absolute; left: 6%; bottom: 6%; width: 30%; height: 2.4%; background: var(--s-soft); border-radius: 2px; opacity: .55; }
.slide .s-pn { position: absolute; right: 6%; bottom: 6%; width: 2.5%; height: 2.4%; background: var(--s-soft); border-radius: 2px; opacity: .55; }
.shp { position: absolute; background: var(--s-box); border: 1px solid var(--s-line); border-radius: 2px; overflow: hidden; }
.shp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18%; background: var(--s-ink); opacity: .88; }
.shp::after { content: ""; position: absolute; left: 12%; right: 30%; top: 34%; height: 7%; background: var(--s-soft); opacity: .6; border-radius: 1px; box-shadow: 0 0.55em 0 0 rgba(154,163,175,.6); }
.shp.sel { outline: 1.5px dashed var(--accent); outline-offset: 3px; }
.shp.accent::before { background: var(--accent); }
.slide-palette {
    position: relative; z-index: 2; margin: -15% 7% 0;
}
.slide-palette .palette-item { padding: 9px 15px; }

/* Before / after illustration (grid areas keep the two panes level whatever the caption length) */
.ba { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); column-gap: 22px;
      grid-template-areas: "bh . ah" "bp mid ap" "bc . ac"; align-items: center; }
.ba-bh { grid-area: bh; } .ba-bp { grid-area: bp; } .ba-bc { grid-area: bc; }
.ba-ah { grid-area: ah; } .ba-ap { grid-area: ap; } .ba-ac { grid-area: ac; }
.ba-mid { grid-area: mid; }
.ba h3 { font-size: .74rem; font-family: 'JetBrains Mono', monospace; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; align-self: end; }
.ba .product-pane { box-shadow: 0 18px 44px -26px rgba(11,18,32,.35); }
.ba .pane-body.stage { padding: 16px; }
.ba > p { margin-top: 12px; font-size: .9rem; color: var(--muted); align-self: start; }
.ba .shp.sel { outline-width: 1px; outline-offset: 1px; }
.ba-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ba-cmd { background: var(--p-panel); border: 1px solid var(--p-line); border-radius: 9px; padding: 12px 14px; min-width: 200px; box-shadow: 0 12px 32px -14px rgba(11,18,32,.5); }
.ba-cmd .q { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ba-cmd .q span { font-size: .86rem; color: var(--p-text); }
.ba-cmd .q code { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--p-accent); background: var(--p-accent-tint); padding: 2px 8px; border-radius: 4px; }
.ba-cmd .ask { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--p-line); font-size: .78rem; color: var(--p-muted); }
.ba-cmd .ask b { display: inline-block; margin-top: 6px; font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: .84rem; color: var(--p-text); background: #0f1115; border: 1px solid var(--p-line); border-radius: 5px; padding: 3px 10px; }
.ba-arrow { color: var(--faint); }
.ba-arrow svg { display: block; }

/* Help centre */
.help-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.help-toc { position: sticky; top: 92px; }
.help-toc h5 { font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.help-toc ol { list-style: none; border-left: 1px solid var(--line); }
.help-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: .9rem; color: var(--muted); }
.help-toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.help-toc .help-toc-mail { margin-top: 18px; font-size: .84rem; color: var(--muted); }
.help-toc .help-toc-mail a { display: inline; margin: 0; padding: 0; border: 0; font-size: inherit; color: var(--accent); }
.help-body.prose { max-width: 780px; }
.help-sec { scroll-margin-top: 90px; }
.help-sec + .help-sec { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.help-body .help-sec > h2 { font-size: 1.55rem; letter-spacing: -.02em; margin: 0 0 12px; }
.help-body h3 { font-size: 1.02rem; margin: 30px 0 12px; }
.help-body .lead { font-size: 1.04rem; color: var(--muted); margin-bottom: 22px; }
.help-body .kbd { padding: 1px 7px; font-size: .74rem; }
.help-steps { counter-reset: hstep; list-style: none; padding-left: 0 !important; margin: 4px 0 24px; }
.help-steps > li { counter-increment: hstep; position: relative; padding: 0 0 18px 46px; margin: 0; }
.help-steps > li::before {
    content: counter(hstep); position: absolute; left: 0; top: 0;
    width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .84rem;
}
.help-steps > li > strong { display: block; margin-bottom: 2px; }
.qa { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; scroll-margin-top: 90px; }
.qa[open] { border-color: var(--line-strong); }
.qa summary {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 15px 20px; cursor: pointer; list-style: none;
    font-weight: 600; color: var(--ink); font-size: .98rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex-shrink: 0; font-weight: 500; font-size: 1.25rem; line-height: 1.1; color: var(--muted); }
.qa[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--accent-ink); }
.qa-a { padding: 0 20px 6px; }
.qa-a p, .qa-a li { font-size: .95rem; }
.qa-a ol, .qa-a ul { margin-bottom: 14px; }
.doc-table.ref td:first-child code { white-space: nowrap; }

/* Reveal on scroll */
/* Only hidden when JS is running (app.js sets .js on <html>), so no-JS visitors see everything. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Quote form confirmation (shown by app.js on ?quote=received) */
.form-success { max-width: 620px; margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-tint); color: var(--ink); font-size: .95rem; }
.form-success[hidden] { display: none; }
.form-success b { font-weight: 600; }

/* Customer download gate (download.html + assets/download.js) */
.dl-hero { padding-bottom: 44px; }
.dl-hero .hero-desc { margin-bottom: 0; }
.dl-section { padding: 56px 0 80px; }
.dl-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dl-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: start; }
.dl-card { background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 18px 50px -34px rgba(11,18,32,.35); }
.dl-fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.dl-label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.dl-product { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg-inset); border: 1px solid var(--line); border-radius: 10px; }
.dl-prod { position: relative; display: block; cursor: pointer; }
.dl-prod input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dl-prod span { display: flex; flex-direction: column; align-items: center; gap: 1px; border-radius: 7px; padding: 9px 8px; text-align: center; color: var(--muted); transition: all .15s ease; }
.dl-prod b { font-size: .95rem; font-weight: 600; }
.dl-prod small { font-size: .78rem; color: var(--faint); }
.dl-prod:hover span { color: var(--ink); }
.dl-prod input:checked + span { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12), 0 0 0 1px var(--line-strong); }
.dl-prod input:checked + span small { color: var(--muted); }
.dl-prod input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input.dl-key { font-family: 'JetBrains Mono', monospace; font-size: .95rem; letter-spacing: .02em; padding: 13px 14px; }
.field input.dl-key::placeholder { color: var(--faint); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: 0; }
.dl-hint { margin-top: 6px; font-size: .8rem; color: var(--muted); }
.dl-card .field { margin-bottom: 20px; }
.dl-submit { width: 100%; }
.dl-submit[disabled] { opacity: .75; cursor: progress; }
.dl-error { margin-top: 18px; padding: 13px 16px; border: 1px solid var(--err-line); border-left: 3px solid var(--err); border-radius: var(--radius); background: var(--err-tint); font-size: .92rem; }
.dl-error p { color: var(--err-ink); }
.dl-error p + p { margin-top: 6px; }
.dl-error a { font-weight: 600; color: var(--err-ink); text-decoration: underline; text-underline-offset: 2px; }
.dl-result { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--radius); background: var(--bg-alt); }
.dl-result h3 { font-size: 1.02rem; margin-bottom: 12px; }
.dl-meta { display: grid; gap: 6px; margin-bottom: 14px; font-size: .9rem; }
.dl-meta > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.dl-meta dt { color: var(--muted); font-size: .82rem; }
.dl-meta dd { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.dl-meta .mono { font-family: 'JetBrains Mono', monospace; font-size: .84rem; }
.dl-meta .dl-sha { font-size: .74rem; line-height: 1.5; color: var(--body); word-break: break-all; }
.dl-fine { font-size: .8rem; color: var(--muted); }
.dl-fine code, .dl-tip code { font-family: 'JetBrains Mono', monospace; font-size: .85em; background: var(--bg-inset); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.dl-fallback { margin-top: 10px; font-size: .88rem; color: var(--body); }
.dl-fallback a { font-weight: 600; }
.dl-alt { margin-top: 16px; font-size: .92rem; color: var(--muted); text-align: center; }
.dl-aside { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.dl-tip { padding: 18px 0; border-bottom: 1px solid var(--line); }
.dl-tip h3 { font-size: .95rem; margin-bottom: 4px; }
.dl-tip p { font-size: .88rem; color: var(--muted); }
.dl-error[hidden], .dl-result[hidden], .dl-meta > div[hidden] { display: none; }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .ba { grid-template-columns: minmax(0,1fr); max-width: 560px; grid-template-areas: "bh" "bp" "bc" "mid" "ah" "ap" "ac"; }
    .ba-mid { margin: 8px 0 24px; }
    .ba-arrow { transform: rotate(90deg); }
    .tiers, .tiers.two { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .feature-row { grid-template-columns: 1fr; gap: 24px; }
    .steps { grid-template-columns: 1fr; }
    .dl-layout { grid-template-columns: 1fr; gap: 28px; }
    .help-layout { grid-template-columns: 1fr; gap: 36px; }
    .help-toc { position: static; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
    .help-toc ol { border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
    .help-toc a { padding-left: 0; border-left: 0; margin-left: 0; }
}
@media (max-width: 720px) {
    section { padding: 64px 0; }
    .hero { padding: 48px 0 52px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .stat:nth-child(3) { border-left: 0; }
    .stat + .stat { border-left: 0; }
    .calc-grid { grid-template-columns: 1fr; }
    .calc { padding: 22px 18px; }
    .calc-prod { font-size: .84rem; padding: 10px 4px; }
    .calc-tiers { font-size: .78rem; }
    .suite-strip { padding: 18px 20px; }
    .suite-strip .btn { width: 100%; }
    .pane-body.stage { padding: 14px 14px 16px; }
    .slide-palette { margin: -12% 3% 0; }
    .slide-palette .palette-desc { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .dl-card { padding: 22px 18px; }
    .dl-section { padding: 36px 0 64px; }
    .dl-meta > div { grid-template-columns: 1fr; gap: 0; }
    .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
    section.doc { padding-top: 40px; }
    .doc-table thead { display: none; }
    .doc-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .doc-table tr:last-child { border-bottom: 0; }
    .doc-table td { display: block; padding: 2px 0; border: 0; }
    .doc-table td:first-child { margin-bottom: 4px; }
    .doc-table td:last-child { color: var(--muted); font-size: .85rem; margin-top: 4px; }
    .doc-table td:last-child::before { content: "Data: "; font-weight: 600; color: var(--body); }
    .doc-table.ref td:last-child::before { content: none; }
    .doc-table.ref td:last-child { color: var(--body); font-size: .9rem; }
    .help-toc ol { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; position: absolute; top: 66px; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 4px;
        background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 28px;
    }
    .nav-links.open a { padding: 8px 0; width: 100%; }
    .nav-toggle { display: block; }
    .nav-cta .btn-ghost { display: none; }
    .utilbar .util-left { display: none; }
}
