/* Sunny tokens from DESIGN.md (2026-10-15). */
:root {
  --ink: #1c1a3a;
  --ink-2: #5c5a78;
  --muted: #66647f;
  --faint: #a3a0b9;
  --page: #fbfaff;
  --sky: #eef0ff;
  --surface: #ffffff;
  --border: #e6e4f0;
  --cobalt: #2b55f0;
  --cobalt-hover: #2247d6;
  --sun: #ffc83d;
  --sun-light: #fff4d1;
  --sun-ink: #7a5600;
  --pink: #ff6b9e;
  --pink-light: #ffe3ed;
  --pink-ink: #a3164a;
  --mint: #2dbe87;
  --mint-light: #dcf6eb;
  --mint-ink: #0e6e4a;
  --grape: #7c5cff;
  --grape-light: #ece6ff;
  --grape-ink: #4b2fc2;
  --pop: 3px 3px 0 var(--ink);
  --pop-hover: 4px 4px 0 var(--ink);
  --r-sm: 10px;
  --r-control: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(43, 85, 240, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: var(--cobalt); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-control); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-2); font-size: 14px; }
.small { font-size: 14px; color: var(--muted); margin-top: 14px; }
.sub { color: var(--ink-2); font-size: 18px; margin: 12px 0 28px; max-width: 640px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Buttons: the sticker edge */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: var(--r-control);
  text-decoration: none; cursor: pointer;
  transition: transform 120ms, box-shadow 120ms, background 120ms;
}
.btn-pop { background: var(--cobalt); color: #fff; border: 2px solid var(--ink); box-shadow: var(--pop); }
.btn-pop:hover { background: var(--cobalt-hover); transform: translate(-1px, -1px); box-shadow: var(--pop-hover); }
.btn-pop:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-quiet { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); }
.btn-quiet:hover { border-color: var(--ink-2); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; margin-top: 20px; }

/* Chips */
.chip { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.chip-sun { background: var(--sun-light); color: var(--sun-ink); }
.chip-mint { background: var(--mint-light); color: var(--mint-ink); }
.chip-grape { background: var(--grape-light); color: var(--grape-ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(251, 250, 255, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; font-size: 20px; }
.tag { font-size: 12px; font-weight: 600; background: var(--sun); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 8px; }

/* Hero */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle, rgba(28, 26, 58, 0.09) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--sky), var(--page));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
.hl { background: linear-gradient(transparent 60%, var(--sun) 60%); }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--mint-ink); font-weight: 700; margin-right: 6px; }

.hero-cards { position: relative; display: grid; gap: 14px; }
.note { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--pop); padding: 14px 16px; display: grid; gap: 6px; }
.note strong { font-family: var(--display); font-size: 18px; }
.note-a { transform: rotate(-1.5deg); }
.note-b { transform: rotate(1deg) translateX(18px); }
.note-c { transform: rotate(-0.5deg); }
.sample { font-size: 12px; color: var(--muted); text-align: right; }

/* Sections */
.section { padding: 80px 0; }
.band { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-sun { background: var(--sun-light); }
.form-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--pop); overflow: hidden; }
.form-card iframe { display: block; width: 100%; border: 0; }
.fallback { padding: 28px; color: var(--ink-2); }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; display: grid; gap: 8px; align-content: start; }
.flow-step strong { font-family: var(--display); font-size: 18px; }
.flow-step span:last-child { color: var(--ink-2); font-size: 15px; }
.flow-icon { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1.5px solid var(--ink); font-family: var(--display); font-weight: 800; }
.tile-sun { background: var(--sun); }
.tile-pink { background: var(--pink); color: #fff; }
.tile-mint { background: var(--mint); color: #fff; }
.tile-grape { background: var(--grape); color: #fff; }
.tile-cobalt { background: var(--cobalt); color: #fff; }

/* Value stack and price */
.price-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.stack { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.stack th, .stack td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.stack thead th { font-size: 13px; font-weight: 500; color: var(--muted); }
.stack td strong { display: block; }
.stack td span { display: block; font-size: 14px; color: var(--ink-2); }
.stack .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.stack tfoot th, .stack tfoot td { font-family: var(--display); font-size: 20px; font-weight: 800; border-bottom: 0; }
.price-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-xl); box-shadow: var(--pop); padding: 28px; position: sticky; top: 88px; }
.price { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.04em; margin-top: 12px; }
.was { font-size: 28px; color: var(--faint); text-decoration: line-through; margin-right: 6px; }
.once { color: var(--ink-2); }
.spots { margin-top: 16px; }

/* Promises */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.promise { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--pop); padding: 24px; display: grid; gap: 10px; }
.promise p { color: var(--ink-2); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { display: grid; gap: 10px; align-content: start; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; }
.steps strong { font-family: var(--display); font-size: 19px; }
.steps p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* Scope */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.list-yes, .list-no { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.list-yes li::before { content: "✓"; color: var(--mint-ink); font-weight: 700; margin-right: 10px; }
.list-no li::before { content: "✕"; color: var(--pink-ink); font-weight: 700; margin-right: 10px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 20px; margin-top: 12px; }
details:first-of-type { margin-top: 24px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; color: var(--ink-2); }

/* Lead Leak Check */
.leak-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 15px; }
.leak-points li { counter-increment: leak; }
.leak-points li::before { content: counter(leak); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--ink); font-size: 12px; font-weight: 700; margin-right: 8px; }

/* Footer */
.foot { padding: 32px 0; border-top: 1px solid var(--border); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .price-grid, .promises, .scope { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .price-card { position: static; }
  .note-b { transform: rotate(1deg); }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 56px; }
  .section, .band { padding: 56px 0; }
  .flow, .steps, .leak-points { grid-template-columns: 1fr; }
  .stack th, .stack td { padding: 12px; }
  .price { font-size: 52px; }
  .btn { width: 100%; }
  .top .btn { width: auto; }
}
@media (max-width: 420px) {
  .top .tag { display: none; }
}
.wordmark, .tag, .top .btn { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .note { transition: none; transform: none !important; }
}
