/* Pitch Stats marketing site. Colours match the app's "clean" theme. */
:root {
    --navy: #29295C;
    --navy-2: #34347A;
    --sky: #79A4DB;
    --sky-soft: #EAF1FA;
    --orange: #DA693A;
    --orange-dark: #C25A2F;
    --page: #F4F7FB;
    --card: #FFFFFF;
    --line: #E3E9F2;
    --text: #1F2A44;
    --muted: #5E6A85;
    --green: #1E9E5A;
    --red: #D64550;
    --amber: #C98A12;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(41,41,92,.05), 0 8px 28px rgba(41,41,92,.09);
    --shadow-lg: 0 20px 50px rgba(41,41,92,.18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: 'Inter', system-ui, sans-serif; color: var(--navy); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange); margin-bottom: .8rem; display: block; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(218,105,58,.35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--sky); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.08rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244,247,251,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; color: #13112F; text-decoration: none; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.brand .mark { width: 36px; height: 36px; display: block; }
.brand .word span { color: var(--orange); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: .55rem 1.1rem; font-size: .92rem; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta .btn-outline { display: none; } }
.nav-cta .btn { white-space: nowrap; }
@media (max-width: 480px) { .brand { font-size: 1.05rem; gap: .45rem; } .brand .mark { width: 30px; height: 30px; } .nav-cta .btn { padding: .5rem .85rem; font-size: .85rem; } }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #4a4ab0 0%, transparent 60%), linear-gradient(135deg, #1f1f4a 0%, var(--navy) 45%, var(--navy-2) 100%); color: #fff; padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero h1 { color: #fff; }
.hero h1 span { color: #FFB38F; display: block; }
.hero .lead { color: #D4D9F2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.1rem; }
.hero-note { font-size: .92rem; color: #B7BEE6; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero-note i { color: #7ee2a8; margin-right: .35rem; }
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual .phone { position: absolute; right: -14px; bottom: -8px; width: 168px; z-index: 3; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-visual { max-width: 640px; } .hero-visual .phone { right: 0; width: 140px; } }

/* device frames */
.browser { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(41,41,92,.12); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #EEF2F8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAE6; display: block; }
.browser-bar i:nth-child(1) { background: #FF6B63; } .browser-bar i:nth-child(2) { background: #FFC24B; } .browser-bar i:nth-child(3) { background: #3ED16B; }
.browser-url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 12px; font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-scroll { max-height: var(--h, 520px); overflow-y: auto; overflow-x: hidden; background: var(--page); scrollbar-width: thin; }
.frame-scroll.static { overflow: hidden; }
.frame-scroll img { width: 100%; }
.scroll-hint { text-align: center; font-size: .8rem; color: var(--muted); padding: 7px; background: #fff; border-top: 1px solid var(--line); }
.scroll-hint i { color: var(--orange); margin-right: .35rem; }
.phone { background: #14142e; border-radius: 34px; padding: 26px 10px 12px; box-shadow: var(--shadow-lg); width: 280px; max-width: 100%; position: relative; }
.phone::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 64px; height: 8px; background: #2d2d55; border-radius: 99px; z-index: 2; }
.phone .frame-scroll { border-radius: 26px; --h: 520px; }
.hero-visual .phone .frame-scroll { --h: 230px; }

/* story */
.story { background: #fff; border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story-badge { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.story-badge .big { font-size: 4rem; line-height: 1; margin-bottom: .4rem; }
.story-badge p { color: #D4D9F2; margin: 0; }
.story-badge strong { color: #fff; font-size: 1.25rem; display: block; margin-bottom: .5rem; }
.story-text p { font-size: 1.14rem; color: #34405e; }
.story-text p.pull { font-size: 1.4rem; font-weight: 700; color: var(--navy); border-left: 4px solid var(--orange); padding-left: 1.1rem; margin: 1.6rem 0; line-height: 1.4; }
.signoff { color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-badge { position: static; } }

/* feature rows */
.feature { padding: clamp(40px, 6vw, 72px) 0; }
.feature-grid { display: grid; grid-template-columns: .85fr 1.35fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature.flip .feature-grid { grid-template-columns: 1.35fr .85fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.ticks li { padding: .35rem 0 .35rem 1.9rem; position: relative; color: #34405e; }
.ticks li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .42rem; color: var(--green); font-size: .85rem; }
.duo { display: flex; gap: 22px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) { .feature-grid, .feature.flip .feature-grid { grid-template-columns: 1fr; } .feature.flip .feature-copy { order: 0; } }

/* compare */
.compare { background: #fff; border-block: 1px solid var(--line); }
.table-wrap { overflow-x: auto; margin-top: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: .98rem; }
.cmp th:first-child, .cmp td:first-child { text-align: left; font-weight: 600; color: var(--navy); width: 34%; }
.cmp thead th { background: var(--page); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp thead th.us { background: var(--navy); color: #fff; }
.cmp td.us { background: #F3F7FF; font-weight: 600; }
.cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); } .no { color: var(--red); } .part { color: var(--amber); }
.cmp i { font-size: 1.05rem; margin-right: .3rem; }
.cmp small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; margin-top: 2px; }
.legend { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1rem; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .emoji { font-size: 2rem; margin-bottom: .4rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }
.card.win { border: 2px solid var(--navy); background: linear-gradient(180deg, #F3F7FF, #fff); }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

/* club colours trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.2rem; }
.trio figure { margin: 0; }
.trio figcaption { text-align: center; font-weight: 700; color: var(--navy); margin-top: 14px; }
.trio .browser { box-shadow: var(--shadow); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.shot { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; color: inherit; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--page); border-bottom: 1px solid var(--line); }
.shot .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot .cap { padding: 14px 16px; }
.shot .cap strong { display: block; color: var(--navy); }
.shot .cap span { color: var(--muted); font-size: .88rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* trust cards */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.2rem; text-align: left; }
.more .card i { font-size: 1.5rem; color: var(--navy); margin-bottom: .7rem; display: block; }
.more .card h3 { font-size: 1.15rem; }
@media (max-width: 960px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .more { grid-template-columns: 1fr; } }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2.2rem; }
.trust .card i { font-size: 1.5rem; color: var(--navy); margin-bottom: .7rem; display: block; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* pricing */
.pricing { background: linear-gradient(180deg, var(--page), #E8EEF8); }
.price-card { max-width: 440px; margin: 2.4rem auto 0; background: #fff; border-radius: 24px; border: 2px solid var(--navy); box-shadow: var(--shadow-lg); padding: 38px; text-align: center; position: relative; }
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-weight: 700; font-size: .8rem; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.price { font-size: 4rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.price small { font-size: 1.1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-alt { margin: .7rem 0 0; color: var(--muted); font-size: .98rem; }
.price-alt strong { color: var(--orange-dark); }
.price-card .ticks { text-align: left; margin: 1.6rem auto; max-width: 300px; }
.price-card .fine { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }

/* faq */
.faq { max-width: 820px; margin: 2.2rem auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(41,41,92,.04); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 22px 20px; margin: 0; color: #34405e; }

/* final cta + footer */
.final { background: linear-gradient(135deg, #1f1f4a 0%, var(--navy) 50%, var(--navy-2) 100%); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final .lead { color: #D4D9F2; }
footer { background: #17173a; color: #A9B0D6; padding: 36px 0; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: #CBD1F0; margin-left: 1.2rem; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,15,40,.86); z-index: 200; display: none; padding: 24px; overflow: auto; }
.lightbox.open { display: block; }
.lightbox .inner { width: min(1100px, 100%); margin: 0 auto; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; color: #fff; margin-bottom: 12px; gap: 12px; }
.lightbox button { background: #fff; border: 0; border-radius: 10px; padding: 8px 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.lightbox img { background: var(--page); border-radius: 10px; width: 100%; }
.lightbox.phone-shot .inner { width: min(460px, 100%); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- inner marketing pages: signup, terms, privacy, notices ---- */
.band { background: radial-gradient(900px 380px at 85% -20%, #4a4ab0 0%, transparent 60%), linear-gradient(135deg, #1f1f4a 0%, var(--navy) 45%, var(--navy-2) 100%); color: #fff; text-align: center; padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.band h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .35em; }
.band p { color: #D4D9F2; max-width: 36em; margin: 0 auto; font-size: 1.1rem; }
.panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); width: min(600px, 100% - 32px); margin: -56px auto 64px; }
.panel.wide { width: min(860px, 100% - 32px); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; font-size: .95rem; }
.field input[type=text], .field input[type=email], .field input[type=password], .field select { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--text); }
.field input:focus, .field select:focus { outline: 3px solid rgba(121,164,219,.45); border-color: var(--sky); }
.field .hint { color: var(--muted); font-size: .86rem; margin-top: .35rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0 1.4rem; font-size: .92rem; color: #34405e; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.msg { border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .95rem; border: 1px solid transparent; }
.msg.error { background: #fdecee; color: #8f1d28; border-color: #f5c2c7; }
.msg.warn { background: #fff4d6; color: #6b4a00; border-color: #ffe3a0; }
.msg.info { background: var(--sky-soft); color: #20406b; border-color: #cfe0f5; }
.btn-block { width: 100%; justify-content: center; }
.panel h2 { font-size: 1.5rem; margin-bottom: .5em; }
.panel .sub { color: var(--muted); margin-bottom: 1.4rem; }
.codebox { display: inline-block; max-width: 100%; word-break: break-all; background: var(--page); border: 1px solid var(--line); border-radius: 10px; padding: .35rem .7rem; font: .92rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--navy); }
.steps-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.steps-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .8rem; flex-wrap: wrap; align-items: baseline; }
.steps-list li:last-child { border-bottom: 0; }
.steps-list strong { min-width: 9em; color: var(--navy); }
.legal h2 { font-size: 1.15rem; margin: 1.9rem 0 .5rem; }
.legal h1 { font-size: 1.9rem; margin-bottom: .2em; }
.legal p, .legal li { color: #34405e; }
.legal ul { padding-left: 1.2rem; }
.legal .muted { color: var(--muted); }
.panel .btn { margin: .25rem; }
