:root {
    --navy-950: #040d1c;
    --navy-900: #071a33;
    --navy-800: #0d2a4d;
    --navy-700: #173d69;
    --gold-500: #d4af37;
    --gold-400: #e8c760;
    --silver-200: #d8dee7;
    --silver-100: #eef2f7;
    --white: #ffffff;
    --ink-900: #0f1727;
    --ink-700: #334155;
    --ink-500: #4A4A4A;
    --ink-400: #6F6F6F;
    --border-soft: rgba(157, 174, 197, 0.35);
    --shadow-soft: 0 14px 30px rgba(4, 13, 28, 0.16);
    --shadow-card: 0 8px 20px rgba(4, 13, 28, 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --section-title-size: clamp(30px, 3.1vw, 36px);
    --section-title-weight: 700;
    --section-title-line: 1.14;
    --section-title-max-width: 22ch;
    --report-card-title-size: clamp(22px, 2.2vw, 26px);
    --report-card-title-line: 1.2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    line-height: 1.62;
    color: var(--ink-700);
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.12), transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(25, 61, 105, 0.38), transparent 36%),
        linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 30%, #e2e9f2 100%);
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--navy-900);
    line-height: 1.14;
}

h1 { font-size: clamp(42px, 4.3vw, 54px); letter-spacing: 0.01em; }
h2 { font-size: clamp(30px, 3.1vw, 36px); margin-top: 32px; margin-bottom: 16px; }
h3 { font-size: clamp(22px, 2.2vw, 26px); margin-top: 24px; margin-bottom: 12px; }
h4 { font-size: 20px; }
small, .micro { font-size: 13px; }
p { font-size: 17px; }

.container, .nav-container { width: min(1200px, calc(100% - 2.8rem)); margin: 0 auto; }
section { padding: calc(var(--space-5) + var(--space-2)) 0; }

.header {
    position: sticky;
    top: 0;
    z-index: 1200;
    height: 112px;
    background: #020b18;
    border-bottom: 1px solid rgba(212, 175, 55, 0.72);
}

.nav-container {
    width: min(1304px, calc(100% - 60px));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
}

.brand-logo {
    display: block;
    width: 160px;
    height: auto;
    line-height: 0;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li:nth-child(2)::before,
.nav-menu li:nth-child(3)::before {
    content: '';
    width: 6px;
    height: 6px;
    margin: 0 7px;
    border-radius: 50%;
    background: var(--gold-500);
}

.nav-menu .supplemental-nav-item { display: none; }

.nav-menu a {
    color: #eef2f7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.nav-menu a:hover { color: var(--gold-400); }
.nav-menu .cta-button {
    background: linear-gradient(145deg, #c79a18 0%, #d4af37 42%, #eed680 100%);
    border-color: #b38914;
    color: #071a33;
    box-shadow: 0 0 22px rgba(216, 222, 231, 0.5), 0 10px 22px rgba(184, 143, 32, 0.45);
}
.nav-menu .cta-button:hover {
    filter: brightness(1.06);
    box-shadow: 0 0 28px rgba(216, 222, 231, 0.62), 0 14px 26px rgba(184, 143, 32, 0.55);
}

.hamburger { display: none; }

.cta-button,
.video-button,
.sample-open-button,
.flipbook-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-950);
    border: 1px solid #be9a2c;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    padding: 0.8rem 1.3rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.28);
    transition: transform 0.18s ease, filter 0.18s ease;
    cursor: pointer;
}
.cta-button:hover,
.video-button:hover,
.sample-open-button:hover,
.flipbook-control:hover { transform: translateY(-2px); filter: brightness(1.04); }
.cta-button.large { padding: 0.95rem 1.6rem; }
.tertiary-link {
    color: var(--silver-200);
    text-decoration: underline;
    text-decoration-color: rgba(232, 199, 96, 0.75);
    text-underline-offset: 0.25rem;
    font-weight: 700;
}

.early-adopter-card-wrapper {
    width: min(520px, calc(100% - 2.4rem));
    margin: var(--space-4) auto var(--space-4);
}
.early-adopter-card {
    background: linear-gradient(145deg, #ffffff, #f0f3f7);
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--gold-500);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--space-2) var(--space-3);
}
.early-adopter-heading-row { display: flex; align-items: center; gap: 0.8rem; }
.early-adopter-heading { margin: 0; font-size: clamp(1rem, 1.8vw, 1.35rem); }
.early-adopter-subtext {
    margin-top: var(--space-1);
    font-size: 0.87rem;
    color: var(--ink-700);
    line-height: 1.55;
}

