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

:root {
    --teal: #1D9E75;
    --teal-light: #E8F5F1;
    --teal-dark: #0F6E56;
    --bg: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #999999;
    --accent: #000000;
    --surface: #F7F8F7;
    --border: #E8E8E8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --teal: #5DCAA5;
        --teal-light: #0D2822;
        --teal-dark: #9FE1CB;
        --bg: #0A0A0A;
        --text: #F5F5F5;
        --text-muted: #A0A0A0;
        --text-light: #666666;
        --accent: #FFFFFF;
        --surface: #111111;
        --border: #222222;
    }
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--teal);
    color: white;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 20px 0;
}

@media (prefers-color-scheme: dark) {
    nav {
        background: rgba(10, 10, 10, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }
}

nav .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 19px;
}

.logo svg {
    width: 26px;
    height: 26px;
}

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

.footer-logo-img {
    height: 32px;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--teal);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.nav-book-btn {
    display: inline-flex;
    align-items: center;
    background: var(--teal);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(29,158,117,0.25);
}

.nav-book-btn:hover {
    background: var(--teal-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(29,158,117,0.35);
}

/* suppress the underline animation from generic nav a rules */
.nav-book-btn::after { display: none; }

@media (max-width: 768px) {
    nav .container {
        padding: 0 20px;
    }
    nav ul {
        display: none;
    }
    .nav-book-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}

/* Hero */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--teal-light) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 920px;
}

.tagline {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.tagline-line {
    display: block;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--teal);
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tagline-accent {
    color: var(--teal);
}

.hero-message {
    font-size: clamp(19px, 2.5vw, 24px);
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 820px;
    font-weight: 400;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--teal);
    color: white;
    box-shadow: 0 4px 16px rgba(29, 158, 117, 0.2);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 158, 117, 0.3);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

.hero-coming-soon {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.hero-coming-soon::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    .hero .container {
        padding: 0 24px;
    }
    .cta-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }
    .hero-coming-soon {
        margin-top: 8px;
    }
}

/* Section Base */
section {
    padding: 140px 0;
}

section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    section .container {
        padding: 0 24px;
    }
}

.section-intro {
    max-width: 880px;
    margin-bottom: 80px;
}

.section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Problem Section */
.problem {
    background: var(--bg);
}

/* Villain story */
.villain-story {
    max-width: 680px;
    margin-bottom: 120px;
}

.villain-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.villain-quote {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    font-style: italic;
    line-height: 1.3;
    color: var(--text);
    border-left: 3px solid var(--teal);
    padding: 4px 0 4px 28px;
    margin: 44px 0;
}

.villain-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 44px 0;
}

.villain-divider::before,
.villain-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.villain-divider span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    white-space: nowrap;
}

.villain-close {
    font-size: 20px;
    line-height: 1.75;
    color: var(--text);
    margin-top: 8px;
}

.villain-close strong {
    font-weight: 600;
}

/* Features */
.features-intro {
    margin-bottom: 48px;
}

.features-intro h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

.features-intro h2 em {
    font-style: italic;
    color: var(--teal);
}

.features-list {
    border-top: 1px solid var(--border);
}

.feature-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.feature-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--teal);
    opacity: 0.7;
    padding-top: 5px;
    font-variant-numeric: tabular-nums;
}

.feature-body h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0;
    max-width: 640px;
}

@media (max-width: 600px) {
    .feature-item {
        grid-template-columns: 36px 1fr;
        gap: 20px;
        padding: 28px 0;
    }
}

/* ─── Process Section ──────────────────────────────────────────── */
.process-section {
    background: #091710;
    color: rgba(255,255,255,0.88);
}

.process-section .section-label {
    color: var(--teal);
    opacity: 0.9;
    border-color: rgba(29,158,117,0.3);
}

.process-section .section-title {
    color: #fff;
}

.process-timeline {
    position: relative;
    margin-top: 64px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(29,158,117,0.35) 4%, rgba(29,158,117,0.35) 96%, transparent);
    z-index: 0;
}

.process-item {
    position: relative;
}

.process-item + .process-item {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.process-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    padding: 22px 0;
    user-select: none;
}

.process-node {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 1px;
    transition: border-color 0.2s, background 0.2s;
}

.process-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}

.process-header-text {
    flex: 1;
    padding-top: 8px;
}

.process-title {
    font-size: 19px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s;
}

.process-chevron {
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.25);
    margin-top: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.2s;
}

/* Active state */
.process-item.active .process-node {
    border-color: var(--teal);
    background: var(--teal);
}

.process-item.active .process-num {
    color: white;
}

.process-item.active .process-title {
    color: #fff;
}

