/* ═══════════════════════════════════════════════════
   DIGITAL DISCONNECTIONS — INVESTOR DECK
   Self-contained stylesheet (standalone / zip-safe)
   ═══════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Palette */
    --ink:        #080c14;
    --night:      #0b1120;
    --deep:       #0f172a;
    --slate-900:  #0f172a;
    --slate-800:  #1e293b;
    --slate-700:  #334155;
    --slate-600:  #475569;
    --slate-500:  #64748b;
    --slate-400:  #94a3b8;
    --slate-300:  #cbd5e1;
    --slate-200:  #e2e8f0;
    --slate-100:  #f1f5f9;
    --slate-50:   #f8fafc;
    --white:      #ffffff;

    --blue-400:   #60a5fa;
    --blue-500:   #3b82f6;
    --blue-600:   #2563eb;
    --blue-700:   #1d4ed8;

    --emerald-300:#6ee7b7;
    --emerald-400:#34d399;
    --emerald-500:#10b981;
    --emerald-600:#059669;

    --copper:     #b87333;
    --copper-light:#d4976a;
    --warm:       #fef3e2;

    --card-bg:       rgba(255,255,255,.025);
    --card-border:   rgba(255,255,255,.07);

    /* Type */
    --font-display: Didot, 'Bodoni MT', 'Noto Serif Display', 'GFS Didot', serif;
    --font-body: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;

    /* Layout */
    --max-w:      1200px;
    --max-w-narrow: 800px;
    --gutter:     clamp(20px, 4vw, 48px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: var(--font-body);
    color: var(--slate-300);
    background: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

p { max-width: 65ch; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Grain overlay */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
}


/* ═══════ NAVIGATION ═══════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(8,12,20,.82);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
    background: rgba(8,12,20,.95);
    box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 var(--gutter); height: 72px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: var(--white);
}
.nav-brand img { height: 42px; width: auto; filter: brightness(1.1); }
.nav-brand-text {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
    letter-spacing: -.02em; line-height: 1.2;
}
.nav-brand-text span { color: var(--blue-400); }
.nav-links {
    display: flex; gap: 36px; list-style: none; align-items: center;
}
.nav-links a {
    text-decoration: none; color: var(--slate-400);
    font-size: .88rem; font-weight: 500;
    letter-spacing: .01em; transition: color .25s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    background: var(--emerald-500) !important;
    color: var(--ink) !important;
    padding: 10px 24px !important; border-radius: 8px;
    font-weight: 700 !important;
    letter-spacing: .02em;
    transition: background .25s, transform .25s !important;
}
.nav-cta:hover {
    background: var(--emerald-400) !important;
    transform: translateY(-1px);
}
.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 22px; position: relative;
}
.hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--slate-300); position: absolute; left: 0;
    transition: .3s ease; border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }


/* ═══════ SECTION BASE ═══════ */
.section--deep { background: var(--night); }
.section--gradient {
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(37,99,235,.04) 0%, transparent 70%),
        var(--ink);
}
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
    font-size: .72rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--emerald-400); margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700; color: var(--white);
    line-height: 1.1; letter-spacing: -.025em;
    margin-bottom: 20px;
}
.section-desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--slate-400); max-width: 580px;
    line-height: 1.85; margin-bottom: 56px;
}


/* ═══════ REVEAL ANIMATIONS ═══════ */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.stagger-children > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: .12s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: .19s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: .26s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: .33s; }


/* ═══════ BUTTONS ═══════ */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 34px; border-radius: 10px;
    font-size: .95rem; font-weight: 700;
    text-decoration: none; transition: all .3s;
    cursor: pointer; border: none;
    font-family: var(--font-body); letter-spacing: .01em;
}
.btn-primary { background: var(--emerald-500); color: var(--ink); }
.btn-primary:hover {
    background: var(--emerald-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16,185,129,.3);
}
.btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,.18);
}
.btn-outline:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.3);
    transform: translateY(-2px);
}