.early-adopter-tooltip-wrap { position: relative; display: inline-flex; }
.early-adopter-info-trigger {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #b88f20;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-950);
    font-size: 0.73rem;
    font-weight: 800;
    cursor: pointer;
}
.early-adopter-tooltip {
    position: absolute;
    top: 120%;
    left: 50%;
    width: min(640px, calc(100vw - 2rem));
    max-height: min(60vh, 420px);
    background: #ffffff;
    color: var(--ink-700);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 0.7rem 0.8rem;
    font-size: 0.88rem;
    line-height: 1.45;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 20;
}
.early-adopter-tooltip-wrap.is-open .early-adopter-tooltip,
.early-adopter-tooltip.tooltip--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.page-section { display: block; }
.page-section.active { display: block; }

.hero-section {
    min-height: 560px;
    padding: 40px 0 30px;
    background:
        radial-gradient(circle at 66% 48%, rgba(31, 73, 117, 0.2), transparent 32%),
        radial-gradient(circle at 61% 74%, rgba(184, 137, 33, 0.14), transparent 24%),
        #03101f;
}

.hero-section > .container {
    width: min(1260px, calc(100% - 104px));
}

.hero-content {
    display: grid;
    grid-template-columns: 445px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    min-height: 360px;
}
.hero-text h1 {
    max-width: 410px;
    color: #f7f7f4;
    font-size: clamp(46px, 3.85vw, 54px);
    font-weight: 600;
    line-height: 1.01;
    letter-spacing: -0.018em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.hero-title-rule {
    width: 105px;
    height: 3px;
    margin-top: 22px;
    background: #e3b62d;
}
.hero-text p {
    max-width: 440px;
    margin-top: 16px;
    color: #f3f5f8;
    font-size: 13px;
    line-height: 1.55;
}
.hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-buttons .cta-button,
.hero-buttons .video-button {
    min-height: 45px;
    padding: 0.72rem 1rem;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: none;
}

.hero-buttons .cta-button {
    min-width: 221px;
    background: linear-gradient(135deg, #e9b928, #f0c747);
    border-color: #f0c23a;
}

.hero-buttons .video-button {
    min-width: 199px;
    color: #f0bc25;
    background: rgba(3, 16, 31, 0.58);
    border-color: #e8b821;
}

.hero-buttons .video-button:hover {
    color: #07101d;
    background: #e8b821;
}

.hero-buttons .tertiary-link { display: none !important; }
.hero-image {
    position: relative;
    min-height: 350px;
    overflow: visible;
}
.dashboard-image {
    position: absolute;
    top: 0;
    right: 100px;
    width: 410px;
    display: block;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.44);
}
.dashboard-image-secondary {
    position: absolute;
    z-index: 2;
    left: 30px;
    bottom: -3px;
    width: 350px;
    border: 6px solid #080f19;
    border-bottom-width: 12px;
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.58);
    background: #0a1528;
}

