/* ==========================================================================
   RealG — Autopilot Landing Page
   Aesthetic: "mission control for deal flow"
   Paper-white editorial base, ink navy, single brand-blue accent,
   mono instrument labels, soft constant shadows, no gradients.
   ========================================================================== */

:root {
    --paper: #F7F6F2;
    --paper-raise: #FFFFFF;
    --ink: #0E1726;
    --ink-soft: #3D4657;
    --ink-mute: #6B7488;
    --hairline: rgba(14, 23, 38, 0.10);
    --brand: #0D75FD;
    --brand-deep: #0856C7;
    --signal: #16A34A;
    --signal-soft: #E8FFF3;
    --amber: #F59E0B;
    --danger: #F1416C;
    --dark: #0B1220;
    --dark-raise: #111B2E;
    --dark-line: rgba(255, 255, 255, 0.09);
    --dark-text: #E8ECF4;
    --dark-mute: #8B96AB;

    --shadow-sm: 0 2px 10px rgba(14, 23, 38, 0.06);
    --shadow-md: 0 6px 24px rgba(14, 23, 38, 0.08);
    --shadow-lg: 0 18px 50px rgba(14, 23, 38, 0.12);

    --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", Consolas, monospace;

    --radius: 14px;
    --radius-lg: 20px;
    --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand-deep); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------
   Typography helpers
   ------------------------------------------------------------------ */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-deep);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 9px; height: 9px;
    background: var(--brand);
    display: inline-block;
    flex-shrink: 0;
}
.eyebrow--signal { color: var(--signal); }
.eyebrow--signal::before { background: var(--signal); }
.eyebrow--light { color: #7FB5FF; }
.eyebrow--light::before { background: #7FB5FF; }

.display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.06;
}

.section-kicker { margin-bottom: 18px; }

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 18px;
}

.section-lede {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 640px;
}

.accent { color: var(--brand); }
.accent-italic { color: var(--brand); font-style: italic; }

/* ------------------------------------------------------------------
   Urgency banner
   ------------------------------------------------------------------ */
.urgency-banner {
    background: var(--ink);
    color: #FFE9A8;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-align: center;
    padding: 9px 16px;
    letter-spacing: 0.03em;
}

/* ------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 246, 242, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.nav-logo img { height: 40px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-links .mobile-only { display: none; }

.nav-login {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}
.nav-login:hover { color: var(--ink); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    padding: 13px 26px;
    cursor: pointer;
    border: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn-ink:hover { background: #1C2739; color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--hairline);
}
.btn-ghost:hover { border-color: var(--ink-mute); color: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; border-radius: 12px; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: transparent;
    border: 1.5px solid var(--hairline);
    border-radius: 9px;
    cursor: pointer;
    padding: 0 9px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
    position: relative;
    padding: 72px 0 84px;
    background-image: radial-gradient(rgba(14, 23, 38, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
}

/* Split top: bold headline (left) balanced by tight support column (right) */
.hero-top {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    column-gap: 64px;
    row-gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--hairline);
}

.hero-lead { min-width: 0; }

.hero-eyebrow { margin-bottom: 22px; animation: rise 0.7s ease-out both; }

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.6vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.98;
    animation: rise 0.7s ease-out 0.08s both;
}

.hero-support {
    animation: rise 0.7s ease-out 0.16s both;
}

.hero-sub {
    font-size: clamp(1.08rem, 1.5vw, 1.24rem);
    color: var(--ink-soft);
    max-width: 460px;
    margin: 0 0 28px;
}

.hero-cta-row {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-microcopy {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
}

/* Pipeline rail */
.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 52px auto 0;
    animation: rise 0.7s ease-out 0.38s both;
}

.pipeline-node {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    background: var(--paper-raise);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.pipeline-node .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.pipeline-node--hot { color: var(--signal); }
.pipeline-node--hot .dot { background: var(--signal); animation: pulse 1.8s ease-in-out infinite; }

.pipeline-link {
    width: 42px;
    height: 2px;
    background-image: linear-gradient(90deg, var(--ink-mute) 55%, transparent 45%);
    background-size: 9px 2px;
    animation: dashflow 1.2s linear infinite;
    flex-shrink: 0;
}

@keyframes dashflow { to { background-position: 9px 0; } }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
    55% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Demo console frame */
.demo-shell {
    max-width: 1020px;
    margin: 44px auto 0;
    background: var(--dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    animation: rise 0.8s ease-out 0.46s both;
}

.demo-shell-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 6px 12px;
}
.demo-shell-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dark-line); display: inline-block; }
.demo-shell-bar .label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--dark-mute);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-left: 8px;
}

