:root {
  --canvas: #f5f5f7; --surface: #ffffff; --raised: #fbfbfd;
  --ink: #1d1d1f; --muted: #6e6e73; --faint: #aeaeb2; --line: #e5e5ea;
  --rausch: #ff385c; --rausch-ink: #d70466; --rausch-wash: #fff0f3;
  --ok: #248a3d;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #000; --surface: #1c1c1e; --raised: #2c2c2e;
    --ink: #f5f5f7; --muted: #98989d; --faint: #636366; --line: #38383a;
    --rausch: #ff5a75; --rausch-ink: #ff8fa3; --rausch-wash: #3a1219;
    --ok: #30d158; --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--rausch-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--rausch) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 82%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav nav a { color: var(--ink); }
.nav nav a.pill { white-space: nowrap; background: var(--ink); color: var(--surface); padding: 7px 14px; border-radius: 980px; font-weight: 500; }
.nav nav a.pill:hover { text-decoration: none; opacity: .88; }

/* buttons */
.btn { display: inline-block; background: var(--rausch); color: #fff; padding: 13px 22px; border-radius: 980px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(.95); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-in > *, .two > *, .cta-in > *, .foot-in > *, .grid4 > * { min-width: 0; }
.hero h1 { overflow-wrap: break-word; font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -.035em; line-height: 1; margin-bottom: 20px; }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; }
.stats b { display: block; font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }

/* the scout card: a niche presented like a listing */
.card { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 30px; }
.card-k { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.scout-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.scout h2 { font-size: 34px; margin: 0; }
.where { color: var(--muted); font-size: 18px; margin: 4px 0 0; }
.dial { --v: 0; flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--surface) 78%, transparent 79% 100%), conic-gradient(var(--rausch) calc(var(--v) * 1%), var(--line) 0); }
.dial b { font-size: 38px; line-height: 1; color: var(--rausch-ink); letter-spacing: -.03em; }
.dial span { font-size: 11px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* sections */
.band { padding: 64px 0; }
.band.alt { background: var(--surface); }
.intro { color: var(--muted); max-width: 44em; margin-bottom: 24px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 52em; }
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; }
.crumb { font-size: 14px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--canvas); border-radius: 18px; padding: 22px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }

/* tables */
.table { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); overflow-x: auto; }
.band.alt .table { box-shadow: none; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
td b { font-weight: 600; }
.sub { display: block; color: var(--muted); font-size: 13px; }
.r { text-align: right; }
.n { color: var(--faint); width: 36px; text-align: right; }
.score { --v: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; min-width: 120px; }
.score::before { content: ""; width: 72px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--rausch) calc(var(--v) * 1%), var(--line) 0); }

/* lists, prose, faq */
.checks { padding-left: 1.1em; }
.checks li, .steps li { margin-bottom: 14px; }
.steps { padding-left: 1.3em; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* signup */
.cta { padding: 72px 0; }
.cta-in { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cta p { color: var(--muted); }
.signup { display: grid; gap: 8px; }
.signup label { font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.signup input { font: inherit; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.signup input:focus { outline: none; border-color: var(--rausch); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rausch) 25%, transparent); }
.signup button { font: inherit; font-weight: 600; background: var(--rausch); color: #fff; border: 0; border-radius: 980px; padding: 13px 20px; cursor: pointer; margin-top: 4px; }
.signup button[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 1.5em; font-size: 15px; margin: 6px 0 0; }
.status.ok { color: var(--ok); }
.status.err { color: var(--rausch-ink); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.foot nav { display: grid; gap: 8px; justify-items: start; }
.foot nav a { color: var(--muted); }
.fine { grid-column: 1 / -1; font-size: 12px; margin: 12px 0 0; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 32px; }
  .hero-in, .two, .cta-in, .foot-in { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .cta-in { padding: 28px 22px; }
  .nav nav a:not(.pill) { display: none; }
  .hide-sm { display: none; }
  .score { min-width: 0; }
  .score::before { width: 40px; }
  th, td { padding: 11px 10px; }
  .stats { gap: 20px; flex-wrap: wrap; }
  .lede { font-size: 18px; }
}
@media (max-width: 340px) {
  .logo span { display: none; }
}
@media (max-width: 480px) {
  .grid4 { grid-template-columns: 1fr; }
  .scout h2 { font-size: 28px; }
  .dial { width: 92px; height: 92px; }
  .dial b { font-size: 30px; }
}

/* town lookup */
.finder { padding-top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder-box { position: relative; }
.finder-box input { width: 100%; font: inherit; font-size: 19px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.finder-box input:focus { outline: none; border-color: var(--rausch); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rausch) 22%, transparent); }
.town-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.town-list button { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; padding: 12px 16px; cursor: pointer; }
.town-list button + button { border-top: 1px solid var(--line); }
.town-list button:hover, .town-list button[aria-selected="true"] { background: var(--canvas); }
.town-list small { color: var(--muted); }
.town-card { margin-top: 18px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; }
.town-card h3 { font-size: 24px; margin: 0; }
.town-card .where { margin: 2px 0 16px; font-size: 15px; }
.town-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.town-row .n { width: auto; }
.town-row b { display: block; }
.town-row span.sub { font-size: 13px; }
.town-card .actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.town-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.town-chips button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 980px; padding: 7px 14px; cursor: pointer; }
