/* One stylesheet for the landing page, the check and the report.
   Look: welcome-packet (Poppins, wide-tracked caps, purple bands, mountain photo).
   Report layout: my-first-build's OHI report (sidebar, scorecard rows), with the landing page's stage cards.
   Colors are only the six brand colors plus one dark neutral (--ink). Light only,
   like the welcome packet. Built for phones first; wider screens adjust at the bottom. */
:root {
  --purple: #730f84;
  --white: #ffffff;
  --gray: #b3b3b3;
  --pink: #f9215d;
  --green: #00cd70;
  --yellow: #ffce00;
  --ink: #17141a;

  --lavender: color-mix(in srgb, var(--purple) 45%, var(--white));
  --lavender-soft: color-mix(in srgb, var(--purple) 14%, var(--white));
  --lavender-faint: color-mix(in srgb, var(--purple) 6%, var(--white));
  --paper: color-mix(in srgb, var(--gray) 25%, var(--white));
  --text: color-mix(in srgb, var(--ink) 88%, var(--white));
  --muted: color-mix(in srgb, var(--ink) 62%, var(--white));
  --hair: color-mix(in srgb, var(--gray) 60%, var(--white));
  --track: color-mix(in srgb, var(--gray) 35%, var(--white));
  --shadow: 0 2px 4px color-mix(in srgb, var(--ink) 8%, transparent), 0 10px 28px color-mix(in srgb, var(--purple) 12%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 16px/1.65 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: var(--purple); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0; }
p { margin: 0 0 14px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--white); padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--muted); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--purple);
  background: var(--purple); color: var(--white); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 18px; }
.btn-light { background: var(--white); border-color: var(--white); color: var(--purple); }
.btn-quiet { background: var(--white); color: var(--purple); border-color: var(--hair); }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--purple); text-decoration: underline; cursor: pointer; font-size: 15px; }

/* ---------- header + footer ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.top-inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--purple); text-decoration: none; font-weight: 500; letter-spacing: .28em; font-size: 14px; line-height: 1.05; text-transform: uppercase; margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand small { display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .3em; }
.foot { background: var(--purple); color: var(--white); padding: 26px 0; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-inner img:first-child { width: 150px; }
.foot-inner img:nth-child(2) { width: 120px; }
.foot a { color: var(--white); letter-spacing: .14em; font-size: 14px; }

/* ---------- landing ---------- */
.hero {
  background:
    linear-gradient(color-mix(in srgb, var(--white) 62%, transparent), color-mix(in srgb, var(--white) 62%, transparent)),
    url(/brand/mountain-800.jpg) center 30% / cover no-repeat;
}
.hero-photo { display: grid; place-items: center; padding: 28px 16px 52px; }
.hero-logo { width: 150px; }
.hero-band {
  background: var(--purple); color: var(--white);
  /* the V-shaped edge from the welcome packet cover */
  clip-path: polygon(0 0, 60% 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -32px; padding: 64px 0 40px;
}
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.hero h1 { font-size: 32px; letter-spacing: .01em; margin-bottom: 14px; }
.hero-lede { font-size: 16px; opacity: .92; max-width: 34em; margin: 0 auto 24px; }
.hero .btn { width: 100%; max-width: 340px; }
.hero-meta { font-size: 13px; opacity: .85; margin: 12px 0 0; }
.cred { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.cred img { width: 150px; }

.sec { padding: 52px 0; }
.sec-title { font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--purple); font-size: 26px; letter-spacing: .01em; margin-bottom: 10px; }
.sec-intro { color: var(--muted); max-width: 40em; margin: 0 auto 28px; }
.ring {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--purple); color: var(--purple); font-weight: 800; font-size: 16px; background: var(--white);
}
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.gets li { display: flex; gap: 14px; align-items: flex-start; }
.gets b { display: block; color: var(--purple); }
.gets span { color: var(--muted); font-size: 15px; }
.covers-sec { background: var(--lavender-faint); }
.covers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.covers li { background: var(--white); border-radius: 16px; padding: 16px 18px; border-left: 5px solid var(--purple); }
.covers li:nth-child(2) { border-color: var(--pink); }
.covers li:nth-child(3) { border-color: var(--yellow); }
.covers li:nth-child(4) { border-color: var(--green); }
.covers b { display: block; }
.covers span { color: var(--muted); font-size: 15px; }
/* The 5 stages run pink to green, like the stage colors on the OHI board. Brand colors only. */
.stages-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stages-row li {
  --bg: var(--pink); --fg: var(--white);
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "emoji name" "emoji tag" "emoji range";
  align-items: center; gap: 0 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--bg); color: var(--fg); box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.stages-row li:hover { transform: translateY(-2px); }
