@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-strong: #f8fafc;
    --ink: #2b303b;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #2ecc71;
    --brand-dark: #239b56;
    --brand-soft: #e6f9ee;
    --accent: #e13c3c;
    --accent-soft: #fde8e8;
    --danger: #e13c3c;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1180px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Source Sans 3', system-ui, sans-serif;
    color: var(--ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.hidden {
    display: none !important;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.topbar {
    background: #e13c3c;
    color: #f7fbff;
    position: relative;
    z-index: 3;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.brandbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    position: relative;
    z-index: 4;
}

.brandbar img {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 640px) {
    .brandbar img { height: 32px; }
}

.video-stage-active .brandbar { display: none !important; }

.topbar-inner {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    min-height: 52px;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
}

.topbar-inner span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    min-width: 280px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 0 2rem;
}

.video-stage-active .topbar,
.video-stage-active .hero-copy,
.video-stage-active .quiz-panel,
.video-stage-active .hero-lead,
.video-stage-active .site-footer {
    display: none !important;
}

.video-stage-active .hero-shell {
    padding: 0;
    min-height: 0;
}

.video-stage-active .hero-wrap {
    width: 0;
    gap: 0;
}

.video-stage-active .hero-media-anchor {
    width: 0;
    height: 0;
    aspect-ratio: auto;
    overflow: visible;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(194, 107, 43, 0.18), transparent 22%),
        radial-gradient(circle at 88% 12%, rgba(28, 106, 83, 0.18), transparent 18%),
        linear-gradient(180deg, rgba(255, 250, 242, 0.80), rgba(246, 241, 232, 0));
    pointer-events: none;
}

.hero-wrap {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    display: grid;
    gap: 1.1rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding: 0.5rem 0 0;
    width: min(100%, 1120px);
    text-align: center;
}

.eyebrow,
.section-kicker,
.result-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.eyebrow,
.section-kicker {
    color: var(--accent);
}

.hero-copy h1,
.section-heading h2,
.proof-intro h2,
.benefits-copy h2,
.result-title {
    margin: 0;
    font-family: 'Source Serif 4', Georgia, serif;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero-copy h1 {
    font-size: 49px;
    margin-left: auto;
    margin-right: auto;
}

.headline-accent-red {
    color: #b42318;
}

.headline-accent-green {
    color: var(--brand);
}

.hero-lead {
    margin: 0.9rem 0 0;
    max-width: 54rem;
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--muted);
    margin-left: auto;
    margin-right: auto;
}
.benefit-row i,
.quiz-assurance i,
.faq-item h3::before {
    color: var(--brand);
}

.info-card,
.step-card,
.faq-item {
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 32px rgba(44, 33, 18, 0.05);
}

.hero-media-anchor {
    width: min(100%, 980px);
    aspect-ratio: 16 / 9;
    position: relative;
}

.hero-media {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(194, 107, 43, 0.18);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}

.hero-video-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.hero-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(27, 43, 52, 0.72);
    color: #fff;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.18);
}

.hero-video-btn:hover {
    background: rgba(27, 43, 52, 0.86);
}

.hero-media.is-muted .hero-video-btn {
    background: rgba(159, 45, 45, 0.82);
}

.video-float-dismiss {
    display: none;
}

.hero-media.is-floating {
    position: fixed;
    inset: auto 1rem 1rem auto;
    width: min(360px, calc(100vw - 1.5rem));
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    z-index: 30;
    animation: float-in 0.25s ease;
}

.hero-media.is-floating .video-float-dismiss {
    display: inline-flex;
}

