/* winmissouri.app home page and help center */
:root {
  --navy: #0d2454; --navy-2: #163470; --navy-3: #2a4a8c; --red: #cc1429; --red-hi: #e0263b;
  --paper: #f5f7fb; --card: #ffffff; --ink: #0f1a33; --muted: #55617a; --line: #dde3ee;
  --blue: #3b66ed; --green: #29b86b; --orange: #fa9924; --gold: #fac233;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0a1224; --card: #111b33; --ink: #e9edf6; --muted: #9ba7c0; --line: #233257; }
}
:root[data-theme="dark"] { --paper: #0a1224; --card: #111b33; --ink: #e9edf6; --muted: #9ba7c0; --line: #233257; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hidden { display: none !important; }

/* ── Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(13, 36, 84, .94); backdrop-filter: saturate(1.4) blur(10px); color: #fff; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); font-stretch: 85%; letter-spacing: .2px; }
.logo img { border-radius: 9px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav nav a { text-decoration: none; opacity: .86; padding: 10px 2px; }
.nav nav a:hover, .nav nav a[aria-current] { opacity: 1; }
.nav .nav-sign { opacity: 1; border: 1.5px solid rgba(255,255,255,.5); padding: 7px 16px; border-radius: 999px; }
.nav .nav-sign:hover { background: #fff; color: var(--navy); }

/* ── Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px;
  font: 700 17px/1 var(--body); text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 2px 0 #8f0d1c; }
.btn.red:hover { background: var(--red-hi); }
.btn.line { border: 2px solid var(--line); color: var(--ink); }
.hero .btn.line, .btn.line.light { border-color: rgba(255,255,255,.45); color: #fff; }
.hero .btn.line:hover, .btn.line.light:hover { border-color: #fff; }

/* ── Hero */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 48px; }
.kicker { margin: 0 0 18px; font-weight: 600; color: #ffb3bc; font-size: 16px; }
.hero h1 { margin: 0; font: 850 clamp(44px, 6.4vw, 80px)/.94 var(--display); font-stretch: 68%; letter-spacing: -.5px; text-wrap: balance; }
.lede { margin: 24px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.84); max-width: 34em; }
.fine { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.62); }
.hero-art { position: relative; }
.hero-map { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); }
.hero-map .ground { fill: #142c63; }
.hero-map .park { fill: #1b4a4a; opacity: .7; }
.hero-map .street-edge { fill: none; stroke: #0c1f49; stroke-width: 26; stroke-linecap: round; }
.hero-map .street { fill: none; stroke: #2d4c8f; stroke-width: 20; stroke-linecap: round; }
.hero-map .roof { fill: #23407f; stroke: #2f4f92; stroke-width: 1; }
.door { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.door.talked { animation: talked .35s ease-out var(--t) both; }
.door.nothome { animation: nothome .35s ease-out var(--t) both; }
@keyframes talked { 0% { fill: var(--blue); r: 7; } 50% { r: 10.5; } 100% { fill: var(--green); r: 7; } }
@keyframes nothome { 0% { fill: var(--blue); r: 7; } 50% { r: 10.5; } 100% { fill: var(--orange); r: 7; } }
.door.sign { stroke: var(--gold); stroke-width: 3.5; }
.sign-pop { opacity: 0; animation: pop 2.4s ease-out var(--t) both; }
.sign-pop rect { fill: var(--gold); }
.sign-pop text { font: 800 15px var(--display); font-stretch: 80%; fill: var(--navy); }
@keyframes pop { 0% { opacity: 0; transform-box: fill-box; } 10% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .door.talked, .door.nothome { animation-duration: 0s; animation-delay: 0s; }
  .sign-pop { animation: none; opacity: 0; }
}
.legend { display: flex; gap: 20px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; color: rgba(255,255,255,.75); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; margin-right: 7px; vertical-align: -1px; }
.k-blue { background: var(--blue); } .k-green { background: var(--green); } .k-orange { background: var(--orange); }

/* ── Proof strip: a card sitting across the bottom edge of the hero */
.proof { background: linear-gradient(var(--navy) 0 50%, var(--paper) 50% 100%); }
.proof-in { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 40px rgba(13, 36, 84, .14); overflow: hidden; }
.pf { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.pf + .pf { border-left: 1px solid var(--line); }
.pf-i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e3eafb; color: var(--blue); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-i { background: rgba(59, 102, 237, .2); color: #8fa9ff; } }
:root[data-theme="dark"] .pf-i { background: rgba(59, 102, 237, .2); color: #8fa9ff; }
.pf-i svg { width: 20px; height: 20px; }
.proof p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.proof b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16.5px; }

/* ── Features */
.features { padding: 80px 0 40px; }
.sec-title { margin: 0 0 56px; font: 800 clamp(32px, 4.2vw, 50px)/1.02 var(--display); font-stretch: 72%; max-width: 15em; text-wrap: balance; }
.sec-title.small-gap { margin-top: 40px; margin-bottom: 32px; font-size: clamp(26px, 3.2vw, 36px); }
.sec-sub { margin: -36px 0 40px; color: var(--muted); max-width: 36em; font-size: 18px; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; padding: 40px 0 72px; }
.feat.flip .feat-copy { order: 2; }
.feat h3 { margin: 0 0 14px; font: 800 32px/1.08 var(--display); font-stretch: 78%; }
.feat p { margin: 0 0 14px; color: var(--muted); font-size: 18px; max-width: 30em; }
.shot { margin: 0; justify-self: center; }
.shot img { background: var(--line); }
.shot.phone { width: min(300px, 80%); }
.shot.phone img { border-radius: 38px; border: 9px solid #0b1430; box-shadow: 0 24px 50px rgba(13, 36, 84, .28); aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.shot.desk { width: 100%; }
.shot.desk img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(13, 36, 84, .2); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

.group { margin: 24px 0 0; font-weight: 700; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .group { color: #ff7d8c; } }

/* Knock with your team: the animated map */
.shot.map { width: min(420px, 100%); }
.team-map { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 50px rgba(13, 36, 84, .22), 0 0 0 1px var(--line); }
.tm-ground { fill: #edf0f5; }
.tm-park { fill: #d5ead9; }
.tm-edge { fill: none; stroke: #d3d9e4; stroke-width: 32; }
.tm-road { fill: none; stroke: #fff; stroke-width: 26; }
.tm-roofs rect { fill: #d9dee8; }
.td { stroke: #fff; stroke-width: 3; }
.td.todo { fill: var(--blue); }
.tm-people circle { filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.tm-people text { font: 800 12px var(--body); fill: #fff; }
.legend.dark { color: var(--muted); justify-content: center; }
.legend.dark i { border-color: var(--card); }

/* Shared party answers and the Assistant: small mockups of the app */
.shot.mock-wrap { width: min(460px, 100%); }
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 24px 50px rgba(13, 36, 84, .18); }
.door-card .dc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.door-card .dc-head b { font: 800 26px/1.1 var(--display); font-stretch: 78%; }
.door-card .dc-head span { color: var(--muted); font-size: 14px; }
.dc-voter { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dc-voter:last-child { border-bottom: 0; padding-bottom: 0; }
.dc-voter b { display: block; }
.dc-voter span { color: var(--muted); font-size: 14px; }
.pill { font-style: normal; font-weight: 700; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pill.strong { background: #cc1429; color: #fff; }
.pill.lean { background: #fde3e6; color: #a30f20; }
.pill.none { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.chat { display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.feat .mock p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); max-width: none; }
.ch-title { font: 800 20px var(--display) !important; font-stretch: 78%; }
.feat .mock .ch-me { color: #fff; }
.ch-me { align-self: flex-end; max-width: 82%; background: var(--blue); color: #fff; padding: 14px 16px; border-radius: 18px 18px 4px 18px; }
.ch-ai { max-width: 88%; background: var(--card); border: 1px solid var(--line); padding: 14px 16px; border-radius: 18px 18px 18px 4px; display: grid; gap: 10px; }
.feat .mock .ch-did { font-size: 14px; }
.ch-did { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px !important; }
.ch-did span:first-child { color: #1f8a52; font-weight: 700; }
.ch-undo { color: var(--muted); }

/* The basics: three compact cards */
.basics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 0 40px; }
.basics > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.basics img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); background: var(--line); }
.basics h3 { margin: 18px 20px 6px; font: 800 22px/1.1 var(--display); font-stretch: 78%; }
.basics p { margin: 0 20px 20px; color: var(--muted); font-size: 15.5px; }

.also { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 36px; margin: 0 0 56px; }
.also div { border-top: 3px solid var(--navy); padding-top: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .also div { border-top-color: var(--navy-3); } }
.also dt { font-weight: 700; margin-bottom: 4px; }
.also dd { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* ── Pricing: a ladder from the smallest race to the biggest */
.pricing { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0; }
.ladder { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.ladder li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ladder li:first-child { border-top: 1px solid var(--line); }
.race b { display: block; font: 800 26px/1.1 var(--display); font-stretch: 78%; }
.race span { color: var(--muted); font-size: 16px; }
.price { font: 800 40px/1 var(--display); font-stretch: 72%; white-space: nowrap; color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price { color: #fff; } }
.price small { font: 500 15px var(--body); color: var(--muted); margin-left: 4px; }
.price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 860px; margin-top: 28px; }
.price-notes p { margin: 0; color: var(--muted); font-size: 16px; }
.price-notes b { color: var(--ink); }
.price-notes a { color: var(--red); font-weight: 600; }
.pricing .cta-row { justify-content: flex-start; margin-top: 36px; }

/* ── FAQ and help */
.faq { padding: 96px 0; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
details[open] summary::after { transform: rotate(225deg); top: 30px; }
details p { margin: 0 0 20px; color: var(--muted); max-width: 40em; }
details a, .faq-more a, .still a { color: var(--red); font-weight: 600; }
.faq-more { margin-top: 24px; color: var(--muted); }

.closer { background: var(--navy); color: #fff; padding: 88px 0; text-align: center; }
.closer h2 { margin: 0; font: 850 clamp(36px, 5vw, 60px)/1 var(--display); font-stretch: 68%; }

.foot { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .logo { color: var(--ink); font-size: 17px; }
.foot p { margin: 10px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.foot-links a { text-decoration: none; padding: 8px 0; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

.help { padding: 56px 0 72px; }
.help-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.help-toc { position: sticky; top: 92px; }
.help-toc ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.help-toc li a { display: block; text-decoration: none; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.help-toc li a:hover { background: var(--card); color: var(--ink); }
.help-search input { width: 100%; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 0 14px; font: 16px var(--body); }
.help-body { max-width: 760px; }
.help h1 { margin: 0; font: 850 52px/1 var(--display); font-stretch: 70%; }
.help .lede { color: var(--muted); margin-top: 12px; }
.help-sec { margin-top: 44px; }
.help-sec h2 { margin: 0 0 4px; font: 800 26px/1.1 var(--display); font-stretch: 78%; color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .help-sec h2 { color: #fff; } }
.none { color: var(--muted); margin-top: 32px; }
.still { margin-top: 56px; padding: 28px 30px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.still h2 { margin: 0 0 8px; font: 800 26px var(--display); font-stretch: 78%; }
.still p { margin: 0; color: var(--muted); }

/* ── Smaller screens */
@media (max-width: 900px) {
  .hero-in, .feat { grid-template-columns: 1fr; gap: 40px; }
  .proof-in { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; border-radius: 18px; }
  .pf + .pf { border-left: 0; border-top: 1px solid var(--line); }
  .feat.flip .feat-copy { order: 0; }
  .feat { padding: 24px 0 56px; }
  .also { grid-template-columns: 1fr 1fr; }
  .basics { grid-template-columns: 1fr; max-width: 520px; }
  .help-in { grid-template-columns: 1fr; gap: 24px; }
  .help-toc { position: static; }
  .help-toc ul { display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav nav { gap: 16px; }
  .nav nav a:not(.nav-sign):not([href="/help"]) { display: none; }
  .hero-in { padding-top: 40px; padding-bottom: 36px; gap: 32px; }
  .lede { font-size: 17px; }
  .pf { padding: 16px 18px; }
  .feat p { font-size: 17px; }
  .shot.phone { width: min(240px, 64%); }
  .shot.phone img { border-width: 7px; border-radius: 32px; }
  .shot.map { width: min(340px, 100%); }
  .help-toc li a { padding: 10px 12px; }
  .also { grid-template-columns: 1fr; }
  .price-notes { grid-template-columns: 1fr; }
  .ladder li { gap: 16px; padding: 18px 0; }
  .race b { font-size: 22px; }
  .race span { font-size: 15px; }
  .price { font-size: 32px; }
  .price small { display: block; margin: 2px 0 0; font-size: 13px; text-align: right; }
  .btn { width: 100%; }
  .features, .pricing, .faq { padding: 56px 0; }
  .features { padding-top: 48px; }
  .sec-title { margin-bottom: 36px; }
}
