/* Handful Media website: direction B, "modern tech platform".
   Layout: white, centred hero with the headline, then the network shown as a product dashboard
   (KPIs + selected city). Sections below use fine lines, Geist type and Marigold only as an accent. */

:root {
  color-scheme: light;
  --ink: #0d1117;
  --marigold: #ffb21a;
  --marigold-soft: #fff1d1;
  --marigold-text: #7a4f00;
  --marigold-line: #ffd877;

  --bg: #ffffff;
  --bg-2: #fbfbfc;
  --surface: #ffffff;
  --text: #0d1117;
  --muted: #5b6370;
  --faint: #8a919c;
  --line: #eceef1;
  --line-2: #e3e6ea;
  --btn-bg: #0d1117;
  --btn-text: #ffffff;
  --chip-bg: #f1f2f4;
  --shadow: 0 -20px 60px -40px rgba(13, 17, 23, .35);

  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0e13; --bg-2: #10141b; --surface: #12171f;
    --text: #eef0f3; --muted: #a3acba; --faint: #7d8693;
    --line: #1f2630; --line-2: #2a323e;
    --btn-bg: #eef0f3; --btn-text: #0b0e13;
    --chip-bg: #1a212b;
    --marigold-soft: #33260a; --marigold-text: #ffcf6b; --marigold-line: #6b4d0e;
    --shadow: 0 -20px 60px -40px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e13; --bg-2: #10141b; --surface: #12171f;
  --text: #eef0f3; --muted: #a3acba; --faint: #7d8693;
  --line: #1f2630; --line-2: #2a323e;
  --btn-bg: #eef0f3; --btn-text: #0b0e13;
  --chip-bg: #1a212b;
  --marigold-soft: #33260a; --marigold-text: #ffcf6b; --marigold-line: #6b4d0e;
  --shadow: 0 -20px 60px -40px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--sans); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }
svg { max-width: 100%; }
.mono { font-family: var(--mono); }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--sans);
  padding: 12px 18px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--faint); }
