:root {
    --bg: #f3ede4;
    --ink: #10233f;
    --muted: #5f6b7a;
    --line: rgba(16, 35, 63, 0.12);
    --card: rgba(255, 255, 255, 0.74);
    --card-strong: rgba(255, 255, 255, 0.92);
    --pitch: #0f4c3a;
    --pitch-soft: #1f6c56;
    --signal: #ff6a3d;
    --gold: #f0bf48;
    --shadow: 0 24px 60px rgba(16, 35, 63, 0.14);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Space Grotesk", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 106, 61, 0.2), transparent 35%),
        radial-gradient(circle at top right, rgba(15, 76, 58, 0.18), transparent 30%),
        linear-gradient(180deg, #fbf7f1 0%, #efe6da 55%, #f8f3ea 100%);
    overflow-x: hidden;
}

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

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

.ambient,
.grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
}

.ambient {
    filter: blur(90px);
    opacity: 0.7;
}

.ambient-one {
    background: radial-gradient(circle at 15% 15%, rgba(240, 191, 72, 0.65), transparent 32%);
}

.ambient-two {
    background: radial-gradient(circle at 85% 20%, rgba(15, 76, 58, 0.35), transparent 28%);
}

.grain {
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(16, 35, 63, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 35, 63, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0;
    backdrop-filter: blur(18px);
    background: rgba(243, 237, 228, 0.72);
    border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.header-inner,
.hero-grid,
.flow-grid,
.cta-card,
.proof-grid {
    display: grid;
    gap: 24px;
}

.header-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand img {
    width: 44px;
    height: 44px;
}

.site-nav {
    display: inline-flex;
    justify-content: center;
    gap: 26px;
    font-size: 0.95rem;
    color: var(--muted);
}

.site-nav a,
.text-link {
    transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.text-link:hover {
    color: var(--ink);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.pill-link,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.pill-link {
    min-height: 44px;
    padding: 0 18px;
    background: rgba(16, 35, 63, 0.06);
    border: 1px solid rgba(16, 35, 63, 0.08);
    font-size: 0.95rem;
    font-weight: 700;
}

.button {
    min-height: 54px;
    padding: 0 24px;
    font-weight: 700;
    font-size: 1rem;
}

.button:hover,
.pill-link:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff6ef;
    background: linear-gradient(135deg, #0f4c3a 0%, #1f6c56 55%, #10233f 100%);
    box-shadow: 0 18px 32px rgba(15, 76, 58, 0.24);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(16, 35, 63, 0.12);
}

.hero {
    padding: 64px 0 32px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}

.eyebrow {
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--pitch);
    font-weight: 700;
}

h1,
h2,
h3,
.proof-kicker,
.bracket-label {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.02em;
    margin: 0;
}

h1 {
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 0.94;
    max-width: 10ch;
}

h2 {
    font-size: clamp(2.6rem, 5vw, 4.1rem);
    line-height: 0.95;
}

h3 {
    font-size: 2rem;
    line-height: 1;
}

.lede,
.section-heading p,
.flow-copy p,
.faq-item p,
.cta-card p,
.supporting-copy,
.proof-grid p,
.quote-card blockquote {
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 18px;
}

.supporting-copy {
    max-width: 58ch;
}

.stat-strip {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-strip article,
.ticker-card,
.proof-grid article,
.feature-card,
.flow-step,
.faq-item,
.quote-card,
.cta-card,
.phone-shell {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.stat-strip article {
    padding: 18px 20px;
    border-radius: var(--radius-md);
}

.stat-strip strong {
    display: block;
    font-size: 2rem;
    font-family: "Bebas Neue", sans-serif;
    line-height: 1;
}

.stat-strip span {
    font-size: 0.92rem;
    color: var(--muted);
}

.hero-stage {
    position: relative;
}

.ticker-card {
    position: absolute;
    top: 8px;
    left: 0;
    max-width: 280px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    transform: rotate(-3deg);
}

.ticker-card strong {
    display: block;
    margin: 8px 0 6px;
    font-size: 1.2rem;
}

.ticker-label {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 76, 58, 0.12);
    color: var(--pitch);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ticker-card p {
    margin: 0;
    color: var(--muted);
}

.phone-rack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 56px;
}

.phone {
    position: relative;
}

.phone:nth-child(1) {
    top: 34px;
}

.phone:nth-child(2) {
    top: 0;
}

.phone:nth-child(3) {
    top: 54px;
}

.phone-shell {
    position: relative;
    min-height: 560px;
    padding: 18px;
    border-radius: 34px;
    overflow: hidden;
}

.phone-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
        linear-gradient(145deg, rgba(15, 76, 58, 0.08), rgba(16, 35, 63, 0.08));
}

.phone-shell > * {
    position: relative;
    z-index: 1;
}

.phone-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.score-card,
.timeline-card,
.list-card,
.push-note,
.bracket-card,
.table-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 35, 63, 0.09);
    background: var(--card-strong);
}

.score-card {
    padding: 22px;
    margin-bottom: 14px;
    background:
        radial-gradient(circle at top right, rgba(240, 191, 72, 0.34), transparent 36%),
        linear-gradient(180deg, rgba(15, 76, 58, 0.98), rgba(9, 53, 41, 0.98));
    color: #fff8f2;
}

.team-row,
.list-row,
.table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.team-row + .team-row {
    margin-top: 12px;
}

.team-row span {
    font-size: 1rem;
}

.team-row strong {
    font-size: 2.4rem;
    line-height: 1;
}

.match-meta {
    margin: 16px 0 0;
    font-size: 0.92rem;
    color: rgba(255, 248, 242, 0.8);
}

.timeline-card,
.list-card,
.table-card {
    padding: 14px;
}

.timeline-entry + .timeline-entry,
.list-row + .list-row,
.table-row + .table-row {
    margin-top: 12px;
}

.timeline-entry {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(16, 35, 63, 0.04);
}

.timeline-entry span,
.feature-index,
.flow-step span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pitch);
}