.demo-embed {
    position: relative;
    padding-bottom: calc(48.5945% + 41px);
    height: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #0F1830;
}
.demo-embed iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
    color-scheme: light;
}

/* Proof band — quiet, enterprise credibility strip under the product */
.hero-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin-top: 40px;
    padding-top: 34px;
    border-top: 1px solid var(--hairline);
    animation: rise 0.8s ease-out 0.55s both;
}
.hero-proof-item {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.hp-value {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.hp-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 4px;
}
.hero-proof-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.hero-proof-note .fa-circle-check { color: var(--signal); }

/* ------------------------------------------------------------------
   Section scaffolding + reveal on scroll
   ------------------------------------------------------------------ */
section { position: relative; }

.section-pad { padding: 130px 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------
   How it works — 3 steps
   ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 58px; }

.step-card {
    background: var(--paper-raise);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--brand-deep);
    margin-bottom: 22px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.step-card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 18px; }

.step-list { list-style: none; margin-top: auto; }
.step-list li {
    font-size: 0.92rem;
    color: var(--ink-soft);
    padding: 8px 0 8px 26px;
    position: relative;
    border-top: 1px dashed var(--hairline);
}
.step-list li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    color: var(--signal);
    font-weight: 700;
}

.step-card--flag { outline: 2px solid var(--brand); outline-offset: -2px; position: relative; }
.step-flag-chip {
    position: absolute;
    top: -13px;
    left: 32px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    padding: 4px 12px;
}

/* ------------------------------------------------------------------
   AI Calling flagship (dark)
   ------------------------------------------------------------------ */
.ai-flagship {
    background: var(--dark);
    color: var(--dark-text);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.ai-flagship .section-title { color: #fff; }
.ai-flagship .section-lede { color: var(--dark-mute); }

.ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: start;
    margin-top: 26px;
}

.ai-points { list-style: none; margin-top: 34px; }
.ai-points li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--dark-line);
}
.ai-points .pt-ico {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--dark-raise);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.ai-points strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 3px; }
.ai-points span { color: var(--dark-mute); font-size: 0.93rem; line-height: 1.5; }

/* Dashboard mock */
.ai-console {
    background: var(--dark-raise);
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.ai-console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.ai-console-head .t {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-mute);
}
.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #4ADE80;
}
.live-chip i {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ADE80;
    animation: pulse 1.6s ease-in-out infinite;
}

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-line);
    border-radius: 12px;
    padding: 14px 16px;
}
.kpi .k-label {
    font-size: 0.72rem;
    color: var(--dark-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    white-space: nowrap;
}
.kpi .k-value {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.kpi .k-value.hot { color: #4ADE80; }

/* Transcript feed */
.transcript {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-line);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}
.transcript .t-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--dark-mute);
    margin-bottom: 14px;
}
.transcript .t-head strong { color: var(--dark-text); font-weight: 600; }

.t-line { display: flex; gap: 10px; margin-bottom: 12px; opacity: 0; animation: rise 0.5s ease-out forwards; }
.t-line:nth-child(2) { animation-delay: 0.6s; }
.t-line:nth-child(3) { animation-delay: 1.6s; }
.t-line:nth-child(4) { animation-delay: 2.7s; }
.t-line:nth-child(5) { animation-delay: 3.8s; }
.t-line .who {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 6px;
    align-self: flex-start;
    flex-shrink: 0;
    margin-top: 2px;
}
.t-line .who.ai { background: rgba(13, 117, 253, 0.18); color: #7FB5FF; }
.t-line .who.seller { background: rgba(255, 255, 255, 0.08); color: var(--dark-mute); }
.t-line p { font-size: 0.9rem; color: var(--dark-text); line-height: 1.45; }

.t-result {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px dashed var(--dark-line);
    padding-top: 13px;
    font-size: 0.85rem;
    color: #4ADE80;
    font-weight: 600;
    opacity: 0;
    animation: rise 0.5s ease-out 4.9s forwards;
}

/* Interested leads mini-list */
.hotlead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-line);
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 8px;
}
.hotlead-row .addr { font-size: 0.88rem; color: var(--dark-text); font-weight: 500; }
.hotlead-row .meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--dark-mute); }
.hotlead-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.12);
    border-radius: 999px;
    padding: 4px 11px;
    white-space: nowrap;
}

