/* Fonts are self-hosted so the assessment makes no third-party requests. */
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: italic; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/literata-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/literata-latin-600-normal.woff2") format("woff2"); }
/* Layout: a single calm column, one question per screen, like a guided conversation at a kitchen table. */
:root {
  --linen: #F5F0E8;
  --surface: #FCFAF6;
  --ink: #2F3437;
  --ink-soft: #5B6266;
  --slate: #556B7A;
  --slate-deep: #3F5361;
  --sage: #8FA98B;
  --sage-wash: #E7EEE4;
  --gold: #C89A4B;
  --gold-wash: #F4E8D2;
  --line: #DDD4C6;
  --on-slate: #FFFFFF;
  --display: "Literata", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --linen: #1D2225; --surface: #262C30; --ink: #ECE7DF; --ink-soft: #B4B9BC;
    --slate: #9DB3C2; --slate-deep: #B9CCD8; --sage: #A9C2A5; --sage-wash: #2C3A2E;
    --gold: #D9AE62; --gold-wash: #3B3223; --line: #3B4348; --on-slate: #14191C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --linen: #1D2225; --surface: #262C30; --ink: #ECE7DF; --ink-soft: #B4B9BC;
  --slate: #9DB3C2; --slate-deep: #B9CCD8; --sage: #A9C2A5; --sage-wash: #2C3A2E;
  --gold: #D9AE62; --gold-wash: #3B3223; --line: #3B4348; --on-slate: #14191C;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--linen); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 48px;
}
.wrap { max-width: 680px; margin: 0 auto; }
header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block: 20px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--slate-deep); }
.brand svg { flex: none; }
.preview-tag { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.25; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); color: var(--slate-deep); }
h2 { font-size: clamp(1.45rem, 4vw, 1.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; color: var(--ink-soft); font-size: 1rem; }
.facts li::before { content: "•"; color: var(--sage); margin-right: 8px; }
.btn {
  appearance: none; border: 2px solid var(--slate); border-radius: 10px; cursor: pointer;
  font: 700 1.05rem/1.2 var(--body); padding: 14px 26px; min-height: 52px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary { background: var(--slate); color: var(--on-slate); }
.btn-primary:hover:not(:disabled) { background: var(--slate-deep); border-color: var(--slate-deep); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-quiet { background: transparent; color: var(--slate-deep); }
.btn-quiet:hover { background: var(--surface); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #2A2116; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.samples { border-top: 1px dashed var(--line); padding-top: 20px; font-size: .95rem; color: var(--ink-soft); }
.samples .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip-btn { font: 400 .9rem var(--body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip-btn:hover { border-color: var(--slate); }

/* Progress */
.progress { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.steps { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--ink-soft); }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps li + li::before { content: "→"; color: var(--line); }
.steps li[aria-current="step"] { color: var(--slate-deep); font-weight: 700; }
.steps li.done { color: var(--sage); }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--sage); width: 0; transition: width .3s ease; }
.pct { font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 4vw, 1.65rem); line-height: 1.3; }
.qhelp { color: var(--ink-soft); margin-bottom: 20px; font-size: 1rem; }
.opts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 58px;
  background: var(--surface); border: 2px solid var(--line); border-radius: 12px; cursor: pointer;
}
.opt label::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--ink-soft); background: var(--surface);
}
.opt input:checked + label { border-color: var(--slate); background: var(--sage-wash); }
.opt input:checked + label::before { border-color: var(--slate); background: radial-gradient(circle, var(--slate) 0 5px, var(--surface) 6px); }
.opt input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap-reverse; }

/* Results */
.results-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.noscore { font-size: 1rem; color: var(--ink-soft); border-left: 3px solid var(--sage); padding-left: 14px; }
.finding { padding-block: 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.tier {
  align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px;
}
.tier.active { background: var(--gold-wash); color: var(--ink); }
.tier.active::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.tier.emerging { background: var(--sage-wash); color: var(--ink); }
.tier.emerging::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--sage); }
.domain-name { font-size: .9rem; color: var(--ink-soft); }
.rec { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.rec .kind { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.rec strong { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.rec .btn { align-self: flex-start; }
.calm { padding-block: 28px; border-bottom: 1px solid var(--line); }
.bundle { margin-top: 28px; background: var(--gold-wash); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.capture { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 1rem; }
.field input[type="text"], .field input[type="email"] {
  font: 400 1.05rem var(--body); padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  background: var(--linen); color: var(--ink); min-height: 50px; width: 100%;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--slate); }
.err { color: var(--ink); background: var(--gold-wash); padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.ok { background: var(--sage-wash); padding: 14px 16px; border-radius: 10px; }
.disclaimer { margin-top: 28px; font-size: .9rem; color: var(--ink-soft); }
.meta { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.meta code { font-size: .85rem; }
.end-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .bar > span { transition: none; } }

/* Emailed plan + delivery email */
.email-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.email-bar { background: var(--sage-wash); padding: 12px 18px; font-size: .9rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; }
.email-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 14px; font-size: 1rem; }
.sig { color: var(--ink-soft); font-size: .95rem; }
.plan-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 5vw, 48px); display: flex; flex-direction: column; gap: 36px; font-size: 1rem; }
.sheet h2 { color: var(--slate-deep); }
.sheet section { display: flex; flex-direction: column; gap: 14px; }
.plan-title { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; border-bottom: 2px solid var(--slate); }
.plan-title h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.plan-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: .95rem; margin: 0; }
.plan-meta dt { font-weight: 700; }
.plan-meta dd { margin: 0; font-variant-numeric: tabular-nums; }
.pull { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--slate-deep); }
.start-here { background: var(--gold-wash); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.start-here ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.area { border-top: 1px solid var(--line); padding-top: 28px; }
.area-label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.sub { font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 4px 0 -6px; }
.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.resource { background: var(--sage-wash); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.resource .kind { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.remember { border-left: 3px solid var(--gold); padding-left: 14px; }
.urgent { background: var(--gold-wash); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.working { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.working li { display: flex; gap: 10px; }
.working li::before { content: "✓"; color: var(--sage); font-weight: 700; }
.fine { font-size: .9rem; color: var(--ink-soft); font-style: italic; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: env(safe-area-inset-top, 0px); }
img { max-width: 100%; }
a { color: var(--slate-deep); }
.site-foot { margin-top: 56px; padding-block: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-foot a { color: var(--ink-soft); }
.privacy-note { font-size: .9rem; color: var(--ink-soft); }
.status { padding: 12px 14px; border-radius: 10px; background: var(--sage-wash); }
.status.bad { background: var(--gold-wash); }
.simple-page { display: flex; flex-direction: column; gap: 18px; max-width: 60ch; }
/* Print: the plan should look good on a kitchen table */
@media print {
  :root { --linen: #fff; --surface: #fff; }
  body { font-size: 12pt; padding: 0 !important; }
  header.site, .plan-toolbar, .site-foot, .no-print { display: none !important; }
  .sheet { border: 0; padding: 0; gap: 20px; }
  .area { break-inside: avoid-page; }
  a { color: inherit; text-decoration: none; }
}
