/* Sonah — sonah.dev. Warm editorial palette carried over from the Framer build. */
:root {
  --bg: #f7f7f4;
  --panel: rgba(235, 232, 228, 0.6);
  --footer: #eeede6;
  --ink: #251f19;
  --muted: #68615a;
  --faint: #948b81;
  --line: #ebe8e4;
  --line-strong: #d4cdc7;
  --wash: #f7f6f2;
  --accent: #f48d16;
  --accent-ink: #9a5300;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; }
.section { padding: 88px var(--gutter); }
.balance { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.badge { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--accent); }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.h4 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; text-wrap: balance; }
.h4i { font-family: var(--display); font-weight: 500; font-style: italic; font-size: 24px; line-height: 1.2; }
.h5 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.15; }
.body-l { font-size: 16px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.body-xl { font-size: 18px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.num { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; color: var(--line-strong); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; border-radius: 9px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 500 15px/1.2 var(--sans); white-space: nowrap; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(37, 31, 25, .5); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn .arrow {
  width: 36px; height: 36px; border-radius: 6px; background: var(--accent);
  display: grid; place-items: center; color: var(--ink); transition: transform .15s ease;
}
.btn:hover .arrow { transform: translateX(2px); }
.btn.sm { font-size: 14px; padding: 4px 14px 4px 4px; }
.btn.sm .arrow { width: 32px; height: 32px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 247, 244, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); padding: 14px var(--gutter); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 22px/1 var(--display); letter-spacing: -0.02em; }
.wordmark img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 14px; }
.nav-links a:not(.btn):hover { color: var(--accent-ink); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- painted panels (hero + final CTA) ---------- */
.paint {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff; isolation: isolate;
  background:
    radial-gradient(60% 55% at 18% 22%, #f3b77a 0%, transparent 60%),
    radial-gradient(45% 40% at 82% 18%, #f6cf9c 0%, transparent 65%),
    radial-gradient(55% 50% at 70% 70%, #b84f3b 0%, transparent 62%),
    radial-gradient(60% 45% at 10% 95%, #7d3a31 0%, transparent 60%),
    radial-gradient(50% 40% at 50% 105%, #e8913f 0%, transparent 70%),
    linear-gradient(160deg, #df8d5c 0%, #c4614a 48%, #a24937 100%);
}
.paint::before {
  /* brush texture */
  content: ""; position: absolute; inset: -20%; z-index: -1; opacity: .38; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 600px 600px; transform: rotate(-4deg);
}
.paint::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(37, 31, 25, .16); }
.paint.sea {
  background:
    radial-gradient(70% 40% at 60% 30%, #f8d9a8 0%, transparent 60%),
    radial-gradient(60% 45% at 20% 15%, #e9935a 0%, transparent 65%),
    radial-gradient(80% 40% at 50% 85%, #6e3a35 0%, transparent 65%),
    linear-gradient(180deg, #d9875a 0%, #c86a45 45%, #8c4a3d 70%, #5d3a36 100%);
}
.paint .inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: clamp(72px, 10vw, 112px) 24px; }
.paint h1, .paint .cta-title {
  font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(26, 23, 20, .18); text-wrap: balance; max-width: 760px;
}
.paint h1 { font-size: clamp(38px, 6.5vw, 72px); }
.paint .cta-title { font-size: clamp(32px, 5.4vw, 60px); max-width: 720px; }
.paint p.lede { max-width: 580px; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 12px rgba(26, 23, 20, .25); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 4px; }
.link-light { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .6); text-underline-offset: 4px; }
.link-light:hover { text-decoration-color: #fff; }
.harness { font-size: 14px; color: rgba(255, 255, 255, .92); }
.hero { padding: 12px var(--gutter) 0; }

/* ---------- review card + timeline (shared card chrome) ---------- */
.card-ui {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-align: left;
  box-shadow: 0 1px 2px rgba(37, 31, 25, .04), 0 24px 60px -24px rgba(37, 31, 25, .22);
}
.card-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--wash); border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; }
.mono { font-family: var(--mono); }
.label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.label.accent { color: var(--accent); }

.review-section { padding: 56px var(--gutter) 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.review { max-width: 720px; }
.review .bar-title { margin-left: 10px; font-size: 12px; color: var(--faint); }
.review .content { padding: clamp(16px, 4vw, 24px); }
.review .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.review .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; font-family: var(--display); }
.review .brand img { width: 24px; height: 24px; }
.pill { font-size: 12px; color: var(--muted); background: var(--wash); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.asked { margin-top: 16px; display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); }
.asked .mono { font-size: 13px; }
.findings { list-style: none; margin: 0; padding: 0; }
.finding { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.finding:first-child { border-top: none; margin-top: 6px; }
.finding .n { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 2px; }
.finding .row { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 12px; row-gap: 2px; }
.finding .turn { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; }
.finding .title { margin-top: 4px; font-family: var(--display); font-size: 16px; font-weight: 500; line-height: 1.35; }
.finding blockquote { margin: 10px 0 0; padding: 2px 0 2px 12px; border-left: 2px solid var(--accent); font-family: var(--mono); font-size: 12.5px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.finding .note { margin-top: 8px; font-size: 13px; line-height: 1.45; }

.timeline .card-bar { justify-content: space-between; flex-wrap: wrap; }
.timeline .card-bar strong { font-size: 14px; font-family: var(--display); font-weight: 600; }
.timeline .card-bar .mono { font-size: 12px; color: var(--faint); }
.turns { list-style: none; margin: 0; padding: clamp(14px, 3vw, 22px); }
.turn-row { display: grid; grid-template-columns: 50px 14px 1fr; column-gap: 10px; }
.turn-row .t { font-family: var(--mono); font-size: 11px; color: var(--faint); padding-top: 3px; white-space: nowrap; }
.turn-row .rail { position: relative; display: flex; justify-content: center; }
.turn-row .rail::before { content: ""; position: absolute; top: 14px; bottom: 0; width: 1px; background: var(--line); }
.turn-row:last-child .rail::before { display: none; }
.turn-row .pip { position: relative; margin-top: 5px; width: 9px; height: 9px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-strong); }
.turn-row.flag .pip { background: var(--accent); border-color: var(--accent); }
.turn-row .what { min-width: 0; padding-bottom: 18px; }
.turn-row:last-child .what { padding-bottom: 0; }
.turn-row .said { margin-top: 4px; font-family: var(--display); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.turn-row .said.code { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.flagchip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(244, 141, 22, .1); border: 1px solid rgba(244, 141, 22, .35); color: var(--accent-ink); font-size: 12px; font-weight: 500; }
.flagchip b { color: var(--accent); font-size: 11px; font-weight: 600; }

/* reveal on scroll (only when JS is on; content is visible without it) */
.js [data-reveal] > * { opacity: 0; transform: translateY(10px); transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1); }
.js [data-reveal].in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] > * { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- section headers ---------- */
.head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.head-split .left { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.head-split .right { max-width: 420px; }
.head-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin: 0 auto 40px; max-width: 720px; }
.head-center .sub { margin-top: 8px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { background: var(--panel); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.lead-in { margin-bottom: 20px; max-width: 820px; }
.closing { margin-top: 24px; }

/* how it works */
.how { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.steps { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; border-bottom: 1px dashed var(--line-strong); }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.how .visual { flex: 1 1 340px; max-width: 580px; }

/* why rows */
.rows { border-top: 1px dashed var(--line-strong); }
.why-row { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 24px 0; border-bottom: 1px dashed var(--line-strong); }
.why-row .h4 { flex: 1 1 260px; max-width: 440px; }
.why-row p { flex: 1 1 260px; }

/* bigger picture */
.bigger p { max-width: 560px; margin: 0 auto; text-align: center; }
.bigger p + p { margin-top: 20px; }

/* faq */
.faq { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.faq .side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.faq .side .h2 { font-size: clamp(36px, 4.6vw, 52px); }
.faq .list { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--panel); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.5; }
.mosaic { position: relative; height: 120px; margin-top: 12px; }
.mosaic span { position: absolute; width: 18px; height: 18px; background: var(--accent); }

/* final cta */
.final { padding: 40px var(--gutter) 80px; }

/* ---------- footer ---------- */
.footer { background: var(--footer); padding: 40px var(--gutter) 24px; overflow: hidden; }
.footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--line-strong); }
.footer .tag { padding-top: 20px; font-size: 14px; color: var(--muted); }
.footer .legal { position: relative; z-index: 1; margin-top: -28px; font-size: 14px; color: var(--muted); }
.watermark { position: relative; margin-top: 32px; container-type: inline-size; height: 22cqw; overflow: hidden; user-select: none; pointer-events: none; }
.watermark .word {
  font-family: var(--display); font-weight: 600; font-size: 29cqw; line-height: .9; letter-spacing: -.04em;
  white-space: nowrap; text-align: center; color: transparent;
  background: linear-gradient(180deg, #e4e0d8 0%, rgba(228, 224, 216, .35) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.watermark i { position: absolute; width: 1.8cqw; min-width: 6px; aspect-ratio: 1; background: var(--accent); }

/* ---------- waitlist page ---------- */
.signup { padding: 64px var(--gutter) 96px; }
.signup .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.signup .left { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.signup .right { flex: 1 1 320px; max-width: 600px; }
.signup h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.015em; }
.form { background: var(--panel); border-radius: 20px; padding: clamp(20px, 4vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.form label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.form input[type=text], .form input[type=email] { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #e4e0dd; background: #fff; font: 15px var(--sans); color: var(--ink); }
.form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form fieldset { border: none; margin: 0; padding: 0; }
.form legend { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid #e4e0dd; background: #fff; font-size: 14px; cursor: pointer; user-select: none; }
.chips input:checked + span { border-color: var(--accent); background: rgba(244, 141, 22, .12); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.check .dim { color: var(--muted); }
.form .btn { align-self: flex-start; margin-top: 4px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form-msg { font-size: 14px; color: #b4232f; }
.thanks { background: var(--panel); border-radius: 20px; padding: 28px; }
.thanks h2 { font-family: var(--display); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.thanks p { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
