/* Handover. Paper, ink, one green. Hairlines instead of boxes. */

:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --ink: #1d1c19;
  --ink-2: #55524a;
  --rule: #d9d3c4;
  --accent: #1f4d3a;
  --accent-ink: #f6f3ec;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --measure: 62ch;
  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --label-col: 200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; }
h3 { font-size: 1.45rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */

.site-head { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
[id] { scroll-margin-top: 104px; }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 32px;
  padding-top: 22px; padding-bottom: 22px;
}
.wordmark {
  font: 500 1.6rem/1 var(--serif); letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark::after { content: '.'; color: var(--accent); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 30px; font-size: 17px; }
.site-nav__cta { display: flex; gap: 10px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover,
.site-nav a[aria-current='page'] { text-decoration: underline; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  font: 500 18px/1.2 var(--sans);
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--paper); }
.btn--small { min-height: 46px; padding: 10px 20px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Sections: a narrow label column and a content column */

.section { padding: clamp(64px, 10vw, 128px) 0; border-bottom: 1px solid var(--rule); }
.section--tint { background: var(--paper-2); }
.section > .wrap { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); gap: 0 40px; }
.section__label {
  font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  padding-top: 0.7em;
}
.section__label b { display: block; font: 400 1rem/1 var(--serif); color: var(--accent); margin-bottom: 10px; letter-spacing: 0; }
.section__body > h2 { margin-bottom: 0.9em; max-width: 20ch; }

.eyebrow {
  font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 22px;
}
.lede { font-size: clamp(1.2rem, 1.9vw, 1.42rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.note { font-size: 17px; color: var(--ink-2); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }

/* Hero */

.hero { padding: clamp(72px, 12vw, 160px) 0 clamp(64px, 10vw, 128px); border-bottom: 1px solid var(--rule); }
.hero h1 { max-width: 15ch; margin-bottom: 0.5em; }
.hero .note { margin-top: 20px; }
.hero > .wrap > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero > .wrap > *:nth-child(2) { animation-delay: 0.08s; }
.hero > .wrap > *:nth-child(3) { animation-delay: 0.16s; }
.hero > .wrap > *:nth-child(4) { animation-delay: 0.24s; }
.hero > .wrap > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero > .wrap > * { animation: none; } html { scroll-behavior: auto; } }

.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 18ch; margin-bottom: 0.5em; }

/* Reasons grid */

.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; padding: 0; list-style: none; }
.reasons li { padding: 28px 0; border-top: 1px solid var(--rule); }
.reasons h3 { margin-bottom: 10px; }
.reasons p { color: var(--ink-2); }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px;
  padding: 32px 0; border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step);
  font: 400 3.4rem/0.9 var(--serif); color: var(--accent);
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
.steps .price { color: var(--ink); font-weight: 500; }

/* Tiers */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 44px; }
.tier { padding: 28px 28px 32px 0; }
.tier + .tier { padding-left: 28px; border-left: 1px solid var(--rule); }
.tier__size { font-size: 17px; color: var(--ink-2); margin-bottom: 14px; }
.tier__price { font: 400 2.5rem/1 var(--serif); letter-spacing: -0.02em; }
.tier__price small { display: block; font: 400 15px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }

.ticks { list-style: none; margin: 0 0 36px; padding: 0; max-width: var(--measure); }
.ticks li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 1.35em; width: 16px; height: 1px; background: var(--accent); }
.ticks--no li::before { background: var(--ink-2); transform: rotate(-45deg); }

/* Prose pages */

.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not(.ticks) { max-width: var(--measure); padding-left: 1.2em; margin: 0 0 1em; }
.prose ul:not(.ticks) li { margin-bottom: 0.4em; }
.pledge { font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.3 var(--serif); letter-spacing: -0.01em; max-width: 26ch; margin-bottom: 0; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.person { padding: 28px 0; border-top: 1px solid var(--ink); }
.person h3 { margin-bottom: 12px; }
.placeholder { border: 1px dashed var(--ink-2); padding: 16px 18px; color: var(--ink-2); font-size: 17px; }

/* Scorecard */

.score-main { min-height: 70vh; padding: clamp(48px, 8vw, 104px) 0; }
.score-main .wrap { max-width: 800px; }
[hidden] { display: none !important; }

.progress { height: 2px; background: var(--rule); margin: 0 0 48px; }
.progress__bar { height: 100%; width: 0; background: var(--accent); transition: width 0.3s ease; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q__meta { display: flex; justify-content: space-between; gap: 16px; }
.q__meta .eyebrow:last-child { white-space: nowrap; }
.q legend { font: 400 clamp(1.7rem, 3.4vw, 2.4rem)/1.18 var(--serif); letter-spacing: -0.015em; padding: 0; margin-bottom: 32px; text-wrap: balance; }
.q legend:focus { outline: none; }
.q__options { display: grid; gap: 10px; }
.q__options label {
  display: flex; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 20px;
  border: 1px solid var(--rule); cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.q__options label:hover { border-color: var(--ink-2); }
.q__options label:has(input:checked) { border-color: var(--accent); background: var(--paper-2); box-shadow: inset 3px 0 0 var(--accent); }
.q__options label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.q__options input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--ink-2); border-radius: 50%; background: var(--paper); }
.q__options input:checked { border: 6px solid var(--accent); }
.q__options input:focus-visible { outline: none; }
.q__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 36px; }

