/* The landing page (roadmap P25), on top of site.css: the same tokens, Dana, gold accent and
   neutrals as the app. Mobile first; light and dark follow the device. */

.landing {
    --wrap: 1120px;
    --shadow: 0 1px 2px rgba(28, 33, 30, .06), 0 8px 24px rgba(28, 33, 30, .06);
    --shadow-lg: 0 24px 60px rgba(28, 33, 30, .16);
    --glow: rgba(255, 179, 0, .22);
    font-size: 16px;
    overflow-x: hidden;
}
@media (prefers-color-scheme: dark) {
    .landing {
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
        --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
        --glow: rgba(255, 179, 0, .12);
    }
}

html { scroll-behavior: smooth; }
.landing section[id] { scroll-margin-top: 72px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow-lp { max-width: 800px; }

.skip {
    position: absolute;
    right: 12px;
    top: -60px;
    z-index: 20;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons: the app's gold button. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    border-radius: 14px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { box-shadow: 0 8px 20px rgba(255, 179, 0, .35); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 20px; height: 20px; }
.btn-sm { min-height: 38px; padding: 6px 14px; border-radius: 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface); box-shadow: var(--shadow); }

/* Header. */
.lp-head {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
}
.lp-head-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.lp-brand { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; text-decoration: none; }
.lp-brand img { width: 36px; height: 36px; }
.lp-nav { display: none; flex: 1; gap: 4px; }
.lp-nav a { padding: 6px 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.lp-nav a:hover { background: var(--surface-2); color: var(--text); }
.lp-head .btn { margin-right: auto; }

/* Hero. */
.hero-lp {
    position: relative;
    padding: 36px 0 48px;
    background:
        radial-gradient(60% 55% at 15% 30%, var(--glow), transparent 70%),
        radial-gradient(40% 40% at 95% 0%, var(--accent-soft), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 13.5px;
    font-weight: 600;
}
.hero-copy { container-type: inline-size; }
/* One line at every width: the text is about 13.5 times its font size wide. */
.hero-copy h1 {
    margin: 0;
    font-size: min(50px, 6.6vw);
    font-size: min(50px, 7.2cqi);
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.3px;
}
.lead { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 2; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cta-row .btn { flex: 1 1 220px; }
.facts { display: flex; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    text-align: center;
}
.facts strong { font-size: 20px; font-weight: 700; line-height: 1.4; }
.facts span { color: var(--muted); font-size: 13px; }

/* The phone mockup: the app's own cards, tabs and standings. */
.mock { position: relative; max-width: 340px; width: 100%; margin: 0 auto; padding: 0 12px; }
.phone {
    position: relative;
    padding: 34px 12px 14px;
    border: 8px solid #1C211E;
    border-radius: 38px;
    background: var(--bg);
    box-shadow: var(--shadow-lg);
}
.ph-notch { position: absolute; top: 8px; left: 50%; width: 76px; height: 16px; margin-left: -38px; border-radius: 10px; background: #1C211E; }
.ph-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.ph-trophy { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); flex: none; }
.ph-trophy img { width: 30px; height: 30px; }
.ph-name { display: flex; flex-direction: column; line-height: 1.5; }
.ph-name b { font-size: 14.5px; }
.ph-name small { color: var(--muted); font-size: 12px; }
.ph-tabs {
    display: flex;
    margin: 10px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    overflow: hidden;
}
.ph-tabs span {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px 2px 6px;
    color: var(--muted);
    font-size: 11.5px;
}
.ph-tabs .ic { width: 18px; height: 18px; }
.ph-tabs .on { color: var(--text); font-weight: 700; }
.ph-tabs .on .ic { fill: var(--accent); }
.ph-tabs .on::after { content: ""; position: absolute; inset: auto 24% 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.ph-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    font-size: 12.5px;
    overflow: hidden;
}
.ph-table th, .ph-table td { padding: 7px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.ph-table th { color: var(--muted); font-size: 11px; font-weight: 500; }
.ph-table tr:last-child td { border-bottom: 0; }
.ph-table .t { text-align: right; font-weight: 500; }
.ph-table b { font-size: 13.5px; }
.ph-table .rk {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface-2);
    font-style: normal;
    font-weight: 700;
    font-size: 11.5px;
}
.ph-table .rk.g { background: var(--accent); color: var(--on-accent); }
.ph-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    font-size: 13px;
}
.ph-match span:last-child { text-align: left; }
.ph-match em { padding: 2px 10px; border-radius: 8px; background: var(--surface-2); font-style: normal; font-weight: 700; }
.ph-match em i { color: var(--muted); font-style: normal; }
.float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    animation: bob 5s ease-in-out infinite;
}
.float .ic { width: 18px; height: 18px; fill: var(--accent-ink); }
.f-one { top: -14px; left: 0; }
.f-two { bottom: -14px; right: 0; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Sections. */
.landing main > section { padding: 56px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.kicker { margin: 0 0 6px; color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.sec-head h2 { margin: 0; font-size: clamp(23px, 5vw, 32px); font-weight: 700; line-height: 1.45; }
.sec-head p:not(.kicker) { margin: 12px 0 0; color: var(--muted); line-height: 1.95; }

.card-lp {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}
.band .card-lp { background: var(--bg); }
.card-lp h3 { margin: 12px 0 6px; font-size: 18px; font-weight: 700; }
.card-lp p { margin: 0; color: var(--muted); line-height: 1.95; }

/* Sports. */
.sports {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.sports li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: transform .15s ease, border-color .15s ease;
}
.sports li:hover { transform: translateY(-2px); border-color: var(--accent); }
.sports img { width: 40px; height: 40px; }
.sport-cards { display: grid; gap: 14px; }
.sport-cards img { width: 44px; height: 44px; }

/* Formats. */
.formats { display: grid; gap: 14px; }
.il { display: block; width: 100%; height: auto; }
.il-bg { fill: var(--surface-2); }
.il-line { fill: var(--line-strong); opacity: .55; }
.il-acc { fill: var(--accent); }
.il-stroke { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }

/* Features. */
.features { display: grid; gap: 14px; }
.feat { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); }
.feat-ic .ic { width: 26px; height: 26px; fill: var(--accent-ink); }
.feat h3 { margin: 14px 0 6px; font-size: 17.5px; font-weight: 700; }
.feat p { margin: 0; color: var(--muted); line-height: 1.95; }

/* Steps. */
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.step-no {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 18px;
    font-weight: 700;
}
.steps h3 { margin: 12px 0 6px; font-size: 17.5px; font-weight: 700; }
.steps p { margin: 0; color: var(--muted); line-height: 1.95; }

/* Plans: the app's tier cards. */
.plans { display: grid; gap: 16px; align-items: start; }
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 0 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg);
    overflow: hidden;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 20px; }
.plan-head h3 { margin: 0; font-size: 19px; font-weight: 700; }
.plan-silver .plan-head { background: linear-gradient(135deg, #F4F6FA, #CDD4DE 60%, #97A2B2); color: #1E2430; }
.plan-gold .plan-head { background: linear-gradient(135deg, #FFE9A3, #FFB300 60%, #E08A00); color: #1C1B1F; }
.plan-diamond .plan-head { background: linear-gradient(135deg, #DDF6FF, #86D0F7 60%, #5B7CF0); color: #0E1A3A; }
.plan-gold { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(255, 179, 0, .22); }
.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #1C1B1F;
    color: #FFE9A3;
    font-size: 12.5px;
    font-weight: 700;
}
.plan-badge .ic { width: 14px; height: 14px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 20px 6px; }
.plan-price strong { font-size: 24px; font-weight: 700; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-list { margin: 8px 20px 20px; padding: 0; list-style: none; }
.plan-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.plan-list li:last-child { border-bottom: 0; }
.plan-list .ic { width: 20px; height: 20px; }
.plan-list .yes .ic { fill: #1F9D55; }
.plan-list .no { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.plan-list .no .ic { fill: var(--line-strong); }
.plan-btn { margin: auto 20px 0; }
.plan-silver .plan-btn, .plan-diamond .plan-btn { background: transparent; border-color: var(--line-strong); color: var(--text); }
@media (prefers-color-scheme: dark) {
    .plan-list .yes .ic { fill: #5FD08F; }
}

/* FAQ. */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.7; }
.faq .chev { transition: transform .2s ease; fill: var(--muted); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px dashed var(--line); }
.faq details p { margin: 0; padding: 14px 18px 18px; color: var(--muted); line-height: 2; }

/* Final call. */
.landing main > .final { padding-top: 8px; }
.final-box {
    padding: 36px 20px;
    border-radius: 24px;
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(255, 233, 163, .9), transparent 70%),
        linear-gradient(160deg, #FFF4D6, #FFE08A);
    color: #1C1B1F;
    text-align: center;
}
.final-box img { width: 88px; height: 88px; }
.final-box h2 { margin: 10px 0 8px; font-size: clamp(22px, 5vw, 30px); font-weight: 700; line-height: 1.5; }
.final-box p { max-width: 520px; margin: 0 auto 22px; color: #5B4A1A; line-height: 1.95; }
.final-box .btn { background: #1C1B1F; border-color: #1C1B1F; color: #FFE9A3; }
.final-box .btn:hover { box-shadow: 0 8px 20px rgba(28, 27, 31, .3); }
@media (prefers-color-scheme: dark) {
    .final-box {
        background:
            radial-gradient(70% 90% at 50% 0%, rgba(255, 179, 0, .28), transparent 70%),
            linear-gradient(160deg, #2B2208, #3A2E0A);
        color: var(--text);
        border: 1px solid #5A4712;
    }
    .final-box p { color: var(--muted); }
    .final-box .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
}

/* Footer. */
.lp-foot { padding: 28px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.lp-foot-in { display: flex; flex-direction: column; gap: 18px; }
.lp-foot-brand { display: flex; align-items: center; gap: 12px; }
.lp-foot-brand img { width: 40px; height: 40px; }
.lp-foot-brand strong { color: var(--text); font-size: 16px; }
.lp-foot-brand p { margin: 2px 0 0; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-foot-links a { text-decoration: none; }
.lp-foot-links a:hover { color: var(--text); text-decoration: underline; }
.lp-copy { max-width: var(--wrap); margin: 18px auto 0; padding: 14px 16px 0; border-top: 1px solid var(--line); font-size: 13px; }

@media (min-width: 600px) {
    .sports { grid-template-columns: repeat(4, 1fr); }
    .sport-cards, .formats, .features, .steps { grid-template-columns: repeat(2, 1fr); }
    .cta-row .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
    .wrap { padding: 0 24px; }
    .lp-nav { display: flex; }
    .lp-head .btn { margin-right: 0; }
    .hero-lp { padding: 64px 0 80px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
    .landing main > section { padding: 80px 0; }
    .sports { grid-template-columns: repeat(6, 1fr); }
    .sport-cards, .formats { grid-template-columns: repeat(4, 1fr); }
    .features, .steps, .plans { grid-template-columns: repeat(3, 1fr); }
    .plan-gold { transform: translateY(-10px); }
    .lp-foot-in { flex-direction: row; align-items: center; justify-content: space-between; }
    .f-one { top: 18px; left: -20px; }
    .f-two { bottom: 26px; right: -20px; }
}

@media (min-width: 1180px) {
    .f-one { left: -56px; }
    .f-two { right: -48px; }
}

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