.stages-row .st2 { --bg: color-mix(in srgb, var(--pink) 50%, var(--yellow)); --fg: var(--ink); }
.stages-row .st3 { --bg: var(--yellow); --fg: var(--ink); }
.stages-row .st4 { --bg: color-mix(in srgb, var(--yellow) 40%, var(--green)); --fg: var(--ink); }
.stages-row .st5 { --bg: var(--green); --fg: var(--ink); }
.st-emoji { grid-area: emoji; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--white) 80%, transparent); font-size: 28px; line-height: 1; }
.stages-row b { grid-area: name; font-size: 17px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.st-tag { grid-area: tag; font-size: 15px; font-weight: 500; }
.stages-row .range { grid-area: range; font-size: 13px; opacity: .85; font-variant-numeric: tabular-nums; }
/* In the report: the visitor's stage stands out, the rest fade back. */
.stages-row li.dim { opacity: .45; box-shadow: none; }
.stages-row li.here { outline: 3px solid var(--purple); outline-offset: 3px; }
.stages-row li .tag { grid-area: tag-chip; justify-self: start; margin-top: 6px; }
.stages-row li:has(.tag) { grid-template-areas: "emoji name" "emoji tag" "emoji range" "emoji tag-chip"; }
.stages-row li .tag.next { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.rsec .box p:last-child { margin-bottom: 0; }
.end-cta { background: var(--purple); color: var(--white); }
.end-cta .sec-title { color: var(--white); }
.end-cta p { opacity: .92; }

/* ---------- the check ---------- */
.check-page { background: var(--lavender-faint); min-height: calc(100vh - 61px); padding: 20px 0 48px; }
.card { background: var(--white); border: 2px solid var(--purple); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.q-progress { height: 8px; background: var(--lavender-soft); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.q-progress i { display: block; height: 100%; background: var(--purple); border-radius: 4px; transition: width .25s ease; }
.q-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.q-text { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--ink); margin-bottom: 18px; }
.q-text:focus { outline: none; }
.q-hint { font-size: 14px; color: var(--muted); margin: -8px 0 16px; }
.opts { display: grid; gap: 8px; margin-bottom: 18px; }
.opt {
  display: flex; align-items: center; gap: 12px; min-height: 50px; width: 100%; text-align: left;
  padding: 8px 14px 8px 8px; border: 2px solid var(--hair); border-radius: 999px; background: var(--white); cursor: pointer; font-size: 15px;
}
.opt:hover { border-color: var(--purple); }
.opt[aria-checked="true"] { border-color: var(--purple); background: var(--lavender-soft); font-weight: 600; }
.opt .k { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--purple); color: var(--purple); font-size: 13px; font-weight: 700; }
.opt[aria-checked="true"] .k { background: var(--purple); color: var(--white); }
.opts.multi .opt { border-radius: 14px; }
.opt .k.check { width: 24px; height: 24px; border-radius: 7px; border-width: 2.5px; margin: 0 4px; }
.opt[aria-checked="true"] .k.check::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: translateY(-1px) rotate(-45deg); }
.q-nav { display: flex; justify-content: space-between; gap: 12px; }
.q-nav .btn { flex: 1; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.field .opt-tag { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font-weight: 400; min-height: 48px; padding: 10px 16px; border: 2px solid var(--hair); border-radius: 12px; background: var(--white); color: var(--text); width: 100%; font-size: 16px; }
.field input.num { max-width: 180px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--purple); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--pink); }
.err { color: color-mix(in srgb, var(--pink) 70%, var(--ink)); font-size: 14px; font-weight: 600; min-height: 0; margin: 0 0 12px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.section-intro { background: var(--lavender-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }

/* teaser */
.teaser { display: grid; gap: 18px; }
.res-score { display: flex; align-items: center; gap: 18px; }
.gauge { flex: none; width: 116px; height: 116px; }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .g-track { stroke: var(--lavender-soft); }
.gauge .g-fill { stroke: var(--purple); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .8s ease; }
.gauge text { fill: var(--purple); font: 800 30px Poppins, sans-serif; }
.gauge .g-of { font-size: 12px; font-weight: 500; fill: var(--muted); }
.res-stage .label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.res-stage h2 { font-size: 26px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--purple); margin-bottom: 4px; }
.res-stage h2:focus { outline: none; }
.res-stage p { margin: 0; font-size: 14px; color: var(--muted); }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
/* Same pink-to-green colors as the stage cards. Stages above yours stay faded. */
.track i { height: 8px; border-radius: 4px; background: var(--pink); opacity: .25; }
.track i:nth-child(2) { background: color-mix(in srgb, var(--pink) 50%, var(--yellow)); }
.track i:nth-child(3) { background: var(--yellow); }
.track i:nth-child(4) { background: color-mix(in srgb, var(--yellow) 40%, var(--green)); }
.track i:nth-child(5) { background: var(--green); }
.track i.on { opacity: 1; }
.track i.here { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--purple); }
.track-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.locked { position: relative; border-radius: 14px; background: var(--paper); padding: 14px; overflow: hidden; }
.locked ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; filter: blur(3px); user-select: none; }
.locked li { display: grid; grid-template-columns: 1fr 52px; gap: 10px; align-items: center; font-size: 14px; }
.locked li i { height: 8px; border-radius: 4px; background: var(--lavender); }
.locked .lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 700; color: var(--purple); background: color-mix(in srgb, var(--paper) 55%, transparent); padding: 0 16px; }
.unlock h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.unlock .fine { margin: 16px 0 0; }
.unlock .q-nav { flex-direction: column-reverse; gap: 10px; }

