@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #101411;
    --panel: #f1eadc;
    --card: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.09);
    --text: #f7f3e9;
    --text-muted: #b4bcae;
    --ink: #111611;
    --accent: #9fbe72;
    --accent-warm: #d8b35b;
    --danger: #d48989;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
    height: 100%;
}

body.pitch-page {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    background: #0b0e0c;
}

body.pitch-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(159, 190, 114, 0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(216, 179, 91, 0.12), transparent 26%),
        linear-gradient(90deg, #111512 0%, #0b0e0c 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.deck-app {
    position: relative;
}

/* ===== Unified Deck Header ===== */
.deck-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 0;
    z-index: 110;
}

/* Left: Brand */
.deck-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: opacity 0.2s;
}

.deck-header-brand:hover {
    opacity: 0.8;
}

.deck-header-brand img {
    width: 32px;
    height: 32px;
}

.deck-header-brand-copy {
    display: flex;
    flex-direction: column;
}

.deck-header-eyebrow {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    line-height: 1.2;
}

.deck-header-brand strong {
    font-family: 'Nunito', sans-serif;
    font-size: 0.86rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;
}

/* Center: Progress nav */
.deck-header-center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 20px;
}

.deck-header-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: background 0.15s;
}

.deck-header-meta:hover {
    background: rgba(255,255,255,0.06);
}

.deck-header-counter {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold, #C9A84C);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    white-space: nowrap;
    font-family: 'Nunito', sans-serif;
}

.deck-header-sep {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.2);
}

.deck-header-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    letter-spacing: 0.02em;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deck-header-pills {
    flex: 1 1 240px;
    min-width: clamp(180px, 22vw, 420px);
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 8px 0;
    margin: -8px 0;
}

.deck-pill {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: background 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.deck-pill.is-active {
    background: linear-gradient(90deg, rgba(216, 179, 91, 0.92), rgba(235, 202, 116, 0.98));
}

.deck-header-nav-btn {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: all 0.15s ease;
}

.deck-header-nav-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
}

.deck-header-nav-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

/* Right: Actions */
.deck-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.deck-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
}

.deck-header-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(216,179,91,0.35);
    color: rgba(255,255,255,1);
}

.deck-header-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.deck-header-btn[aria-expanded="true"] {
    background: rgba(216,179,91,0.12);
    border-color: rgba(216,179,91,0.4);
    color: var(--gold, #C9A84C);
}

.deck-header-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Desktop: hide bottom bar */
.deck-bottom-bar {
    display: none;
}

.deck-bottom-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 60px;
    width: auto;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border-bottom: none;
    z-index: 100;
    box-shadow: none;
}

.deck-bottom-inner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(696px, 60vw);
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.deck-bottom-meta {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    min-width: clamp(220px, 24vw, 320px);
}

.deck-bottom-meta-trigger {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    font-family: 'Nunito', sans-serif;
    width: 100%;
    padding: 6px 10px;
    margin: 0 -10px;
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-align: left;
}

.deck-bottom-meta-trigger:hover {
    background: rgba(255, 255, 255, 0.06);
}

.deck-bottom-meta-trigger:focus-visible {
    outline: 1px solid rgba(216, 179, 91, 0.45);
    outline-offset: 0;
    background: rgba(216, 179, 91, 0.08);
}

.deck-bottom-meta-trigger[aria-expanded="true"] {
    background: rgba(216, 179, 91, 0.08);
}

.deck-bottom-counter {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    color: var(--accent-warm);
    font-weight: 800;
    letter-spacing: 0.02em;
    min-width: 52px;
    font-variant-numeric: tabular-nums;
}

.deck-bottom-title {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
    font-weight: 500;
}

.deck-bottom-controls {
    display: flex;
    gap: 2px;
}

.deck-bottom-controls .deck-control-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.7;
}

.deck-bottom-controls .deck-control-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.deck-bottom-controls .deck-control-btn svg {
    width: 20px;
    height: 20px;
}

.deck-bottom-expand {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 6px;
}

.deck-expand-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.deck-expand-btn:hover {
    background: var(--accent-warm);
    color: var(--ink);
}

.deck-bottom-progress {
    flex: 1 1 260px;
    min-width: clamp(180px, 22vw, 420px);
    height: 6px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.deck-bottom-progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(216, 179, 91, 0.92), rgba(235, 202, 116, 0.98));
    width: 0%;
    transition: width 0.3s ease;
}

/* ===== Header progress bar ===== */
.deck-header-progress {
    position: fixed;
    top: 0;
    left: 172px;
    right: 188px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 109;
    overflow: hidden;
    pointer-events: none;
    min-width: 0;
}

.deck-header-counter {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold, #C9A84C);
    letter-spacing: 0.06em;
    white-space: nowrap;
    font-family: 'Nunito', sans-serif;
    min-width: 52px;
    font-variant-numeric: tabular-nums;
}

.deck-header-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.deck-side-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    border-radius: 999px;
    background: rgba(12, 15, 12, 0.58);
    backdrop-filter: blur(14px);
    color: var(--text);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    z-index: 90;
    transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.deck-side-nav:hover:not(:disabled) {
    background: rgba(216, 179, 91, 0.18);
}

.deck-side-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.deck-side-nav--prev {
    left: 22px;
}

.deck-side-nav--next {
    right: 22px;
}

.deck-side-nav--prev:hover:not(:disabled) {
    transform: translateY(-50%) translateX(-2px);
}

.deck-side-nav--next:hover:not(:disabled) {
    transform: translateY(-50%) translateX(2px);
}



.deck-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.deck-grid-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.deck-grid-content {
    position: absolute;
    top: 72px;
    left: 0;
    width: min(420px, calc(100vw - 24px));
    max-height: min(74vh, 680px);
    display: flex;
    flex-direction: column;
    background: rgba(17, 21, 17, 0.97);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: transform 0.22s ease, opacity 0.22s ease;
    opacity: 0;
    backdrop-filter: blur(18px);
}

.deck-grid-overlay.is-open .deck-grid-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.deck-grid-header {
    padding: 18px 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.02);
}

.deck-grid-header h3 {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.deck-grid-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.deck-grid-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.deck-grid-nav {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 179, 91, 0.28) transparent;
    scrollbar-gutter: stable;
}

.deck-grid-nav::-webkit-scrollbar {
    width: 5px;
}

.deck-grid-nav::-webkit-scrollbar-track {
    background: transparent;
}

.deck-grid-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.16), rgba(216, 179, 91, 0.32));
    border-radius: 999px;
}

.deck-grid-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.3), rgba(216, 179, 91, 0.52));
}

.rail-nav-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s ease;
}

.rail-nav-group.is-active {
    border-left-color: rgba(216, 179, 91, 0.4);
}

.rail-nav-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rail-nav-group-index {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent-warm);
    letter-spacing: 0.08em;
}

.rail-nav-group-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.rail-nav-group-head--tree {
    position: relative;
}

.rail-nav-group-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-left: 12px;
    padding-left: 16px;
    border-left: 1px dashed rgba(255, 255, 255, 0.08);
}

.rail-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.rail-nav-link--tree {
    position: relative;
}

.rail-nav-link--group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 12px;
    margin: 0 -12px;
    border-radius: 999px;
    background: transparent;
    border: none;
    transition: background 0.22s ease, color 0.22s ease;
}

.rail-nav-link--group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
    transform: none;
}

.rail-nav-link--group.is-active {
    background: rgba(216, 179, 91, 0.12);
    border-color: transparent;
    transform: none;
}

.rail-nav-link--group.is-active .rail-nav-group-index,
.rail-nav-link--group.is-active .rail-nav-group-title,
.rail-nav-link--group.is-active .rail-nav-group-sub {
    color: var(--accent-warm);
}

.rail-nav-link--group.is-active .rail-nav-group-title {
    font-weight: 800;
}

.rail-nav-group-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.rail-nav-link--child {
    position: relative;
    padding: 7px 12px 7px 16px;
    border-radius: 12px;
    background: transparent;
    border: none;
}

.rail-nav-link--tree-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.rail-nav-link--tree-child .rail-nav-label {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.42;
}

.rail-nav-link:hover,
.rail-nav-link.is-active {
    color: var(--text);
    border-color: var(--accent-warm);
    background: rgba(216, 179, 91, 0.1);
    transform: translateY(-2px);
}

.rail-nav-link--tree-child:hover,
.rail-nav-link--tree-child.is-active {
    background: rgba(216, 179, 91, 0.1);
    border-color: rgba(216, 179, 91, 0.14);
    transform: none;
}

.rail-nav-link--tree-child.is-active .rail-nav-label {
    color: var(--accent-warm);
    font-weight: 700;
}

.rail-nav-link--tree-child.is-active::before {
    background: rgba(216, 179, 91, 0.55);
}

.rail-nav-index {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-warm);
}

.rail-nav-label {
    font-size: 0.95rem;
    font-weight: 600;
}

.deck-root {
    margin-left: 0;
    margin-top: 60px;
    height: calc(100vh - 60px);
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.deck-root::-webkit-scrollbar {
    display: none;
}

.deck-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 30px 64px;
    scroll-snap-align: center;
    opacity: 0.84;
    transition: opacity 0.4s ease;
}

.deck-slide.is-active {
    opacity: 1;
}