.result__score { font: 400 clamp(5rem, 16vw, 9rem)/0.9 var(--serif); letter-spacing: -0.04em; color: var(--accent); margin: 0 0 8px; }
.result__score small { font: 400 19px/1 var(--sans); letter-spacing: 0; color: var(--ink-2); margin-left: 12px; }
.result h2 { margin: 28px 0 14px; }
.result h2.sub { margin-top: 0; }

.bars { list-style: none; margin: 48px 0; padding: 0; border-top: 1px solid var(--ink); }
.bars li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 3.4em; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.bars__track { height: 6px; background: var(--rule); }
.bars__fill { display: block; height: 100%; background: var(--accent); }
.bars__pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

.gaps { list-style: none; margin: 0; padding: 0; counter-reset: gap; }
.gaps li { counter-increment: gap; padding: 24px 0 24px 56px; border-top: 1px solid var(--rule); position: relative; }
.gaps li::before { content: counter(gap); position: absolute; left: 0; top: 20px; font: 400 2rem/1 var(--serif); color: var(--accent); }
.gaps h3 { margin-bottom: 6px; }
.gaps p { color: var(--ink-2); }

.report { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--ink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin: 32px 0; }
.field label { display: block; font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input { width: 100%; height: 56px; padding: 0 16px; font: 400 19px var(--sans); color: var(--ink); background: #fffdf8; border: 1px solid var(--ink); border-radius: 0; }
.field .hint { font-size: 16px; color: var(--ink-2); margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: #8a2a1c; margin-top: 18px; font-weight: 500; }
.thanks { font: 400 1.7rem/1.3 var(--serif); }

/* Written report */

.report-page .wrap { max-width: 860px; }
.rep-brand { display: none; margin-bottom: 28pt; }
.rep-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; margin-bottom: 0.4em; }
.rep-block { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--ink); }
.rep-block > h2 { margin-bottom: 14px; }
.rep-block > .lede { margin-bottom: 36px; }
.rep-block.result { border-top: 0; padding-top: 0; margin-top: 56px; }
.rep-actions .eyebrow { margin-bottom: 6px; font-size: 14px; }
.rep-area { margin-top: 56px; }
.rep-area__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.rep-area__head h3 { font-size: 1.8rem; }
.rep-area__pct { font: 400 1.8rem/1 var(--serif); color: var(--accent); }
.rep-area__advice { color: var(--ink-2); margin: 16px 0 8px; }
.rep-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.rep-item__text { font-weight: 500; margin-bottom: 4px; }
.rep-item__answer { color: var(--ink-2); margin: 0; }
.rep-item__answer strong { color: var(--ink); font-weight: 500; }
.rep-item__body { grid-column: 1 / -1; font-size: 18px; }
.rep-item__body p { margin-bottom: 0.6em; }
.rep-item__fix { padding-left: 16px; border-left: 2px solid var(--accent); }
.verdict { align-self: start; white-space: nowrap; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--rule); color: var(--ink-2); }
.verdict--3 { border-color: var(--accent); color: var(--accent); }
.verdict--1 { border-color: var(--ink); color: var(--ink); }
.verdict--0 { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.rep-next p { max-width: 66ch; }

/* Footer */

.site-foot { padding: 56px 0 64px; font-size: 17px; color: var(--ink-2); }
.site-foot .wrap { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); gap: 16px 40px; }
.site-foot .wordmark { font-size: 1.3rem; }
.site-foot p { margin-bottom: 10px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 14px; }
.site-foot a { color: var(--ink); }

/* Narrow screens */

@media (max-width: 860px) {
  .section > .wrap, .site-foot .wrap { grid-template-columns: 1fr; }
  .section__label { padding: 0 0 20px; }
  .section__label b { display: inline; margin-right: 10px; }
}
@media (max-width: 720px) {
  body { font-size: 19px; }
  /* Docked header, kept short: wordmark and buttons on one row, links beneath. */
  .site-head .wrap { position: relative; gap: 0; padding-top: 10px; padding-bottom: 4px; }
  .wordmark { display: flex; align-items: center; height: 44px; font-size: 1.45rem; }
  .site-nav { gap: 0 22px; width: 100%; font-size: 16px; }
  .site-nav a:not(.btn) { padding: 8px 0; }
  .site-nav__cta { position: absolute; top: 10px; right: var(--gutter); gap: 8px; }
  .site-nav .btn--small { min-height: 44px; padding: 8px 12px; font-size: 15px; }
  [id] { scroll-margin-top: 112px; }
  .reasons, .people, .fields { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier, .tier + .tier { padding: 24px 0; border-left: 0; }
  .tier + .tier { border-top: 1px solid var(--rule); }
  .steps li { grid-template-columns: 56px minmax(0, 1fr); }
  .steps li::before { font-size: 2.6rem; }
  .bars li { grid-template-columns: minmax(0, 1fr) 3.4em; gap: 8px 12px; }
  .bars__track { grid-column: 1 / -1; grid-row: 2; }
  .q__nav .btn { flex: 1; }
  .rep-item { grid-template-columns: 1fr; }
  .verdict { justify-self: start; }
}

@media print {
  .site-head, .site-foot, .btn, .q__nav, .report, .actions { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .score-main { padding: 0; }
  .rep-block { margin-top: 32pt; padding-top: 20pt; }
  .rep-area { margin-top: 24pt; }
  .verdict--0 { background: none; color: var(--ink); font-weight: 600; }
  .rep-brand { display: block; }
  .gaps li, .bars { break-inside: avoid; }
  @page { margin: 18mm; }
}