/* ---------- report ---------- */
.layout { display: block; }
.page { min-width: 0; }
.sidebar { display: none; }
.band { background: var(--purple); color: var(--white); padding: 22px 0 32px; }
.band-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.band-logo { order: -1; width: 96px; height: 96px; margin: 0 0 4px -12px; }
.band h1 { font-size: 32px; margin-bottom: 12px; overflow-wrap: anywhere; }
.band .lede { font-size: 16px; margin-bottom: 18px; max-width: 34em; opacity: .95; }
.band .rule { width: 72px; height: 2px; background: var(--white); opacity: .6; margin-bottom: 14px; }
.band .meta { font-size: 14px; opacity: .9; margin: 0; }
.stripe { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 6px; }
.stripe span:nth-child(1) { background: var(--pink); }
.stripe span:nth-child(2) { background: var(--yellow); }
.stripe span:nth-child(3) { background: var(--green); }

.jump { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--hair); }
.jump ul { list-style: none; margin: 0 auto; padding: 0 8px; max-width: 720px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; white-space: nowrap; padding: 14px 10px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.jump a.on { color: var(--purple); border-bottom-color: var(--purple); }

.col { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.rsec { padding: 32px 0 8px; }
.rsec h2 { font-size: 24px; color: var(--purple); display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--purple); margin-bottom: 18px; }
.rsec h2 .num { color: var(--gray); font-weight: 800; }
.lead { font-weight: 600; font-size: 18px; line-height: 1.45; color: var(--ink); }

.score-hero { margin: 18px 0 8px; }
.score-hero .big { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--purple); }
.score-hero .of { font-size: 20px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.score-hero .tag { margin-left: 10px; vertical-align: 12px; }
.meter { position: relative; height: 12px; background: var(--track); border-radius: 0 6px 6px 0; margin: 16px 0 6px; overflow: hidden; }
.meter .fill { position: absolute; inset: 0 auto 0 0; background: var(--purple); border-radius: 0 6px 6px 0; }
.meter .gap { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--white); }
.meter-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; line-height: 1.2; white-space: nowrap; color: var(--ink); }
.tag.fix { background: var(--pink); color: var(--white); }
.tag.work { background: var(--yellow); }
.tag.healthy { background: var(--green); }
.tag.here { background: var(--purple); color: var(--white); }
.tag.next { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--gray); }
/* Step number in the action plan, next to the health badge. */
.prio { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: var(--white); font-size: 13px; font-weight: 800; line-height: 1; }

