:root {
  --paper: #fff; --ink: #000; --grey: #6b6b6b; --soft: #f7f7f7; --line: #e5e5e5;
  --use: #1f7a3d; --use-bg: #eaf5ee; --maybe: #8a5a00; --maybe-bg: #fdf3e1; --no: #a33a2c; --no-bg: #fbecea;
  --focus: #0a4fd6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 "Work Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: #000; color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
a { color: inherit; text-underline-offset: 3px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--grey); }
.small { font-size: 14px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #000; color: #fff; padding: 8px 12px; z-index: 10; }

/* hero */
.hero { border-bottom: 1px solid var(--line); padding: 96px 0 72px; }
.eyebrow { margin: 0 0 24px; color: var(--grey); font-size: 15px; }
h1 { font-weight: 400; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 28px; max-width: 16ch; }
.lede { font-size: 20px; line-height: 1.5; max-width: 40em; margin: 0 0 18px; letter-spacing: -0.005em; }
.body { max-width: 40em; margin: 0 0 36px; color: #333; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.btn { display: inline-block; background: #000; color: #fff; border: 0; border-radius: 3px; padding: 14px 22px; font: 500 16px "Work Sans", sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: #222; }
.btn:disabled { opacity: .5; cursor: default; }

/* sections */
.block { padding: 64px 0 24px; border-bottom: 1px solid var(--line); }
h2 { font-weight: 400; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; display: flex; gap: 16px; align-items: baseline; }
.num { font-size: 15px; color: var(--grey); min-width: 20px; font-variant-numeric: tabular-nums; }
.section-lede { margin: 0 0 8px 36px; max-width: 40em; }
.rows { margin-top: 20px; }
.group { font-weight: 500; font-size: 15px; color: var(--grey); margin: 28px 0 4px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.row-name { font-weight: 500; }
.row-desc { color: #444; font-size: 15px; margin-top: 2px; max-width: 34em; }
.note-toggle { background: none; border: 0; padding: 0; margin-top: 6px; font: 400 14px "Work Sans", sans-serif; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.row-note { margin-top: 8px; }

/* segmented choice */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; white-space: nowrap; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 12px; font-size: 14px; color: #333; border-left: 1px solid var(--line); }
.seg label:first-child span { border-left: 0; }
.seg label:hover span { background: var(--soft); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -2px; }
.seg-use input:checked + span { background: var(--use-bg); color: var(--use); font-weight: 500; }
.seg-maybe input:checked + span { background: var(--maybe-bg); color: var(--maybe); font-weight: 500; }
.seg-no input:checked + span { background: var(--no-bg); color: var(--no); font-weight: 500; }

.note { margin: 48px 0 0; padding: 20px 24px; background: var(--soft); border-radius: 3px; }
.note p { margin: 0; max-width: 44em; }

/* form */
.field { display: block; margin: 28px 0 0; border: 0; padding: 0; }
.label { display: block; font-weight: 500; margin-bottom: 10px; padding: 0; }
.label em { font-style: normal; font-weight: 400; color: var(--grey); font-size: 14px; margin-left: 6px; }
input[type=text], input[type=email], input[type=tel], input:not([type]), textarea {
  width: 100%; font: 400 16px/1.4 "Work Sans", sans-serif; color: var(--ink); background: #fff;
  border: 1px solid #cfcfcf; border-radius: 3px; padding: 11px 12px;
}
input:focus, textarea:focus { border-color: #000; outline: none; box-shadow: 0 0 0 1px #000; }
textarea { resize: vertical; }
.mt { margin-top: 12px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills label, .radio { position: relative; cursor: pointer; }
.pills input, .radio input { position: absolute; opacity: 0; }
.pills span { display: block; padding: 8px 18px; border: 1px solid #cfcfcf; border-radius: 3px; }
.pills input:checked + span { background: #000; color: #fff; border-color: #000; }
.pills input:focus-visible + span, .radio input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.stack { display: grid; gap: 8px; }
.radio span { display: block; padding: 10px 14px 10px 40px; border: 1px solid var(--line); border-radius: 3px; position: relative; }
.radio span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1px solid #999; border-radius: 50%; }
.radio input:checked + span { border-color: #000; }
.radio input:checked + span::before { border-color: #000; background: radial-gradient(circle, #000 0 4px, transparent 5px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.grid2 .field { margin-top: 20px; }
.hp { position: absolute; left: -9999px; }
.error { color: var(--no); margin: 20px 0 0; }
#about .btn { margin: 28px 0 40px; }
#about { border-bottom: 0; }
.thanks { border-bottom: 0; padding-bottom: 96px; }
.thanks h2 { font-size: 40px; }

/* progress bar */
.progress { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .2s ease; z-index: 5; }
.progress.on { transform: none; }
.progress-in { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; font-size: 14px; }
#progress-text { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { flex: 1; height: 2px; background: var(--line); position: relative; }
#progress-bar { position: absolute; inset: 0 auto 0 0; width: 0; background: #000; transition: width .2s ease; }
.progress-link { white-space: nowrap; }
.foot { padding: 32px 24px 96px; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .lede { font-size: 18px; }
  .row { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .section-lede { margin-left: 0; }
  .grid2 { grid-template-columns: 1fr; }
  .progress-link { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .progress, #progress-bar { transition: none; } }
