/* ---------- Second Season / Steady shared foundation ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(100% - 2 * var(--gutter, 24px), var(--max)); margin-inline: auto; }
.measure { max-width: 68ch; }
.center { text-align: center; margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.display, h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.018em; color: var(--ink); }
h1 { font-size: clamp(2.55rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.35; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.65; color: var(--ink-soft); }
.small { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.tiny { font-size: 0.78rem; line-height: 1.55; color: var(--muted); }
.italic { font-style: italic; }
.serif { font-family: var(--serif); }
.nowrap { white-space: nowrap; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: 1px solid transparent;
  border-radius: var(--btn-radius, 999px); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn .ic { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover, var(--accent)); box-shadow: 0 12px 24px -14px rgba(0,0,0,.55); }
.btn-ghost { border-color: var(--line-strong, var(--ink)); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-small { min-height: 40px; padding: 8px 17px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem;
  text-decoration: none; color: var(--accent); border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--head-bg, rgba(251,246,238,.9));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; line-height: 1; }
.wordmark-main { font-family: var(--serif); font-size: 1.48rem; font-weight: 500; letter-spacing: -0.02em; }
.wordmark-sub { font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) {
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.nav-cta { margin-left: 4px; }
.nav-toggle {
  display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 50%; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
[data-head].is-open .nav-toggle-bars { background: transparent; }
[data-head].is-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
[data-head].is-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7.5vw, 108px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head .lede { max-width: 52ch; }
.section-head h2 { max-width: 20ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 24ch; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band-tint { background: var(--tint, #f4ece2); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark .lede, .band-dark p { color: var(--paper-soft, rgba(255,255,255,.78)); }
.band-dark .eyebrow { color: var(--gold); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 32px); position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong, var(--line)); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .ic { width: 24px; height: 24px; color: var(--accent); margin-bottom: 18px; }
.card-kicker { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; display: block; }
.card-num { font-family: var(--serif); font-size: .95rem; color: var(--muted); position: absolute; top: 22px; right: 24px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 6.5vw, 92px) clamp(40px, 6vw, 80px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin: 18px 0 20px; }
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.hero-copy .lede { max-width: 34ch; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: .8rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ic { width: 15px; height: 15px; color: var(--accent-2); }
.figure { position: relative; margin: 0; }
.figure img { width: 100%; object-fit: cover; }
.figcaption { font-size: .76rem; color: var(--muted); margin-top: 10px; }
.hero-note {
  position: absolute; left: -22px; bottom: 24px; max-width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow);
}
.hero-note strong { display: block; font-family: var(--serif); font-size: 1rem; margin-bottom: 3px; }
.hero-note span { font-size: .76rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat { border-top: 1px solid var(--line-strong, var(--ink)); padding-top: 18px; }
.stat b { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 500; line-height: 1; display: block; margin-bottom: 8px; letter-spacing: -.02em; }
.stat p { font-size: .86rem; color: var(--muted); line-height: 1.5; max-width: 30ch; }
.stat cite { display: block; font-style: normal; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-top: 8px; }

/* ---------- Prose / article ---------- */
.article-head { padding-block: clamp(34px, 4.5vw, 64px) 32px; border-bottom: 1px solid var(--line); }
.article-head h1 { max-width: 20ch; margin: 16px 0 18px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.article-head .lede { max-width: 58ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: .8rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .ic { width: 15px; height: 15px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); padding-block: clamp(36px, 5vw, 64px); align-items: start; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.4em; margin-bottom: .55em; scroll-margin-top: 96px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.prose h3 { margin-top: 1.9em; margin-bottom: .4em; scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--ink);
}
.prose strong { color: var(--ink); }
.answer {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: clamp(18px, 2.5vw, 26px); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2em;
}
.answer .tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent); display: block; margin-bottom: 8px; }
.answer p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.answer p + p { margin-top: .7em; }
.callout {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px;
  background: var(--surface); font-size: .95rem;
}
.callout strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 1.05rem; }
.aside {
  position: sticky; top: 98px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 24px;
}
.aside h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; margin-bottom: 14px; }
.aside ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.aside li { counter-increment: toc; border-top: 1px solid var(--line); }
.aside li:first-child { border-top: 0; }
.aside a { display: flex; gap: 10px; padding: 9px 0; font-size: .86rem; text-decoration: none; color: var(--ink-soft); line-height: 1.45; }
.aside a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); color: var(--accent); font-size: .8rem; }
.aside a:hover { color: var(--accent); }
.aside-cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.aside-cta p { font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.sources { margin-top: 2.8em; padding-top: 22px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; margin: 0 0 10px; }
.sources ol { font-size: .84rem; color: var(--muted); padding-left: 1.1em; }
.sources li { margin-bottom: .4em; }
.sources a { color: var(--ink-soft); text-decoration: underline; }
.review-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 16px 18px;
  border: 1px dashed var(--line-strong, var(--line)); border-radius: var(--radius-sm);
  font-size: .82rem; color: var(--muted);
}
.review-note .ic { width: 19px; height: 19px; flex: none; color: var(--accent-2); margin-top: 2px; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-family: var(--serif); font-size: clamp(1.08rem, 1.4vw, 1.24rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.3rem; color: var(--accent); flex: none; line-height: 1; margin-top: 2px; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 22px; max-width: 66ch; color: var(--ink-soft); font-size: .97rem; }
.faq .faq-a p + p { margin-top: .8em; }

/* ---------- Offers / pricing ---------- */
.offer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column;
}
.offer.featured { border-color: var(--accent); border-width: 1.5px; position: relative; }
.offer.featured::before {
  content: attr(data-badge); position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: var(--accent-ink); font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px;
}
.offer .price { font-family: var(--serif); font-size: clamp(2.2rem, 3vw, 2.9rem); line-height: 1; margin: 14px 0 4px; letter-spacing: -.02em; }
.offer .price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.offer ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.offer li { display: flex; gap: 10px; padding: 7px 0; font-size: .92rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.offer li:last-child { border: 0; }
.offer li .ic { width: 16px; height: 16px; color: var(--accent-2); flex: none; margin-top: 4px; }
.offer .btn { margin-top: auto; }
.offer-note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.price-line { display: flex; align-items: baseline; gap: 10px; }
.price-line s { color: var(--muted); font-size: .95rem; }

/* ---------- Lead band ---------- */
.lead-band {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: clamp(30px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(26px, 4vw, 56px); align-items: center;
}
.lead-band h2 { color: var(--paper); font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 10px; }
.lead-band p { color: var(--paper-soft, rgba(255,255,255,.76)); font-size: .95rem; }
.lead-band .eyebrow { color: var(--gold); }
.lead-band .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: var(--paper); }
.lead-band .input::placeholder { color: rgba(255,255,255,.55); }
.lead-band .form-legal, .lead-band .check { color: rgba(255,255,255,.62); }
.lead-band .form-status.ok { background: rgba(255,255,255,.12); color: #eaf6ec; }
.lead-band .form-status.err { background: rgba(255,120,90,.18); color: #ffe4dc; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > label, .label { font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.field .hint { font-size: .74rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--input-bg, #fff); border: 1px solid var(--line-strong, var(--line));
  border-radius: var(--input-radius, 8px); font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.form-status { font-size: .86rem; padding: 10px 12px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: #e9f2ea; color: #24523a; }
.form-status.err { display: block; background: #fbe9e4; color: #7a2c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .72rem; color: var(--muted); line-height: 1.5; }
.form-legal a { text-decoration: underline; }

/* ---------- Tool: quiz ---------- */
.tool-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.progress { flex: 1; min-width: 160px; height: 5px; background: var(--accent-soft); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.progress-label { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
fieldset legend { font-family: var(--serif); font-size: 1.16rem; line-height: 1.35; margin-bottom: 14px; padding: 0; }
.opt-group { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .8rem; color: var(--ink-soft); background: var(--paper); transition: all .15s ease; cursor: pointer;
}
.opt input:hover + span { border-color: var(--accent); }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.quiz-q { display: none; }
.quiz-q.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-result { display: none; }
.quiz-result.active { display: block; animation: fade .3s ease; }
.tool-disclaimer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.result-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; margin-bottom: 22px; }
.score-ring {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--pct, 0) * 1%), var(--accent-soft) 0); position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 9px; background: var(--surface); border-radius: 50%; }
.score-ring b { position: relative; font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.score-ring small { position: relative; display: block; font-size: .62rem; color: var(--muted); text-align: center; letter-spacing: .08em; text-transform: uppercase; }
.bars { display: grid; gap: 12px; margin: 20px 0; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 38px; gap: 12px; align-items: center; font-size: .84rem; }
.bar-track { height: 8px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 99px; width: 0; transition: width .6s ease; }
.bar-row b { font-weight: 600; text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.result-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--paper); }
.result-box h3 { font-size: 1rem; margin-bottom: 8px; }
.result-box ul { margin: 0; padding-left: 1.1em; font-size: .88rem; color: var(--ink-soft); }
.result-box li { margin-bottom: 5px; }
.flag { border-left: 3px solid #a4442e; background: #fbeee8; padding: 14px 16px; border-radius: 0 8px 8px 0; font-size: .86rem; margin-top: 18px; }
.flag strong { display: block; margin-bottom: 3px; }

/* ---------- Care plan builder ---------- */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 26px; align-items: start; }
.plan-form { display: grid; gap: 18px; }
.plan-block { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; background: var(--surface); }
.plan-block h3 { font-size: 1rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.plan-block h3 span { font-size: .72rem; color: var(--muted); font-weight: 400; }
.repeat-row { display: grid; grid-template-columns: 1.2fr .7fr .8fr auto; gap: 8px; margin-bottom: 8px; }
.repeat-row.three { grid-template-columns: 1fr 1fr auto; }
.repeat-row .input { min-height: 42px; font-size: .86rem; padding: 8px 11px; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn .ic { width: 16px; height: 16px; }
.preview { position: sticky; top: 98px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.preview-head { background: var(--ink); color: var(--paper); padding: 18px 22px; }
.preview-head h2 { color: var(--paper); font-size: 1.15rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
.preview-head p { font-size: .76rem; color: rgba(255,255,255,.7); margin-top: 2px; }
.preview-body { padding: 20px 22px; max-height: 58vh; overflow: auto; font-size: .86rem; }
.preview-body h4 { font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 16px 0 6px; }
.preview-body h4:first-child { margin-top: 0; }
.preview-body ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.preview-body li { margin-bottom: 3px; }
.preview-empty { color: var(--muted); text-align: center; padding: 28px 10px; font-size: .86rem; }
.preview-foot { border-top: 1px solid var(--line); padding: 14px 20px; display: flex; gap: 8px; flex-wrap: wrap; background: var(--paper); }
.preview-foot .btn { flex: 1; }
.save-state { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 6px; min-height: 1.2em; }

/* ---------- Guide cards ---------- */
.guide-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.guide-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent-soft); }
.guide-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide-card:hover .thumb img { transform: scale(1.03); }
.guide-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.guide-card .body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.guide-card .body p { font-size: .9rem; flex: 1; }
.guide-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; font-size: .74rem; color: var(--muted); letter-spacing: .03em; }
.guide-card .meta .tag { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-row button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 8px 16px; font-size: .82rem; cursor: pointer; color: var(--ink-soft);
}
.filter-row button:hover, .filter-row button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: .89rem; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--paper); }
tr:last-child td { border-bottom: 0; }

/* ---------- Crumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumb-sep { opacity: .5; }

/* ---------- CTA strip ---------- */
.cta-strip {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(24px, 3.5vw, 40px); display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-strip h2, .cta-strip h3 { max-width: 24ch; }
.cta-strip p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.1rem; color: var(--accent); line-height: 1.3;
}
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Emergency / notice ---------- */
.notice { border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); padding: 18px 20px; font-size: .9rem; }
.notice strong { display: block; margin-bottom: 4px; }
.emergency { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); }
.emergency h2 { color: var(--paper); font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 10px; }
.emergency p { color: rgba(255,255,255,.8); font-size: .92rem; }
.emergency .nums { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.emergency .num { border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 12px 16px; text-decoration: none; min-width: 160px; }
.emergency .num b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--paper); }
.emergency .num span { font-size: .74rem; color: rgba(255,255,255,.65); }