/* ═══════ PROBLEM CARDS ═══════ */
.problem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; margin-top: 8px;
}
.problem-card {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px; padding: 44px 32px;
    transition: all .4s; position: relative; overflow: hidden;
}
.problem-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
    opacity: 0; transition: opacity .4s;
}
.problem-card:hover::before { opacity: 1; }
.problem-card:hover {
    background: rgba(255,255,255,.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.problem-number {
    font-family: var(--font-display);
    font-size: 3.4rem; font-weight: 700;
    color: rgba(255,255,255,.06); line-height: 1; margin-bottom: 20px;
}
.problem-card h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--white); margin-bottom: 14px; letter-spacing: -.01em;
}
.problem-card p { font-size: .93rem; color: var(--slate-400); line-height: 1.8; }


/* ═══════ MARKET INSIGHTS ═══════ */
.market-insights {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.insight {
    padding: 36px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
}
.insight:hover { background: rgba(255,255,255,.035); }
.insight h4 {
    font-size: 1rem; font-weight: 700;
    color: var(--white); margin-bottom: 12px;
}
.insight p { font-size: .92rem; color: var(--slate-400); line-height: 1.8; }


/* ═══════ PAPER / RESEARCH ═══════ */
.paper-highlight {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px; overflow: hidden; position: relative;
}
.paper-highlight::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--emerald-500), var(--blue-500));
}
.paper-highlight-inner { padding: 48px 44px; }
.paper-badge {
    display: inline-flex;
    background: rgba(59,130,246,.08);
    border: 1px solid rgba(59,130,246,.15);
    color: var(--blue-400);
    padding: 6px 14px; border-radius: 100px;
    font-size: .7rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 20px;
}
.paper-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700; color: var(--white);
    line-height: 1.25; letter-spacing: -.02em; margin-bottom: 10px;
}
.paper-authors {
    font-size: .9rem; color: var(--slate-400);
    margin-bottom: 20px; font-weight: 500;
}
.paper-abstract {
    font-size: .98rem; color: var(--slate-400);
    line-height: 1.85; margin-bottom: 32px; max-width: 720px;
}
.paper-abstract em { font-style: italic; color: var(--emerald-400); }
.paper-links { display: flex; gap: 14px; flex-wrap: wrap; }


/* ═══════ CHIP BADGES ═══════ */
.pcard-chip {
    display: inline-block; font-size: .78rem; font-weight: 700;
    letter-spacing: .02em; padding: 6px 14px; border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--slate-300);
}
.pcard-chip--accent {
    background: rgba(37,99,235,.1);
    border-color: rgba(37,99,235,.2);
    color: var(--blue-400);
}
.pcard-chip--price {
    background: rgba(16,185,129,.1);
    border-color: rgba(16,185,129,.2);
    color: var(--emerald-400); font-size: .85rem;
}
.pcard-chip--metric {
    background: rgba(184,115,51,.1);
    border-color: rgba(184,115,51,.2);
    color: var(--copper-light);
}


/* ═══════ STATUS BADGES ═══════ */
.status-testing {
    background: rgba(16,185,129,.08); color: var(--emerald-400);
    border: 1px solid rgba(16,185,129,.15);
}
.status-testing::before {
    content: ''; width: 5px; height: 5px;
    border-radius: 50%; background: var(--emerald-400);
}
.status-dev {
    background: rgba(139,92,246,.06); color: #a78bfa;
    border: 1px solid rgba(139,92,246,.12);
}
.status-dev::before {
    content: ''; width: 5px; height: 5px;
    border-radius: 50%; background: #a78bfa;
}


/* ═══════ FLS DISCLAIMER ═══════ */
.fls-disclaimer {
    font-size: .72rem; line-height: 1.6;
    color: var(--slate-600); max-width: 900px;
}
.fls-disclaimer strong { color: var(--slate-400); }