.timeline-entry p,
.list-row span,
.push-note p,
.table-row span,
.table-row strong,
.bracket-card p {
    margin: 0;
    line-height: 1.45;
}

.timeline-entry.current {
    background: rgba(255, 106, 61, 0.12);
}

.list-row {
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(16, 35, 63, 0.04);
}

.list-row strong,
.table-row strong {
    font-size: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.08);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.tag-live {
    background: rgba(255, 106, 61, 0.16);
    color: #9d3d22;
}

.toggle {
    width: 46px;
    height: 28px;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.14);
    position: relative;
    flex: 0 0 auto;
}

.toggle::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 6px 18px rgba(16, 35, 63, 0.16);
}

.toggle.active {
    background: rgba(15, 76, 58, 0.42);
}

.toggle.active::after {
    left: 22px;
}

.push-note {
    margin-top: 14px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(240, 191, 72, 0.18), rgba(255, 255, 255, 0.7));
}

.bracket-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    margin-bottom: 14px;
}

.bracket-column {
    padding: 14px;
    border-radius: 14px;
    background: rgba(16, 35, 63, 0.05);
}

.bracket-column strong {
    display: block;
    margin-top: 10px;
}

.bracket-label {
    font-size: 1.25rem;
    color: var(--signal);
}

.table-row.header {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
}

.proof-band,
.feature-section,
.flow-section,
.faq-section,
.cta-section {
    padding: 34px 0 40px;
}

.proof-band {
    padding-top: 10px;
}

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

.proof-grid article,
.feature-card,
.flow-step,
.faq-item {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.proof-kicker {
    display: block;
    font-size: 1.4rem;
    color: var(--pitch);
    margin-bottom: 10px;
}

.section-heading,
.flow-copy {
    max-width: 760px;
    margin-bottom: 26px;
}

.feature-grid,
.faq-grid {
    display: grid;
    gap: 18px;
}

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

.feature-card h3,
.flow-step h3,
.faq-item h3 {
    margin: 10px 0 12px;
}

.feature-card p,
.flow-step p {
    margin: 0;
    line-height: 1.6;
    color: var(--muted);
}

.flow-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.flow-steps {
    display: grid;
    gap: 16px;
}

.flow-step span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quote-section {
    padding: 8px 0 28px;
}

.quote-card {
    position: relative;
    padding: 36px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.24), transparent 60%);
}

.quote-mark {
    font-family: "Bebas Neue", sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(15, 76, 58, 0.25);
    margin: 0 0 8px;
}

.quote-card blockquote {
    max-width: 48ch;
}

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

.faq-item p {
    margin-top: 12px;
}

.cta-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 30px;
    border-radius: var(--radius-xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.reveal {
    animation: rise 760ms ease both;
}

.phone {
    animation: drift 7s ease-in-out infinite;
}

.phone:nth-child(2) {
    animation-delay: 0.6s;
}

.phone:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .flow-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        margin-top: 12px;
    }

    .ticker-card {
        position: relative;
        top: auto;
        left: auto;
        transform: rotate(0deg);
        margin-bottom: 18px;
    }

    .phone-rack,
    .feature-grid,
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phone:nth-child(1),
    .phone:nth-child(2),
    .phone:nth-child(3) {
        top: 0;
    }
}

@media (max-width: 820px) {
    .site-header {
        position: static;
    }

    .header-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 14px;
    }

    .site-nav,
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 36px;
    }

    h1 {
        font-size: clamp(3.2rem, 15vw, 4.7rem);
    }

    .stat-strip,
    .phone-rack,
    .proof-grid,
    .feature-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .phone-shell {
        min-height: auto;
    }

    .bracket-card {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .button {
        width: 100%;
    }
}

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

    .reveal,
    .phone {
        animation: none;
    }

    .button,
    .pill-link {
        transition: none;
    }
}
