:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #5c5c5c;
  --line: #e8e8e8;
  --accent: #0a0a0a;
  --accent-ink: #ffffff;
  --max: 1100px;
  --text: 680px;
  --pad-d: 96px;
  --pad-m: 64px;
  --tap: 44px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { opacity: 0.75; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
}
.text { max-width: var(--text); }
/* When text shares the wrap node, keep the 1100px centered column */
.wrap.text {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.wrap.text > h1,
.wrap.text > .lede,
.wrap.text > .fine,
.wrap.text > .price-line,
.wrap.text > .btn,
.wrap.text > .stack,
.wrap.text > p,
.wrap.text > ul,
.wrap.text > ol {
  max-width: var(--text);
}

/* Header: logo only on home feel; sparse elsewhere */
.site-header {
  padding: 1.25rem 0;
}
.site-header .wrap,
.site-header .wrap.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.brand {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  align-items: center;
  flex-shrink: 0;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 0.65rem 0.85rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); opacity: 1; }

/* Type scale: 3 sizes — display, body (17px), small (14px) */
h1 {
  font-size: clamp(1.75rem, 6.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
  max-width: 16em;
}
.nobr { white-space: nowrap; }
.br-desk { display: none; }
@media (min-width: 768px) {
  .br-desk { display: inline; }
  .hero h1 { max-width: 11.5em; font-size: clamp(2rem, 5vw, 2.75rem); }
}
h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}
h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}
.small, .fine {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.price-line {
  font-size: 14px;
  color: var(--muted);
  margin: 1rem 0 0.35rem;
}

/* Buttons — one accent (near-black) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.4rem;
  min-height: 48px;
  min-width: 48px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { opacity: 0.88; color: var(--accent-ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.block { width: 100%; max-width: 22rem; }

/* Sections */
.section {
  padding: var(--pad-m) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--pad-d) 0; }
}
.section + .section { border-top: 1px solid var(--line); }
.hero {
  /* Content-sized — no blank fold band. Top 64m/96d under nav. */
  padding: 64px 0 96px;
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 90px; }
}
/* Hero → how ~160m / 150d — keeps later steps out of fold; heading→list spacing stays normal */
.section-after-hero {
  padding-top: 64px;
}
@media (min-width: 768px) {
  .section-after-hero { padding-top: 60px; padding-bottom: var(--pad-d); }
}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--text);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.steps li:first-child { border-top: none; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  min-width: 1.5rem;
}

/* State picker — plain rows, not cards */
.picker {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--text);
  border-top: 1px solid var(--line);
}
.picker a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.picker a:hover { opacity: 0.7; }
.picker .meta { color: var(--muted); font-size: 15px; white-space: nowrap; }

/* FAQ */
.faq {
  max-width: var(--text);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  font-weight: 550;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 16px;
}

/* Forms */
.field { margin: 0 0 1.1rem; max-width: 28rem; }
.field label {
  display: block;
  font-size: 15px;
  font-weight: 550;
  margin-bottom: 0.4rem;
}
.field input,
.field select,
input.af,
select.af {
  width: 100%;
  min-height: var(--tap);
  padding: 0.7rem 0.85rem;
  font-size: 17px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
input.af:focus,
select.af:focus {
  outline: 2px solid #bbb;
  outline-offset: 1px;
  border-color: #999;
}
.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 32rem;
  margin: 1rem 0 1.25rem;
  font-size: 15px;
  color: var(--muted);
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.auth-box {
  font-size: 15px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding: 0.35rem 0 0.35rem 0.85rem;
  margin: 0.75rem 0 1rem;
  max-width: 32rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 4rem;
  font-size: 14px;
  color: var(--muted);
}
.site-footer p { margin: 0 0 0.75rem; max-width: var(--text); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); opacity: 1; }
.site-footer .legal { margin-top: 1.5rem; }

.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.center { text-align: center; }
.center .stack { align-items: center; }
.center .lede { margin-left: auto; margin-right: auto; }

ul.plain {
  margin: 0;
  padding-left: 1.15rem;
  max-width: var(--text);
  color: var(--muted);
}
ul.plain li { margin: 0.4rem 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.disclaimer { font-size: 14px; color: var(--muted); max-width: var(--text); }

.text.center { text-align: center; }
.text.center .lede { margin-left: auto; margin-right: auto; }
.text.center .stack, .text.center .btn { margin-left: auto; margin-right: auto; }