/* ═══════ FOOTER ═══════ */
.footer {
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 52px var(--gutter) 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
    display: flex; justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px; flex-wrap: wrap; gap: 36px;
}
.footer-brand {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.footer-brand img { height: 32px; width: auto; }
.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; color: var(--white);
}
.footer-brand-text span { color: var(--blue-400); }
.footer-tagline {
    font-size: .85rem; color: var(--slate-400);
    max-width: 300px; line-height: 1.65;
}
.footer-links { display: flex; gap: 56px; }
.footer-col h4 {
    font-size: .72rem; font-weight: 800; color: var(--slate-400);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    text-decoration: none; color: var(--slate-400);
    font-size: .87rem; transition: color .2s;
}
.footer-col a:hover { color: var(--emerald-400); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: 24px;
    display: flex; justify-content: space-between;
    align-items: center;
    font-size: .8rem; flex-wrap: wrap; gap: 12px;
    color: var(--slate-600);
}
.footer-pledge strong { color: var(--emerald-400); font-weight: 600; }
.footer-legal {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 20px 0 8px;
}
.footer-selfhosted {
    display: block; width: 100%; text-align: center;
    font-size: .75rem; color: rgba(255,255,255,.45);
    margin-top: 8px; letter-spacing: .02em;
}


/* ═══════ DECK-SPECIFIC STYLES ═══════ */
.deck-slide {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px var(--gutter) 80px;
    position: relative;
}
.deck-slide:first-of-type { padding-top: 160px; }
.deck-slide .section-inner { width: 100%; max-width: var(--max-w); margin: 0 auto; }

.deck-number {
    position: absolute; top: 100px; right: var(--gutter);
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700; color: rgba(255,255,255,.03);
    line-height: 1; pointer-events: none;
}

.deck-cover-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-600), var(--emerald-500));
    color: var(--white);
    font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em;
    padding: 8px 20px; border-radius: 100px;
    margin-bottom: 32px;
}

.deck-cover h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    color: var(--white); line-height: 1.15; margin-bottom: 24px;
}
.deck-cover h1 em { font-style: italic; color: var(--blue-400); }

.deck-cover-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--slate-400); max-width: 640px;
    line-height: 1.7; margin-bottom: 40px;
}

.deck-meta {
    display: flex; gap: 40px; flex-wrap: wrap;
    font-size: .88rem; color: var(--slate-500);
}
.deck-meta strong { color: var(--slate-300); }

/* TAM/SAM/SOM concentric */
.tam-visual {
    display: flex; align-items: center; justify-content: center;
    padding: 48px 0;
}
.tam-rings { position: relative; width: 340px; height: 340px; }
.tam-ring {
    position: absolute; border-radius: 50%;
    display: flex; align-items: center; justify-content: flex-start;
    flex-direction: column; text-align: center; padding-top: 18px;
}
.tam-ring--tam {
    width: 340px; height: 340px;
    background: rgba(59,130,246,.08);
    border: 2px solid rgba(59,130,246,.2);
    top: 0; left: 0;
}
.tam-ring--sam {
    width: 220px; height: 220px;
    background: rgba(16,185,129,.1);
    border: 2px solid rgba(16,185,129,.25);
    top: 60px; left: 60px;
}
.tam-ring--som {
    width: 110px; height: 110px;
    background: rgba(184,115,51,.15);
    border: 2px solid rgba(184,115,51,.3);
    top: 115px; left: 115px;
}
.tam-ring-label {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: .1em; color: var(--slate-500);
    margin-bottom: 4px;
}
.tam-ring-value {
    font-family: var(--font-display); font-weight: 700; line-height: 1.1;
}
.tam-ring--tam .tam-ring-value { font-size: 1.3rem; color: var(--blue-400); }
.tam-ring--sam .tam-ring-value { font-size: 1.15rem; color: var(--emerald-400); }
.tam-ring--som .tam-ring-value { font-size: .95rem; color: var(--copper-light); }

.tam-legend {
    margin-left: 48px; display: flex;
    flex-direction: column; gap: 24px;
}
.tam-legend-item h4 {
    font-size: .95rem; color: var(--slate-200); margin-bottom: 4px;
}
.tam-legend-item p {
    font-size: .82rem; color: var(--slate-500);
    max-width: 280px; line-height: 1.5;
}

