:root {
  --cream: #f4f1ec;
  --alt: #edeae3;
  --white: #ffffff;
  --near-black: #191714;
  --dark-mid: #2a2520;
  --soma: #2e5c40;
  --soma-mid: #4a8a60;
  --soma-pale: #ddeee5;
  --gold: #9a7828;
  --gold-light: #c8a448;
  --text: #221e18;
  --body: #453e34;
  --muted: #8a806e;
  --faint: #d5cfc4;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--body); font: 400 1.125rem/1.6 var(--sans); }
.shell { width: min(100% - 2.5rem, 54rem); margin-inline: auto; padding-bottom: 5rem; }
.brandbar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--faint); }
.brand, .eyebrow, .progress-row, .result-card h3 { font: 500 .75rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.brand { color: var(--text); }
.method { font: italic 400 1.35rem var(--serif); }
.screen { padding-top: clamp(2.75rem, 8vw, 6rem); }
.hidden { display: none !important; }
h1, h2 { color: var(--dark-mid); font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0 0 1rem; }
h1 { font-size: clamp(2.9rem, 8vw, 5.3rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
p { margin: 0 0 1rem; max-width: 62ch; }
p:empty, .combined:empty, .error:empty { display: none; }
.eyebrow { color: var(--soma); margin-bottom: 1.1rem; }
.lede, .result-lead { font-size: 1.25rem; }
.small, .disclaimer, .score-row { font-size: .94rem; }
.muted { color: var(--body); font-weight: 300; }
.hero { margin-top: 1.5rem; padding: clamp(1.75rem, 7vw, 5rem); color: var(--cream); background: var(--near-black); }
.hero h1 { color: inherit; max-width: 12ch; }
.hero .eyebrow { color: var(--gold-light); }
.hero .small { margin-block: 1.75rem; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
.btn { display: inline-block; font: 500 1rem/1.35 var(--sans); text-decoration: none; border: 1px solid transparent; padding: .75rem 1rem; }
.primary { color: var(--white); background: var(--soma); }
.primary:hover { background: var(--soma-mid); color: var(--near-black); }
.hero .primary { background: var(--cream); color: var(--soma); }
.hero .primary:hover { background: var(--soma-pale); }
.ghost, .secondary, .text-link { color: var(--soma); text-decoration: underline; text-underline-offset: .25em; }
.ghost, .secondary { background: transparent; padding-inline: 0; }
.ghost:disabled { visibility: hidden; }
:focus-visible, .choice input:focus-visible + label { outline: 2px solid var(--soma); outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--gold-light); }
.progress { height: 1px; margin-block: .65rem 2.5rem; background: var(--faint); }
.progress span { display: block; height: 100%; background: var(--soma); }
.question { max-width: 25ch; margin-bottom: 2rem; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: flex; flex-direction: column; align-items: center; padding: .8rem .3rem; border: 1px solid var(--faint); cursor: pointer; font-size: .95rem; }
.choice strong { color: var(--soma); font-size: 1.2rem; font-weight: 500; }
.choice label:hover, .choice input:checked + label { background: var(--soma-pale); border-color: var(--soma); }
.actions, .restart { margin-top: 1.5rem; }
.teaser-insight, .result-card, .offer, .disclaimer, .scores { border-top: 1px solid var(--faint); padding-block: 1.65rem; }
.teaser-insight:first-child { margin-top: 2rem; }
.score { display: inline-block; color: var(--body); font: 400 .9rem var(--sans); margin-inline-start: .25rem; }
.secondary-teaser { margin-bottom: 2rem; }
.gate-box { background: var(--alt); padding: clamp(1.25rem, 5vw, 3rem); }
form { display: grid; gap: 1rem; max-width: 36rem; }
form label { font-size: 1rem; }
form input:not([type=checkbox]), form select { display: block; width: 100%; min-height: 2.75rem; padding: .45rem .6rem; background: var(--white); border: 1px solid var(--faint); color: var(--text); }
.check { display: flex; align-items: baseline; gap: .55rem; }
.check input { accent-color: var(--soma); }
form button { justify-self: start; }
.error { color: var(--text); border-left: 2px solid var(--gold); padding-left: .65rem; }
.combined { max-width: 62ch; margin-block: 1.5rem 2rem; }
.result-card { padding-block: clamp(1.75rem, 5vw, 3rem); }
.result-card h3 { color: var(--soma); margin: 1.2rem 0 .35rem; }
.reflection { font: italic 400 1.6rem/1.3 var(--serif); }
.secondary-heading { margin: 1.5rem 0 1rem; }
.score-row { display: flex; justify-content: space-between; gap: 1rem; max-width: 25rem; padding-block: .3rem; border-bottom: 1px solid var(--faint); }
.offer { margin-top: 1rem; }
.body-report { background: var(--alt); padding: clamp(1.25rem, 5vw, 3rem); }
.dev { border-top: 1px solid var(--faint); margin-top: 2rem; padding-top: 1rem; }

@media (max-width: 36rem) {
  .scale { grid-template-columns: 1fr; }
  .choice label { flex-direction: row; gap: .8rem; padding: .45rem .8rem; }
}