.ai-console-note {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--dark-mute);
    text-align: right;
    margin-top: 10px;
    letter-spacing: 0.05em;
}

/* Compliance strip */
.compliance-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 72px;
    border-top: 1px solid var(--dark-line);
    padding-top: 40px;
}
.compliance-item { text-align: left; }
.compliance-item .c-ico { color: var(--brand); font-size: 1.1rem; margin-bottom: 10px; }
.compliance-item strong { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 4px; }
.compliance-item span { color: var(--dark-mute); font-size: 0.8rem; line-height: 1.45; display: block; }

/* ------------------------------------------------------------------
   Analysis engine
   ------------------------------------------------------------------ */
.grade-strip {
    display: inline-flex;
    gap: 8px;
    margin: 6px 0 22px;
}
.grade-chip {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}
.grade-a { background: #E8FFF3; color: #16A34A; }
.grade-b { background: #EAF4FF; color: #0D75FD; }
.grade-c { background: #FFF8DD; color: #D19F00; }
.grade-d { background: #FFF0F4; color: #F1416C; }

.engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 54px;
}

.engine-card {
    background: var(--paper-raise);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px 30px;
}
.engine-card .e-ico {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: #EAF4FF;
    color: var(--brand-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 20px;
}
.engine-card h3 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.engine-card p { color: var(--ink-soft); font-size: 0.96rem; }
.engine-card .e-tag {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-deep);
    border-top: 1px dashed var(--hairline);
    padding-top: 12px;
    width: 100%;
}

/* ------------------------------------------------------------------
   Feature index (compact, editorial two-column list)
   ------------------------------------------------------------------ */
.feature-index {
    columns: 2;
    column-gap: 60px;
    margin-top: 48px;
}
.fi-item {
    break-inside: avoid;
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--hairline);
}
.fi-item .fi-ico {
    color: var(--brand-deep);
    font-size: 1rem;
    width: 24px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 3px;
}
.fi-item strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.fi-item span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }

/* ------------------------------------------------------------------
   Replace-your-stack math
   ------------------------------------------------------------------ */
.stack-math {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 54px;
    align-items: stretch;
}

.stack-col {
    background: var(--paper-raise);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px 34px;
}

.stack-col h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.stack-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-top: 1px dashed var(--hairline);
    font-size: 0.97rem;
    color: var(--ink-soft);
}
.stack-line .price { font-family: var(--font-mono); font-weight: 600; color: var(--ink); white-space: nowrap; }
.stack-line.total {
    border-top: 2px solid var(--ink);
    margin-top: 8px;
    padding-top: 15px;
    font-weight: 700;
    color: var(--ink);
}
.stack-line.total .price { font-size: 1.25rem; }
.stack-col--old .stack-line.total .price { color: var(--danger); }

.stack-col--realg { outline: 2px solid var(--brand); outline-offset: -2px; position: relative; }
.stack-col--realg .stack-line.total .price { color: var(--signal); }
.stack-badge {
    position: absolute;
    top: -14px; left: 34px;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 14px;
}

.stack-footnote {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin-top: 26px;
}

/* ------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------ */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 54px;
}
.quote-card {
    background: var(--paper-raise);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
}
.quote-card .q-mark {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--brand);
    margin-bottom: 12px;
}
.case-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-deep);
    background: #EAF4FF;
    border-radius: 999px;
    padding: 5px 13px;
    margin-bottom: 18px;
}
.case-headline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.quote-card blockquote {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 22px;
}
.quote-card figcaption { margin-top: auto; border-top: 1px dashed var(--hairline); padding-top: 16px; }
.quote-card figcaption strong { display: block; font-size: 0.98rem; }
.quote-card figcaption span { color: var(--ink-mute); font-size: 0.86rem; }