@media (min-width: 1025px) {
    html {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
    }

    body.pitch-page {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .deck-app {
        min-height: 100vh;
    }

    .deck-header {
        height: 0;
        padding: 0;
        pointer-events: none;
        z-index: 120;
    }

    .deck-header-brand,
    .deck-header-actions,
    .deck-header-center,
    .deck-header-meta--floating {
        pointer-events: auto;
    }

    .deck-header-brand {
        position: fixed;
        top: 18px;
        left: 22px;
        z-index: 121;
        padding: 0;
        border-right: none;
        border-radius: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .deck-header-actions {
        position: fixed;
        top: 18px;
        right: 22px;
        z-index: 121;
        padding: 0;
        gap: 6px;
        border-left: none;
        border-radius: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .deck-header-center {
        position: fixed;
        top: 50%;
        right: 22px;
        z-index: 121;
        transform: translateY(-50%);
        flex: none;
        width: 92px;
        min-width: 0;
        padding: 0;
        gap: 14px;
        flex-direction: column;
        border-radius: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .deck-header-meta {
        position: fixed;
        top: 18px;
        left: 50%;
        z-index: 121;
        transform: translateX(-50%);
        width: auto;
        padding: 0;
        gap: 8px;
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .deck-header-meta:hover,
    .deck-header-meta:focus-visible {
        background: transparent;
        outline: none;
    }

    .deck-header-sep {
        display: inline;
    }

    .deck-header-title {
        display: block;
        max-width: 320px;
        font-size: 0.76rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }

    .deck-header-counter {
        min-width: 0;
        font-size: 0.74rem;
    }

    .deck-header-pills {
        width: auto;
        min-width: 0;
        flex: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .deck-pill {
        width: 9px;
        height: 9px;
        flex: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
        box-shadow: none;
    }

    .deck-header-nav-btn {
        width: 28px;
        height: 28px;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .deck-header-nav-btn:hover:not(:disabled) {
        background: transparent;
        border-color: transparent;
        color: rgba(255,255,255,1);
    }

    .deck-header-btn {
        width: 28px;
        height: 28px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .deck-header-btn:hover {
        background: transparent;
        border-color: transparent;
        color: rgba(255,255,255,1);
    }

    .deck-header-btn[aria-expanded="true"] {
        background: transparent;
        border-color: transparent;
    }

    .deck-bottom-bar,
    .deck-side-nav {
        display: none !important;
    }

    .deck-root {
        margin-top: 0;
        height: auto;
        display: block;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0 0 42px;
    }

    .deck-slide,
    .deck-slide.deck-slide--hero {
        width: 100%;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        flex: none;
        display: flex;
        align-items: center;
        padding: 30px 56px;
        opacity: 1;
        scroll-snap-align: none;
        scroll-margin-top: 0;
        position: relative;
    }

    .deck-slide + .deck-slide::before {
        content: "";
        position: absolute;
        top: 0;
        left: 56px;
        right: 56px;
        height: 1px;
        background: linear-gradient(90deg, rgba(216, 179, 91, 0), rgba(216, 179, 91, 0.4), rgba(216, 179, 91, 0));
    }

    .slide-shell {
        width: min(1240px, 100%);
        max-width: 100%;
    }
}

.slide-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.slide-header {
    margin-bottom: 26px;
}

.slide-kicker,
.mini-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-warm);
}

.slide-title {
    margin: 14px 0 14px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--text);
}

.slide-title--hero {
    font-size: clamp(2.8rem, 5.4vw, 5.8rem);
}

.slide-subtitle {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    color: #e7efe3;
}

.hero-highlight {
    color: var(--accent-warm);
    font-weight: 700;
}

.slide-lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.slide-source-link {
    display: inline;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(231, 239, 227, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.slide-source-link:hover {
    opacity: 0.75;
}

.surface-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.surface-card--warm {
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.18), rgba(255, 255, 255, 0.04));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 42px;
    align-items: center;
}

.hero-copy {
    padding: 32px 12px 32px 0;
}

.founder-story-sheet {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    padding: 24px 26px;
    background:
        radial-gradient(circle at top left, rgba(216, 179, 91, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.founder-story-rail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-story-avatar-wrap {
    width: 156px;
    height: 188px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.founder-story-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.founder-story-sign {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.founder-story-sign .mini-kicker {
    margin-bottom: 2px;
}

.founder-story-sign strong {
    font-size: 0.96rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.94);
}

.founder-story-sign span:last-child {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(231, 239, 227, 0.56);
}

.founder-story-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    max-height: min(39.4vh, 435px);
    overflow-y: auto;
    margin-right: -8px;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 179, 91, 0.28) transparent;
}

.founder-story-copy::-webkit-scrollbar {
    width: 5px;
}

.founder-story-copy::-webkit-scrollbar-track {
    background: transparent;
}

.founder-story-copy::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.16), rgba(216, 179, 91, 0.34));
    border-radius: 999px;
}

.founder-story-copy::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.22), rgba(216, 179, 91, 0.44));
}

.founder-story-copy p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.74;
    color: rgba(231, 239, 227, 0.8);
}

.founder-story-copy .founder-story-highlight,
.founder-story-highlight {
    font-weight: 700;
    color: rgb(216, 179, 91);
}

.founder-story-copy .founder-story-bold,
.founder-story-bold {
    font-weight: 700;
    color: #ffffff;
}

.founder-story-closing {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
}

.founder-story-next-link {
    display: block;
    text-align: right;
    width: 100%;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgb(216, 179, 91);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.founder-story-next-link:hover {
    opacity: 0.75;
}

.pill-row,
.formula-row,
.flow-row,
.hero-funding-grid,
.funding-grid,
.exit-grid,
.stat-grid,
.annual-grid,
.lane-grid,
.criteria-grid,
.principle-grid,
.marketing-grid,
.market-grid,
.roadmap-grid {
    display: grid;
    gap: 16px;
}

.pill-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
}

.flow-chip-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    color: var(--gold, #C9A84C);
    flex-shrink: 0;
}

.flow-chip-icon svg {
    width: 14px;
    height: 14px;
}

.flow-arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(240, 200, 74, 0.4));
}

.flow-arrow svg {
    width: 24px;
    height: 14px;
}

.pill,
.flow-chip,
.formula-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text);
}

.hero-actions,
.closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.01em;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 179, 91, 0.45);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.action-btn--primary {
    color: var(--ink);
    background: linear-gradient(135deg, var(--accent-warm), #ebcf82);
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(216, 179, 91, 0.22);
}

.action-btn--primary:hover {
    background: linear-gradient(135deg, #e3c168, #f0d78f);
}

.hero-panel,
.signal-card,
.market-card,
.lane-card,
.criteria-card,
.principle-card,
.marketing-card,
.stat-card,
.annual-card,
.finance-quarter-card,
.exit-card,
.funding-option-card,
.pnl-row-card,
.cap-card,
.note-card,
.flow-card,
.economics-hero-card,
.economics-detail-card,
.roadmap-card,
.synapp-brand-card,
.finance-summary-card,
.midpoint-card,
.closing-card {
    padding: 22px;
}

.hero-panel-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.hero-panel-brand h2 {
    margin: 8px 0 0;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.6rem, 2vw, 2.3rem);
}

.hero-offer-block {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-offer-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.hero-offer-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.2px;
}

.hero-offer-col:last-child {
    align-items: flex-end;
    text-align: right;
}

.hero-offer-label {
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.hero-offer-num {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.98rem, 2.86vw, 2.64rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.hero-offer-num--gold {
    color: var(--gold, #C9A84C);
}

.hero-offer-sub {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.hero-offer-divider {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.45);
    padding: 0 28px;
    padding-top: 14px;
    font-weight: 700;
}

.hero-offer-note {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.04em;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 12px;
}

.funding-teaser-card {
    padding: 24px 28px;
}

.funding-teaser-card strong {
    display: block;
    margin: 12px 0 8px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.2rem, 3vw, 3rem);
}

.funding-teaser-card p,
.hero-footnote,
.note-card p,
.criteria-card p,
.principle-card p,
.marketing-card p,
.lane-card p,
.signal-card p,
.market-card p,
.exit-card p,
.closing-card p,
.midpoint-card strong,
.pnl-row-copy p,
.annual-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.hero-footnote {
    margin-top: 18px;
    font-size: 0.9rem;
}

.two-col-layout,
.synapp-layout,
.economics-grid,
.pnl-layout {
    display: grid;
    gap: 20px;
}

.two-col-layout,
.synapp-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.stack-column,
.signal-grid,
.finance-groups {
    display: grid;
    gap: 18px;
}

.team-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
}

.team-media {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.team-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    margin: 0 0 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.35rem;
}

.team-role {
    margin: 0 0 14px;
    color: var(--accent-warm);
    font-size: 0.98rem;
}

.bullet-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    line-height: 1.8;
}

.signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signal-grid--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-card h3,
.market-card strong,
.criteria-card h3,
.principle-card h3,
.cap-card strong,
.roadmap-head strong,
.funding-option-card strong,
.exit-card strong,
.annual-card strong,
.economics-hero-card strong,
.closing-card h2,
.synapp-logo-row strong {
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

.signal-card h3,
.criteria-card h3,
.principle-card h3 {
    margin-top: 10px;
    font-size: 1.18rem;
}

.signal-card--dark {
    background: rgba(19, 26, 20, 0.72);
}

.signal-index,
.criteria-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: rgba(216, 179, 91, 0.15);
    color: var(--accent-warm);
    font-family: 'Nunito', sans-serif;
}

.lane-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.08);
    border-left: 3px solid var(--gold, #C9A84C);
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.lane-note-icon {
    color: var(--gold, #C9A84C);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.lane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slide-title-sub {
    font-size: 0.55em;
    font-weight: 400;
    opacity: 0.5;
    letter-spacing: 0;
}

.lane-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.lane-index {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold, #C9A84C);
    opacity: 0.35;
    line-height: 1;
    font-family: 'Nunito', sans-serif;
}

.lane-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold, #C9A84C);
    margin-bottom: 16px;
}

.lane-icon svg {
    width: 26px;
    height: 26px;
}

.stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-grid,
.criteria-grid,
.principle-grid,
.marketing-grid,
.roadmap-grid,
.funding-grid,
.annual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-card strong {
    display: block;
    margin: 12px 0 8px;
    font-size: clamp(2rem, 2.8vw, 3rem);
}

.market-card--highlight {
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(216, 179, 91, 0.35);
}

.market-card--highlight .market-tier {
    color: var(--accent-warm);
}

.market-card--highlight strong {
    color: var(--accent-warm);
}

.market-tier {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-warm);
}

.market-tier-full {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    margin-bottom: 8px;
    letter-spacing: 0;
    text-transform: none;
}

.quote-card {
    margin-top: 18px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(159, 190, 114, 0.12), rgba(255, 255, 255, 0.04));
}

.quote-card p {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.5;
}

.stat-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    color: var(--accent-warm);
}

.stat-card span {
    color: var(--text-muted);
}

