/* ─── Tokens ───────────────────────────────────────────────────────────
   Dark mode only for v1 — per spec "Dark mode cao cap, gan vibe
   Codex/Linear/Vercel". Light mode TBD. */
:root {
    --bg: #080A0F;
    --bg-elev: #0D1117;
    --panel: #111827;
    --panel-2: #161B22;
    --border: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(148, 163, 184, 0.32);
    --fg: #F8FAFC;
    --fg-muted: #94A3B8;
    --fg-subtle: #64748B;
    --accent: #60A5FA;
    --accent-2: #38BDF8;
    --accent-soft: rgba(96, 165, 250, 0.12);
    --success: #22C55E;
    --warn: #F59E0B;
    --danger: #EF4444;
    --radius: 8px;
    --radius-lg: 14px;
    --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-2: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
    --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 15px/1.6 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; /* decorative blurs (mock-shadow) extend past viewport edge — clip them */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code {
    font-family: var(--font-mono);
    font-size: 0.92em;
    background: rgba(148, 163, 184, 0.10);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--fg);
}

/* Subtle ambient glow at the top of the page — radial gradient anchored
   behind the hero. Pure CSS, no images. */
body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 720px;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(96, 165, 250, 0.10), transparent 60%),
        radial-gradient(40% 40% at 80% 10%, rgba(56, 189, 248, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Nav ───────────────────────────────────────────────────────────── */
.nav-wrap {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(8, 10, 15, 0.72);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--fg);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #061021;
}
.brand-name { font-size: 16px; }
.nav-links {
    display: inline-flex;
    gap: 28px;
    font-size: 13.5px;
    color: var(--fg-muted);
}
.nav-links a:hover { color: var(--fg); }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--accent);
    color: #061021;
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(148, 163, 184, 0.08); border-color: var(--fg-muted); }
.btn-block { width: 100%; }
.nav-cta { padding: 7px 14px; font-size: 13.5px; }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
    padding: 80px 0 64px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    font-weight: 700;
}
.accent {
    color: var(--accent);
    background: linear-gradient(120deg, var(--accent), var(--accent-2) 70%, #C7E2FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lead {
    color: var(--fg-muted);
    font-size: 17px;
    max-width: 540px;
    margin: 0 0 28px;
}
.hero-cta { display: inline-flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--fg-muted);
    font-size: 14px;
}
.hero-bullets li { display: flex; align-items: center; gap: 10px; }
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fg-subtle);
    flex-shrink: 0;
}
.dot.ok { background: var(--success); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }

/* Hero visual / mock dashboard */
.hero-visual { position: relative; }
.mock {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-1), var(--shadow-2);
    overflow: hidden;
    position: relative;
}
.mock-shadow {
    position: absolute;
    inset: 60% -15% -40% -15%;
    background: radial-gradient(50% 60% at 50% 0%, rgba(96, 165, 250, 0.30), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}
.mock-dashboard.mock-wide { padding: 18px; }
.mock-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}
.mock-title { font-weight: 600; }
.mock-range { color: var(--fg-muted); font-family: var(--font-mono); font-size: 11.5px; }
.mock-kpi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.mock-kpi-customer { grid-template-columns: repeat(4, 1fr); }
.mock .kpi {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mock .kpi .lbl { font-size: 10.5px; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.mock .kpi .val { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.mock .kpi .sub { font-size: 10.5px; color: var(--fg-subtle); margin-top: 2px; }
.mock .kpi .val.warn { color: var(--warn); }
.mock .kpi .val.ok { color: var(--success); }
.mock .kpi.accent .val { color: var(--accent); }

/* Traffic-source row above KPI in the hero mock. Same platform-pill
   style is reused inside qrows and the operator preview table so the
   visual language stays consistent. Text-only — no brand logos — and
   subdued color accents per platform (per copy/legal review). */
.mock-sources {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 8px 10px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.mock-sources-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fg-subtle);
    font-weight: 600;
    margin-right: 2px;
}

/* Platform pill — small text badge, brand-flavored accents without
   any logo to keep claims honest + avoid trademark risk.
     - Meta:    blue (Facebook/Instagram family color)
     - Google:  multi-color edge via gradient border
     - TikTok:  neutral dark with cyan accent
     - Native:  gray
   Used both inside the hero mock and in the operator preview table.
*/
.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    border: 1px solid transparent;
    line-height: 1.45;
    white-space: nowrap;
    vertical-align: middle;
}
/* Inline icon shown before the pill label (e.g. the Meta M-circle).
   Sized to match the Google multi-color dot — 7px effective optical
   weight — even though the SVG itself is 14px so the M stays legible.
   Kept generic (a stylized "M" badge, not the official infinity mark)
   to stay clear of brand-asset usage; footer trademark note covers
   any residual association. */
.platform-pill .pp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: -1px;
    flex-shrink: 0;
}
.platform-pill .pp-icon svg { display: block; }
.platform-pill.pp-meta {
    background: rgba(59, 130, 246, 0.10);
    color: #93C5FD;
    border-color: rgba(59, 130, 246, 0.30);
}
.platform-pill.pp-google {
    background: rgba(148, 163, 184, 0.06);
    color: #CBD5E1;
    border-color: rgba(148, 163, 184, 0.22);
    position: relative;
    padding-left: 16px;
}
/* Subtle multi-color dot for Google — green/yellow/red/blue mix via
   conic-gradient. Sits to the left of the label. */
