/*
 * LeadRally website, calm and confident: loaded last. Figtree throughout, headings in sentence case, mostly white,
 * red only for the main action, soft yellow for highlights. The race type is kept for the tagline alone.
 */
:root {
  --hl: #fff3c4;
  --hl-line: #ffe08a;
  --ink-soft: #3a3f4b;
  --text: "Figtree", "Segoe UI", system-ui, sans-serif;
}

body { font-family: var(--text); font-size: 17px; }
h1, h2, .page-hero h1 { font-family: var(--text); text-transform: none; letter-spacing: -0.8px; font-weight: 800; }
h1, .page-hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
h3 { font-family: var(--text); font-weight: 700; }
.eyebrow { font-family: var(--text); font-size: 13px; letter-spacing: 1.2px; }
.lw { color: var(--red); }

/* The tagline: the one place the race type stays. */
.tagline { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.3px; line-height: 0.95; }
.tagline .yes { color: var(--muted); }
.tagline em { font-style: normal; color: var(--red); }

/* Header: white, the links as pills, two buttons. */
.top { background: color-mix(in srgb, var(--surface) 92%, transparent); }
.top.scrolled { box-shadow: 0 6px 24px color-mix(in srgb, var(--ink) 8%, transparent); }
.logo { font-family: var(--text); font-weight: 800; font-size: 22px; text-transform: none; letter-spacing: -0.6px; gap: 9px; }
.logo .mark { width: 30px; height: 30px; flex: none; }
.logo b { color: var(--red); font-weight: 800; }
.top nav { gap: 2px; }
.top nav a { padding: 8px 14px; border-radius: 999px; border-bottom: 0; color: var(--ink-soft); font-weight: 500; }
.top nav a:hover { background: var(--soft); color: var(--ink); }
.top nav a[aria-current="page"] { background: var(--hl); color: var(--ink); font-weight: 700; }
.btn { font-family: var(--text); border-radius: 12px; border-width: 1.5px; font-weight: 700; padding: 13px 20px; }
.btn:hover { transform: none; }
.btn-go:hover { filter: brightness(0.95); box-shadow: none; }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.top .btn { padding: 9px 14px; font-size: 14px; }
.top .btn-line { margin-left: 4px; }
@media (max-width: 980px) { .top .btn-line { display: none; } }

/* Gentler cards and boxes everywhere. */
.card { border-radius: 16px; }
.card.feature { border: 1px solid var(--line); }
.sheet, .ticket { border-width: 1px; border-color: var(--line); box-shadow: none; }
.ticket.main { box-shadow: 0 0 0 2px var(--red); }
.ticket.warranty { box-shadow: 0 0 0 2px var(--hl-line); }
.checklist li::before { background: var(--hl); }