.stat-card--highlight {
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(216, 179, 91, 0.35);
    box-shadow: 0 0 24px rgba(216, 179, 91, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}

.stat-card--highlight strong {
    color: var(--gold, #C9A84C);
}

.flow-card {
    margin-top: 18px;
}

.flow-row,
.formula-row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
}

.formula-block {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #fff);
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.formula-line {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #fff);
}

.cap-card {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.cap-card strong {
    font-size: clamp(3.2rem, 4.8vw, 4.8rem);
}

.economics-grid {
    grid-template-columns: 420px minmax(0, 1fr);
}

.pnl-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: stretch;
}

.economics-hero-card,
.economics-detail-card {
    display: grid;
    gap: 18px;
    align-content: center;
}

.economics-hero-card {
    text-align: center;
    align-items: center;
    justify-items: center;
    align-content: center;
    gap: 6px;
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(216, 179, 91, 0.35);
    box-shadow: 0 0 24px rgba(216, 179, 91, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}

.economics-hero-card strong {
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    color: var(--accent-warm);
}

.economics-hero-card p {
    margin: 0;
}

.roadmap-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.roadmap-head strong {
    font-size: 1.1rem;
}

.roadmap-quarter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.roadmap-quarter {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-quarter span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.roadmap-quarter strong {
    display: block;
    margin: 12px 0 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-warm);
}

.roadmap-quarter p,
.finance-summary-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.synapp-brand-card {
    display: grid;
    gap: 20px;
}

.synapp-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.synapp-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 124px;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.synapp-logo-frame:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.synapp-logo-frame-img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.finance-summary-card {
    margin-bottom: 18px;
}

.metric-list {
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}

.metric-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
}

.metric-list dt {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.metric-list dd {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
}

.annual-card strong {
    display: block;
    margin: 10px 0 6px;
    font-size: clamp(1.8rem, 2.6vw, 2.8rem);
    color: var(--accent-warm);
}

.finance-year-group {
    display: grid;
    gap: 14px;
}

.finance-year-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.finance-year-head strong {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
}

.finance-quarter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.finance-quarter-card--positive {
    border-color: rgba(159, 190, 114, 0.22);
}

.finance-quarter-card--negative {
    border-color: rgba(212, 137, 137, 0.25);
}

.midpoint-card {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 24px;
}

.midpoint-card strong {
    font-size: 1.4rem;
    line-height: 1.5;
}

.pnl-grid {
    display: grid;
    gap: 14px;
}

.pnl-row-card {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(240px, 340px);
    gap: 18px;
    align-items: center;
}

.pnl-row-copy strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
}

.pnl-row-copy p {
    margin: 0;
    font-size: 0.92rem;
}

.pnl-bar-wrap {
    display: grid;
    gap: 10px;
}

.pnl-bar {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.pnl-bar-range {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(159, 190, 114, 0.5), rgba(216, 179, 91, 0.75));
}

.pnl-bar-midpoint {
    position: absolute;
    top: -5px;
    width: 2px;
    height: 24px;
    background: #ffffff;
    border-radius: 999px;
}

.pnl-range-label {
    font-family: 'Nunito', sans-serif;
    color: var(--accent-warm);
    font-size: 0.95rem;
}

.funding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ===== Funding slide redesign (slide-16) ===== */
.fund-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    flex: 1;
    min-height: 0;
}

#slide-16 .slide-header {
    margin-bottom: 20px;
}

#slide-16 .slide-title {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    margin: 10px 0 10px;
}

.fund-offer-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding: 28px 24px;
}

.fund-offer-amount {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    color: var(--accent-warm);
    line-height: 1;
    margin-top: 8px;
}

.fund-offer-equity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}

.fund-offer-equity-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(240, 200, 74, 0.28));
}

.fund-offer-equity-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fund-offer-metrics {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: auto;
}

.fund-metric {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 0;
}

.fund-metric-sep {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fund-metric-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}

.fund-metric-val {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.fund-exits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.fund-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fund-cta-btn {
    flex-shrink: 0;
}

.fund-cta-note {
    margin: 0;
    font-size: 0.80rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.5;
}

.fund-cta-note strong {
    color: rgba(255,255,255,0.62);
    font-weight: 600;
}

.fund-exit-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 28px;
}

.fund-exit-card strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.fund-exit-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.funding-option-card strong {
    display: block;
    margin: 10px 0 14px;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.exit-grid {
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.closing-card {
    padding: 38px;
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.14), rgba(255, 255, 255, 0.04));
}

/* ===== Closing slide redesign (slide-19) ===== */
.closing-shell {
    display: flex;
    align-items: center;
    gap: 32px;
}

.closing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.closing-main .slide-title {
    margin: 0;
}

.closing-priority {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.55;
    padding: 12px 16px;
    border-left: 2px solid rgba(216,179,91,0.35);
    background: rgba(216,179,91,0.05);
    border-radius: 0 8px 8px 0;
}

.closing-priority strong {
    color: rgba(255,255,255,0.70);
    font-weight: 600;
}

.closing-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.closing-btn-company {
    align-self: flex-start;
}

.closing-btn-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.60;
    margin-bottom: 2px;
}

.closing-btn-sub {
    display: block;
    font-size: 0.90rem;
    font-weight: 600;
}

.closing-founder-block {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px 22px;
    min-width: 360px;
}

.closing-founder-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.closing-founder-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(216,179,91,0.30);
}

.closing-founder-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.closing-founder-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.closing-founder-info strong {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text);
}

.closing-founder-info span {
    font-size: 0.70rem;
    color: var(--text-muted);
}

.closing-founder-email {
    font-size: 0.82rem;
    color: var(--accent-warm);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.closing-founder-email:hover {
    text-decoration: underline;
}

.closing-founder-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.closing-founder-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--accent-warm);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.22);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.closing-founder-social svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.closing-founder-social-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.closing-founder-social--zalo {
    color: #7fb0ff;
    background: rgba(0, 104, 255, 0.08);
    border-color: rgba(0, 104, 255, 0.42);
}

.closing-founder-social:hover {
    opacity: 0.7;
}

.closing-zalo-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-width: 120px;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,0.08);
}