.platform-pill.pp-google::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
    background:
        conic-gradient(from 0deg,
            #4285F4 0deg 90deg,
            #EA4335 90deg 180deg,
            #FBBC05 180deg 270deg,
            #34A853 270deg 360deg);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.20);
}
.platform-pill.pp-tiktok {
    background: rgba(20, 28, 40, 0.85);
    color: #67E8F9;
    border-color: rgba(34, 211, 238, 0.30);
}
.platform-pill.pp-native {
    background: rgba(148, 163, 184, 0.10);
    color: var(--fg-muted);
    border-color: rgba(148, 163, 184, 0.22);
}

/* When the pill sits inside a qrow text span, give it a hair of
   breathing room either side. */
.qtxt .platform-pill { margin: 0 4px; }

.mock-queue { display: grid; gap: 6px; }
.qrow {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12.5px;
}
.qicon { font-size: 9px; line-height: 1; }
.qicon.ok { color: var(--success); }
.qicon.warn { color: var(--warn); }
.qicon.err { color: var(--danger); }
.qtxt { color: var(--fg); }
.qtxt code { font-size: 11px; }
.qtime { color: var(--fg-subtle); font-family: var(--font-mono); font-size: 11px; }
.mock-row-hint {
    margin-top: 14px;
    color: var(--fg-subtle);
    font-size: 11.5px;
    text-align: center;
    font-style: italic;
}

.mock-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}
.mock-table thead th {
    text-align: left;
    color: var(--fg-subtle);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}
.mock-table tbody td {
    padding: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.mock-table tbody tr:last-child td { border-bottom: 0; }
.mock-table .warn { color: var(--warn); }
.mock-table .err { color: var(--danger); }
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
}
.badge.ok { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.badge.warn { background: rgba(245, 158, 11, 0.14); color: var(--warn); }
.badge.err { background: rgba(239, 68, 68, 0.14); color: var(--danger); }

/* ─── Band sections ─────────────────────────────────────────────────── */
.band { padding: 96px 0; }
.band h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 6px 0 14px;
    max-width: 760px;
}
.band-lead { color: var(--fg-muted); font-size: 16px; max-width: 640px; margin: 0 0 36px; }
.eyebrow-band { display: inline-block; }

.band-problem { padding: 48px 0 24px; }
.band-problem h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 28px; max-width: 720px; }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.problem-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}
.problem-card .num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-subtle);
    margin-bottom: 10px;
}
.problem-card h3 {
    font-size: 14.5px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}
.problem-card p { color: var(--fg-muted); font-size: 13px; margin: 0; }

/* Platform signal strip — subtle band between Problem and Workflow.
   Text-only badges (no brand logos) to avoid implying official
   integration. Visually a quiet "supported by" row, not a hero claim. */
.platform-strip {
    padding: 20px 0 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(13, 17, 23, 0.4);
}
.platform-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    text-align: center;
}
.platform-eyebrow {
    margin: 0;
    color: var(--fg-subtle);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 600;
}
.platform-badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--fg-muted);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 150ms ease, border-color 150ms ease;
}
.platform-badge:hover { color: var(--fg); border-color: var(--border-strong); }
.platform-note {
    margin: 0;
    color: var(--fg-subtle);
    font-size: 12.5px;
    width: 100%;
    text-align: center;
}
/* (.footer-trademark moved into footer compact block — see ~L1014.) */