/* Competitive table */
.comp-table {
    width: 100%; border-collapse: collapse;
    margin-top: 40px; font-size: .88rem;
}
.comp-table th, .comp-table td {
    padding: 14px 18px; text-align: left;
    border-bottom: 1px solid var(--slate-800);
}
.comp-table th {
    color: var(--slate-400); font-weight: 600;
    font-size: .75rem; text-transform: uppercase;
    letter-spacing: .08em;
}
.comp-table td { color: var(--slate-300); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .comp-dd td {
    color: var(--white); font-weight: 600;
    background: rgba(59,130,246,.05);
}
.comp-check { color: var(--emerald-400); }
.comp-x { color: var(--slate-600); }
.comp-footnote {
    font-size: .75rem; color: var(--slate-500);
    margin-top: 10px; font-style: italic;
}

/* Use of funds bars */
.funds-bars {
    display: flex; flex-direction: column;
    gap: 20px; margin-top: 40px;
}
.fund-item-header {
    display: flex; justify-content: space-between;
    margin-bottom: 8px; font-size: .88rem;
}
.fund-item-label { color: var(--slate-300); font-weight: 500; }
.fund-item-pct { color: var(--slate-500); font-weight: 600; }
.fund-bar {
    height: 8px; background: var(--slate-800);
    border-radius: 4px; overflow: hidden;
}
.fund-bar-fill {
    height: 100%; border-radius: 4px; transition: width .8s ease;
}
.fund-bar-fill--eng { background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); }
.fund-bar-fill--mkt { background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400)); }
.fund-bar-fill--ops { background: linear-gradient(90deg, var(--copper), var(--copper-light)); }
.fund-bar-fill--res { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.fund-bar-fill--run { background: linear-gradient(90deg, #dc2626, #f87171); }

/* Ask highlight */
.ask-highlight {
    text-align: center; padding: 60px 40px;
    background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(16,185,129,.06));
    border: 1px solid rgba(59,130,246,.12);
    border-radius: 16px; margin-bottom: 48px;
}
.ask-amount {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-400), var(--emerald-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.ask-type { font-size: 1.1rem; color: var(--slate-400); }

/* Two-col layout */
.deck-two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}

/* Team mini grid */
.team-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px; margin-top: 40px;
}
.team-mini-card {
    background: var(--slate-800); border-radius: 12px;
    padding: 24px; text-align: center;
}
.team-mini-card h4 {
    color: var(--white); font-size: 1rem; margin-bottom: 4px;
}
.team-mini-role {
    color: var(--blue-400); font-size: .78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.team-mini-cred {
    font-size: .82rem; color: var(--slate-500); line-height: 1.4;
}

/* Slide divider line */
.deck-slide + .deck-slide::before {
    content: ''; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(80%, 600px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-700), transparent);
}

/* Revenue chart */
.rev-chart-wrap {
    margin-top: 40px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
}
.rev-chart-wrap svg { width: 100%; height: auto; }
.rev-legend {
    display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap;
}
.rev-legend-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--slate-400);
}
.rev-legend-dot {
    width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;
}
.rev-legend-dot--keyboard { background: linear-gradient(135deg, #b87333, #d4976a); }
.rev-legend-dot--pa { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.rev-legend-dot--cara { background: linear-gradient(135deg, #059669, #34d399); }

/* Unit Economics */
.unit-econ { display: flex; flex-direction: column; gap: 24px; }
.unit-econ-title {
    font-size: .78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--slate-500); margin-bottom: 8px;
}
.unit-bar-wrap {
    border: 1px solid var(--slate-700); border-radius: 10px;
    overflow: hidden; height: 64px; position: relative; display: flex;
}
.unit-bar-cost {
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    color: rgba(255,255,255,.85); transition: width .8s ease;
}
.unit-bar-margin {
    flex: 1; display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    color: rgba(255,255,255,.85);
}
.unit-bar-cost--cloud { background: linear-gradient(90deg, #dc2626, #f97316); width: 68%; }
.unit-bar-margin--cloud { background: rgba(255,255,255,.05); color: var(--slate-600); }
.unit-bar-cost--dd { background: rgba(255,255,255,.04); width: 2%; }
.unit-bar-margin--dd { background: linear-gradient(90deg, #059669, #34d399); }
.unit-econ-label {
    display: flex; justify-content: space-between;
    font-size: .82rem; color: var(--slate-400); margin-top: 6px;
}
.unit-econ-label strong { color: var(--slate-200); }
.unit-econ-callout {
    background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(59,130,246,.08));
    border: 1px solid rgba(16,185,129,.18);
    border-radius: 10px; padding: 16px 20px;
    font-size: .85rem; color: var(--slate-300); line-height: 1.5;
    margin-top: 8px;
}
.unit-econ-callout strong { color: var(--emerald-400); }

/* GTM Funnel */
.gtm-funnel {
    margin-top: 48px; display: flex;
    flex-direction: column; align-items: center; gap: 0;
}
.funnel-stage {
    position: relative; display: flex; align-items: center;
}
.funnel-trapezoid {
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; padding: 20px 32px;
    text-align: center; transition: transform .2s;
}
.funnel-trapezoid:hover { transform: scaleY(1.02); }
.funnel-stage--top .funnel-trapezoid {
    width: 600px; height: 96px;
    background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(16,185,129,.1));
    border: 1px solid rgba(16,185,129,.3);
    clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 0% 100%);
}
.funnel-stage--mid .funnel-trapezoid {
    width: 480px; height: 88px;
    background: linear-gradient(135deg, rgba(184,115,51,.2), rgba(212,151,106,.1));
    border: 1px solid rgba(184,115,51,.35);
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
}
.funnel-stage--bot .funnel-trapezoid {
    width: 340px; height: 80px;
    background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(59,130,246,.1));
    border: 1px solid rgba(59,130,246,.35);
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}
.funnel-label {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
    color: var(--white); line-height: 1.1;
}
.funnel-sub { font-size: .75rem; color: var(--slate-400); margin-top: 4px; }
.funnel-metric { font-size: .72rem; font-weight: 600; margin-top: 2px; }
.funnel-stage--top .funnel-metric { color: var(--emerald-400); }
.funnel-stage--mid .funnel-metric { color: var(--copper-light); }
.funnel-stage--bot .funnel-metric { color: var(--blue-400); }
.funnel-arrow {
    width: 2px; height: 16px;
    background: var(--slate-700); position: relative; margin: 0 auto;
}
.funnel-arrow::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--slate-700);
}
.funnel-stats {
    display: flex; justify-content: center;
    gap: 48px; margin-top: 32px; flex-wrap: wrap;
}
.funnel-stat { text-align: center; }
.funnel-stat-val {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
}
.funnel-stat-label {
    font-size: .75rem; color: var(--slate-500); margin-top: 2px;
}

/* Horizontal Product Story Panels */
.hpanel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px; overflow: hidden; min-height: 340px;
}
.hpanel--reverse { direction: rtl; }
.hpanel--reverse > * { direction: ltr; }
.hpanel-visual {
    position: relative; display: flex;
    align-items: center; justify-content: center;
    padding: 32px 24px; min-height: 300px;
}
.hpanel-visual svg { width: 100%; max-width: 440px; height: auto; }
.hpanel-visual--pa {
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(17,24,39,.8));
    border-right: 1px solid rgba(59,130,246,.12);
}
.hpanel-visual--cara {
    background: linear-gradient(135deg, rgba(5,150,105,.1), rgba(17,24,39,.8));
    border-left: 1px solid rgba(16,185,129,.12);
}
.hpanel-visual--kb {
    background: linear-gradient(135deg, rgba(184,115,51,.1), rgba(17,24,39,.8));
    border-right: 1px solid rgba(245,158,11,.12);
}
.hpanel-content {
    display: flex; flex-direction: column;
    justify-content: center; padding: 40px 44px; gap: 16px;
}
.hpanel-status {
    display: inline-block; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    padding: 5px 14px; border-radius: 100px; width: fit-content;
}
.hpanel-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--white); margin: 0; line-height: 1.1;
}
.hpanel-desc {
    font-size: .95rem; color: var(--slate-400); line-height: 1.65; margin: 0;
}
.hpanel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hpanel-bullets {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.hpanel-bullets li {
    font-size: .88rem; color: var(--slate-400);
    padding-left: 20px; position: relative; line-height: 1.5;
}
.hpanel-bullets li::before {
    content: '\2192'; position: absolute; left: 0;
    color: var(--slate-600); font-size: .78rem;
}
.hpanel-bullets li strong { color: var(--slate-200); }


/* ═══════ PRINT STYLES ═══════ */
@media print {
    .nav, .footer, .deck-number, .hero-scroll { display: none !important; }
    .deck-slide {
        min-height: auto; page-break-after: always; padding: 40px 20px;
    }
    body { background: white; color: #1e293b; }
    .section-title, h1, h2, h3, h4 { color: #0f172a !important; }
    .section-label { color: #3b82f6 !important; }
    .section-desc, p { color: #475569 !important; }
    .ask-amount {
        -webkit-text-fill-color: #2563eb; color: #2563eb !important;
    }
}


/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 900px) {
    .nav-links {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(8,12,20,.97); backdrop-filter: blur(20px);
        flex-direction: column; padding: 28px var(--gutter); gap: 18px;
        border-bottom: 1px solid rgba(255,255,255,.06);
        box-shadow: 0 12px 40px rgba(0,0,0,.5);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    .nav-links a { font-size: .95rem; padding: 4px 0; }
    .nav-links .nav-cta { padding: 12px 28px !important; }

    .problem-grid { grid-template-columns: 1fr; }
    .market-insights { grid-template-columns: 1fr; }
    .footer-links { gap: 36px; }

    .hpanel { grid-template-columns: 1fr; direction: ltr; }
    .hpanel--reverse { direction: ltr; }
    .hpanel-visual {
        border-right: none; border-left: none;
        border-bottom: 1px solid rgba(255,255,255,.07);
        min-height: 220px;
    }
    .hpanel-visual--cara { border-left: none; }
    .hpanel-content { padding: 28px 28px; }

    .hamburger { width: 32px; height: 26px; padding: 2px; }
}

@media (max-width: 768px) {
    .rev-chart-wrap { grid-template-columns: 1fr; }
    .deck-two-col { grid-template-columns: 1fr; gap: 40px; }
    .tam-visual { flex-direction: column; }
    .tam-legend { margin-left: 0; margin-top: 32px; }
    .tam-rings { transform: scale(.85); }
    .comp-table { font-size: .78rem; }
    .comp-table th, .comp-table td { padding: 10px 12px; }
    .funnel-stage--top .funnel-trapezoid { width: 100%; }
    .funnel-stage--mid .funnel-trapezoid { width: 80%; }
    .funnel-stage--bot .funnel-trapezoid { width: 60%; }
}

@media (max-width: 640px) {
    .section-desc { margin-bottom: 36px; }
    .section-title { margin-bottom: 14px; }
    .paper-highlight-inner { padding: 28px 22px; }
    .footer-top { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 28px; }

    .problem-grid {
        display: flex; flex-direction: column; gap: 0; max-width: none;
    }
    .problem-card {
        background: none; border: none;
        border-bottom: 1px solid rgba(255,255,255,.06);
        border-radius: 0; padding: 30px 0;
        display: grid; grid-template-columns: 52px 1fr;
        grid-template-rows: auto auto; gap: 0 16px;
        transform: none !important; box-shadow: none !important;
    }
    .problem-card:first-child { padding-top: 0; }
    .problem-card:last-child { border-bottom: none; }
    .problem-card::before { display: none; }
    .problem-number {
        font-size: 2rem; grid-row: 1 / 3; grid-column: 1;
        line-height: 1.1; color: rgba(255,255,255,.09); margin-bottom: 0;
    }
    .problem-card h3 { grid-column: 2; font-size: 1rem; margin-bottom: 6px; }
    .problem-card p { grid-column: 2; font-size: .86rem; }

    .insight {
        border-radius: 12px; border-color: rgba(255,255,255,.05);
    }
    .insight h4::before {
        content: ''; display: block;
        width: 32px; height: 2px;
        background: var(--emerald-400); margin-bottom: 12px;
    }
}

@media (min-width: 641px) {
    .problem-card { border-radius: 16px; padding: 36px 28px; }
    .insight { border-radius: 12px; border-color: rgba(255,255,255,.05); }
    .insight h4::before {
        content: ''; display: block;
        width: 32px; height: 2px;
        background: var(--emerald-400); margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    :root { --gutter: 18px; }
    .footer-bottom {
        flex-direction: column; gap: 8px;
        text-align: center; font-size: .78rem;
    }
    .footer-pledge { font-size: .75rem; }
}