.closing-zalo-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.closing-zalo-qr {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.closing-zalo-note {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
    line-height: 1.4;
    padding: 6px 8px;
    border-top: 1px solid rgba(255,255,255,0.07);
    width: 100%;
}



@media (max-width: 1280px) {
    .signal-grid--wide,
    .finance-quarter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .founder-story-sheet,
    .two-col-layout,
    .synapp-layout,
    .hero-grid,
    .pnl-layout {
        grid-template-columns: 1fr;
    }

    .economics-grid {
        grid-template-columns: 1fr;
    }

    .founder-story-rail {
        flex-direction: row;
        align-items: center;
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Tablet range: collapse 3-col grids to 2-col, reduce slide padding */
@media (max-width: 1024px) {
    .market-grid,
    .criteria-grid,
    .principle-grid,
    .marketing-grid,
    .roadmap-grid,
    .funding-grid,
    .annual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .principle-grid,
    .marketing-split {
        grid-template-columns: 1fr;
    }

    .deck-slide-content {
        padding: 24px 28px;
    }

    .lane-index {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }
}

@media (max-width: 960px) {
    .deck-side-nav {
        display: none;
    }

    .deck-header {
        display: none;
    }

    .deck-bottom-bar {
        display: block;
        position: fixed;
        top: 8px;
        left: 8px;
        right: 8px;
        height: auto;
        width: auto;
        z-index: 110;
    }

    .deck-bottom-inner {
        padding: 8px 12px;
        gap: 12px;
    }

    .deck-bottom-title {
        max-width: 120px;
        font-size: 0.8rem;
    }

    .deck-bottom-meta {
        min-width: 0;
    }

    .founder-story-sheet {
        gap: 20px;
        padding: 22px 20px;
    }

    .founder-story-avatar-wrap {
        width: 120px;
        height: 144px;
        border-radius: 22px;
    }

    .founder-story-copy {
        gap: 12px;
    }

    .founder-story-copy p,
    .founder-story-copy p:first-child {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .founder-story-copy p:first-child::first-letter {
        font-size: 2.2rem;
    }

    .deck-root {
        flex-direction: column;
        height: auto;
        margin-top: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    html {
        overflow: auto;
        height: auto;
    }

    body.pitch-page {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .deck-slide {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100vw;
        height: auto;
        min-height: auto;
        display: block;
        padding: 72px 20px 60px;
        opacity: 1;
        scroll-snap-align: none;
    }

    .slide-shell {
        width: 100%;
        max-width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: -1;
    }

    .deck-grid-nav {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .closing-shell {
        flex-direction: column;
        align-items: stretch;
    }

    .closing-founder-block {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .gallery-grid,
    .signal-grid--wide,
    .market-grid,
    .criteria-grid,
    .principle-grid,
    .marketing-grid,
    .roadmap-grid,
    .funding-grid,
    .annual-grid,
    .lane-grid,
    .stat-grid,
    .exit-grid,
    .finance-quarter-grid {
        grid-template-columns: 1fr;
    }

    .deck-slide-content {
        padding: 20px 16px;
    }

    .slide-title {
        font-size: clamp(1.35rem, 5.5vw, 2rem);
    }

    .investor-chatbot {
        right: 12px;
        bottom: 12px;
    }

    .investor-chatbot-panel {
        width: calc(100vw - 24px);
    }

    .investor-chatbot-panel-shell {
        min-height: min(60vh, 420px);
        max-height: min(72vh, 560px);
    }

    .investor-chatbot-launch-icon {
        width: 48px;
        height: 48px;
    }

    .fs-toast {
        bottom: 84px;
        left: 8px;
        right: 8px;
        transform: none;
        max-width: calc(100vw - 16px);
        padding: 12px 14px;
        flex-wrap: wrap;
    }

    .fs-toast.is-hidden {
        transform: translateY(16px);
    }

    .fs-toast-body strong {
        font-size: 0.78rem;
    }

    .fs-toast-body span {
        font-size: 0.72rem;
    }

    .hero-panel,
    .signal-card,
    .market-card,
    .lane-card,
    .criteria-card,
    .principle-card,
    .marketing-card,
    .stat-card,
    .annual-card,
    .finance-quarter-card,
    .exit-card,
    .funding-option-card,
    .pnl-row-card,
    .cap-card,
    .note-card,
    .flow-card,
    .economics-hero-card,
    .economics-detail-card,
    .roadmap-card,
    .synapp-brand-card,
    .finance-summary-card,
    .midpoint-card,
    .closing-card {
        padding: 18px;
    }

    .closing-founder-block {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .closing-founder-main {
        align-items: center;
    }

    .closing-zalo-inline {
        width: 100%;
        padding-left: 0;
        padding-top: 14px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rail-nav-link,
    .action-btn,
    .deck-control-btn,
    .deck-slide {
        transition: none;
    }
}

.deck-top-actions {
    position: fixed;
    top: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    z-index: 110;
}

.top-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--card-border);
    color: var(--text);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.top-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-warm);
}

.top-action-btn[aria-expanded="true"] {
    background: rgba(216, 179, 91, 0.12);
    border-color: rgba(216, 179, 91, 0.4);
    color: var(--accent-warm);
}

.top-action-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


@media (max-width: 768px) {
    .deck-top-actions {
        top: 16px;
        right: 16px;
    }
}

/* ===== Team v2 — founder prominent layout ===== */
.team-cards-row {
    display: grid;
    grid-template-columns: minmax(0, 0.864fr) minmax(0, 0.96fr) minmax(0, 0.536fr);
    gap: 20px;
    align-items: stretch;
}

.team-cofounders-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
}

.team-openings-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
}

.team-layout-v3 {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.team-members-grid {
    display: contents;
}

.team-member-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px 18px;
    min-height: 100%;
    min-width: 0;
}

.team-member-card--founder {
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.1), rgba(255, 255, 255, 0.04));
    padding: 24px 20px 20px;
}

.team-member-photo-wrap {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 18px;
    border: 2px solid rgba(216, 179, 91, 0.3);
    box-shadow: 0 0 0 5px rgba(216, 179, 91, 0.06);
}

.team-member-photo-wrap--founder {
    width: 112px;
    height: 112px;
    border-width: 2px;
    box-shadow: 0 0 0 5px rgba(216, 179, 91, 0.06);
}

.team-member-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-member-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
}

.team-member-name {
    margin: 0 0 4px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
}

.team-member-name--founder {
    font-size: 1.18rem;
}

.team-member-role {
    margin: 0 0 10px;
    font-size: 0.72rem;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bullet-list--compact {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bullet-list--compact li {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.team-opening-side {
    display: contents;
}

/* Founder card — large */
.team-card-v2--founder {
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(145deg, rgba(216, 179, 91, 0.1), rgba(255, 255, 255, 0.04));
    position: relative;
}

.team-photo-wrap--founder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 24px;
    border: 3px solid rgba(216, 179, 91, 0.55);
    box-shadow: 0 0 0 8px rgba(216, 179, 91, 0.1);
}

.team-name--founder {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
}

/* Co-founder cards — compact horizontal */
.team-card-v2--cofounder {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    flex: 1;
    min-height: 0;
}

.team-photo-wrap--cofounder {
    width: 123px;
    height: 123px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(216, 179, 91, 0.3);
    box-shadow: 0 0 0 5px rgba(216, 179, 91, 0.06);
}

/* Shared photo img */
.team-photo-wrap--founder img,
.team-photo-wrap--cofounder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    width: 100%;
}

.team-info .team-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.team-info .team-role {
    font-size: 0.72rem;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
}

.team-card-v2--founder .team-info {
    text-align: left;
    align-items: flex-start;
}

.founder-bullet {
    margin: 0 0 6px;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.founder-linkedin-link {
    position: absolute;
    top: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-warm);
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.founder-linkedin-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.founder-linkedin-link:hover {
    opacity: 0.7;
}

.team-slot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    padding: 20px 18px 18px;
    overflow: hidden;
    background: var(--card);
    border: 1px dashed var(--card-border);
    box-shadow: var(--shadow);
    flex: 1;
}

.team-slot-card--single {
    width: auto;
    max-width: none;
    min-height: 100%;
    padding: 18px 16px 16px;
}

.team-slot-card--single .team-slot-avatar {
    width: 112px;
    height: 112px;
}

.team-slot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.team-slot-badge {
    color: var(--accent-warm);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: -2px 0 2px;
}

.team-slot-index {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(231, 239, 227, 0.42);
}

.team-slot-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-slot-avatar {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(216, 179, 91, 0.3);
    box-shadow: 0 0 0 5px rgba(216, 179, 91, 0.06);
    margin-bottom: 6px;
}

.team-slot-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
}

.team-slot-copy {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ===== Differentiators 2×2 grid ===== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ===== Differentiators split layout ===== */
.diff-split {
    display: grid;
    grid-template-columns: 1fr 48px 300px;
    gap: 16px;
    align-items: stretch;
}

.diff-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
}

.diff-arrow-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.35), transparent);
}

.diff-arrow-line--top {
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.25));
}

.diff-arrow-line--bot {
    background: linear-gradient(to bottom, rgba(201,168,76,0.25), transparent);
}

.diff-arrow-head {
    flex-shrink: 0;
    width: 28px;
    height: 48px;
    filter: drop-shadow(0 0 6px rgba(240,200,74,0.5));
}

.diff-split-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diff-row-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    flex: 1;
}

.diff-row-img-wrap {
    width: 120px;
    flex-shrink: 0;
    align-self: stretch;
    overflow: hidden;
    border-radius: 8px;
}

.diff-row-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.diff-row-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold, #C9A84C);
    margin-bottom: 10px;
}

.diff-row-icon svg {
    width: 22px;
    height: 22px;
}

.diff-row-body {
    flex: 1;
}

.diff-row-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
}

.diff-row-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.diff-wf-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.diff-wf-img-wrap {
    display: block;
    flex: 1;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    min-height: 0;
}

.diff-wf-img {
    width: 100%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
    display: block;
}

.diff-wf-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 16px 14px;
    text-align: center;
}

.diff-wf-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold, #C9A84C);
    letter-spacing: 0.02em;
}

.diff-wf-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

.diff-wf-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.diff-wf-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.diff-wf-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.diff-card {
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    align-items: stretch;
}

.diff-img-wrap {
    width: 208px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px 16px 16px;
}

.diff-img {
    width: 166px;
    height: 166px;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
    object-position: top center;
}

.diff-card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.diff-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(216, 179, 91, 0.12);
    color: var(--accent-warm);
    flex-shrink: 0;
}

.diff-icon svg {
    width: 26px;
    height: 26px;
}

.diff-detail-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-warm);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-align: left;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.diff-detail-link:hover {
    opacity: 0.75;
}

/* ===== Lightbox ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-inner {
    position: relative;
    max-width: min(90vw, 860px);
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.traction-inner {
    max-width: min(94vw, 1280px) !important;
    overflow: hidden;
    padding: 20px !important;
}

.traction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.traction-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.traction-caption {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    padding: 10px 14px 8px;
    background: #111;
    flex-shrink: 0;
}

.traction-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.lightbox-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.85);
}

/* ===== Market issue popup ===== */
.lightbox-inner--wide {
    max-width: min(94vw, 1080px);
    height: 90vh;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mip-sticky-header {
    flex-shrink: 0;
    background: #1a1a1a;
    padding: 36px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mip-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mip-close-btn {
    position: static !important;
    flex-shrink: 0;
    margin-top: -4px;
}

.mip-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.5;
}

.mip-scroll-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 0 40px 40px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 179, 91, 0.35) transparent;
}

.mip-scroll-body::-webkit-scrollbar {
    width: 4px;
}

.mip-scroll-body::-webkit-scrollbar-track {
    background: transparent;
}

.mip-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(216, 179, 91, 0.35);
    border-radius: 999px;
}

.mip-scroll-body::-webkit-scrollbar-thumb:hover {
    background: rgba(216, 179, 91, 0.6);
}

.mip-title-highlight {
    color: var(--accent-warm);
}

.mip-row-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
}

.mip-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mip-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-warm);
    margin: 0;
}

.mip-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0;
}

.mip-media {
    display: flex;
    gap: 8px;
}

.mip-media--grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mip-media--grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mip-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.mip-summary {
    margin: 0;
    padding: 10px 12px;
    border-left: 2px solid var(--accent-warm);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    background: rgba(216, 179, 91, 0.06);
    border-radius: 0 4px 4px 0;
}

/* ===== Principle slide layout ===== */
.principle-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principle-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.principle-pillar-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 24px;
    align-items: center;
    padding: 20px 24px;
    border-left: 3px solid var(--gold, #C9A84C);
    background: rgba(201, 168, 76, 0.05);
    border-radius: 0 10px 10px 0;
}

.principle-pillar-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold, #C9A84C);
    opacity: 1;
    line-height: 1;
    font-family: 'Nunito', sans-serif;
    text-align: center;
}

.principle-pillar-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.principle-pillar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201,168,76,0.12);
    color: var(--gold, #C9A84C);
    flex-shrink: 0;
}

.principle-pillar-icon svg {
    width: 20px;
    height: 20px;
}

.principle-pillar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.principle-pillar-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.principle-types-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--gold, #C9A84C);
    margin: 0 0 10px;
}

.principle-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.principle-type-card {
    padding: 20px 22px;
}

.principle-type-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.principle-type-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(201,168,76,0.1);
    color: var(--gold, #C9A84C);
    flex-shrink: 0;
}

.principle-type-icon svg {
    width: 18px;
    height: 18px;
}

.principle-type-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.principle-type-badges {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.principle-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--gold, #C9A84C);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.principle-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.principle-type-list li {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
    padding-left: 14px;
    position: relative;
}

.principle-type-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gold, #C9A84C);
}

