:root {
  --ink: #2a2226;
  --paper: #fffefa;
  --signal: #a6335d;
  --proof: #54705f;
  --boundary: #c28a2c;
  --rule: #d2cbc1;
  --muted: #6d6464;
  --dark-paper: #f4eee8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; color: var(--paper); background: var(--ink); }
.skip:focus { left: 12px; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow, .receipt-card__top, .receipt-card__foot, .signal-strip, .question legend span, .question p, .result__label, .band-grid span { font-family: "SFMono-Regular", Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow { margin: 0 0 12px; color: var(--proof); font-size: .72rem; font-weight: 700; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 7vw, 96px); align-items: center; padding: clamp(66px, 10vw, 128px) 0 90px; }
.hero h1 { max-width: 740px; margin: 0; font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .92; letter-spacing: -.055em; }
.hero__lede { max-width: 620px; margin: 28px 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #4b4144; }
.hero__actions, .close__actions, .form-actions, .result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__actions { margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 11px 17px; cursor: pointer; font-weight: 800; text-decoration: none; }
.button:focus-visible, input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 4px; }
.button--primary, .button--signal { color: var(--paper); background: var(--signal); }
.button--quiet { color: var(--proof); border-color: var(--rule); background: transparent; }
.button--outline { color: var(--ink); border-color: var(--rule); background: var(--paper); }
.boundary { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: .88rem; }
.boundary strong { color: var(--boundary); }
.receipt-card { border: 1px solid var(--ink); background: var(--dark-paper); box-shadow: 12px 12px 0 var(--signal); }
.receipt-card__top, .receipt-card__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule); font-size: .65rem; }
.receipt-card__foot { border-top: 1px solid var(--rule); border-bottom: 0; color: var(--proof); }
.receipt-card__score { display: flex; align-items: flex-end; gap: 16px; padding: 30px 20px 20px; }
.receipt-card__score strong { font-family: "Arial Narrow", sans-serif; font-size: 7rem; line-height: .75; letter-spacing: -.08em; }
.receipt-card__score span { color: var(--muted); font: .7rem/1.4 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.receipt-card ol { margin: 0; padding: 0 20px 26px; list-style: none; }
.receipt-card li { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule); font: .76rem "SFMono-Regular", Consolas, monospace; }
.receipt-card li span { color: var(--signal); }
.receipt-card li em { color: var(--proof); font-style: normal; }
.signal-strip { color: var(--paper); background: var(--ink); font-size: .68rem; }
.signal-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 0; }
.signal-strip span { text-align: center; }
.signal-strip b { margin-right: 5px; color: var(--signal); font-size: 1.25rem; }
.section { padding: clamp(74px, 10vw, 130px) 0; }
.intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr); gap: 50px; align-items: start; }
.intro h2, .section-head h2, .close h2 { max-width: 670px; margin: 0; font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .98; letter-spacing: -.04em; }
.intro > p, .section-head > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.scorecard-section { padding: 90px 0 110px; color: var(--paper); background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .6fr); gap: 44px; align-items: end; margin-bottom: 40px; }
.section-head--light .eyebrow { color: #e7b2c6; }
.section-head--light h2 { color: var(--paper); }
.section-head--light > p { color: #d9ced2; }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.question { min-width: 0; margin: 0; padding: 22px; border: 1px solid #5c5056; background: #352b30; }
.question legend { display: flex; gap: 12px; width: 100%; padding: 0; color: var(--paper); font-size: 1.05rem; font-weight: 800; }
.question legend span { color: #e7b2c6; font-size: .67rem; }
.question p { min-height: 44px; margin: 12px 0 18px; color: #cfc1c6; font-size: .64rem; letter-spacing: .03em; text-transform: none; }
.answers { display: grid; gap: 8px; }
.answers label { position: relative; display: block; cursor: pointer; }
.answers input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.answers label span { display: block; padding: 11px 12px; border: 1px solid #61545b; background: #2d2529; }
.answers label:hover span { border-color: #d889a6; }
.answers input:checked + span { border-color: #e7b2c6; background: #50323f; box-shadow: inset 4px 0 0 var(--signal); }
.answers b, .answers small { display: block; }
.answers b { color: var(--paper); font-size: .86rem; }
.answers small { margin-top: 2px; color: #c6b7bd; font-size: .75rem; }
.form-actions { grid-column: 1 / -1; padding-top: 12px; }
.form-actions p { flex: 1 1 280px; margin: 0; color: #cfc1c6; font-size: .85rem; }
.result { display: grid; grid-template-columns: 1fr auto; gap: 36px; margin-top: 42px; padding: 30px; color: var(--ink); background: var(--paper); }
.result[hidden] { display: none; }
.result__heading h2 { margin: 0; font-family: "Arial Narrow", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; letter-spacing: -.04em; }
.result__heading > p:last-child { max-width: 640px; margin-bottom: 0; color: var(--muted); }
.result__score { display: flex; align-items: flex-end; gap: 10px; color: var(--signal); }
.result__score strong { font: 7rem/.7 "Arial Narrow", sans-serif; letter-spacing: -.08em; }
.result__score span { color: var(--muted); font: .7rem/1.3 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.result__body { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .45fr); gap: 35px; padding-top: 24px; border-top: 1px solid var(--rule); }
.result__label { margin: 0 0 6px; color: var(--proof); font-size: .65rem; }
.result__level { margin: 0 0 16px; font-weight: 800; }
.next-steps { margin: 0; padding-left: 22px; }
.next-steps li { margin: 7px 0; }
.result__actions { align-content: start; }
.result__actions .button { width: 100%; }
.result__actions p { width: 100%; margin: 0; color: var(--muted); font-size: .78rem; }
.bands { background: var(--paper); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-grid article { min-height: 210px; padding: 28px 24px 20px; border-right: 1px solid var(--rule); }
.band-grid article:last-child { border-right: 0; }
.band-grid span { color: var(--proof); font-size: .68rem; }
.band-grid h3 { margin: 30px 0 8px; font-family: "Arial Narrow", sans-serif; font-size: 1.7rem; line-height: 1; }
.band-grid p { margin: 0; color: var(--muted); }
.close { padding-top: 30px; padding-bottom: 100px; }
.close__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-top: 36px; border-top: 2px solid var(--signal); }
.close h2 { max-width: 680px; }
.close__inner p { max-width: 700px; color: var(--muted); }
.close__actions { justify-content: flex-end; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 46px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .82rem; }
.footer strong { color: var(--ink); }
.footer p { margin: 5px 0 0; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer a { color: var(--proof); }
@media (max-width: 760px) {
  .hero, .intro, .section-head, .close__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  .receipt-card { max-width: 520px; margin: 0 auto; }
  .questions, .result__body { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; }
  .result__score { order: -1; }
  .band-grid { grid-template-columns: 1fr; }
  .band-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .band-grid article:last-child { border-bottom: 0; }
  .close__actions { justify-content: flex-start; }
  .footer { flex-direction: column; }
  .footer nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1160px); }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .signal-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }
  .question { padding: 17px; }
  .result { padding: 22px; }
  .button { width: 100%; }
}