/* ---------------------------------------------------------------- the landing page */
.home-hero { padding-block: 72px 56px; }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.home-hero .eyebrow { margin-bottom: 18px; display: block; }
.home-hero h1 { margin-bottom: 18px; }
.home-hero .tagline { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 22px; }
.home-hero .lead { color: var(--ink-soft); }
.home-hero .ctas { margin-top: 30px; }
.home-hero .fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .home-hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* A picture of the real app: the Today screen. */
.app-shot { margin: 0; background: #ffffff; color: #111318; border: 1px solid #e3e6ec; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(17, 19, 24, 0.12); max-width: 100%; font-family: var(--text); font-size: 13px; }
.app-shot-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #eceef2; min-width: 0; }
.app-shot-bar .mk { width: 22px; height: 22px; flex: none; }
.app-shot-bar .wm { font-weight: 800; letter-spacing: -0.4px; }
.app-shot-bar .wm b { color: var(--red); font-weight: 800; }
.app-shot-bar .co { padding-left: 8px; border-left: 1px solid #eceef2; color: #5b6170; font-weight: 600; }
.app-shot-bar .tab { padding: 4px 10px; border-radius: 999px; background: #fff3c4; font-weight: 700; }
.app-shot-bar .nav { color: #4a5060; }
.app-shot-bar .me { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: #e8eaf0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; flex: none; }
.app-shot-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 320px; }
.app-shot-list { border-right: 1px solid #eceef2; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.app-shot-list .hd { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 6px; }
.app-shot-list .bar { margin: 0 6px 8px; height: 4px; border-radius: 2px; background: #eceef2; overflow: hidden; }
.app-shot-list .bar span { display: block; width: 30%; height: 100%; background: #e2401b; }
.app-shot-list .it { padding: 9px 10px; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; }
.app-shot-list .it.on { background: #fff3c4; }
.app-shot-list .k { font-size: 11px; font-weight: 700; }
.k-red { color: #b02f12; } .k-yel { color: #8a6100; } .k-blue { color: #3346b8; }
.app-shot-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.app-shot-main .arjun { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #eceef2; border-radius: 10px; background: #f8f9fb; color: #3a3f4b; }
.app-shot-main .av { width: 20px; height: 20px; border-radius: 50%; background: #fff3c4; color: #7a5600; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; flex: none; }
.app-shot-main .wrote { border: 1px solid #eceef2; border-radius: 10px; padding: 9px 11px; line-height: 1.5; }
.app-shot-main .wrote small { display: block; color: #5b6170; font-weight: 600; }
.app-shot-main .ans { border: 1.5px solid #111318; border-radius: 10px; overflow: hidden; }
.app-shot-main .ans-hd { display: flex; justify-content: space-between; padding: 6px 11px; background: #f8f9fb; border-bottom: 1px solid #eceef2; font-size: 11px; font-weight: 700; }
.app-shot-main .ans p { margin: 0; padding: 9px 11px; line-height: 1.5; }
.app-shot-main .send { display: inline-block; margin: 0 11px 10px; padding: 7px 12px; border-radius: 8px; background: #e2401b; color: #ffffff; font-weight: 700; font-size: 12px; }
.app-shot figcaption { padding: 8px 14px; border-top: 1px solid #eceef2; color: #5b6170; font-size: 12px; }
@media (max-width: 560px) { .app-shot-body { grid-template-columns: minmax(0, 1fr); } .app-shot-list { border-right: 0; border-bottom: 1px solid #eceef2; } .app-shot-bar .nav { display: none; } }

/* Real numbers. */
.home-proof { padding-block: 0 72px; }
.home-proof .box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; display: grid; gap: 18px; }
.home-proof .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.home-proof h2 { font-size: clamp(24px, 2.6vw, 32px); }
.home-proof .figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.home-proof .fig { padding: 18px 20px 0; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.home-proof .fig:first-child { border-left: 0; padding-left: 0; }
.home-proof .fig b { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -1px; line-height: 1; font-variant-numeric: tabular-nums; }
.home-proof .proof-note { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .home-proof .figs { grid-template-columns: minmax(0, 1fr); } .home-proof .fig { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .home-proof .fig:first-child { border-top: 0; } }

/* Sound familiar: the salesperson's own words, then what changes. */
.pains { padding-block: 24px 72px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; }
.pain .num { font-weight: 800; font-size: 14px; letter-spacing: 1px; color: var(--red); }
.pain h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; font-weight: 800; letter-spacing: -0.3px; color: var(--ink); }
.pain .hurt { color: var(--muted); font-size: 15px; line-height: 1.55; }
.pain .fix { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.pain .fix b { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); }
@media (max-width: 760px) { .pain-grid { grid-template-columns: minmax(0, 1fr); } }

/* What it does: Literally / Never. */
.does { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.does > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.does b { font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; color: var(--ink); }
.does .never b { color: var(--red); }
.does p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) { .does { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .does { grid-template-columns: minmax(0, 1fr); } }

/* Five steps, in order. */
.five { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: five; }
.five li { counter-increment: five; border-top: 3px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.five li:last-child { border-top-color: var(--red); }
.five li::before { content: counter(five, decimal-leading-zero); font-weight: 800; color: var(--red); font-size: 14px; letter-spacing: 1px; }
.five p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 960px) { .five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .five { grid-template-columns: minmax(0, 1fr); } }

/* Roles. */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.roles > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.roles .owner { background: color-mix(in srgb, var(--hl) 60%, var(--surface)); border-color: var(--hl-line); }
.roles .who { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.roles p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* Arjun. */
.arjun { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.arjun .says { display: grid; gap: 12px; }
.arjun .say { background: var(--surface); border: 1px solid var(--hl-line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.arjun .say small { font-weight: 700; color: #8a6100; font-size: 13px; }
@media (max-width: 900px) { .arjun { grid-template-columns: minmax(0, 1fr); } }

/* Trust: rules and data, side by side. */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.trust .rules .rule b { font-family: var(--text); font-weight: 800; font-size: 18px; }
.trust .facts { display: grid; gap: 12px; }
.trust .facts > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.trust .facts p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Price. */
.home-price { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.home-price .amount { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -1.5px; line-height: 1; font-variant-numeric: tabular-nums; }
.home-price .amount small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.price-try { max-width: 440px; }
.price-try p { color: var(--ink-soft); }

/* A call to act right after the steps, so a convinced reader never has to scroll for it. */
.step-cta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.step-cta p { color: var(--ink-soft); }
.step-cta .ctas { align-items: center; margin: 0; }

/* Is it right for you: who it suits, who it does not, what it needs. Help first, so the reader can decide alone. */
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fit-col { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 28px; display: grid; gap: 16px; align-content: start; }
.fit-col h3 { font-size: 19px; font-weight: 800; }
.fit-col .checklist li { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.fit-col .checklist li b { color: var(--ink); }
.fit-ask { margin-top: 24px; color: var(--ink-soft); }
@media (max-width: 960px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* The home page's short FAQ: the last doubts before the closing ask. */
.home-faq { display: grid; gap: 8px; }
.home-faq .faq { max-width: none; }

/* Closing. */
.home-close { background: var(--soft); }
.home-close .wrap { display: grid; justify-items: center; text-align: center; gap: 22px; }
.home-close .tagline { font-size: clamp(48px, 7vw, 92px); }
.home-close .tagline .yes { display: block; font-size: 0.5em; }

/* Footer titles in the calm font. */
.foot-grid h4 { font-family: var(--text); font-weight: 700; letter-spacing: 0.4px; color: var(--ink); }
.trust .rule { grid-template-columns: 48px minmax(0, 1fr); }

/* Light throughout: the bands that were dark (real numbers, the calculator, the closing sections) are light too. */
:root { --night: #f2f3f6; --night-2: #ffffff; --night-ink: #15171d; --night-muted: #5d6270; --night-line: #e2e4ea; }
.beams, .road { display: none; }
.night { background: var(--soft); color: var(--ink); }
.night .lw { color: var(--red); }
.finish { background: var(--soft); color: var(--ink); }
.finish .ask, .finish .answer .yes { color: var(--muted); opacity: 1; }
.finish .answer { color: var(--ink); }
.finish .answer em { color: var(--red); }
.pacenotes { display: none; }
.dark-band { background: var(--soft); color: var(--ink); }
.sheet-head { background: var(--soft); color: var(--ink); border-bottom: 1px solid var(--line); }
.sheet-head .live { color: #8a6100; }
.sheet-head .live::before { background: var(--plate); }
.eq-side.big p { color: #8a6100; }
.eq-side p { color: var(--muted); }
.calc-verdict span { color: #b07a00; }
.calc-line b { color: var(--ink); }
.fit-help { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.fit-help b { color: var(--ink); }