/* ===== Principle type logos ===== */
.principle-type-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.principle-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.principle-logo-link:hover {
    transform: scale(1.1);
    border-color: var(--gold, #C9A84C);
    box-shadow: 0 0 8px rgba(201,168,76,0.35);
}

.principle-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.principle-logo-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(201,168,76,0.35);
    color: rgba(201,168,76,0.7);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ===== Checklist style (slides 08, 09, 10) ===== */
.criteria-card,
.principle-card,
.marketing-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(216, 179, 91, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(216, 179, 91, 0.2);
}

.marketing-card p {
    font-weight: 600;
}

.checklist-tick {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checklist-content h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.checklist-content p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.criteria-split {
    display: grid;
    grid-template-columns: 1fr 40px 360px;
    gap: 0 8px;
    align-items: stretch;
}

.criteria-split .criteria-grid {
    max-width: none !important;
}

.criteria-brace {
    display: flex;
    align-items: stretch;
}

.criteria-brace svg {
    width: 32px;
    height: 100%;
    filter: drop-shadow(0 0 4px rgba(240,200,74,0.25));
}

.criteria-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 32px 28px;
    background: linear-gradient(145deg, rgba(201,168,76,0.1), rgba(255,255,255,0.03));
    border: 1px solid rgba(201,168,76,0.25);
}

.criteria-result-icon svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 10px rgba(240,200,74,0.3));
}

.criteria-result-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold, #C9A84C);
    margin: 0;
}

.criteria-result-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

.criteria-result-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    line-height: 1.55;
}

.principle-grid,
.marketing-split {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 20px;
    align-items: stretch;
}

.criteria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.marketing-grid {
    grid-template-columns: 1fr !important;
    max-width: none;
    gap: 20px !important;
}

.marketing-split .cap-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ===== Roadmap table (slide-12) ===== */
.rm-table {
    padding: 0;
    overflow: hidden;
}

.rm-footnote {
    margin-top: 14px;
}

.rm-footnote-mark {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-warm);
}

.rm-footnote p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.rm-footnote-highlight {
    color: var(--accent-warm);
    font-weight: 800;
}

.rm-footnote-link {
    color: rgba(231, 239, 227, 0.5);
    font-weight: 500;
    font-size: 0.84rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.rm-footnote-link:hover {
    opacity: 0.75;
}

.rm-head,
.rm-row {
    display: grid;
    grid-template-columns: 180px repeat(4, 1fr);
}

.rm-head {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rm-head-cell {
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-warm);
}

.rm-row {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rm-row:last-child {
    border-bottom: none;
}

.rm-year-cell {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.rm-year-cell strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-warm);
}

.rm-year-cell span {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.rm-qtr-cell {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.rm-qtr-cell:last-child {
    border-right: none;
}

.rm-qtr-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.rm-qtr-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.rm-qtr-note {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.rm-qtr-cell--has-logo {
    position: relative;
}

.rm-logo-corner {
    position: absolute;
    top: 10px;
    right: 10px;
}

.rm-logo-named {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.rm-logo-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.rm-logo-label--tba {
    color: rgba(255,255,255,0.3);
    font-style: italic;
}

.rm-logo-placeholder {
    cursor: default;
    background: transparent;
    border-color: rgba(255,255,255,0.15);
    filter: grayscale(1) brightness(0.65);
    opacity: 0.5;
}

.rm-placeholder-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.rm-logo-inner-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255,255,255,0.20);
    flex-shrink: 0;
}

.rm-logo-placeholder svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255,255,255,0.8);
}

.rm-logo--unreleased {
    filter: grayscale(1) brightness(0.65);
    opacity: 0.5;
}

.rm-logo--special {
    filter: none;
    opacity: 1;
    border-color: var(--gold, #C9A84C);
    box-shadow: 0 0 8px rgba(201,168,76,0.35);
}

.rm-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold, #C9A84C);
}

/* ===== Quarterly finance table (slide-15) ===== */
.fq-table-wrap {
    padding: 0;
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc((100vh - 260px) * 0.70);
    scrollbar-width: thin;
    scrollbar-color: rgba(216,179,91,0.35) transparent;
}

.fq-table-wrap::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.fq-table-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.fq-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(216,179,91,0.35);
    border-radius: 999px;
}

.fq-table-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(216,179,91,0.6);
}

.fq-table-footnote {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3);
    font-style: italic;
    padding: 8px 4px 0;
    margin: 0;
}

.fq-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.fq-table thead tr {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fq-table th {
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-warm);
    text-align: left;
}

.fq-table td {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

.fq-table tbody tr:last-child td {
    border-bottom: none;
}

.fq-year-cell {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--accent-warm) !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    vertical-align: middle !important;
    padding-top: 0 !important;
}

.fq-qtr {
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.fq-num {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.fq-cum {
    color: rgba(255,255,255,0.82);
    border-left: 1px solid rgba(255,255,255,0.04);
}

.fq-row--opex-break td {
    border-top: 1px solid rgba(82,196,120,0.5) !important;
}

.fq-row--capex-break td {
    border-top: 1px solid rgba(201,168,76,0.5) !important;
}

.fq-breakeven-badge {
    display: block;
    margin-top: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.fq-breakeven-badge--opex {
    background: rgba(82,196,120,0.15);
    color: #52c478;
    border: 1px solid rgba(82,196,120,0.3);
}

.fq-breakeven-badge--capex {
    background: rgba(201,168,76,0.15);
    color: var(--gold, #C9A84C);
    border: 1px solid rgba(201,168,76,0.3);
}

.fq-breakeven-badge--payback {
    background: rgba(120,160,255,0.15);
    color: #789fff;
    border: 1px solid rgba(120,160,255,0.3);
}

.fq-row--payback td {
    border-top: 1px solid rgba(120,160,255,0.4) !important;
}

.fq-row--premodel td {
    opacity: 0.6;
}

.fq-na {
    color: rgba(255,255,255,0.3);
    font-style: italic;
}

.fq-growth {
    font-weight: 700;
    white-space: nowrap;
}

.fq-growth-inline {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 2px;
}

.fq-growth--positive {
    color: var(--accent);
}

.fq-growth--negative {
    color: var(--danger);
}

.fq-growth--neutral {
    color: var(--text-muted);
}

.fq-annual-cell {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--accent-warm);
    border-left: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle !important;
    padding-top: 0 !important;
    white-space: nowrap;
}

.fq-annual-pnl {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-left: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle !important;
    padding-top: 0 !important;
    white-space: nowrap;
}

.fq-annual-pnl--positive {
    color: var(--accent);
}

.fq-annual-pnl--negative {
    color: var(--danger);
}

.fq-table tr.is-positive .fq-result { color: var(--accent); }
.fq-table tr.is-negative .fq-result { color: var(--danger); }

/* ===== P&L table (slide-17) ===== */
.pnl-table-card {
    padding: 0;
    overflow: hidden;
}

/* shared grid: label col + 3 year cols */
.pnl-grid-hdr,
.pnl-grid-sub,
.pnl-row {
    display: grid;
    grid-template-columns: 150px repeat(3, 1fr);
    gap: 0;
}

.pnl-grid-hdr {
    padding: 10px 22px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pnl-year-hdr {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    padding: 0 12px;
    border-left: 1px solid rgba(255,255,255,0.10);
}

.pnl-year-note {
    font-size: 0.60rem;
    font-weight: 400;
    color: rgba(255,255,255,0.28);
}

.pnl-grid-sub {
    padding: 3px 22px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pnl-year-sub {
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 0.60rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    border-left: 1px solid rgba(255,255,255,0.06);
}

.pnl-section-label {
    padding: 8px 22px 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}

.pnl-section-label--margin {
    color: rgba(159,190,114,0.50);
}

.pnl-section-sep {
    border: none;
    border-top: 2px solid rgba(255,255,255,0.10);
    margin: 2px 0;
}

.pnl-row {
    align-items: center;
    padding: 6px 22px;
}

.pnl-row--revenue {
    background: rgba(216,179,91,0.07);
    border-top: 1px solid rgba(216,179,91,0.15);
    border-bottom: 1px solid rgba(216,179,91,0.15);
}

.pnl-row--revenue .pnl-abs {
    color: var(--accent-warm);
    font-size: 1.0rem;
}

.pnl-row--revenue .pnl-pct {
    color: rgba(216,179,91,0.45);
}

.pnl-row--revenue .pnl-year-cell {
    border-left-color: rgba(216,179,91,0.15);
}

.pnl-row--margin .pnl-abs {
    color: var(--accent);
}

.pnl-row--margin .pnl-pct--margin {
    color: rgba(159,190,114,0.70);
}

.pnl-row-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.pnl-row--revenue .pnl-row-label {
    color: var(--accent-warm);
}

.pnl-year-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 4px 14px;
    gap: 2px;
    border-left: 1px solid rgba(255,255,255,0.08);
}

.pnl-abs {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
    white-space: nowrap;
}

.pnl-pct {
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.32);
    white-space: nowrap;
}

.pnl-pct--dim {
    color: rgba(255,255,255,0.18);
}

.pnl-abs--neg,
.pnl-row--revenue .pnl-abs--neg,
.pnl-row--margin .pnl-abs--neg {
    color: var(--danger);
}

.pnl-pct--neg,
.pnl-row--revenue .pnl-pct--neg,
.pnl-row--margin .pnl-pct--neg {
    color: rgba(212,137,137,0.65);
}

.pnl-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 0;
}

/* ===== Wordfight answer section ===== */
.mip-answer-section {
    border-top: 1px solid rgba(216, 179, 91, 0.25);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mip-answer-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mip-answer-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mip-wf-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.mip-answer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.mip-answer-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Gallery */
.mip-wf-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
}

.mip-gallery-track {
    display: flex;
    transition: transform 0.35s ease;
}

.mip-gallery-img {
    flex: 0 0 100%;
    width: 100%;
    height: 273px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    padding: 0 4px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
}

.mip-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.mip-gallery-arrow:hover {
    background: rgba(0,0,0,0.85);
}

.mip-gallery-prev { left: 6px; }
.mip-gallery-next { right: 6px; }

.mip-wf-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mip-wf-points {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

.mip-wf-traction {
    display: flex;
    gap: 16px;
}

.mip-traction-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mip-traction-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-warm);
    line-height: 1;
}

.mip-traction-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.mip-wf-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-warm);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    width: fit-content;
    transition: opacity 0.2s;
}

.mip-wf-link:hover {
    opacity: 0.7;
}

.mip-chi-so {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
}

