/* Layout: one column that reads like a walk-in shelf label — the count sheet is the hero, every claim is shown on a real line. */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #e9edf1;
  --fg: #12161b;
  --muted: #56616d;
  --line: #d3dae1;
  --accent: #1f6fd1;
  --accent-ink: #ffffff;
  --ok: #0f9960;
  --warn: #a8700f;
  --frost: #dfe9f3;
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1216; --surface: #181d23; --surface-2: #212830; --fg: #eef2f6; --muted: #9aa6b2;
    --line: #2c3540; --accent: #4ea8ff; --accent-ink: #06121f; --ok: #3ecf8e; --warn: #f5b942; --frost: #16202a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1216; --surface: #181d23; --surface-2: #212830; --fg: #eef2f6; --muted: #9aa6b2;
  --line: #2c3540; --accent: #4ea8ff; --accent-ink: #06121f; --ok: #3ecf8e; --warn: #f5b942; --frost: #16202a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font: 17px/1.55 var(--body); margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0; max-width: 62ch; }
.eyebrow { font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }


/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { font: 800 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { font: 600 .82rem/1 var(--mono); background: none; border: 0; color: var(--muted); padding: 9px 12px; cursor: pointer; min-height: 38px; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--body); text-decoration: none; border-radius: 12px; padding: 14px 20px; min-height: 48px; border: 1px solid var(--line); color: var(--fg); background: var(--surface); cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.small { padding: 10px 14px; min-height: 40px; font-size: .92rem; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 56px 64px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .lede { font-size: 1.18rem; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-block: 36px 48px; } }

/* the phone */
.phone { justify-self: center; width: min(340px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 34px; padding: 14px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.screen { background: var(--bg); border-radius: 22px; padding: 14px; display: grid; gap: 10px; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sheet-head strong { font: 700 1rem/1.2 var(--body); }
.sheet-head span { font: .78rem/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.temp { font: 600 .72rem/1 var(--mono); color: var(--accent); background: var(--frost); padding: 5px 8px; border-radius: 999px; justify-self: start; }
.rows { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto 18px; gap: 8px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.row .nm { min-width: 0; }
.row .nm small { display: block; color: var(--muted); font-size: .72rem; }
.row .q { font: 600 .85rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.row .st { font-weight: 800; text-align: center; }
.row.ok .st { color: var(--ok); }
.row.ask .st { color: var(--warn); }
.row.empty .q { color: var(--muted); }
.row.new { background: color-mix(in srgb, var(--ok) 12%, transparent); animation: land 900ms ease-out 1.4s both; }
@keyframes land { from { background: color-mix(in srgb, var(--ok) 40%, transparent); } to { background: color-mix(in srgb, var(--ok) 12%, transparent); } }
.heard { font: .82rem/1.35 var(--mono); background: var(--surface-2); border-radius: 12px; padding: 9px 11px; }
.heard b { color: var(--ok); font-weight: 600; }
.ptt { font: 700 1rem/1 var(--body); color: var(--accent-ink); background: var(--accent); border-radius: 16px; text-align: center; padding: 20px 10px; }
.caret { display: inline-block; width: .5ch; background: var(--fg); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* sections */
section.band { padding-block: 72px; border-top: 1px solid var(--line); }
section.band .wrap > header { display: grid; gap: 12px; margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; min-width: 0; }
.step .num { font: 800 3.2rem/1 var(--display); color: var(--accent); }
.step .said { font: .86rem/1.4 var(--mono); color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature .tag { font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* review card example */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--warn); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.card .ch { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card .ch b { font: 700 1.1rem/1.2 var(--body); }
.card .ch small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
.card .ch .q { font: 600 1rem/1 var(--mono); }
.card .tagw { font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--warn); }
.card ul { margin: 0; padding-left: 18px; color: var(--fg); }
.card blockquote { margin: 0; font: italic .9rem/1.4 var(--body); color: var(--muted); }
.card .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.card .acts span { font: 700 .88rem/1 var(--body); padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.card .acts span.p { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* pricing */
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.price-box > * { min-width: 0; }
.period { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.period button { font: 700 .9rem/1 var(--body); border: 0; background: none; color: var(--muted); padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.period button[aria-pressed="true"] { background: var(--surface-2); color: var(--fg); }
.amount { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.amount .big { font: 800 5rem/0.9 var(--display); font-variant-numeric: tabular-nums; }
.amount .per { color: var(--muted); font-size: 1rem; }
.billed { color: var(--muted); font-size: .92rem; margin-top: 8px; min-height: 1.5em; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.incl li::before { content: '✓'; color: var(--ok); font-weight: 800; }
@media (max-width: 760px) { .price-box { grid-template-columns: 1fr; padding: 22px; } }

/* final cta + footer */
.final { text-align: left; display: grid; gap: 18px; justify-items: start; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .row.new, .caret { animation: none; } }

/* the email box: the page's one action */
form.start { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; max-width: 520px; }
form.start label { flex: 1 1 240px; min-width: 0; display: grid; }
form.start input[type="email"] { font: 400 1.05rem/1.2 var(--body); color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%; }
form.start input[type="email"]::placeholder { color: var(--muted); }
form.start .btn { flex: 0 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header sign-in panel */
details.signin { position: relative; }
details.signin > summary { list-style: none; cursor: pointer; }
details.signin > summary::-webkit-details-marker { display: none; }
details.signin .panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .4); }
details.signin .panel p { font-size: .92rem; color: var(--muted); }
.lang a { font: 600 .82rem/1 var(--mono); color: var(--muted); padding: 11px 12px; text-decoration: none; display: inline-block; }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }

/* legal pages */
.doc { padding-block: 40px 64px; display: grid; gap: 18px; max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.doc h2 { font-size: 1.5rem; margin-top: 12px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.draft { border: 1px solid var(--warn); color: var(--fg); background: color-mix(in srgb, var(--warn) 14%, transparent); border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.review-copy { display: grid; gap: 16px; }
.price-form { margin-top: 20px; }
.price-box .fine { margin-top: 10px; }
.nw { white-space: nowrap; }

/* social profiles, in the footer */
.social { display: flex; flex-wrap: wrap; gap: 2px; flex-basis: 100%; margin-left: -12px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); border-radius: 10px; }
.social a:hover { color: var(--fg); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* the founder's story, on the about page */
.doc .portrait { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; margin-top: 4px; }
.doc .sign { font-weight: 700; }