/* Workflow flow */
.flow {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.flow li {
    padding: 24px 22px;
    position: relative;
    border-right: 1px solid var(--border);
}
.flow li:last-child { border-right: 0; }
.flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}
.flow li h3 { margin: 0 0 6px; font-size: 15px; }
.flow li p { color: var(--fg-muted); font-size: 13px; margin: 0; }
.flow-arrow {
    position: absolute;
    left: -10px;
    top: 30px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: var(--panel);
    color: var(--fg-subtle);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 12px;
    z-index: 1;
}

/* Features */
.band-features { background: linear-gradient(180deg, transparent, rgba(13, 17, 23, 0.4) 40%, transparent); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.feature {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 150ms ease, transform 150ms ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.ficon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 8px;
    margin-bottom: 14px;
}
.ficon svg { width: 18px; height: 18px; }
.feature h3 { font-size: 14.5px; font-weight: 600; margin: 0 0 6px; }
.feature p { color: var(--fg-muted); font-size: 13px; margin: 0; line-height: 1.55; }

/* Product preview */
.band-preview { padding: 96px 0; }
.preview-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.ptab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--fg-muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
}
.ptab:hover { color: var(--fg); }
.ptab.is-active { background: var(--accent-soft); color: var(--accent); }
.preview-panel { position: relative; }
.mock-chart {
    height: 120px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}
.mock-chart svg { width: 100%; height: 100%; }

/* Pricing — two-column grid: price card + invite/activation aside. */
.band-pricing { padding: 96px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    gap: 32px;
    align-items: stretch;
}
.price-card {
    background: var(--panel);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.price-card > * { position: relative; z-index: 1; }
.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 80% at 100% 0%, rgba(96, 165, 250, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Pricing aside — invite-only callout. Sits to the right of the price
   card on desktop, stacks below on tablet/mobile. */
.pricing-aside { display: flex; }
.invite-callout {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    position: relative;
    overflow: hidden;
}
.invite-callout::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 0% 100%, rgba(34, 197, 94, 0.05), transparent 60%);
    pointer-events: none;
}
.invite-callout > * { position: relative; z-index: 1; }
.invite-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.10);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.30);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}
.invite-callout h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 700;
}
.invite-callout > p {
    margin: 0;
    color: var(--fg-muted);
    font-size: 14px;
    line-height: 1.6;
}
.invite-steps {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: grid;
    gap: 8px;
    font-size: 13.5px;
    color: var(--fg);
}
.invite-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.step-num {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.invite-fine {
    margin: 4px 0 0;
    color: var(--fg-subtle);
    font-size: 12.5px;
    line-height: 1.55;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}
.price-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.price-amount { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price-num { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.price-per { color: var(--fg-muted); font-size: 15px; }
.price-sub { color: var(--fg-muted); margin: 0 0 24px; font-size: 14px; }
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 9px;
    color: var(--fg);
    font-size: 14px;
}
.price-list .check {
    color: var(--success);
    font-weight: 700;
    margin-right: 10px;
}
.price-list { flex: 1; }
.price-note {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--fg-muted);
    font-size: 12.5px;
    margin: 0 0 22px;
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 50%;
    margin-left: 16px;
    transition: background 150ms ease, transform 200ms ease;
}
.faq summary:hover::after { background: rgba(96, 165, 250, 0.20); }
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq details[open] summary { color: var(--fg); border-bottom: 1px solid var(--border); }
.faq details p { padding: 14px 20px 18px; color: var(--fg-muted); margin: 0; font-size: 14px; }

/* CTA / Request access — now merged with FAQ in a 2-col band.
   Left column: FAQ list. Right column: request form. Both share one
   container, one vertical alignment. The old `.cta-grid` (with a
   bullet list + direct-line contact box on the left) was removed —
   that contact block is being replaced by an operator-owned Telegram/
   chatbot embed wired in later. */
.band-cta {
    background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.04));
    border-top: 1px solid var(--border);
}
.faq-cta-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
}
.faq-cta-grid .faq-col,
.faq-cta-grid .form-col {
    min-width: 0;
}
.faq-cta-grid .faq-col h2,
.faq-cta-grid .form-col h2 {
    margin-top: 6px;
}