.hero-image::after {
    content: '';
    position: absolute;
    z-index: 3;
    left: 5px;
    bottom: 3px;
    width: 400px;
    height: 13px;
    border-radius: 2px 2px 12px 12px;
    background: linear-gradient(180deg, #dfe5e7 0%, #7f898d 46%, #bcc4c7 100%);
    clip-path: polygon(7% 0, 93% 0, 100% 54%, 97% 100%, 3% 100%, 0 54%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
}

.free-tier-banner {
    width: calc(100% - 100px);
    min-height: 113px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 17px;
    padding: 16px 18px 16px 20px;
    border: 1px solid rgba(112, 135, 162, 0.68);
    border-left: 6px solid #f0c13d;
    border-radius: 8px;
    background: rgba(4, 18, 34, 0.74);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.free-tier-copy { max-width: 780px; }

.free-tier-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #f0c13d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.free-tier-banner h2 {
    margin: 0;
    color: #fffdf7;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.free-tier-banner h2 span { white-space: nowrap; }

.free-tier-banner p {
    max-width: 720px;
    margin-top: 4px;
    color: #f0f4f8;
    font-size: 12px;
    line-height: 1.42;
}

.free-tier-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 8px 13px;
    border: 1px solid #e8b821;
    border-radius: 8px;
    color: #f1c02a;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.free-tier-link:hover {
    color: #07101d;
    background: #e8b821;
}

.use-cases-section {
    padding-top: 48px;
    background: linear-gradient(180deg, rgba(245, 248, 252, 0.97), rgba(238, 243, 249, 0.97));
    border-top: 1px solid rgba(126, 145, 171, 0.26);
    border-bottom: 1px solid rgba(126, 145, 171, 0.26);
}

.use-cases-section > .container > .section-title {
    font-size: 30px;
    line-height: 1.1;
}
.section-title,
.ds-section-title {
    text-align: center;
    color: var(--navy-900);
    font-size: var(--section-title-size);
    font-weight: var(--section-title-weight);
    line-height: var(--section-title-line);
    max-width: var(--section-title-max-width);
    margin: 32px auto 16px;
}
.section-subtitle {
    text-align: center;
    color: var(--ink-500);
    max-width: 78ch;
    margin: 0 auto var(--space-5);
}

.use-cases-grid,
.deliverables-grid,
.features-grid,
.sample-preview-grid,
.footer-content,
.proof-bar {
    display: grid;
    gap: var(--space-3);
}
.use-cases-grid,
.deliverables-grid,
.features-grid,
.sample-preview-grid,
.proof-bar {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
}
.use-cases-grid { margin-top: var(--space-3); }
.use-cases-grid > * { grid-column: span 3; }
.deliverables-grid { margin-top: var(--space-3); }
.deliverables-grid > * { grid-column: span 6; }
.features-grid > * { grid-column: span 6; }
.sample-preview-grid > * { grid-column: span 6; }
.proof-bar { margin-top: var(--space-5); }
.proof-bar > * { grid-column: span 4; }
.footer-content { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }

.use-case-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.use-case-card h3 {
    font-size: clamp(24px, 2.2vw, 28px);
    line-height: 1.2;
    max-width: 17ch;
    min-height: calc(2 * 1.2em);
    margin-top: 24px;
    margin-bottom: 12px;
}

.use-case-card p {
    line-height: 1.62;
    margin-top: auto;
}

.use-case-card,
.deliverable-card,
.feature-card,
.sample-preview-card,
.founder-card,
.flipbook-dialog,
.final-cta-section,
.proof-pill {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.use-case-card,
.deliverable-card,
.feature-card,
.sample-preview-card,
.founder-card,
.proof-pill,
.final-cta-section {
    padding: var(--space-4);
}

.report-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.report-card-title {
    font-size: var(--report-card-title-size);
    line-height: var(--report-card-title-line);
    max-width: 22ch;
}

.report-card-description {
    color: var(--ink-700);
    line-height: 1.62;
}

.report-card-cta {
    margin-top: auto;
}

.deliverables-showcase {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-3);
    align-items: start;
}

.showcase-header {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.showcase-header h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.showcase-header p {
    max-width: 82ch;
    margin: 0 auto;
    line-height: 1.66;
}

.platform-workflow {
    grid-column: 1 / 8;
    margin-top: 0;
}

.platform-outcomes {
    grid-column: 8 / -1;
    margin-top: 0;
    min-height: 100%;
}

.deliverables-grid {
    grid-column: 1 / -1;
    margin-top: var(--space-2);
}

.deliverables-section-intro {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 24px;
    position: relative;
}

.deliverables-section-intro::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #E5E5E5;
    margin-bottom: 32px;
}

.deliverables-section-intro h2 {
    max-width: none;
    margin-top: 0;
    margin-bottom: 12px;
}

.deliverables-section-intro p {
    color: var(--ink-500);
    margin: 0 auto;
    max-width: 72ch;
}

.deliverable-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 32px;
    min-height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.deliverable-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: 0;
}

.deliverable-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deliverable-title h4 {
    font-size: clamp(25px, 2.2vw, 31px);
    line-height: 1.14;
    font-weight: 700;
    color: var(--navy-900);
    margin-top: 0;
    margin-bottom: 0;
}

.deliverable-card > p {
    margin-top: 2px;
    line-height: 1.64;
    color: #1A1A1A;
    font-weight: 500;
}

.deliverable-features {
    margin-top: 0;
    margin-bottom: var(--space-1);
    padding-left: 16px;
}

.deliverable-features li {
    margin-bottom: 8px;
}

.deliverable-card .deliverable-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.deliverable-card .mini-link {
    margin-top: auto;
    align-self: flex-start;
}

.use-case-icon,
.feature-icon,
.deliverable-icon,
.workflow-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
    color: #8d6b16;
    background: linear-gradient(130deg, #faf4e0, #fff8e7);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.platform-supporting { font-size: 14px; color: var(--ink-500); margin-top: 0.3rem; }
.platform-workflow {
    margin-top: var(--space-3);
    display: grid;
    grid-template-columns: 1fr 0.2fr 1fr 0.2fr 1fr;
    align-items: center;
    gap: var(--space-2);
    background: #f8fbff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: var(--space-2);
}
.platform-outcomes {
    margin-top: var(--space-2);
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
}
.platform-outcomes h4 { color: var(--navy-800); margin-bottom: 0.35rem; }
.workflow-step {
    text-align: center;
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(146, 163, 188, 0.33);
    background: #fff;
}
.workflow-step h4 { font-size: 18px; color: var(--navy-800); }
.workflow-arrow {
    height: 2px;
    background: linear-gradient(90deg, rgba(212,175,55,0), rgba(212,175,55,0.95), rgba(212,175,55,0));
}

.deliverable-badge,
.sample-preview-tag,
.flipbook-badge {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.13);
    color: #7d5d14;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.28rem 0.58rem;
}
.deliverable-features { padding-left: 1rem; margin-top: 0.55rem; }
.deliverable-features li { margin-bottom: var(--space-1); font-size: 0.96rem; }
.founder-card h3 { margin-top: 0.8rem; }
.mini-link {
    display: inline-block;
    margin-top: 0.4rem;
    color: var(--navy-700);
    font-weight: 700;
    text-decoration: underline;
}

.proof-pill { text-align: center; }
.value-metrics,
.proof-bar {
    align-items: stretch;
}

.value-metric,
.proof-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-1);
    min-height: 100%;
}

