/* Cohort funnel — white/blue VSL page (Goh layout) */

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

:root {
    --accent: #1e3a8a;
    --accent-dim: rgba(30, 58, 138, 0.35);
    --bg: #ffffff;
    --ink: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* full-bleed sections use calc(50% - 50vw), which overshoots by the
       scrollbar width on some platforms — clip so no sideways scroll */
    overflow-x: clip;
}

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 0;
}

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

.ink {
    color: var(--ink);
}

/* Logo */
.logo-block {
    text-align: center;
    margin-bottom: 48px;
}

.logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* Headline */
.eyebrow {
    text-align: center;
    color: var(--accent);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.headline {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 auto 40px;
    max-width: 680px;
    color: var(--ink);
}

@media (min-width: 640px) {
    .headline {
        font-size: 34px;
    }
}

/* VSL */
.vsl-frame {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 20px 45px -15px rgba(17, 24, 39, 0.25);
}

.vsl-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0f172a;
}

.vsl-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vsl-placeholder {
    aspect-ratio: 16 / 9;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.vsl-placeholder-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.subheadline {
    text-align: center;
    font-size: 17px;
    color: #374151;
    margin-bottom: 72px;
}

/* Quiz */
.quiz-block {
    margin-bottom: 110px;
}

.quiz-intro {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 28px;
}

.quiz-progress {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-fill {
    display: block;
    width: 7%;
    height: 100%;
    background: var(--accent);
}

.quiz-step-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quiz-step-pill {
    display: inline-block;
    background: #eff6ff;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.quiz-step-total {
    font-size: 13px;
    color: var(--muted);
}

.quiz-question {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--ink);
}

.quiz-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    margin-bottom: 20px;
    outline: none;
}

.quiz-input::placeholder {
    color: #9ca3af;
}

.quiz-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.quiz-next {
    display: block;
    width: 100%;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.quiz-next:hover {
    background: #172a63;
}

.quiz-next[disabled] {
    opacity: 0.6;
    cursor: default;
}

textarea.quiz-input {
    resize: vertical;
    min-height: 130px;
    line-height: 1.5;
}

/* Yes / No steps */
.quiz-choice {
    display: inline-block;
    min-width: 130px;
    margin: 0 12px 20px 0;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.quiz-choice:hover,
.quiz-choice.is-picked {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.quiz-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quiz-nav .quiz-next {
    flex: 1;
}

.quiz-back {
    background: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--muted);
    cursor: pointer;
}

.quiz-back:hover {
    color: var(--ink);
    border-color: #9ca3af;
}

.quiz-error {
    min-height: 20px;
    margin: -8px 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #b91c1c;
}

.quiz-done p {
    font-size: 16px;
    color: #374151;
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--ink);
}

/* What is the cohort */
.cohort-what {
    margin-bottom: 110px;
}

.cohort-what-lead {
    text-align: center;
    font-size: 16px;
    color: #374151;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cohort-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 40px;
}

@media (min-width: 560px) {
    .cohort-pillars {
        grid-template-columns: 1fr 1fr;
    }
}

.cohort-pillar {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
}

.cohort-pillar h4 {
    color: var(--accent);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cohort-pillar p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.55;
}

.cohort-what-line {
    text-align: center;
    font-size: 16px;
    color: #374151;
    max-width: 560px;
    margin: 0 auto;
}

/* Wall of people we've scaled */
.case-wall {
    margin-bottom: 110px;
}

.pill-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    padding: 8px 22px 8px 8px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
    text-decoration: none;
}

a.pill:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.15);
}

/* Dual-link pills: hover bubble with LinkedIn + Instagram */
.pill-multi {
    position: relative;
    cursor: default;
}

/* invisible bridge so the pointer can cross the gap to the bubble */
.pill-multi::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 15%;
    right: 15%;
    height: 12px;
}

.pill-multi:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.15);
}

.pill-links {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    display: flex;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease 0.25s, transform 0.18s ease 0.25s;
    z-index: 10;
}

.pill-multi:hover .pill-links,
.pill-links:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

.pill-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--accent);
    transition: background 0.15s;
}

.pill-links a:hover {
    background: #eff6ff;
}

.pill-links svg {
    width: 18px;
    height: 18px;
}

/* Touch devices: no hover, so show both icons inline inside the pill */
@media (hover: none) {
    .pill-multi::after {
        display: none;
    }

    .pill-links {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-left: 2px;
        transition: none;
    }

    .pill-links a {
        width: 30px;
        height: 30px;
        background: #eff6ff;
    }

    .pill-links svg {
        width: 16px;
        height: 16px;
    }
}

.pill-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border: 1px solid var(--accent-dim);
    flex-shrink: 0;
    object-fit: cover;
}

