:root {
  --paper: #F7F8F6;
  --surface: #FFFFFF;
  --ink: #111310;
  --muted: #6E736C;
  --faint: #A8ACA5;
  --rule: #E2E4E0;
  --cobalt: #2438E8;
  --cobalt-deep: #1a2ba8;
  --warn-bg: #FBF3E4;
  --warn-ink: #7A4B00;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: Karla, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--cobalt-deep); }
::selection { background: rgba(36, 56, 232, .16); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
textarea, input, button, select { font-family: inherit; font-size: inherit; }
input::placeholder, textarea::placeholder { color: var(--faint); }
button { cursor: pointer; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }

/* header and footer */
.top {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.brand { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--ink); }
.brand span { color: var(--cobalt); }
.tagline { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: auto; }
.foot {
  border-top: 1px solid var(--rule); margin-top: 40px; padding: 28px 0 48px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .spacer { flex: 1; }

/* type */
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: 28px; line-height: 1.1; margin-bottom: 12px; }
.lede { font-size: clamp(19px, 2.6vw, 24px); line-height: 1.4; max-width: 640px; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

section { padding: 64px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: none; }

/* hero verdict cycle */
.cycle { padding: 36px 0 8px; min-height: 230px; }
.cycle-q { font-family: var(--mono); font-size: clamp(14px, 2.4vw, 18px); color: var(--muted); margin-bottom: 14px; }
.cycle-v {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(64px, 13vw, 164px); line-height: .9; letter-spacing: -.035em;
}
.cycle.fade .cycle-q, .cycle.fade .cycle-v { animation: vfade 3.2s ease both; }
@keyframes vfade {
  0% { opacity: 0; transform: translateY(6px); }
  10%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* the question box */
.qbox { background: var(--surface); border: 1px solid var(--rule); padding: 22px 24px; }
.qbox textarea {
  width: 100%; resize: none; border: none; outline: none; background: transparent;
  color: var(--ink); caret-color: var(--cobalt);
  font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -.025em;
  font-size: clamp(26px, 5vw, 40px);
}

/* buttons */
.btn {
  background: var(--cobalt); color: #FFFFFF; border: none;
  padding: 15px 24px; font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px;
}
.btn:hover { background: var(--cobalt-deep); color: #FFFFFF; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { font-family: var(--mono); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.linkbtn {
  background: none; border: none; padding: 4px 0; color: var(--muted);
  font-family: var(--mono); font-size: 13px;
}
.linkbtn:hover { color: var(--ink); }

/* notices */
.notice { padding: 16px 18px; margin-top: 18px; font-size: 15px; line-height: 1.55; }
.notice.block { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); }
.notice.soft { background: var(--warn-bg); color: var(--warn-ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps .n { font-family: var(--mono); font-size: 15px; color: var(--cobalt); margin-bottom: 14px; }
.steps .t { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.steps .d { color: var(--muted); font-size: 14.5px; }

/* worked example */
.example { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.rows { font-family: var(--mono); font-size: 12.5px; }
.rows div { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.rows div:last-child { border-bottom: none; }
.rows span:first-child { color: var(--muted); }
.example h3 { font-size: 13px; font-weight: 700; letter-spacing: .02em; margin: 0 0 8px; }
.example p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.62; }
.ex-verdict { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: .95; letter-spacing: -.03em; margin: 0 0 14px; }

/* not list */
.nots { display: grid; gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.nots div { background: var(--paper); padding: 18px 4px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; }
.nots .n { font-family: var(--mono); color: var(--faint); font-size: 13px; }

/* price */
.price { font-family: var(--display); font-weight: 600; font-size: 64px; letter-spacing: -.03em; line-height: 1; }

/* form */
.form { display: grid; gap: 22px; }
.field label, .label {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--rule);
  color: var(--ink); font-size: 15px; padding: 12px 14px; border-radius: 0;
}
.field textarea { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.1; resize: vertical; }
.field input:disabled { opacity: .45; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--cobalt); margin-top: 2px; flex: none; }
.hint { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.radios { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.error { color: #B3261E; font-size: 14px; margin: 0; }

.summary { background: var(--surface); border: 1px solid var(--rule); padding: 20px 22px; font-family: var(--mono); font-size: 13px; }
.summary div { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 6px 0; }
.summary span:first-child { color: var(--muted); }

/* policy pages */
.doc { padding: 56px 0 24px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; }
.doc ul, .doc ol { padding-left: 20px; }

@media (max-width: 820px) {
  .steps, .example { grid-template-columns: 1fr; }
  .tagline { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .pair { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