.cta-form {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: grid;
    gap: 14px;
}
.field { display: grid; gap: 6px; }
.field label {
    font-size: 11.5px;
    color: var(--fg-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.field input, .field select, .field textarea {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--fg);
    padding: 11px 14px;
    font: inherit;
    font-size: 14.5px;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.hp { position: absolute; left: -9999px; }
.cta-status { font-size: 13px; margin: 0; color: var(--fg-muted); min-height: 18px; }
.cta-status.ok { color: var(--success); }
.cta-status.err { color: var(--danger); }

/* Footer — compact 2-row layout (rewritten 2026-05-21).
   Was: 4-column grid with PRODUCT / COMPANY sub-nav columns. Too tall + sparse.
   Now: row 1 = brand + tagline | inline nav, row 2 = copyright | email,
   trademark disclaimer pinned full-width below at smaller scale. */
.footer {
    padding: 28px 0 22px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}
.footer-compact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    min-width: 0;
}
.footer-tagline {
    color: var(--fg-muted);
    font-size: 13px;
    line-height: 1.45;
}
.footer-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    color: var(--fg-muted);
    font-size: 13.5px;
}
.footer-nav a { color: inherit; padding: 2px 0; }
.footer-nav a:hover { color: var(--fg); }
.footer-row-legal {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.footer-contact {
    color: var(--fg-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}
.footer-contact:hover { color: var(--accent); }
.muted { color: var(--fg-muted); font-size: 13px; margin: 0; }
.small { font-size: 12.5px; line-height: 1.5; }

.footer-trademark {
    margin: 8px auto 0;
    max-width: 760px;
    color: var(--fg-subtle);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    opacity: 0.72;
}

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero { padding: 64px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(2, 1fr); }
    .flow li:nth-child(2n) { border-right: 0; }
    .flow li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .flow-arrow { display: none; }
    .faq-cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .mock-kpi { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; max-width: 640px; }
    .platform-badges { gap: 8px; }
}
@media (max-width: 720px) {
    .container { padding: 0 18px; }
    .nav-links { display: none; }
    .hero h1 { font-size: 30px; line-height: 1.1; }
    .lead { font-size: 16px; }
    .band { padding: 56px 0; }
    .band h2 { font-size: 24px; }
    .band-lead { font-size: 15px; }
    .problem-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; }
    .flow li { border-right: 0; border-bottom: 1px solid var(--border); }
    .flow li:last-child { border-bottom: 0; }
    .mock-kpi { grid-template-columns: repeat(2, 1fr); }
    .mock-kpi-customer { grid-template-columns: repeat(2, 1fr); }
    .price-num { font-size: 36px; }
    .price-card { padding: 24px; }
    .invite-callout { padding: 24px; }
    .invite-callout h3 { font-size: 18px; }
    .cta-form { padding: 20px; }
    .footer-row { gap: 12px; }
    .footer-brand { gap: 10px; }
    .footer-nav { gap: 4px 14px; font-size: 13px; }
    .footer-row-legal { flex-direction: column; align-items: flex-start; gap: 6px; }

    /* Mock tables get horizontal scroll on narrow viewports so the
       7-column operator table doesn't push the page wider than the
       viewport (was causing 390px overflow). */
    .mock-wide { padding: 14px; }
    .mock-table { font-size: 11.5px; min-width: 560px; }
    .preview-panel .mock-wide { overflow-x: auto; }

    /* Tight ptab button row */
    .preview-tabs { width: 100%; overflow-x: auto; }
    .ptab { white-space: nowrap; }
}

/* Very narrow phones (390px and below) — extra-tight padding so cards
   and the form don't get cramped. */
@media (max-width: 420px) {
    .container { padding: 0 14px; }
    .hero h1 { font-size: 28px; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1; min-width: 0; padding: 11px 12px; font-size: 13.5px; }
    .price-card, .invite-callout { padding: 20px; }
    .cta-form { padding: 18px; }
    .nav { height: 56px; gap: 12px; }
    .nav-cta { padding: 6px 10px; }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .feature, .btn { transition: none; }
}