.value-metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8d6b16;
    background: linear-gradient(130deg, #faf4e0, #fff8e7);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.proof-value {
    display: block;
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
    min-height: 2.4em;
    max-width: 14ch;
    margin: 0 auto;
}
.proof-label {
    display: block;
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 13px;
    font-weight: 800;
    max-width: 22ch;
    line-height: 1.3;
    margin: 0 auto;
}
.proof-pill {
    text-align: center;
    padding: 24px 20px;
    min-height: 230px;
}

.proof-pill p {
    margin-top: 0.35rem;
    font-size: 14px;
    max-width: 26ch;
    line-height: 1.45;
    margin-left: auto;
    margin-right: auto;
    color: var(--ink-500);
}

.cta-section,
.final-cta-section {
    margin-top: var(--space-5);
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f1f6fc);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}
.cta-section h3,
.final-cta-section h3 {
    color: var(--navy-900);
    font-size: clamp(31px, 2.9vw, 38px);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: var(--space-2);
}

.cta-section p,
.final-cta-section p {
    max-width: 66ch;
    margin: 0 auto var(--space-3);
}

.cta-support-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin: 0 0 var(--space-3);
    padding: 0;
}

.cta-support-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: #fff;
    color: var(--ink-700);
    font-size: 0.85rem;
    font-weight: 700;
}

.about-section,
.features-section,
.sample-preview-section { background: transparent; }