@keyframes float-in {
    from {
        transform: translateY(18px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.hero-media-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.94);
    border: 1px solid rgba(28, 106, 83, 0.16);
    font-size: 1rem;
    font-weight: 800;
}

.hero-media-badge i {
    color: var(--brand);
}

.quiz-panel {
    width: min(100%, 980px);
    background: linear-gradient(180deg, #fffdf9 0%, #fffaf2 100%);
    border: 1px solid rgba(194, 107, 43, 0.20);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 1.15rem 1.2rem;
    position: relative;
}

.quiz-progress {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: #eadfce;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #df9b62);
    transition: width 0.3s ease;
}

.progress-copy {
    margin-top: 0.6rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--muted);
}

.quiz-body {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.quiz-question {
    margin: 0;
    font-size: clamp(1.85rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.18;
}

.quiz-caption {
    margin: 0.55rem 0 0;
    font-size: 1rem;
    color: var(--muted);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.option-btn,
.call-btn {
    appearance: none;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.option-btn {
    min-height: 64px;
    padding: 0.9rem 1rem;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 0 var(--brand-dark), 0 18px 30px rgba(28, 106, 83, 0.22);
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}

.option-btn:hover,
.call-btn:hover {
    transform: translateY(-2px);
}

.option-btn:active,
.call-btn:active {
    transform: translateY(2px);
}

.option-btn-soft {
    background: #2f7c63;
}

.quiz-assurance {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.social-proof-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    align-items: start;
}

.proof-intro h2,
.section-heading h2,
.benefits-copy h2 {
    margin-top: 0.8rem;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.proof-grid,
.steps-grid,
.faq-list {
    display: grid;
    gap: 1rem;
}

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

.info-card,
.step-card,
.faq-item {
    padding: 1.4rem;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent);
}

.info-card h3,
.step-card h3,
.faq-item h3 {
    margin: 0.9rem 0 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.info-card p,
.step-card p,
.faq-item p,
.benefits-copy p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 1.25rem;
}

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

.step-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 1.15rem;
    font-weight: 800;
}

.benefits-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.80), rgba(255, 250, 242, 0.92));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 40px rgba(44, 33, 18, 0.06);
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

.benefits-list {
    display: grid;
    gap: 0.9rem;
}

.benefit-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 1.08rem;
    font-weight: 700;
}

.faq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-item h3::before {
    content: "•";
    margin-right: 0.45rem;
}

.status-screen,
.result-screen {
    padding: 2rem 1rem 4rem;
}

.status-card,
.result-card {
    width: min(100%, 760px);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
}

.status-card {
    padding: 3rem 2rem;
}

.spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.3rem;
    border: 5px solid #e7dfd2;
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.status-card p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
}

.result-card {
    padding: 2.5rem 2rem;
}

.result-icon {
    font-size: 3.4rem;
    color: var(--brand);
}

.result-kicker {
    margin: 0.7rem 0 0;
    color: var(--accent);
}

.result-title {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.result-title-accent {
    color: var(--brand);
}

.result-notice {
    margin: 1.2rem auto 0;
    max-width: 38rem;
    background: var(--accent-soft);
    border: 1px solid #efc89f;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.2rem;
    font-size: 1.18rem;
    line-height: 1.65;
}

.tap-label {
    margin: 1.4rem 0 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.call-btn {
    width: min(100%, 440px);
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.4rem;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 0 var(--brand-dark), 0 20px 34px rgba(28, 106, 83, 0.24);
    font-size: 1.45rem;
    text-transform: uppercase;
}

.urgency-text {
    margin: 1.2rem auto 0;
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1rem;
    padding: 0.75rem 1.6rem;
    border-radius: 14px;
    background: #fff4f1;
    border: 1px solid #e7b6ae;
    color: var(--danger);
    font-size: 2.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.colon {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0.25; }
}

.site-footer {
    width: min(calc(100% - 2rem), 920px);
    margin: 1rem auto 0;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--muted);
}

.footer-links a {
    color: #225585;
}

.footer-disclaimer {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.7;
}

@media (max-width: 1080px) {
    .social-proof-grid,
    .benefits-layout {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .steps-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 { max-width: 22ch; }
}

@media (max-width: 720px) {
    .topbar-inner {
        justify-content: center;
        padding: 0.7rem 0;
        font-size: 0.92rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .topbar-inner span {
        width: 100%;
        min-width: 0;
    }

    .hero-shell {
        padding-top: 1.1rem;
    }

    .hero-copy {
        padding-top: 0.5rem;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: 2.1rem;
    }

    .hero-lead {
        font-size: 1.08rem;
    }

    .hero-media-anchor {
        aspect-ratio: auto;
        height: 220px;
    }

    .hero-media video {
        object-position: center 20%;
    }

    .hero-media.is-floating {
        width: min(220px, calc(100vw - 1rem));
        inset: auto 0.5rem 0.5rem auto;
        border-radius: 18px;
    }

    .hero-video-actions {
        top: 0.6rem;
        right: 0.6rem;
        gap: 0.45rem;
    }

    .hero-video-btn {
        min-height: 38px;
        padding: 0.55rem 0.75rem;
        font-size: 0.82rem;
    }

    .hero-media-badge {
        width: auto;
        border-radius: 18px;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .quiz-panel {
        padding: 1rem;
    }

    .quiz-question {
        font-size: 1.95rem;
    }

    .quiz-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .quiz-options .option-btn {
        min-height: 72px;
        padding: 0.85rem 0.6rem;
        font-size: 1.15rem;
    }

    .option-btn,
    .call-btn {
        min-height: 68px;
        font-size: 1.22rem;
    }

    .result-card,
    .status-card {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}
