:root {
  --paper: #f1eee5;
  --paper-deep: #e7e2d5;
  --white: #fbfaf6;
  --ink: #14201d;
  --ink-soft: #24312d;
  --muted: #5c6660;
  --line: #a8ada5;
  --line-dark: #53605a;
  --forest: #2f6b5e;
  --orange: #e85c36;
  --orange-text: #bd3a1f;
  --acid: #c7ff18;
  --serif: Georgia, "Times New Roman", ui-serif, serif;
  --sans: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  --container: 1440px;
  --shadow: 0 22px 60px rgba(20, 32, 29, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(rgba(20, 32, 29, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 29, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 30;
  padding: 12px 16px;
  min-height: 44px;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.skip-link:focus { top: 12px; }

.site-header {
  width: min(calc(100% - 64px), var(--container));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  min-height: 44px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.wordmark-index,
.micro-label,
.eyebrow,
.scope-index {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wordmark-index { color: var(--forest); }

.privacy-stamp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-stamp span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(47, 107, 94, .13);
}

.hero {
  width: min(calc(100% - 64px), var(--container));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.hero-copy { max-width: 650px; }

.eyebrow {
  margin: 0 0 22px;
  color: var(--forest);
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 98px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.065em;
}

h1 em,
.proof-heading em {
  color: var(--forest);
  font-weight: 400;
}

.lede {
  max-width: 600px;
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.35;
}

.method-strip {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.method-strip span {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.method-strip span:last-child { border-right: 0; }
.method-strip b { color: var(--orange-text); }

.trust-note {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
}

.trust-note p { margin: 0; }
.trust-label { font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.trust-note p:last-child { max-width: 410px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.check-shell {
  position: relative;
  min-height: 650px;
  padding: clamp(26px, 3vw, 42px);
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.check-shell::after {
  content: "390×844";
  position: absolute;
  right: -31px;
  top: 76px;
  padding: 9px 38px;
  transform: rotate(90deg);
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.check-topline,
.result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.micro-label {
  margin: 0 0 9px;
  color: var(--forest);
}

.check-topline h2,
.result-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -.035em;
}

.progress-readout {
  display: flex;
  align-items: baseline;
  padding-right: 22px;
}

.progress-readout strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.progress-readout span { color: var(--muted); font-size: 12px; }

.progress-track {
  width: calc(100% - 22px);
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  margin: 24px 22px 0 0;
  border: 0;
  background: var(--paper-deep);
  color: var(--orange);
}

.progress-track::-webkit-progress-bar { background: var(--paper-deep); }
.progress-track::-webkit-progress-value {
  background: var(--orange);
  transition: width 240ms ease;
}
.progress-track::-moz-progress-bar { background: var(--orange); }

.question-stage {
  min-height: 430px;
  padding: 58px 22px 28px 0;
}

.question-card {
  animation: question-in 260ms ease both;
}

@keyframes question-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--orange-text);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.question-category::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.question-card fieldset { margin: 0; padding: 0; border: 0; }

.question-card legend {
  max-width: 600px;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.question-help {
  max-width: 540px;
  min-height: 44px;
  margin: 18px 0 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.answer-option { position: relative; }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }

.answer-option label {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.answer-option label:hover { border-color: var(--ink); transform: translateY(-2px); }

.answer-option input:focus-visible + label {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.answer-option input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.answer-label { font-size: 14px; font-weight: 800; }
.answer-value { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.answer-option input:checked + label .answer-value { color: var(--acid); }

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 22px 0 0;
  border-top: 1px solid var(--ink);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .reset-button:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.button:disabled { cursor: not-allowed; opacity: .38; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover:not(:disabled) { background: var(--forest); }
.button-quiet { min-width: 94px; background: transparent; }
.button-inverse { align-self: end; background: var(--acid); color: var(--ink); border-color: var(--acid); }

.result-panel {
  padding-right: 22px;
  animation: question-in 320ms ease both;
}

.result-panel[hidden] { display: none; }
.signal-mark { display: flex; align-items: baseline; padding: 6px 0 0 16px; border-left: 5px solid var(--acid); }
.signal-mark strong { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; }
.signal-mark span { color: var(--muted); font-size: 11px; }
.result-summary { max-width: 590px; margin: 30px 0 26px; font-family: var(--serif); font-size: 21px; line-height: 1.38; }

.result-bars { border-top: 1px solid var(--ink); }
.result-row { display: grid; grid-template-columns: 105px 1fr 66px; gap: 14px; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); }
.result-row > span:first-child { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.bar-track { width: 100%; height: 7px; appearance: none; -webkit-appearance: none; border: 0; background: var(--paper-deep); color: var(--forest); }
.bar-track::-webkit-progress-bar { background: var(--paper-deep); }
.bar-track::-webkit-progress-value { background: var(--forest); }
.bar-track::-moz-progress-bar { background: var(--forest); }
.result-row b { text-align: right; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.next-evidence {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 20px;
  background: var(--paper);
  border-left: 5px solid var(--orange);
}

.next-evidence-index { color: var(--orange-text); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.next-evidence h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.next-evidence p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.result-actions { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.result-actions .button { width: 100%; justify-content: space-between; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.reset-button { min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.proof-section {
  background: var(--ink);
  color: var(--white);
  padding: 104px max(32px, calc((100vw - var(--container)) / 2));
}

.proof-heading { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.proof-heading .eyebrow { color: var(--acid); }
.proof-heading h2 { max-width: 1000px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 88px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.proof-heading em { color: var(--acid); }

.proof-grid {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.proof-grid article { min-height: 270px; padding: 26px 24px; border-right: 1px solid var(--line-dark); }
.proof-grid article:last-child { border-right: 0; }
.proof-grid span { color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.proof-grid h3 { margin: 70px 0 16px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.proof-grid p { margin: 0; color: #c4ccc8; font-size: 13px; line-height: 1.55; }

.scope-section {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  padding: 96px 0 104px;
  display: grid;
  grid-template-columns: 210px 1fr 280px;
  gap: 48px;
  align-items: start;
}

.scope-index { margin: 8px 0 0; color: var(--orange-text); }
.scope-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 4.2vw, 68px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.scope-section div > p { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

footer {
  width: min(calc(100% - 64px), var(--container));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .check-shell { min-height: 630px; }
  .scope-section { grid-template-columns: 150px 1fr; }
  .scope-section .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .scope-section,
  footer { width: min(calc(100% - 32px), var(--container)); }

  .site-header { min-height: 72px; }
  .wordmark-index { display: none; }
  .privacy-stamp { font-size: 9px; }
  .hero { min-height: auto; padding: 48px 0 56px; gap: 46px; }
  h1 { font-size: clamp(51px, 15vw, 72px); }
  .lede { font-size: 19px; }
  .method-strip { grid-template-columns: 1fr; }
  .method-strip span { min-height: 50px; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-strip span:last-child { border-bottom: 0; }
  .trust-note { grid-template-columns: 1fr; gap: 8px; }

  .check-shell { min-height: 620px; padding: 24px 20px; }
  .check-shell::after { display: none; }
  .progress-readout { padding-right: 0; }
  .progress-track { margin-right: 0; }
  .question-stage { min-height: 418px; padding: 42px 0 24px; }
  .question-card legend { font-size: 31px; }
  .question-help { min-height: 58px; }
  .answer-grid { grid-template-columns: 1fr; }
  .answer-option label { min-height: 55px; flex-direction: row; align-items: center; }
  .form-nav { padding-right: 0; }
  .result-panel { padding-right: 0; }
  .result-heading { gap: 12px; }
  .signal-mark strong { font-size: 43px; }
  .result-row { grid-template-columns: 84px 1fr 52px; gap: 10px; }
  .next-evidence { grid-template-columns: 1fr; gap: 8px; }

  .proof-section { padding: 76px 16px; }
  .proof-heading { grid-template-columns: 1fr; gap: 14px; }
  .proof-heading h2 { font-size: 50px; }
  .proof-grid { margin-top: 52px; grid-template-columns: 1fr 1fr; }
  .proof-grid article { min-height: 220px; border-bottom: 1px solid var(--line-dark); }
  .proof-grid article:nth-child(2) { border-right: 0; }
  .proof-grid article:nth-child(n+3) { border-bottom: 0; }
  .proof-grid h3 { margin-top: 44px; }

  .scope-section { padding: 72px 0 78px; grid-template-columns: 1fr; gap: 28px; }
  .scope-section .button { grid-column: 1; width: 100%; justify-content: space-between; }
  footer { min-height: 130px; flex-direction: column; align-items: flex-start; justify-content: center; }
footer p { margin: 0; }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.error-page main {
  width: min(100%, 980px);
  padding: clamp(36px, 7vw, 92px);
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.error-page h1 { max-width: 900px; }
.error-page .lede { margin-bottom: 40px; }

@media (max-width: 420px) {
  .site-header { align-items: center; }
  .wordmark { font-size: 13px; }
  .privacy-stamp { max-width: 118px; line-height: 1.35; }
  h1 { font-size: 51px; }
  .check-topline h2 { font-size: 26px; }
  .question-card legend { font-size: 29px; }
  .proof-heading h2 { font-size: 44px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line-dark) !important; }
  .proof-grid article:last-child { border-bottom: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