.bar { position: relative; height: 10px; background: var(--track); border-radius: 0 5px 5px 0; }
.bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 0 5px 5px 0; }
.bar .fill.fix { background: var(--pink); }
.bar .fill.work { background: var(--yellow); }
.bar .fill.healthy { background: var(--green); }

/* scorecard rows: stacked on phones, a table on wider screens */
.areas { border-top: 1px solid var(--hair); }
.areas-head { display: none; }
details.area { border-bottom: 1px solid var(--hair); }
details.area > summary {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name tag" "bar score"; gap: 8px 14px; align-items: center;
  list-style: none; cursor: pointer; padding: 14px 0;
}
details.area > summary::-webkit-details-marker { display: none; }
.area .name { grid-area: name; font-weight: 600; }
.area .name .tag { margin-left: 6px; vertical-align: 2px; }
.area .tagcell { grid-area: tag; justify-self: end; display: flex; align-items: center; gap: 6px; }
.area .bar { grid-area: bar; }
.area .score { grid-area: score; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3.4em; text-align: right; }
.area .score small { color: var(--muted); font-weight: 500; }
.chev { display: inline-block; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 6px 3px 0; transition: transform .15s; }
details[open] > summary .chev { transform: rotate(225deg); margin-bottom: -1px; }
.area .detail { padding: 0 0 16px; }
.area .detail .about { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.qs { list-style: none; margin: 0; padding: 0; }
.qs li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 12px; background: var(--lavender-faint); border-radius: 10px; margin-bottom: 6px; font-size: 15px; }
.qs .qscore { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.box { border: 1px solid var(--hair); border-radius: 14px; padding: 14px 16px; margin-top: 18px; font-size: 15px; }
.box h3, .box > summary { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin: 0 0 8px; }
details.box > summary { cursor: pointer; margin: 0; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
details.box > summary::-webkit-details-marker { display: none; }
details.box[open] > summary { margin-bottom: 10px; }
.key { list-style: none; margin: 0; padding: 0; }
.key li { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: baseline; padding: 4px 0; }
.key .tag { justify-self: start; }
blockquote.box { margin: 18px 0 0; }
.box ul.plain { margin: 0; padding-left: 20px; }
.box ul.plain li { margin-bottom: 4px; }


.words { margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hair); }
.words > div { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.words dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.words dd { margin: 0; font-size: 17px; white-space: pre-line; overflow-wrap: anywhere; }
.words dd ul { margin: 0; padding-left: 20px; white-space: normal; }
.words .small { display: block; color: var(--muted); font-size: 14px; }

/* Action plan steps read as a to-do list. The list order is the order to do them. */
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 5px; border: 2.5px solid var(--purple); }
.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plan-area { border: 2px solid var(--lavender-soft); border-radius: 16px; padding: 16px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.plan-head h3 { font-size: 19px; color: var(--ink); margin-right: auto; }
.plan-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.keep { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--yellow); background: var(--paper); border-radius: 0 12px 12px 0; font-size: 15px; }
.mline { margin: 10px 0 0; padding: 12px 14px; border-left: 4px solid var(--purple); background: var(--lavender-faint); border-radius: 0 12px 12px 0; font-size: 15px; }
.fix-card { margin-top: 22px; padding: 18px; border-radius: 16px; background: var(--lavender-soft); }
.fix-card .kicker { margin-bottom: 4px; }
.fix-card p { margin: 0; }

.cta-foot { padding-top: 36px; padding-bottom: 48px; }
.cta-card { background: var(--purple); color: var(--white); border-radius: 18px; padding: 24px 20px; }
.cta-card h2 { font-size: 22px; margin-bottom: 8px; }
.cta-card p { opacity: .92; }
.cta-card .btn { width: 100%; }
.cta-foot .fine { margin-top: 18px; }

.state { padding: 64px 0; text-align: center; }
.state h1 { font-size: 26px; color: var(--purple); margin-bottom: 10px; }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .hero h1 { font-size: 44px; }
  .hero-logo { width: 200px; }
  .sec-title { font-size: 36px; }
  .covers { grid-template-columns: 1fr 1fr; }
  .card { padding: 28px; }
  .q-text { font-size: 22px; }
  .opts.multi { grid-template-columns: 1fr 1fr; }
  .cta-card .btn { width: auto; }
  .words { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .areas { border-top: 0; }
  .areas-head, details.area > summary { grid-template-columns: 1fr 120px 64px 136px; grid-template-areas: "name bar score tag"; gap: 8px 16px; }
  .areas-head { display: grid; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--hair); }
  .areas-head .h-score { grid-column: 2 / 4; }
  .areas-head .h-status { grid-area: tag; text-align: right; }
}
@media (min-width: 960px) {
  .hero-photo { padding: 48px 16px 80px; }
  .hero-logo { width: 260px; }
  .hero-band { clip-path: polygon(0 0, 60% 80px, 100% 0, 100% 100%, 0 100%); margin-top: -56px; padding: 112px 0 60px; }
  .hero h1 { font-size: 56px; }
  .hero-lede { font-size: 18px; }
  .hero {
    background:
      linear-gradient(color-mix(in srgb, var(--white) 62%, transparent), color-mix(in srgb, var(--white) 62%, transparent)),
      url(/brand/mountain-1600.jpg) center 30% / cover no-repeat;
  }
  .sec { padding: 80px 0; }
  .gets { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stages-row { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .stages-row li { grid-template-columns: 1fr; grid-template-areas: "emoji" "name" "tag" "range"; justify-items: center; align-content: start; text-align: center; gap: 6px; padding: 22px 12px; }
  .stages-row .st-emoji { margin-bottom: 6px; }
  .stages-row.stacked { grid-template-columns: 1fr; gap: 10px; }
  .stages-row.stacked li { grid-template-columns: auto 1fr; grid-template-areas: "emoji name" "emoji tag" "emoji range"; justify-items: stretch; text-align: left; gap: 0 14px; padding: 14px 16px; }
  .stages-row.stacked li:has(.tag) { grid-template-areas: "emoji name" "emoji tag" "emoji range" "emoji tag-chip"; }
  .stages-row.stacked .st-emoji { margin-bottom: 0; }
  .check-page { padding: 40px 0 72px; }

  .layout { display: grid; grid-template-columns: 260px 1fr; }
  .sidebar {
    display: flex; flex-direction: column; gap: 22px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    padding: 26px 20px; border-right: 1px solid var(--hair); background: var(--lavender-faint);
  }
  .sidebar nav ul { list-style: none; margin: 0; padding: 0; }
  .sidebar nav a { display: block; padding: 8px 12px; border-left: 3px solid transparent; text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; }
  .sidebar nav a small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
  .sidebar nav a.on { border-left-color: var(--purple); background: var(--lavender-soft); }
  .sidebar .btn { width: 100%; font-size: 15px; padding: 0 16px; }
  .sidebar .fine { margin: 0; }
  .jump { display: none; }
  html.report { scroll-padding-top: 16px; }
  .col { padding: 0 40px; }
  .band { padding: 44px 0 48px; }
  .band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .band-logo { order: 2; width: 150px; height: auto; margin: 0; }
  .band h1 { font-size: 44px; }
  .rsec h2 { font-size: 27px; }
}