/* ---------- Footer ---------- */
.site-foot { background: var(--foot-bg, #26211E); color: var(--foot-ink, #F5EEE5); margin-top: clamp(40px, 6vw, 80px); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(44px, 5vw, 68px); }
.foot-brand .foot-wordmark { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.foot-line { font-size: .92rem; color: var(--foot-muted, rgba(245,238,229,.72)); max-width: 32ch; line-height: 1.6; }
.foot-pub { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--foot-muted, rgba(245,238,229,.55)); margin-top: 18px; }
.site-foot h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--foot-muted, rgba(245,238,229,.55)); font-weight: 600; margin-bottom: 14px; }
.site-foot .foot-top a { display: block; font-size: .88rem; text-decoration: none; color: var(--foot-ink, #F5EEE5); padding: 5px 0; opacity: .86; }
.site-foot .foot-top a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px 34px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .74rem; color: var(--foot-muted, rgba(245,238,229,.55)); }
.foot-disclaimer { max-width: 72ch; line-height: 1.6; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 44px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 20px; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stack { display: grid; gap: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.no-scroll { overflow: hidden; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy .lede { max-width: 52ch; }
  .hero .figure { max-width: 720px; }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; order: 2; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .lead-band { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .preview { position: static; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 74px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter) 26px; flex-direction: column; align-items: stretch; gap: 0;
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.35);
  }
  [data-head].is-open .site-nav { display: flex; }
  .site-nav > a:not(.btn) { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin: 18px 0 0; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .stat { padding-top: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .result-cols { grid-template-columns: 1fr; }
  .hero-note { left: 12px; bottom: 12px; max-width: 220px; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .opt-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-row { grid-template-columns: 108px 1fr 32px; gap: 8px; font-size: .78rem; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-note { position: static; max-width: none; margin-top: 12px; box-shadow: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .result-head { grid-template-columns: 1fr; }
  .score-ring { width: 88px; height: 88px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .cta-strip .btn { width: 100%; }
  .repeat-row, .repeat-row.three { grid-template-columns: 1fr 1fr; }
  .repeat-row .icon-btn { grid-column: 2; justify-self: end; }
  .table-wrap { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
}
@media print {
  .site-head, .site-foot, .no-print, .lead-band, .cta-strip, .aside-cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .container { width: 100%; max-width: none; }
  .article-layout, .plan-grid { display: block; }
  .prose, .measure { max-width: none; }
  .answer, .callout, .plan-block { break-inside: avoid; }
  a { text-decoration: none; color: #000; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
/* ---------- Interactive hints ---------- */
.quiz-q.needs legend { color: #a4442e; }
.quiz-q.needs legend::after { content: "  ·  choose one to continue"; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: #a4442e; }

/* ---------- Care plan print ---------- */
@media print {
  .plan-form, .preview-head, .preview-foot, .save-state { display: none !important; }
  .plan-grid { display: block !important; }
  .preview { border: 0 !important; position: static !important; }
  .preview-body { max-height: none !important; overflow: visible !important; padding: 0 !important; font-size: 11pt; }
  .preview-body h4 { color: #000 !important; }
}

/* ---------- Article hero image ---------- */
.guide-hero { margin: 24px 0 0; }
.guide-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.guide-hero figcaption { font-size: .74rem; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }
@media (max-width: 640px) {
  .guide-hero img { aspect-ratio: 16 / 10; }
}

/* ---------- Print-only plan header ---------- */
.preview-print { display: none; }
.preview-print strong { display: block; font-family: var(--serif); font-size: 20pt; }
.preview-print span { display: block; font-size: 9pt; color: #555; margin-top: 2px; }
@media print {
  .preview-print { display: block !important; margin-bottom: 14px; }
}
.foot-contact { margin-top: 8px; font-size: .78rem; }
.foot-contact a { color: var(--foot-muted, rgba(245,238,229,.7)) !important; text-decoration: underline !important; text-underline-offset: 3px; opacity: 1 !important; }