.process-item.active .process-chevron {
    transform: rotate(180deg);
    color: var(--teal);
}

/* Hover on inactive */
.process-item:not(.active) .process-header:hover .process-node {
    border-color: rgba(29,158,117,0.5);
}

.process-item:not(.active) .process-header:hover .process-title {
    color: rgba(255,255,255,0.75);
}

/* Expandable body */
.process-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 62px;
}

.process-item.active .process-body {
    max-height: 900px;
}

.process-body-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding-bottom: 44px;
    align-items: start;
}

.process-desc {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

/* Frameless viz container */
.process-viz {
    background: none;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.viz-market-chart {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── Step 1: Goal numbers ──────────────────────────────────────── */
.viz-goals {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.viz-goal-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.viz-goal-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
    line-height: 1;
    min-width: 68px;
    flex-shrink: 0;
}

.viz-goal-num.big  { font-size: 30px; }
.viz-goal-num.xl   { font-size: 40px; color: #34D399; }

.viz-goal-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    font-family: 'Inter', sans-serif;
}

.viz-goal-meta span { color: rgba(255,255,255,0.22); }

/* ─── Step 3: Interactive pyramid ──────────────────────────────── */
.viz-pyramid {
    width: 100%;
}

.pyr-risk-axis {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.25);
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
    padding: 0 2px;
}

.pyr-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.pyr-layer {
    cursor: pointer;
    transition: transform 0.15s;
}

.pyr-layer:nth-child(1) { width: 48%; }
.pyr-layer:nth-child(2) { width: 63%; }
.pyr-layer:nth-child(3) { width: 78%; }
.pyr-layer:nth-child(4) { width: 90%; }
.pyr-layer:nth-child(5) { width: 100%; }

.pyr-layer:hover { transform: scaleX(1.02); }

.pyr-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-radius: 6px;
    background: rgba(29,158,117,0.1);
    border: 1px solid rgba(29,158,117,0.18);
    transition: background 0.2s, border-color 0.2s;
}

.pyr-layer:hover .pyr-bar,
.pyr-layer.active .pyr-bar {
    background: rgba(29,158,117,0.25);
    border-color: rgba(29,158,117,0.6);
}

.pyr-layer:nth-child(5) .pyr-bar {
    background: rgba(29,158,117,0.18);
}

.pyr-layer:nth-child(5).active .pyr-bar {
    background: rgba(29,158,117,0.32);
}

.pyr-lname {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pyr-pct {
    font-size: 11px;
    color: var(--teal);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    margin-left: 8px;
}

.pyr-detail {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(29,158,117,0.07);
    border: 1px solid rgba(29,158,117,0.2);
    min-height: 68px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    transition: opacity 0.2s;
}

.pyr-detail-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    display: block;
    margin-bottom: 5px;
}

/* ─── Step 4: Portfolio audit ───────────────────────────────────── */
.viz-audit {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.audit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
}

.audit-title-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    font-family: 'Inter', sans-serif;
}

.audit-count-badge {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(239,68,68,0.15);
    color: #F87171;
}

.audit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.audit-item:last-child { border-bottom: none; }