.mip-chi-so-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Image viewer */
.img-viewer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.img-viewer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.img-viewer-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.img-viewer-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.img-viewer-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.mip-figure {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.mip-caption {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
}

.mip-img--clickable {
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}

.mip-img--clickable:hover {
    opacity: 0.85;
}

.mip-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(216, 179, 91, 0.15);
    border: 1px solid rgba(216, 179, 91, 0.35);
    color: var(--accent-warm);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.slide-cta-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.diff-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(216, 179, 91, 0.1);
    border: 1px solid rgba(216, 179, 91, 0.25);
    color: var(--accent-warm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
    align-self: flex-start;
}

.diff-product-link:hover {
    background: rgba(216, 179, 91, 0.18);
    border-color: rgba(216, 179, 91, 0.5);
}

.diff-product-link img {
    border-radius: 6px;
}

.diff-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
}

.diff-card p {
    font-size: 0.97rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ===== SynApp problem slide ===== */
.synapp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.synapp-prob-card {
    padding: 28px 24px;
}

.synapp-prob-card h3 {
    margin: 12px 0 10px;
    font-size: 1.08rem;
    font-family: 'Nunito', sans-serif;
}

.synapp-prob-badge {
    display: inline-flex;
    margin-top: 12px;
    margin-bottom: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.22);
    background: rgba(201, 168, 76, 0.08);
    color: rgba(231, 239, 227, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.synapp-prob-card p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.synapp-problem-link-row {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.synapp-problem-link {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(231, 239, 227, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.synapp-problem-link:hover {
    opacity: 0.75;
}

.synapp-context-card {
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(216, 179, 91, 0.10), rgba(255, 255, 255, 0.03));
}

.synapp-context-card p {
    margin: 8px 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== SynApp vision slide ===== */
.synapp-vision-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.synapp-vision-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.synapp-vision-right {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.synapp-mockup-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.synapp-mockup-badge {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.28);
    color: var(--accent-warm);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.synapp-mockup-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.synapp-mockup-note {
    margin: 16px 0 0;
    max-width: 100%;
    font-size: 0.76rem;
    line-height: 1.6;
    color: rgba(231, 239, 227, 0.46);
}

.synapp-brand-card--intro {
    padding: 0;
    gap: 14px;
}

.synapp-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.synapp-brand-copy .mini-kicker {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.synapp-founder-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
    padding: 12px 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 10px 10px 0;
}

.synapp-founder-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    object-position: top center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.synapp-quote-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.synapp-brand-inline-text {
    margin: 0;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.synapp-quote-attribution {
    color: rgba(231, 239, 227, 0.54);
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.synapp-how-card,
.synapp-vision-card,
.synapp-highlights-card {
    padding: 22px 24px;
}

.synapp-highlights-card .bullet-list {
    margin-top: 10px;
    padding-left: 20px;
    line-height: 1.75;
}

.synapp-highlights-card .bullet-list li + li {
    margin-top: 10px;
}

.synapp-how-card p,
.synapp-vision-card p {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== Finance quarterly (slide-15) ===== */
.finance-qtr-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.finance-qtr-block {
    display: grid;
    gap: 10px;
}

.finance-qtr-block-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qtr-year {
    font-size: 1.0rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
}

.qtr-theme {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.finance-qtr-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.fq-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 4px;
}

.fq-card.is-positive {
    border-color: rgba(159, 190, 114, 0.25);
}

.fq-card.is-negative {
    border-color: rgba(212, 137, 137, 0.22);
}

.fq-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.fq-revenue {
    font-size: 1.0rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: var(--accent-warm);
}

.fq-spend {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fq-result {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.fq-card.is-positive .fq-result {
    color: var(--accent);
}

.fq-card.is-negative .fq-result {
    color: var(--danger);
}

/* ===== Finance annual (slide-16) ===== */
.finance-annual-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.annual-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.annual-card-v2 {
    padding: 28px 24px;
}

.year-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    display: block;
}

.year-revenue {
    display: block;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: var(--accent-warm);
    margin: 10px 0 6px;
}

.growth-value {
    color: var(--accent);
    font-weight: 600;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.milestone-card {
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(216, 179, 91, 0.10), rgba(255, 255, 255, 0.03));
    border-radius: var(--radius-lg);
}

.milestone-kicker {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-warm);
    margin-bottom: 6px;
}

.milestone-date {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    margin-bottom: 6px;
}

.milestone-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== Responsive additions ===== */
@media (max-width: 1280px) {
    .diff-grid,
    .synapp-vision-layout {
        grid-template-columns: 1fr;
    }

    .synapp-problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .annual-summary-grid,
    .milestones-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .team-cards-row {
        grid-template-columns: 1fr;
    }

    .team-layout-v3 {
        grid-template-columns: 1fr;
    }

    .team-opening-side {
        justify-content: flex-start;
    }

    .diff-grid,
    .synapp-problem-grid,
    .annual-summary-grid,
    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .synapp-vision-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Revenue by Product slide (slide-16) ─────────────────────── */
.rpb-layout {
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 0;
    align-items: center;
}

.rpb-chart-wrap {
    flex: 1;
    min-width: 0;
}

.rpb-svg {
    width: 100%;
    height: auto;
    display: block;
}

.rpb-legend {
    flex: 0 0 auto;
    width: 128px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rpb-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.rpb-legend-item--product {
    align-items: flex-start;
}

.rpb-legend-item-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rpb-legend-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.rpb-legend-sep {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 4px 0;
}

.rpb-legend-name {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

.rpb-legend-launch {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    line-height: 1;
}

/* ===== Investor chatbot ===== */
html:not(.is-auth-unlocked) .investor-chatbot {
    display: none !important;
}

.investor-chatbot {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 170;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.investor-chatbot-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    backdrop-filter: none;
    cursor: pointer;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.investor-chatbot-launch:hover {
    transform: translateY(-2px);
}

.investor-chatbot-launch-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-warm);
    background: linear-gradient(135deg, rgba(18, 22, 18, 0.96), rgba(30, 36, 29, 0.94));
    border: 1px solid rgba(216, 179, 91, 0.26);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.investor-chatbot-launch:hover .investor-chatbot-launch-icon {
    border-color: rgba(216, 179, 91, 0.42);
    background: linear-gradient(135deg, rgba(22, 27, 22, 0.98), rgba(37, 44, 34, 0.96));
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
}

.investor-chatbot-launch-icon svg {
    width: 22px;
    height: 22px;
}

.investor-chatbot-launch-copy {
    display: none !important;
}

.investor-chatbot-panel {
    width: min(420px, calc(100vw - 32px));
}

.investor-chatbot-panel[hidden],
.investor-chatbot-status[hidden],
.investor-chatbot-suggestions[hidden] {
    display: none !important;
}

.investor-chatbot-panel-shell {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    max-height: min(72vh, 720px);
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(16, 20, 16, 0.98), rgba(11, 14, 12, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(22px);
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.investor-chatbot.is-open .investor-chatbot-panel-shell {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.investor-chatbot.is-open .investor-chatbot-launch {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.97);
}

.investor-chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 14px;
}

.investor-chatbot-header-copy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.investor-chatbot-header-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.investor-chatbot-header-copy strong {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text);
}

.investor-chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.investor-chatbot-close {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.72rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.investor-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.investor-chatbot-body {
    flex: 1;
    min-height: 0;
    padding: 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.investor-chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.investor-chatbot-chip {
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(216, 179, 91, 0.18);
    background: rgba(216, 179, 91, 0.06);
    color: rgba(247, 243, 233, 0.84);
    font-size: 0.76rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.investor-chatbot-chip:hover {
    transform: translateY(-1px);
    background: rgba(216, 179, 91, 0.11);
    border-color: rgba(216, 179, 91, 0.3);
}

.investor-chatbot-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin-right: -8px;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 179, 91, 0.28) transparent;
}

.investor-chatbot-messages:empty {
    display: none;
}

.investor-chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.investor-chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.investor-chatbot-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.16), rgba(216, 179, 91, 0.34));
    border-radius: 999px;
}

.investor-chatbot-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
}

.investor-chatbot-message--user {
    flex-direction: row-reverse;
}

.investor-chatbot-message--assistant {
    flex-direction: row;
}

.investor-chatbot-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.investor-chatbot-avatar--ai {
    border: 1px solid rgba(216, 179, 91, 0.22);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    object-fit: contain;
}

.investor-chatbot-avatar--user {
    background: rgba(216, 179, 91, 0.1);
    border: 1px solid rgba(216, 179, 91, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(216, 179, 91, 0.88);
}

.investor-chatbot-avatar--user svg {
    width: 15px;
    height: 15px;
}

.investor-chatbot-bubble {
    width: fit-content;
    max-width: calc(100% - 36px);
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.investor-chatbot-message--user .investor-chatbot-bubble {
    background: linear-gradient(135deg, rgba(216, 179, 91, 0.2), rgba(216, 179, 91, 0.11));
    border-color: rgba(216, 179, 91, 0.26);
}

.investor-chatbot-message--assistant .investor-chatbot-bubble {
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.03));
}

.investor-chatbot-rich {
    font-size: 0.9rem;
    color: rgba(247, 243, 233, 0.92);
    line-height: 1.68;
    word-break: break-word;
}

.investor-chatbot-rich > :first-child {
    margin-top: 0;
}

.investor-chatbot-rich > :last-child {
    margin-bottom: 0;
}

.investor-chatbot-rich p,
.investor-chatbot-rich ul,
.investor-chatbot-rich ol,
.investor-chatbot-rich h3,
.investor-chatbot-rich h4,
.investor-chatbot-rich blockquote {
    margin: 0 0 10px;
}

.investor-chatbot-rich h3,
.investor-chatbot-rich h4 {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.investor-chatbot-rich strong {
    color: #f6d983;
    font-weight: 800;
}

.investor-chatbot-rich em {
    color: rgba(231, 239, 227, 0.76);
}

.investor-chatbot-rich ul,
.investor-chatbot-rich ol {
    padding-left: 18px;
}

.investor-chatbot-rich li + li {
    margin-top: 6px;
}

.investor-chatbot-rich a {
    color: #f6d983;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.investor-chatbot-rich code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: #f2e2a5;
    font-size: 0.84em;
}

.investor-chatbot-rich blockquote {
    padding-left: 12px;
    border-left: 2px solid rgba(216, 179, 91, 0.3);
    color: rgba(231, 239, 227, 0.68);
}

.investor-chatbot-typing-indicator {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.investor-chatbot-typing-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(216, 179, 91, 0.22);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px;
    flex-shrink: 0;
}

.investor-chatbot-typing-bubble {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 13px 16px;
    border-radius: 18px 18px 18px 4px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.03));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.investor-chatbot-typing-bubble span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(216, 179, 91, 0.8);
    animation: chatbot-typing-bounce 1.4s infinite ease-in-out;
}

.investor-chatbot-typing-bubble span:nth-child(1) { animation-delay: 0s; }
.investor-chatbot-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.investor-chatbot-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbot-typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chatbot-slide-refs {
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(231, 239, 227, 0.5);
}

.chatbot-slide-ref-link,
.chatbot-slide-ref-text {
    color: rgba(231, 239, 227, 0.72);
}

.chatbot-slide-ref-link {
    text-decoration: underline;
    text-decoration-color: rgba(231, 239, 227, 0.45);
    text-underline-offset: 2px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.chatbot-slide-ref-link:hover {
    color: rgba(255, 255, 255, 0.92);
    text-decoration-color: rgba(255, 255, 255, 0.75);
}

.investor-chatbot-disclaimer {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.68rem;
    color: rgba(231, 239, 227, 0.3);
    margin: 0;
}

.investor-chatbot-disclaimer-link {
    color: rgba(216, 179, 91, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.investor-chatbot-disclaimer-link:hover {
    color: rgba(216, 179, 91, 1);
}

.auth-gate {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(8, 11, 9, 0.72);
    backdrop-filter: blur(14px);
    z-index: 1200;
}

.auth-gate.is-open {
    display: flex;
}

.auth-gate-card {
    position: relative;
    width: min(420px, calc(100vw - 32px));
    padding: 24px 24px 22px;
    border-radius: 24px;
    border: 1px solid rgba(216, 179, 91, 0.18);
    background:
        radial-gradient(circle at top left, rgba(216, 179, 91, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(22, 27, 22, 0.98), rgba(16, 20, 17, 0.98));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
    text-align: center;
}

.auth-gate-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-gate-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
}

.auth-gate-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
}

.auth-gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(216, 179, 91, 0.18);
    background: rgba(216, 179, 91, 0.08);
    color: rgba(247, 243, 233, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-gate-badge svg {
    width: 16px;
    height: 16px;
}

.auth-gate-title {
    margin: 0 0 10px;
    font-size: 1.36rem;
    line-height: 1.28;
    color: var(--text);
}

.auth-gate-body {
    margin: 0 0 18px;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(231, 239, 227, 0.76);
}

.auth-gate-body strong {
    color: var(--text);
}

.auth-gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-gate-pins {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.auth-gate-pin {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.auth-gate-pin:focus {
    border-color: rgba(216, 179, 91, 0.42);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.auth-gate-error {
    min-height: 1.1rem;
    margin: 0;
    font-size: 0.78rem;
    color: #f0a6a6;
}

.auth-gate-submit {
    height: 50px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #d8b35b, #f0c84a);
    color: #17130b;
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.auth-gate-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.auth-gate-hint,
.auth-gate-footnote {
    margin: 12px 0 0;
    font-size: 0.76rem;
    line-height: 1.6;
    color: rgba(231, 239, 227, 0.48);
}

.auth-gate-hint a {
    color: rgba(231, 239, 227, 0.72);
    text-decoration: underline;
    text-underline-offset: 2px;
}

html.is-auth-gate-open,
html.is-auth-gate-open body.pitch-page {
    overflow: hidden !important;
}

.auth-gate.is-shake .auth-gate-card {
    animation: authGateShake 0.36s ease;
}

@keyframes authGateShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(2px); }
}

.investor-chatbot-form {
    padding: 14px 16px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.03));
}

.investor-chatbot-input-shell {
    position: relative;
    width: 100%;
}

.investor-chatbot-input {
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    min-height: 50px;
    margin: 0;
    max-height: 140px;
    resize: none;
    overflow-y: hidden;
    padding: 13px 26px 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: inherit;
    line-height: 1.5;
    outline: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.investor-chatbot-input::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.investor-chatbot-input-shell.is-overflowing .investor-chatbot-input-scrollbar {
    opacity: 1;
}

.investor-chatbot-input-scrollbar {
    position: absolute;
    top: 10px;
    right: 8px;
    bottom: 10px;
    width: 5px;
    opacity: 0;
    background: transparent;
    border-radius: 999px;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.investor-chatbot-input-scrollbar-thumb {
    display: block;
    width: 100%;
    min-height: 28px;
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.16), rgba(216, 179, 91, 0.32));
    border-radius: 999px;
    transform: translateY(0);
    transition: background 0.18s ease, transform 0.1s linear;
}

.investor-chatbot-input-shell.is-overflowing:hover .investor-chatbot-input-scrollbar-thumb,
.investor-chatbot-input-shell.is-overflowing:focus-within .investor-chatbot-input-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 179, 91, 0.3), rgba(216, 179, 91, 0.52));
}

.investor-chatbot-input:focus {
    border-color: rgba(216, 179, 91, 0.34);
    background: rgba(255, 255, 255, 0.065);
}

.investor-chatbot-input::placeholder {
    color: rgba(231, 239, 227, 0.42);
}

.investor-chatbot-send {
    min-width: 94px;
    height: 50px;
    padding: 0 16px;
    border: none;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #d8b35b, #f0c84a);
    color: #17130b;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.investor-chatbot-send:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.investor-chatbot-send:disabled {
    opacity: 0.55;
    cursor: default;
}

.investor-chatbot-send svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .finance-qtr-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-cards-row {
        grid-template-columns: 1fr;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
    }

    .diff-card,
    .synapp-prob-card,
    .annual-card-v2,
    .milestone-card,
    .team-card-v2 .team-info {
        padding: 18px;
    }

    .investor-chatbot {
        right: 14px;
        bottom: 14px;
        left: auto;
        align-items: flex-end;
    }

    .investor-chatbot-launch {
        width: auto;
    }

    .investor-chatbot-panel {
        width: min(420px, calc(100vw - 28px));
        min-width: 0;
    }

    .investor-chatbot-panel-shell {
        min-height: 70vh;
        max-height: 70vh;
        border-radius: 24px;
    }

    .investor-chatbot-form {
        grid-template-columns: 1fr;
    }

    .investor-chatbot-send {
        width: 100%;
    }

    .investor-chatbot-header {
        flex-direction: column;
    }

    .investor-chatbot-header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== Fullscreen suggestion toast ===== */
.fs-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 18px;
    background: rgba(22, 27, 22, 0.96);
    border: 1px solid rgba(216, 179, 91, 0.28);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    z-index: 500;
    max-width: min(520px, calc(100vw - 32px));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fs-toast.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
    pointer-events: none;
}

.fs-toast-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: rgba(216, 179, 91, 0.85);
}

.fs-toast-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.fs-toast-body strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Nunito', sans-serif;
}

.fs-toast-body span {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Nunito', sans-serif;
}

.fs-toast-btn {
    flex-shrink: 0;
    padding: 7px 16px;
    background: rgba(216, 179, 91, 0.15);
    border: 1px solid rgba(216, 179, 91, 0.4);
    border-radius: 8px;
    color: rgb(216, 179, 91);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.fs-toast-btn:hover {
    background: rgba(216, 179, 91, 0.25);
    border-color: rgba(216, 179, 91, 0.65);
}

.fs-toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
}

.fs-toast-close:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

/* =============================================
   Device gate: block mobile/tablet access
   Only appears on viewports ≤1024px wide.
   Desktop (≥1025px) never sees this.
   ============================================= */
.device-gate {
    display: none;
}

.device-gate-card {
    width: min(460px, 100%);
    padding: 36px 28px 32px;
    background: linear-gradient(180deg, rgba(22, 27, 22, 0.96), rgba(14, 18, 15, 0.98));
    border: 1px solid rgba(216, 179, 91, 0.22);
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    text-align: center;
    color: var(--text);
    font-family: 'Nunito', sans-serif;
}

.device-gate-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    opacity: 0.95;
}

.device-gate-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(216, 179, 91, 0.12);
    color: var(--accent-warm);
}

.device-gate-icon svg {
    width: 30px;
    height: 30px;
}

.device-gate-title {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    letter-spacing: -0.2px;
}

.device-gate-body {
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.device-gate-body strong {
    color: var(--accent-warm);
    font-weight: 700;
}

.device-gate-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px dashed rgba(216, 179, 91, 0.3);
    border-radius: 12px;
    background: rgba(216, 179, 91, 0.05);
}

.device-gate-link-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 700;
}

.device-gate-link code {
    font-family: 'Nunito', 'SF Mono', Menlo, monospace;
    font-size: 0.88rem;
    color: var(--accent-warm);
    font-weight: 700;
    word-break: break-all;
}

.device-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px;
}

.device-gate-btn {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid rgba(216, 179, 91, 0.4);
    background: rgba(216, 179, 91, 0.12);
    color: var(--accent-warm);
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.device-gate-btn:hover,
.device-gate-btn:focus-visible {
    background: rgba(216, 179, 91, 0.2);
    border-color: rgba(216, 179, 91, 0.65);
}

.device-gate-btn:active {
    transform: scale(0.98);
}

.device-gate-btn.is-copied {
    background: rgba(159, 190, 114, 0.18);
    border-color: rgba(159, 190, 114, 0.5);
    color: #c4e39a;
}

.device-gate-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
}

.device-gate-btn--ghost:hover,
.device-gate-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.device-gate-footnote {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

/* =============================================
   Activate gate when html.is-mobile-blocked is set
   by the inline JS gate script. This overrides any
   media-query cascade because of higher specificity
   + !important.
   ============================================= */
html.is-mobile-blocked,
html.is-mobile-blocked body.pitch-page {
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
}

html.is-mobile-blocked body.pitch-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 16px !important;
    background:
        radial-gradient(circle at top left, rgba(159, 190, 114, 0.18), transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(216, 179, 91, 0.14), transparent 40%),
        linear-gradient(90deg, #111512 0%, #0b0e0c 100%) !important;
}

html.is-mobile-blocked .deck-app,
html.is-mobile-blocked .deck-bottom-bar,
html.is-mobile-blocked .deck-header,
html.is-mobile-blocked .deck-side-nav,
html.is-mobile-blocked .fs-toast,
html.is-mobile-blocked .investor-chatbot,
html.is-mobile-blocked #bg-music,
html.is-mobile-blocked .deck-top-actions,
html.is-mobile-blocked .deck-root {
    display: none !important;
}

html.is-mobile-blocked .device-gate {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Also keep a media-query fallback in case JS fails
   (e.g. scripts blocked). Uses the same rules. */
@media (max-width: 1024px) {
    html:not(.is-mobile-unblocked),
    html:not(.is-mobile-unblocked) body.pitch-page {
        height: 100vh;
        overflow: hidden;
    }

    html:not(.is-mobile-unblocked) body.pitch-page {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 16px;
        background:
            radial-gradient(circle at top left, rgba(159, 190, 114, 0.18), transparent 40%),
            radial-gradient(circle at 85% 15%, rgba(216, 179, 91, 0.14), transparent 40%),
            linear-gradient(90deg, #111512 0%, #0b0e0c 100%);
    }

    html:not(.is-mobile-unblocked) .deck-app,
    html:not(.is-mobile-unblocked) .deck-bottom-bar,
    html:not(.is-mobile-unblocked) .deck-header,
    html:not(.is-mobile-unblocked) .deck-side-nav,
    html:not(.is-mobile-unblocked) .fs-toast,
    html:not(.is-mobile-unblocked) .investor-chatbot,
    html:not(.is-mobile-unblocked) #bg-music,
    html:not(.is-mobile-unblocked) .deck-top-actions,
    html:not(.is-mobile-unblocked) .deck-root {
        display: none !important;
    }

    html:not(.is-mobile-unblocked) .device-gate {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .device-gate-card {
        padding: 28px 20px 24px;
    }

    .device-gate-body {
        font-size: 0.9rem;
    }

    .device-gate-link code {
        font-size: 0.78rem;
    }
}

/* =============================================
   Mobile override (≤768px) — comprehensive
   Forces pitch deck to vertical stack layout,
   collapses every multi-column grid to 1 column,
   and unpacks custom flex/split/layout rows.
   Desktop (≥769px) is NOT affected.
   ============================================= */
@media (max-width: 768px) {
    /* Allow page to scroll vertically */
    html {
        overflow: auto;
        height: auto;
    }

    body.pitch-page {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* Deck becomes a vertical stack */
    .deck-root {
        flex-direction: column;
        height: auto;
        margin-top: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    /* Each slide stacks vertically, natural height */
    .deck-slide,
    .deck-slide.deck-slide--hero {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100vw;
        height: auto;
        min-height: auto;
        display: block;
        padding: 72px 14px 56px;
        opacity: 1;
        scroll-snap-align: none;
    }

    .deck-slide.is-active {
        opacity: 1;
    }

    .slide-shell {
        width: 100%;
        max-width: 100%;
    }

    /* Force every multi-col grid used in the deck to 1 column */
    .deck-slide .hero-grid,
    .deck-slide .lane-grid,
    .deck-slide .stat-grid,
    .deck-slide .signal-grid,
    .deck-slide .signal-grid--wide,
    .deck-slide .market-grid,
    .deck-slide .criteria-grid,
    .deck-slide .principle-grid,
    .deck-slide .marketing-grid,
    .deck-slide .roadmap-grid,
    .deck-slide .funding-grid,
    .deck-slide .annual-grid,
    .deck-slide .exit-grid,
    .deck-slide .gallery-grid,
    .deck-slide .finance-quarter-grid,
    .deck-slide .milestones-grid,
    .deck-slide .synapp-problem-grid,
    .deck-slide .team-grid,
    .deck-slide .team-grid-full,
    .deck-slide .team-cards-row,
    .deck-slide .revenue-plan-grid,
    .deck-slide .revenue-detail-grid,
    .deck-slide .pnl-plan-grid,
    .deck-slide .plan-grid,
    .deck-slide .deck-grid-nav,
    .deck-slide .two-col-layout,
    .deck-slide .synapp-layout,
    .deck-slide .synapp-vision-layout,
    .deck-slide .pnl-layout,
    .deck-slide .economics-grid,
    .deck-slide .diff-split,
    .deck-slide .marketing-split,
    .deck-slide .criteria-split,
    .deck-slide .founder-story-sheet,
    .deck-slide .closing-shell,
    .deck-slide .closing-founder-block,
    .deck-slide .hero-offer-split {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    /* Flex containers that should stack on mobile */
    .deck-slide .diff-row-card,
    .deck-slide .diff-wf-card {
        flex-direction: column;
        align-items: stretch;
    }

    .deck-slide .closing-shell {
        flex-direction: column;
        align-items: stretch;
    }

    .deck-slide .flow-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .deck-slide .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .deck-slide .action-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hide decorative arrows between split columns */
    .deck-slide .diff-arrow,
    .deck-slide .criteria-split .diff-arrow {
        display: none;
    }

    /* Hero offer block: stack the two numbers vertically */
    .deck-slide .hero-offer-split {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .deck-slide .hero-offer-divider {
        transform: rotate(90deg);
        margin: 2px 0;
    }

    /* Card padding + typography tightening */
    .deck-slide .surface-card,
    .deck-slide .hero-panel,
    .deck-slide .lane-card,
    .deck-slide .criteria-card,
    .deck-slide .principle-card,
    .deck-slide .marketing-card,
    .deck-slide .stat-card,
    .deck-slide .annual-card,
    .deck-slide .finance-quarter-card,
    .deck-slide .exit-card,
    .deck-slide .funding-option-card,
    .deck-slide .pnl-row-card,
    .deck-slide .cap-card,
    .deck-slide .note-card,
    .deck-slide .flow-card,
    .deck-slide .economics-hero-card,
    .deck-slide .economics-detail-card,
    .deck-slide .roadmap-card,
    .deck-slide .synapp-brand-card,
    .deck-slide .finance-summary-card,
    .deck-slide .midpoint-card,
    .deck-slide .closing-card,
    .deck-slide .diff-row-card,
    .deck-slide .diff-wf-card,
    .deck-slide .signal-card,
    .deck-slide .market-card {
        padding: 18px 16px;
    }

    .deck-slide .slide-title {
        font-size: clamp(1.4rem, 5.2vw, 2rem);
        line-height: 1.25;
    }

    .deck-slide .slide-title--hero {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .deck-slide .slide-subtitle {
        font-size: clamp(1rem, 3.8vw, 1.2rem);
    }

    .deck-slide .slide-lead {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .deck-slide .slide-kicker {
        font-size: 0.72rem;
    }

    .deck-slide .slide-header {
        margin-bottom: 18px;
    }

    /* Founder story slide: avatar smaller */
    .deck-slide .founder-story-avatar-wrap {
        width: 110px;
        height: 132px;
        border-radius: 20px;
    }

    .deck-slide .founder-story-copy p,
    .deck-slide .founder-story-copy p:first-child {
        font-size: 0.9rem;
    }

    /* Hero-panel on slide 1: numbers readable but not huge */
    .deck-slide .hero-offer-num {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    /* Tables (finance / plans) → allow horizontal scroll instead of breaking */
    .deck-slide .finance-qtr-row,
    .deck-slide .revenue-plan-row,
    .deck-slide .pnl-plan-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    /* Header, bottom bar on mobile */
    .deck-header {
        display: none;
    }

    .deck-side-nav {
        display: none;
    }

    .deck-bottom-bar {
        display: block;
        position: fixed;
        top: 8px;
        left: 8px;
        right: 8px;
        z-index: 110;
    }
}

/* Extra-small phones (<420px) */
@media (max-width: 420px) {
    .deck-slide,
    .deck-slide.deck-slide--hero {
        padding: 56px 12px 56px;
    }

    .deck-slide .surface-card,
    .deck-slide .hero-panel {
        padding: 16px 14px;
    }

    .deck-slide .slide-title {
        font-size: clamp(1.3rem, 5.6vw, 1.85rem);
    }

    .deck-slide .slide-title--hero {
        font-size: clamp(1.75rem, 7.5vw, 2.4rem);
    }
}

@page {
    size: landscape;
    margin: 10mm;
}

@media print {
    html,
    body {
        height: auto !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.pitch-page {
        min-height: auto;
        background: #fff !important;
        color: #111 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .device-gate,
    .auth-gate,
    .deck-header,
    .deck-bottom-bar,
    .deck-side-nav,
    .deck-grid-overlay,
    .fs-toast,
    .investor-chatbot,
    #deck-confidential-overlays,
    #img-viewer,
    #market-issue-popup,
    #traction-popup {
        display: none !important;
    }

    .deck-app,
    .deck-root {
        display: block !important;
    }

    .deck-root {
        margin-top: 0 !important;
        height: auto !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .deck-slide,
    .deck-slide.deck-slide--hero {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: none !important;
        padding: 8mm 10mm !important;
        opacity: 1 !important;
        scroll-snap-align: none !important;
        break-after: page;
        page-break-after: always;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .deck-slide:last-child,
    .deck-slide.deck-slide--hero:last-child {
        break-after: auto;
        page-break-after: auto;
    }

    .slide-shell {
        width: 100% !important;
        max-width: none !important;
    }

    .surface-card,
    .hero-panel,
    .lane-card,
    .criteria-card,
    .principle-card,
    .marketing-card,
    .stat-card,
    .annual-card,
    .finance-quarter-card,
    .exit-card,
    .funding-option-card,
    .pnl-row-card,
    .cap-card,
    .note-card,
    .flow-card,
    .economics-hero-card,
    .economics-detail-card,
    .roadmap-card,
    .synapp-brand-card,
    .finance-summary-card,
    .midpoint-card,
    .closing-card,
    .diff-row-card,
    .diff-wf-card,
    .signal-card,
    .market-card {
        box-shadow: none !important;
    }

    .founder-story-scroll,
    .deck-grid-content,
    .investor-chatbot-messages {
        overflow: visible !important;
        max-height: none !important;
    }
}