.flipbook-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(16, 20, 30, 0.65);
    z-index: 3000;
    padding: 1rem;
}
.flipbook-modal.open, .flipbook-modal.is-open { display: grid; }
.flipbook-dialog { width: min(1120px, 96vw); height: min(95vh, 960px); display: flex; flex-direction: column; overflow: hidden; }
.flipbook-dialog.layout-portrait { width: min(980px, 95vw); }
.flipbook-dialog.layout-landscape { width: min(1320px, 98vw); }
.flipbook-header,
.flipbook-toolbar {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(130deg, #f7f9fc, #eff3f8);
}
.flipbook-header { display: flex; justify-content: space-between; align-items: center; }
.flipbook-close {
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: var(--ink-700);
    cursor: pointer;
}
.flipbook-toolbar { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; }
.flipbook-meta, .flipbook-controls { display: flex; align-items: center; gap: 0.6rem; }
.flipbook-stage { position: relative; flex: 1; min-height: 460px; background: #f0f3f8; padding: 0.8rem 2.2rem; }
.flipbook-viewport { height: 100%; overflow: auto; display: flex; align-items: flex-start; justify-content: center; }
.flipbook-book { transform-origin: top center; width: 100%; }
.flipbook-sheet {
    position: relative;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(8, 20, 40, 0.18);
}
.flipbook-dialog.layout-landscape .flipbook-sheet { margin-top: 0.1rem; }
.flipbook-dialog.layout-portrait .flipbook-sheet { margin-top: 0.25rem; }
.flipbook-sheet img,
.flipbook-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.flipbook-frame { background: #ffffff; }
.flipbook-sheet.executive-slide-fit {
    overflow: hidden;
}
.flipbook-sheet.executive-slide-fit .flipbook-frame {
    width: 106.5%;
    height: 106.5%;
    transform: scale(0.939);
    transform-origin: top left;
}
.flipbook-loading,
.flipbook-empty {
    margin: 1rem auto;
    width: min(760px, 100%);
    padding: 1rem;
    border-radius: 10px;
    border: 1px dashed var(--border-soft);
    background: #fff;
    color: var(--ink-700);
}
.flipbook-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #b88f20;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-950);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(212, 175, 55, 0.34);
}
.flipbook-nav:hover { filter: brightness(0.9); }
.flipbook-nav.prev { left: 0.5rem; }
.flipbook-nav.next { right: 0.5rem; }

.footer {
    margin-top: 4.4rem;
    padding: 2.3rem 0 1rem;
    background: linear-gradient(95deg, #0a1b31, #142f53);
    color: #e3ebf6;
}
.footer h4 { color: #f6f8fb; margin-bottom: 0.5rem; }
.footer p,
.footer a { color: #d6deea; text-decoration: none; font-size: 0.95rem; }
.footer a:hover { color: var(--gold-400); }
.copyright { border-top: 1px solid rgba(214, 221, 232, 0.2); margin-top: 1rem; padding-top: 0.8rem; }
.disclaimer-footer {
    background: #091221;
    color: #d7deea;
    font-size: 0.9rem;
    padding: 1rem 0 1.4rem;
}
.disclaimer-footer p { color: #d7deea; margin-bottom: 0.5rem; }

.local-workflow-link { display: none; }
body.local-env .local-workflow-link { display: inline-flex; }

@media (max-width: 1100px) {
    .hero-section > .container { width: min(900px, calc(100% - 64px)); }
    .hero-content {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hero-text h1,
    .hero-text p { max-width: 680px; }
    .hero-image {
        width: min(760px, 100%);
        min-height: 410px;
        margin: 0 auto;
    }
    .dashboard-image {
        width: 66%;
        right: 0;
    }
    .dashboard-image-secondary {
        position: absolute;
        left: 0;
        bottom: 28px;
        width: 56%;
        margin: 0;
    }
    .hero-image::after { width: 62%; }
    .use-cases-grid > * { grid-column: span 6; }
    .sample-preview-grid > * { grid-column: span 6; }
    .proof-bar > * { grid-column: span 6; }
    .platform-workflow,
    .platform-outcomes,
    .deliverables-grid { grid-column: 1 / -1; }
    .platform-outcomes { min-height: 0; }
}

@media (max-width: 800px) {
    section { padding: var(--space-5) 0; }
    .header { height: 84px; }
    .nav-container {
        width: calc(100% - 32px);
        align-items: center;
    }
    .brand-logo { width: 118px; }
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        margin-top: 0;
    }
    .hamburger span {
        width: 24px;
        height: 3px;
        background: #dce6f5;
        border-radius: 2px;
    }
    .nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        right: 1rem;
        background: #0d1f37;
        border: 1px solid rgba(97, 127, 170, 0.44);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-soft);
        width: min(92vw, 320px);
        padding: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu li:nth-child(2)::before,
    .nav-menu li:nth-child(3)::before { display: none; }
    .hero-section {
        min-height: 0;
        padding: 34px 0 28px;
    }
    .hero-section > .container { width: calc(100% - 32px); }
    .hero-content { gap: 28px; }
    .hero-text h1 { font-size: clamp(42px, 13vw, 54px); }
    .hero-buttons .cta-button,
    .hero-buttons .video-button { width: 100%; }
    .hero-image { min-height: 310px; }
    .dashboard-image { width: 74%; }
    .dashboard-image-secondary {
        bottom: 24px;
        width: 64%;
    }
    .hero-image::after {
        bottom: 14px;
        width: 71%;
        height: 10px;
    }
    .free-tier-banner {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
    }
    .free-tier-banner h2 { font-size: 22px; }
    .free-tier-banner h2 span { white-space: normal; }
    .early-adopter-card-wrapper {
        width: min(520px, calc(100% - 2.4rem));
        margin: var(--space-3) auto;
    }
    .platform-workflow {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
    .workflow-arrow { height: 18px; width: 2px; margin: 0 auto; }
    .use-cases-grid > *,
    .deliverables-grid > *,
    .features-grid > *,
    .sample-preview-grid > *,
    .proof-bar > * { grid-column: span 12; }
    .use-case-card h3 {
        min-height: 0;
        max-width: none;
    }
    .deliverable-title h4 {
        font-size: clamp(22px, 7.8vw, 29px);
    }
    .deliverable-card {
        min-height: 0;
    }
    .proof-value {
        min-height: 0;
        max-width: none;
    }
    .proof-pill {
        min-height: 0;
    }
    .footer-content { grid-template-columns: 1fr; }
    .flipbook-dialog,
    .flipbook-dialog.layout-landscape,
    .flipbook-dialog.layout-portrait { width: 96vw; }
    .flipbook-stage { padding: 0.75rem 1.8rem; }
}