.audit-icon {
    font-size: 11px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.audit-item.red    .audit-icon { background: rgba(239,68,68,0.18);   color: #F87171; }
.audit-item.yellow .audit-icon { background: rgba(251,191,36,0.18);  color: #FCD34D; }
.audit-item.green  .audit-icon { background: rgba(29,158,117,0.18);  color: #34D399; }

.audit-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.audit-item-title {
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.audit-item.red    .audit-item-title { color: rgba(255,255,255,0.8); }
.audit-item.yellow .audit-item-title { color: rgba(255,255,255,0.75); }
.audit-item.green  .audit-item-title { color: rgba(255,255,255,0.6); }

.audit-item-detail {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    font-family: 'Inter', sans-serif;
}

/* ─── Step 5: Allocation gaps (track + marker) ──────────────────── */
.viz-gaps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 4px 0;
}

.gaps-key {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.gaps-key-item {
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.3);
}

.gaps-key-item.current { color: rgba(255,255,255,0.35); }
.gaps-key-item.target  { color: rgba(29,158,117,0.7); }

.gap-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gap-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gap-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.45);
    font-family: 'Inter', sans-serif;
}

.gap-badge {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.gap-badge.under {
    background: rgba(29,158,117,0.12);
    color: #34D399;
}

.gap-badge.over {
    background: rgba(239,68,68,0.12);
    color: #F87171;
}

.gap-track {
    position: relative;
    height: 8px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: visible;
}

.gap-fill {
    height: 100%;
    border-radius: 4px;
    position: absolute;
    top: 0; left: 0;
}

.gap-fill.under { background: rgba(29,158,117,0.4); }
.gap-fill.over  { background: rgba(239,68,68,0.35); border-radius: 4px; }

.gap-target-pin {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    width: 3px;
    height: 16px;
    background: var(--teal);
    border-radius: 2px;
}

.gap-vals {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255,255,255,0.28);
    font-family: 'Inter', sans-serif;
}

/* ─── Step 6: Research output card ─────────────────────────────── */
.viz-research {
    border: 1px solid rgba(29,158,117,0.22);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.research-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 15px 11px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(29,158,117,0.08);
}

.research-fund-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.research-fund-meta {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
}

.research-rec-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(29,158,117,0.5);
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.research-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rs-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 10px 9px;
    background: rgba(255,255,255,0.02);
    align-items: flex-start;
}

.rs-val {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1;
}

.rs-val.accent { color: var(--teal); }
.rs-val.muted  { color: rgba(255,255,255,0.4); }

.rs-label {
    font-size: 9px;
    color: rgba(255,255,255,0.3);
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

.research-rationale {
    padding: 12px 15px;
}

.rationale-heading {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
}

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

.rationale-points li {
    font-size: 11px;
    color: rgba(255,255,255,0.52);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.rationale-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(29,158,117,0.6);
    font-size: 10px;
}

/* ─── Step 7: Performance chart ─────────────────────────────────── */
.viz-perf-chart {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .process-body-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .process-timeline::before { left: 16px; }
    .process-body { padding-left: 52px; }

    .process-node {
        width: 34px;
        height: 34px;
    }

    .process-title { font-size: 16px; }
    .process-chevron { margin-top: 8px; }
}

/* ─── Empanelled Ticker ──────────────────────────────────────────── */
.empanelled {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    overflow: hidden;
}

.empanelled-intro {
    text-align: center;
    margin-bottom: 18px;
}

.empanelled-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

.ticker-wrap {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    animation: ticker-scroll 28s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    white-space: nowrap;
    cursor: default;
    transition: border-color 0.2s;
}

.ticker-item:hover {
    border-color: var(--teal);
}

.ticker-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.amc-favicon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ─── Portfolio Check Section ────────────────────────────────────── */
.portfolio-check {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.check-intro {
    max-width: 640px;
    margin-bottom: 52px;
}

.check-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}

.check-subtitle strong {
    color: var(--text);
}

/* ─── Carousel ───────────────────────────────────────────────────── */
.check-carousel {
    margin-bottom: 56px;
}

.carousel-stage {
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: border-color 0.18s, color 0.18s, transform 0.15s, opacity 0.2s;
}

.carousel-nav svg {
    width: 18px;
    height: 18px;
}

.carousel-nav:hover:not(:disabled) {
    border-color: var(--teal);
    color: var(--teal);
    transform: scale(1.06);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.check-card {
    min-width: 100%;
    box-sizing: border-box;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 52px 60px 56px;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.card-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

.card-eyebrow span {
    color: var(--teal);
}

.card-q-text {
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.5;
    color: var(--text);
    margin: 0;
    position: relative;
    z-index: 1;
    max-width: 680px;
    font-weight: 400;
}

.card-q-text strong {
    color: var(--teal-dark);
    font-weight: 700;
}

.card-q-watermark {
    position: absolute;
    right: 40px;
    bottom: -16px;
    font-size: 140px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    color: var(--teal);
    opacity: 0.05;
    line-height: 1;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 20px;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.25s cubic-bezier(0.4,0,0.2,1);
}

.dot.active {
    background: var(--teal);
    width: 28px;
}

@media (max-width: 700px) {
    .check-card {
        padding: 36px 32px 40px;
        min-height: 200px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .card-q-watermark {
        font-size: 100px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .carousel-stage {
        gap: 12px;
    }

    .check-card {
        padding: 30px 24px 34px;
    }
}

.check-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 44px 52px;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.check-cta-copy {
    flex: 1;
    min-width: 0;
}

.cta-headline {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Lora', Georgia, serif;
    color: var(--text);
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.cta-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    max-width: 500px;
}

.cta-book-btn {
    display: inline-flex;
    align-items: center;
    background: var(--teal);
    color: #fff;
    padding: 16px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(29,158,117,0.25);
}

.cta-book-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29,158,117,0.35);
}

@media (max-width: 700px) {
    .check-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
        gap: 28px;
    }

    .cta-book-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-color-scheme: dark) {
    .portfolio-check {
        background: var(--bg);
        border-top-color: var(--border);
    }
}

/* Who Section */
.who-intro {
    max-width: 820px;
    margin-bottom: 64px;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

@media (max-width: 968px) {
    .who-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.who-column h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

.who-column ul {
    list-style: none;
}

.who-column li {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 36px;
    position: relative;
}

.who-column li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 20px;
}

.not-belong li::before {
    content: "✗";
    color: #DC2626;
}

@media (prefers-color-scheme: dark) {
    .not-belong li::before {
        color: #EF4444;
    }
}

.belong li::before {
    color: var(--teal);
}

/* Proof Section */
.proof {
    background: linear-gradient(180deg, rgba(232, 245, 241, 0.2) 0%, var(--bg) 100%);
}

@media (prefers-color-scheme: dark) {
    .proof {
        background: linear-gradient(180deg, rgba(13, 40, 34, 0.2) 0%, var(--bg) 100%);
    }
}

.proof-list {
    display: grid;
    gap: 32px;
    margin-top: 60px;
    max-width: 980px;
}

.proof-item {
    padding-left: 32px;
    border-left: 3px solid var(--teal);
    transition: all 0.3s;
}

.proof-item:hover {
    border-left-width: 6px;
    padding-left: 29px;
}

.proof-item h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}

.proof-item p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Manifesto */
.manifesto {
    background: var(--teal);
    color: white;
}

.manifesto .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.manifesto .section-title,
.manifesto .section-description {
    color: white;
}

/* Platform grid */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 80px;
    align-items: center;
}

@media (max-width: 1100px) {
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Store badges */
.store-badges {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s, border-color 0.2s;
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

.store-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.badge-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

.badge-main {
    font-size: 14px;
    font-weight: 600;
}

.badges-soon {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 44px;
    letter-spacing: 0.04em;
}

/* Feature list */
.platform-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 18px;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.platform-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feat-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    margin-top: 2px;
}

.platform-features li div {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.platform-features li strong {
    color: white;
    font-weight: 600;
}

/* Closing line */
.platform-closer {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA button */
.btn-platform {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--teal-dark) !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-platform:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Phone mockup */
.platform-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-3d-wrap {
    position: relative;
    filter: drop-shadow(-28px 28px 60px rgba(0, 0, 0, 0.45));
}

.phone-frame {
    width: 256px;
    background: #131313;
    border-radius: 42px;
    padding: 14px 10px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transform: perspective(900px) rotateY(-16deg) rotateX(5deg);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        -16px 32px 80px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    width: 76px;
    height: 18px;
    background: #131313;
    border-radius: 0 0 12px 12px;
    margin: 0 auto 8px;
}

.phone-screen {
    border-radius: 28px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9 / 19;
    background: #091710;
    display: block;
}

/* Subtle glow under phone */
.phone-3d-wrap::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 15%;
    bottom: -12%;
    height: 60px;
    background: rgba(0, 0, 0, 0.35);
    filter: blur(32px);
    border-radius: 50%;
    z-index: -1;
}

@media (max-width: 1100px) {
    .phone-frame {
        transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
        width: 220px;
    }
}

/* Blog */
.blog-intro {
    max-width: 720px;
    margin-bottom: 64px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card:hover h3 {
    color: var(--teal);
}

.blog-date {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.blog-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-dark);
}

/* Contact */
.contact {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(232, 245, 241, 0.2) 100%);
}

@media (prefers-color-scheme: dark) {
    .contact {
        background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 40, 34, 0.2) 100%);
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    margin-top: 60px;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.contact-method {
    margin-bottom: 32px;
}

.contact-method h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-method a {
    color: var(--teal);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-method p {
    color: var(--text-muted);
    font-size: 17px;
}

.waitlist h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.waitlist > p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background: var(--bg);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: var(--text);
    transition: all 0.3s;
}

@media (prefers-color-scheme: dark) {
    .form-group input,
    .form-group textarea {
        border-color: rgba(255, 255, 255, 0.1);
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    width: 100%;
    background: var(--teal);
    color: white;
    border: none;
    padding: 18px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

button[type="submit"]:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 158, 117, 0.3);
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 80px 0 40px;
}

@media (prefers-color-scheme: dark) {
    footer {
        border-top-color: rgba(255, 255, 255, 0.06);
    }
}

footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    footer .container {
        padding: 0 24px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 340px;
}

.footer-section h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 14px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--teal);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--text-light);
}

/* Visually hidden but readable by search crawlers */
.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.footer-seo {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
    opacity: 0.65;
}

.footer-seo strong {
    font-weight: 600;
    color: var(--text-muted);
}

.footer-arn {
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    opacity: 0.7;
}

@media (prefers-color-scheme: dark) {
    .footer-bottom {
        border-top-color: rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--teal);
}