.pill-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.pill-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.pill-text em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.many-more {
    text-align: center;
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
    margin-top: 40px;
}

/* Coverflow carousels — full-bleed, wider than the text column */
.carousel-section {
    margin-bottom: 110px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.carousel {
    position: relative;
    overflow: hidden;
    padding: 16px 0 8px;
    max-width: 1250px;
    margin: 0 auto;
}

.carousel-stage {
    position: relative;
    perspective: 1400px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    transition: height 0.3s ease;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(640px, 78%);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px -24px rgba(17, 24, 39, 0.3);
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
}

.carousel-slide.is-center {
    transform: translateX(-50%);
    z-index: 5;
    opacity: 1;
    cursor: default;
}

.carousel-slide.is-left {
    transform: translateX(calc(-50% - 58%)) rotateY(35deg) scale(0.82);
    z-index: 2;
    opacity: 0.5;
}

.carousel-slide.is-right {
    transform: translateX(calc(-50% + 58%)) rotateY(-35deg) scale(0.82);
    z-index: 2;
    opacity: 0.5;
}

.carousel-slide.is-hidden {
    transform: translateX(-50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Laptops / smaller desktops: cap the card at ~half the viewport so the
   whole coverflow (center + two angled side cards) fits on screen */
@media (min-width: 701px) {
    .carousel-slide {
        width: min(640px, 52vw);
    }
}

.slide-media {
    position: relative;
    background: #f3f4f6;
}

.slide-media img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.slide-media iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.slide-media.placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.slide-media.placeholder.video {
    aspect-ratio: 16 / 9;
}

.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 48px;
    background: #e02b2b;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    padding-left: 4px;
}

.placeholder-note {
    font-size: 13px;
    color: #9ca3af;
    padding: 0 16px;
    text-align: center;
}

.slide-caption {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 120px 18px 22px;
    border-top: 1px solid var(--border);
    background: #ffffff;
    text-align: left;
}

/* See Results button + popover */
.see-results {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #eff6ff;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    color: var(--accent);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

/* Also used as an <a> on slides that link straight out (data-link). */
a.see-results {
    text-decoration: none;
    line-height: 1;
}

.see-results:hover,
a.see-results:hover {
    background: var(--accent);
    color: #ffffff;
}

.results-pop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    padding: 6vh 4vw;
    background: rgba(255, 255, 255, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.results-pop.open {
    opacity: 1;
    pointer-events: auto;
}

.results-pop img {
    max-width: 30%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
}

/* One screenshot marked "lg:" gets the room; its siblings shrink to suit. */
.results-pop.has-lg img {
    max-width: 23%;
}

.results-pop.has-lg img.is-lg {
    max-width: 46%;
    max-height: 92vh;
}

.result-video {
    width: 30%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
}

.result-ph {
    width: 28%;
    aspect-ratio: 3 / 4;
    max-height: 80vh;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    padding: 16px;
}

.result-msg {
    max-width: 560px;
    padding: 40px 36px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
    text-align: center;
}

.result-msg p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--ink);
}

.result-msg-cta {
    display: inline-block;
    margin-top: 22px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.result-msg-cta:hover {
    filter: brightness(0.92);
}

/* Brief highlight when the quiz is jumped to from a "Schedule A Meeting" click. */
.quiz-block.is-flagged {
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.results-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
}

@media (max-width: 700px) {
    .results-pop {
        flex-direction: column;
        gap: 12px;
        overflow-y: auto;
        padding: 60px 20px 30px;
        align-items: center;
        justify-content: flex-start;
    }

    .results-pop img,
    .results-pop.has-lg img,
    .results-pop.has-lg img.is-lg {
        max-width: 86%;
        max-height: none;
    }

    .result-video {
        width: 86%;
    }

    .result-ph {
        width: 86%;
        aspect-ratio: 4 / 3;
    }

    .results-pop.is-message {
        justify-content: center;
    }

    .result-msg {
        width: 100%;
        padding: 28px 22px;
    }

    .result-msg p {
        font-size: 17px;
    }
}

@media (max-width: 560px) {
    .slide-caption {
        padding-right: 22px;
        padding-bottom: 52px;
    }

    .see-results {
        top: auto;
        bottom: 12px;
        right: auto;
        left: 22px;
        transform: none;
    }
}

.slide-caption strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
}

.slide-caption span {
    font-size: 13px;
    color: var(--muted);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.carousel-arrow:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.15);
}

.carousel-arrow.prev {
    left: 16px;
}

.carousel-arrow.next {
    right: 16px;
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.25);
}

/* Disclaimer footer */
.disclaimer {
    background: #f3f4f6;
    border-top: 1px solid var(--border);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 44px 32px;
}

.disclaimer p {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    color: #9ca3af;
}

.disclaimer strong {
    color: #6b7280;
}
