/* ZipList homepage — plain CSS, no build step. */

:root {
  --ink: #0b0d12;
  --muted: #5f6672;
  --line: #e6e8ec;
  --soft: #f6f7f9;
  --btn: #0b0d12;
  --accent: #1f6feb;
  --orange: #e8590c;
  --green: #2f9e44;
  --red: #c02b2b;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand svg { display: block; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.86; }
.btn-soft { background: #eef0f3; border-color: #eef0f3; color: var(--ink); }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.btn-sm { padding: 8px 14px; }

/* ---- hero ---- */
.hero { text-align: center; padding: 44px 0 72px; }
.hero h1 {
  margin: 0 auto;
  max-width: 1000px;
  font-size: clamp(2.7rem, 4.6vw, 3.5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hero p.sub {
  margin: 22px auto 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}
.hero .cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* ---- sections ---- */
section { padding: 72px 0; }
section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; margin: 0 0 8px; }
h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.035em;
}
.lede { margin: 12px 0 0; color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---- highlights strip ---- */
.highlights {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
}
.highlights > div { padding: 32px 28px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.highlights > div:nth-child(2n+1) { border-left: none; padding-left: 0; }
.highlights > div:nth-child(2n) { padding-right: 0; }
.hl-shot {
  position: relative; overflow: hidden; margin-bottom: 20px;
  aspect-ratio: 2.1 / 1; border: 1px solid var(--line); border-radius: 10px;
  background-color: #eef0f3; background-repeat: no-repeat;
  background-size: var(--size, cover); background-position: var(--pos, center);
  box-shadow: 0 1px 2px rgba(11, 13, 18, 0.05);
}
.hl-shot.table { background-color: #fff; }
.hl-shot .attrib {
  position: absolute; right: 6px; bottom: 5px; padding: 1px 6px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.85); color: #3c4043; font-size: 9.5px; line-height: 1.5;
}
.hl-popup {
  position: absolute; left: 50%; top: 50%; width: var(--w, 74%); height: auto;
  transform: translate(-50%, -50%); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 13, 18, 0.22);
}
/* Drawn graphic: a shared list changes, the vendor gets the update email.
   Sized in cqw so it scales with the card. */
.hl-shot.art { container-type: inline-size; background: var(--soft); }
.art-in {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 2.2cqw; padding: 0 3cqw; font-size: 2.45cqw; line-height: 1.35;
}
.art-list, .art-mail {
  background: #fff; border: 1px solid var(--line); border-radius: 1.6em;
  box-shadow: 0 1px 3px rgba(11, 13, 18, 0.08); padding: 1.1em 1.2em;
}
.art-list { flex: 0 0 38%; }
.art-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8em; }
.art-list-head b { font-size: 1.1em; }
.art-list-head span { color: var(--muted); font-size: 0.9em; }
.art-chips { display: flex; flex-wrap: wrap; gap: 0.4em; }
.art-chips i {
  font-style: normal; font-weight: 600; font-size: 0.9em; padding: 0.15em 0.6em;
  border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.art-chips i.blue { color: var(--accent); background: rgba(31, 111, 235, 0.14); border-color: rgba(31, 111, 235, 0.35); }
.art-chips i.orange { color: var(--orange); background: rgba(232, 89, 12, 0.14); border-color: rgba(232, 89, 12, 0.35); }
.art-chips i.new { color: #17592a; background: #eaf6ec; border-color: var(--green); }
.art-added { margin-top: 0.9em; font-weight: 700; font-size: 0.95em; color: var(--green); }
.art-arrow { display: flex; flex-direction: column; align-items: center; color: var(--muted); }
.art-arrow span {
  width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1em;
}
.art-arrow small { margin-top: 0.4em; font-size: 0.78em; white-space: nowrap; }
.art-mail { flex: 1 1 0; min-width: 0; }
.art-mail-title { font-weight: 700; font-size: 1.1em; margin-bottom: 0.2em; }
.art-mail-sub { color: var(--muted); font-size: 0.85em; margin-bottom: 0.7em; }
.art-mail-line { font-size: 0.9em; margin-bottom: 0.3em; }
.art-mail-btn {
  display: inline-block; margin-top: 0.7em; background: var(--accent); color: #fff;
  font-weight: 600; font-size: 0.9em; padding: 0.5em 0.9em; border-radius: 0.5em;
}
/* Drawn graphic: one ZIP's profile, a few of its 60+ datapoints. */
.hl-shot.data { container-type: inline-size; background: var(--ink); border-color: var(--ink); }
.hl-shot.data::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60cqw 40cqw at 18% 30%, rgba(31, 111, 235, 0.55), transparent 70%),
              radial-gradient(40cqw 30cqw at 95% 100%, rgba(232, 89, 12, 0.28), transparent 70%);
}
.data-in {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 3.5cqw;
  padding: 0 4cqw; font-size: 2.3cqw; line-height: 1.3; color: #fff;
}
.data-hero { flex: 0 0 31%; }
.data-zip {
  display: inline-block; font-weight: 700; font-size: 1em; padding: 0.25em 0.8em; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
}
.data-big { font-size: 5.2em; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-top: 0.1em; }
.data-label { font-size: 1.35em; font-weight: 700; margin-top: 0.1em; }
.data-sub { font-size: 0.9em; color: rgba(255, 255, 255, 0.65); margin-top: 0.3em; }
.data-grid { flex: 1 1 0; min-width: 0; font-size: 1.12em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1cqw; }
.data-tile {
  background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 1em; padding: 0.75em 0.9em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.data-tile small { display: block; font-size: 0.78em; font-weight: 600; color: var(--muted); line-height: 1.2; }
.data-tile b { display: block; font-size: 1.75em; letter-spacing: -0.03em; line-height: 1.15; margin-top: 0.1em; }
.data-tile.key { background: var(--accent); color: #fff; }
.data-tile.key small { color: rgba(255, 255, 255, 0.8); }
/* Drawn graphic: an agency at the centre, each client's ZIP list branching off. */
.hl-shot.hub { background: var(--soft); }
.hl-shot.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-ring { fill: rgba(11, 13, 18, 0.06); }
.hub-core { fill: var(--ink); }
.hub-name { fill: #fff; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.hub-tag { fill: rgba(255, 255, 255, 0.6); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.hub-card rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; filter: drop-shadow(0 2px 4px rgba(11, 13, 18, 0.08)); }
.hub-client { fill: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.hub-meta { fill: var(--muted); font-size: 15px; font-weight: 500; }
/* Drawn graphic: area codes ranked by ZIPs, plus the running-total takeaway. */
.hl-shot.codes { container-type: inline-size; background: var(--soft); }
.codes-in {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 3cqw;
  padding: 0 3.5cqw; font-size: 2.3cqw; line-height: 1.3;
}
.codes-list {
  flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 1.4em;
  box-shadow: 0 1px 3px rgba(11, 13, 18, 0.08); padding: 1em 1.2em;
}
.codes-head { font-weight: 700; font-size: 0.95em; color: var(--muted); margin-bottom: 0.7em; }
.codes-row { display: flex; align-items: center; gap: 0.7em; padding: 0.3em 0; }
.codes-row b { flex: 0 0 2.2em; font-size: 1.5em; letter-spacing: -0.03em; }
.codes-row span { flex: 0 0 1.8em; color: var(--muted); font-weight: 600; font-size: 0.85em; }
.codes-row i { flex: 1 1 0; height: 1em; border-radius: 999px; background: var(--soft); display: block; overflow: hidden; }
.codes-row u { display: block; height: 100%; border-radius: 999px; background: #c5cbd5; }
.codes-row.top u { background: var(--accent); }
.codes-row em { flex: 0 0 4.3em; text-align: right; font-style: normal; font-weight: 600; font-size: 0.9em; }
.codes-stat {
  flex: 0 0 32%; align-self: stretch; margin: 5.5cqw 0; background: var(--ink); color: #fff; border-radius: 1.4em;
  padding: 1em 1.2em; display: flex; flex-direction: column; justify-content: center; text-align: center;
  box-shadow: 0 6px 16px rgba(11, 13, 18, 0.22);
}
.codes-big { font-size: 4.4em; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.codes-cap { font-size: 0.95em; margin-top: 0.4em; color: rgba(255, 255, 255, 0.8); }
.codes-cap b { color: #fff; }
.hl-shot.todo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--soft); border-style: dashed; color: var(--muted); font-size: 13px; font-weight: 600;
}
.highlights h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
.highlights p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- "see it" card ---- */
.demo {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
  overflow: hidden;
}
.demo-left { padding: 24px; }
.demo-right { padding: 32px; border-left: 1px solid var(--line); display: flex; align-items: center; background: #fff; }

.window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(11, 13, 18, 0.04), 0 8px 24px rgba(11, 13, 18, 0.05);
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdfe4; display: inline-block; }
.window-bar span { margin-left: 8px; }

table.mock { width: 100%; border-collapse: collapse; font-size: 13px; }
table.mock th {
  text-align: left; font-weight: 600; color: var(--muted); font-size: 12px;
  padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.mock td { padding: 9px 14px; border-bottom: 1px solid #f0f1f4; white-space: nowrap; }
table.mock tr:last-child td { border-bottom: none; }
.mock-stats { display: flex; gap: 22px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mock-stats b { display: block; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; }
.mock-stats small { color: var(--muted); font-size: 11.5px; }

.badge {
  display: inline-block; padding: 1px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  border: 1px solid transparent;
}
.badge.blue { color: var(--accent); background: rgba(31, 111, 235, 0.14); border-color: rgba(31, 111, 235, 0.35); }
.badge.orange { color: var(--orange); background: rgba(232, 89, 12, 0.14); border-color: rgba(232, 89, 12, 0.35); }
.badge.green { color: var(--green); background: rgba(47, 158, 68, 0.14); border-color: rgba(47, 158, 68, 0.35); }

.caption { margin: 12px 4px 0; font-size: 12px; color: var(--muted); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.checks svg { flex: none; margin-top: 3px; }

/* ---- use case cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .vis {
  margin-top: auto; padding-top: 14px;
}
.vis-box {
  border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
  padding: 12px; display: grid; gap: 8px; font-size: 12.5px;
}
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: 12px;
}
.pill.block { border-color: rgba(192, 43, 43, 0.35); background: rgba(192, 43, 43, 0.08); color: var(--red); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.muted { color: var(--muted); }
.mini-btn {
  display: inline-block; padding: 3px 10px; border-radius: 6px; background: #fff;
  border: 1px solid var(--line); font-weight: 600; font-size: 12px;
}
.linkbox {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}

/* ---- two-up use cases ---- */
.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---- founder story ---- */
.story { max-width: 680px; }
.story p { color: var(--muted); font-size: 1.02rem; margin: 0 0 16px; }
.story .eyebrow { color: var(--accent); margin-bottom: 14px; }
.story .tldr { color: var(--ink); font-size: 1.15rem; line-height: 1.45; margin-bottom: 22px; }
.story .tldr strong { margin-right: 4px; }

/* ---- pricing ---- */
.price-controls { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.seg { display: inline-flex; background: #eef0f3; border-radius: 10px; padding: 3px; }
.seg button {
  border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--muted); padding: 7px 16px; border-radius: 8px; cursor: pointer;
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 13, 18, 0.08); }
.seg .save { font-size: 11.5px; font-weight: 600; color: var(--green); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plans.four { grid-template-columns: repeat(4, 1fr); }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
}
.plan h3 { margin: 0; font-size: 17px; letter-spacing: -0.02em; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-top: 6px; }
.plan .price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .price-sub { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; margin: 14px 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.plan li::before { content: "✓"; font-weight: 700; margin-right: 8px; color: var(--green); }
.plan li.off { color: var(--muted); text-decoration: line-through; }
.plan li.off::before { content: "–"; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; margin: 22px auto 0; max-width: 62ch; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 4px 6px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- closing CTA ---- */
.closer { text-align: center; padding: 88px 0; }
.closer h2 { max-width: 18ch; margin: 0 auto; }
.closer .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--ink); }
footer .src { width: 100%; font-size: 12.5px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .demo-right { border-left: none; border-top: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pair { grid-template-columns: 1fr; }
  .plans, .plans.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .highlights > div { padding: 24px 20px; }
  .highlights > div:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 28px 0 48px; }
  .hero h1 { max-width: 16ch; font-size: 2.3rem; }
  section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .plans, .plans.four { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .highlights > div, .highlights > div:nth-child(2n+1) { border-left: none; padding: 24px 0; }
  .demo-left { padding: 14px; }
  .window { overflow-x: auto; }
}