/* ------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 58px;
    align-items: stretch;
}

.price-card {
    background: var(--paper-raise);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card--featured { outline: 2.5px solid var(--brand); outline-offset: -2.5px; box-shadow: var(--shadow-lg); }

.price-flag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 16px;
    white-space: nowrap;
}

.price-name {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 14px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}
.price-amount .per { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }
.price-was { text-decoration: line-through; color: var(--ink-mute); font-size: 1.2rem; font-weight: 600; margin-right: 8px; }

.price-desc { color: var(--ink-soft); font-size: 0.95rem; margin: 10px 0 24px; min-height: 68px; }

.price-cta { margin-bottom: 26px; }

.price-features { list-style: none; }
.price-features li {
    font-size: 0.93rem;
    color: var(--ink-soft);
    padding: 9px 0 9px 28px;
    position: relative;
    border-top: 1px dashed var(--hairline);
}
.price-features li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    color: var(--signal);
    font-weight: 700;
}
.price-features li.na { color: var(--ink-mute); }
.price-features li.na::before { content: "\2013"; color: var(--ink-mute); }

.price-note {
    font-size: 0.8rem;
    color: var(--ink-mute);
    text-align: center;
    margin-top: 14px;
}

.pricing-ai-note {
    max-width: 720px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--ink-soft);
    background: var(--paper-raise);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px 26px;
}

/* ------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------ */
.faq-list { max-width: 820px; margin: 48px auto 0; }

.faq-item {
    background: var(--paper-raise);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 26px;
    font-weight: 700;
    font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
    padding: 0 26px 22px;
    color: var(--ink-soft);
    font-size: 0.97rem;
    line-height: 1.65;
}
.faq-item .faq-body a { font-weight: 600; }

/* ------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------ */
.final-cta {
    background: var(--ink);
    color: #fff;
    text-align: center;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.final-cta .section-title { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.final-cta p.lede { color: rgba(255, 255, 255, 0.72); font-size: 1.15rem; max-width: 620px; margin: 0 auto 38px; }
.final-cta .btn-primary { box-shadow: 0 14px 40px rgba(13, 117, 253, 0.35); }
.final-cta .micro {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 20px;
    letter-spacing: 0.05em;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 44px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-mute); font-size: 0.9rem; max-width: 300px; }

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 0.93rem; }
.footer-col a:hover { color: var(--ink); }

.footer-base {
    border-top: 1px solid var(--hairline);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--ink-mute);
    font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--paper-raise);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.footer-social a:hover { color: var(--brand-deep); }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 960px) {
    .hero-top {
        grid-template-columns: 1fr;
        align-items: start;
        row-gap: 26px;
        border-bottom: 0;
        padding-bottom: 0;
    }
    .hero-support { padding-bottom: 0; }
    .hero-sub { max-width: 620px; }
}

@media (max-width: 1024px) {
    .steps, .engine-grid, .quote-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
    .ai-grid { grid-template-columns: 1fr; gap: 44px; }
    .compliance-strip { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section-pad { padding: 72px 0; }
    .hero { padding: 56px 0 44px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--paper-raise);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--hairline);
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-top: 1px solid var(--hairline); }
    .nav-links li:first-child { border-top: 0; }
    .nav-links a { display: block; padding: 15px 26px; font-size: 1.02rem; }
    .nav-links .mobile-only { display: block; }
    .nav-links .mobile-only a { color: var(--brand-deep); font-weight: 600; }
    .hamburger { display: flex; }
    .nav-actions .nav-login { display: none; }

    .pipeline { display: none; }
    .hero { padding: 40px 0 40px; }
    .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
    .hero-cta-row .btn { flex: 1 1 auto; }
    .demo-shell { margin-top: 32px; padding: 10px; }
    .hero-proof { gap: 18px 28px; padding-top: 26px; margin-top: 30px; }
    .hero-proof-note { margin-left: 0; flex-basis: 100%; }
    .hp-value { font-size: 1.55rem; }

    .steps, .engine-grid, .quote-grid, .pricing-grid, .stack-math { grid-template-columns: 1fr; }
    .price-card--featured { order: -1; }
    .feature-index { columns: 1; }
    .kpi-row { grid-template-columns: 1fr 1fr; }
    .compliance-strip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .price-desc { min-height: 0; }
}