.btn.primary { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.btn.primary:hover { opacity: .9; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn.accent { background: var(--marigold); border-color: var(--marigold); color: #0d1117; }
.btn.ghost-dark { background: transparent; color: #fff; border-color: #3a4250; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.logo svg { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

.statebar { border-top: 1px solid var(--line); }
.states { display: flex; gap: 4px; padding-block: 7px; overflow-x: auto; scrollbar-width: none; }
.states::-webkit-scrollbar { display: none; }
.state-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .04em; color: var(--muted);
  background: transparent; border: 1px solid transparent; border-radius: 7px;
  padding: 7px 10px; cursor: pointer;
}
.state-btn::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.state-btn:hover { color: var(--text); background: var(--chip-bg); }
.state-btn.open { color: var(--text); background: var(--chip-bg); border-color: var(--line-2); }
.state-btn.has-founding::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); }
.citymenu { border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 30px -24px rgba(0,0,0,.35); }
.citymenu .wrap { padding-block: 14px 16px; display: grid; gap: 10px; }
.citymenu-title { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.citylist { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip { display: grid; gap: 3px; min-width: 130px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; }
.city-chip span { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.city-chip small { font: 400 11.5px/1.2 var(--mono); color: var(--faint); }
.city-chip:hover, .city-chip[aria-current="true"] { border-color: var(--faint); }
.city-chip.founding small { color: var(--marigold-text); }
.city-chip.founding { background: var(--marigold-soft); border-color: var(--marigold-line); }

/* ---------- hero ---------- */
.hero { padding-block: 84px 36px; }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: 22px; }
.chip { font: 400 12.5px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; display: inline-flex; gap: 8px; align-items: center; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); }
.hero h1 { font-weight: 600; font-size: clamp(40px, 7.2vw, 86px); line-height: 1.02; letter-spacing: -.05em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, var(--marigold-line) 64%, var(--marigold-line) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 54ch; line-height: 1.55; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- network dashboard ---------- */
.network { padding-block: 20px 72px; scroll-margin-top: 110px; }
.dash { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); box-shadow: var(--shadow); overflow: hidden; }
.dash-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font: 400 12.5px/1.2 var(--mono); color: var(--faint); }
.dash-top b { color: var(--text); font-weight: 500; }
.dash-top .tag { margin-left: auto; background: var(--marigold-soft); color: var(--marigold-text); padding: 4px 8px; border-radius: 6px; }
.dash-body { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
@media (max-width: 860px) { .dash-body { grid-template-columns: minmax(0, 1fr); } }
.kpis { border-right: 1px solid var(--line); display: grid; align-content: start; }
.kpi { padding: 18px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.kpi span { font-size: 12.5px; color: var(--faint); }
.kpi b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .kpis { border-right: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .kpi { border-bottom: 0; border-right: 1px solid var(--line); padding: 14px; }
  .kpi:last-child { border-right: 0; }
  .kpi b { font-size: 24px; }
}
.kpis.row { grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
.kpis.row .kpi { border-bottom: 0; border-right: 1px solid var(--line); }
.kpis.row .kpi:last-child { border-right: 0; }

.city-panel { padding: 24px; display: grid; gap: 20px; background: var(--surface); min-width: 0; }
.city-head { display: grid; gap: 8px; }
.city-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.city-title h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.city-intro { color: var(--muted); max-width: 64ch; }
.st { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 6px; background: var(--chip-bg); color: var(--muted); white-space: nowrap; }
.st.live { background: var(--marigold-soft); color: var(--marigold-text); }
.city-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 980px) { .city-grid { grid-template-columns: minmax(0, 1fr); } }
.city-spots { display: grid; gap: 12px; align-content: start; }
.spots { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.spots-label { font-weight: 600; font-size: 14px; }
.spot-row { display: flex; gap: 6px; flex-wrap: wrap; }
.spot { width: 22px; height: 22px; border-radius: 6px; border: 1px dashed var(--faint); }
.spot.taken { background: var(--marigold); border: 1px solid var(--marigold); }
.spots-count { font: 400 12px/1.3 var(--mono); color: var(--faint); }
.city-list { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.city-list h3 { font-size: 14px; font-weight: 600; }
.city-list ul { list-style: none; margin: 0; padding: 0; display: grid; }
.city-list li { display: grid; gap: 2px; padding-block: 10px; border-top: 1px solid var(--line); }
.city-list li b { font-weight: 600; font-size: 15px; }
.city-list li span { font-size: 13.5px; color: var(--muted); }
.city-list li .sponsor { color: var(--marigold-text); font-weight: 500; }
.city-list .empty { color: var(--faint); font-size: 14px; }
.city-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.network-foot { margin-top: 12px; font: 400 12.5px/1.4 var(--mono); color: var(--faint); text-align: center; }

/* ---------- sections ---------- */
section.block { padding-block: 88px; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 12px; max-width: 64ch; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.sec-head p { color: var(--muted); font-size: 18px; line-height: 1.55; }

.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
@media (max-width: 760px) { .channels { grid-template-columns: minmax(0, 1fr); } }
.channel { padding: 26px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); background: var(--surface); }
.channel:last-child { border-right: 0; }
@media (max-width: 760px) { .channel { border-right: 0; border-bottom: 1px solid var(--line); } .channel:last-child { border-bottom: 0; } }
.channel .mono { font-size: 12px; color: var(--faint); }
.channel h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.channel p { color: var(--muted); font-size: 15px; }
.channel.ours { background: var(--marigold-soft); }
.channel.ours .mono { color: var(--marigold-text); }

.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.steps li { display: grid; gap: 6px; align-content: start; counter-increment: step; padding-top: 16px; border-top: 1px solid var(--line-2); }
.steps li::before { content: "0" counter(step); font: 500 12px/1 var(--mono); color: var(--marigold-text); }
.steps strong { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.steps span { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px; display: grid; gap: 16px; min-width: 0; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.big { font-size: clamp(44px, 6vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.big small { font-size: 15px; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.slider { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; font-size: 14.5px; }
.slider output { font: 500 13.5px/1 var(--mono); font-variant-numeric: tabular-nums; }
.slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--marigold); }
.fine { font-size: 13px; color: var(--faint); line-height: 1.5; }
.fine.pad { padding: 0 18px 16px; }
.tiers { display: grid; }
.tier { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-block: 11px; border-top: 1px solid var(--line); align-items: baseline; }
.tier b { font-weight: 600; font-size: 15px; }
.tier span { color: var(--muted); font-size: 14.5px; }

form.signup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { form.signup { grid-template-columns: minmax(0, 1fr); } }
form.signup h3 { grid-column: 1 / -1; }
.f { display: grid; gap: 6px; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f label { font-size: 13.5px; font-weight: 500; }
.f .opt { font-weight: 400; color: var(--faint); }
.f input, .f select, .f textarea {
  font: 400 15px/1.4 var(--sans); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 10px 12px; width: 100%;
}
.f textarea { min-height: 80px; resize: vertical; }.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); }
.submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 9px; background: var(--marigold-soft); color: var(--text); font-size: 14.5px; }

.proof-list { list-style: none; margin: 0; padding: 0; display: grid; }
.proof-list li { display: grid; gap: 4px; padding-block: 18px; border-top: 1px solid var(--line-2); }
.proof-list li:first-child { border-top: 0; padding-top: 0; }
.proof-list strong { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.proof-list span { color: var(--muted); font-size: 15px; }
.report { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: hidden; min-width: 0; }
.table-wrap { overflow-x: auto; }
.report table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report th, .report td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.report th { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.report .num { text-align: right; font-family: var(--mono); color: var(--muted); }
.report th.num { color: var(--faint); }

.items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.items.who { margin-bottom: 40px; }
.who-h { margin-bottom: 14px; }
.note { display: grid; gap: 4px; margin-bottom: 40px; max-width: 78ch; padding: 16px 18px; border: 1px solid var(--marigold-line); border-radius: 12px; background: var(--marigold-soft); }
.note strong { font-weight: 600; }
.note span { color: var(--muted); font-size: 15px; }
.item { border: 1px solid var(--line-2); border-radius: 12px; padding: 18px; display: grid; gap: 8px; align-content: start; background: var(--surface); }
.item .st { justify-self: start; }
.item b { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.item > span:last-child { font-size: 14px; color: var(--muted); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }
details { border-bottom: 1px solid var(--line); padding-block: 16px; }
summary { cursor: pointer; font-weight: 500; font-size: 16px; }
details p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.final { padding-block: 24px 88px; }
.final-card { background: #0d1117; color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; justify-items: start; }
.final-card h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.final-card p { color: #a3acba; font-size: 17px; max-width: 56ch; }
.final-card .ctas { justify-content: flex-start; }

.site-foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--faint); font-size: 13.5px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.foot-logo { display: inline-flex; align-items: center; gap: 8px; }
.foot-logo svg { width: 20px; height: 20px; }
.foot-logo strong { color: var(--text); font-weight: 600; }

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