/* Prosperity Club design system.
   Brand palette: Green #1A6B3C, Gold #C9921A, Crimson #922030.
   Distribution (owner-set): ~60% green (primary surfaces, buttons, links),
   ~30% gold (kickers, underlines, cards, CTA band), ~10% crimson (reserved
   for conversion CTAs so the "act now" color stays scarce and loud).
   Light + dark (AMOLED true-black) themes via [data-theme] on <html>. */

/* ---------- Tokens ---------- */
:root {
  --c-primary: #1a6b3c;   /* Green - dominant */
  --c-primary-deep: #114a28;
  --c-primary-soft: #2f8552;
  --c-cta: #922030;       /* Crimson - conversion CTAs only */
  --c-cta-deep: #6e1826;
  --c-cta-soft: #b34452;
  --c-accent: #c9921a;    /* Gold */
  --c-accent-deep: #a5760f;
  --c-accent-ink: #8a6410; /* deep gold: meets 4.5:1 on light surfaces for small text */

  --c-bg: #ffffff;
  --c-surface: #faf7f6;
  --c-surface-2: #f3edec;
  --c-ink: #282828;
  --c-ink-soft: #4c4443;
  --c-muted: #6d6361;
  --c-border: #eeeeee;
  --c-link: #1a6b3c;
  --c-hero-ink: #ffffff;

  --shadow-soft: 0 10px 34px rgba(40, 24, 23, 0.10);
  --shadow-lift: 0 18px 44px rgba(40, 24, 23, 0.16);
  --radius: 16px;
  --radius-sm: 10px;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell: 72rem;
  --header-h: 4.5rem;
}

[data-theme="dark"] {
  --c-bg: #000000;
  --c-surface: #101010;
  --c-surface-2: #181414;
  --c-ink: #f3efee;
  --c-ink-soft: #d8d0ce;
  --c-muted: #b3a9a7;
  --c-border: #2a2423;
  --c-link: #e3ad3a;
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, 0.7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; }
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--c-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-deep); }
[data-theme="dark"] .btn-primary { background: var(--c-primary-soft); color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: var(--c-primary); }
.btn-secondary { background: transparent; color: var(--c-link); border-color: currentColor; }
/* Crimson is reserved for conversion CTAs (the ~10%). */
.header-cta.btn-primary, .cta-line .btn-primary { background: var(--c-cta); }
.header-cta.btn-primary:hover, .cta-line .btn-primary:hover { background: var(--c-cta-deep); }
[data-theme="dark"] .header-cta.btn-primary, [data-theme="dark"] .cta-line .btn-primary { background: var(--c-cta-soft); }
[data-theme="dark"] .header-cta.btn-primary:hover, [data-theme="dark"] .cta-line .btn-primary:hover { background: var(--c-cta); }
.btn-gold { background: var(--c-accent); color: #241a04; }
.btn-gold:hover { background: #e3ad3a; }
.btn-light { background: #fff; color: var(--c-primary-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--c-bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.45rem; text-decoration: none; margin-right: 1.5rem; flex: 0 0 auto; }
.site-nav { margin-right: auto; }
/* Phoenix mark (high-res, works on any background) + themeable HTML wordmark.
   Compact by default; the full nav needs the room until very wide screens,
   where the brand scales up for presence. Phones show the mark alone (below). */
.brand-mark { height: 46px; width: auto; display: block; }
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.2rem; line-height: 1;
  letter-spacing: 0.01em; white-space: nowrap;
}
/* 75-78rem is the tightest full-nav window: compact brand so nothing overflows. */
@media (min-width: 75.0625rem) and (max-width: 78rem) {
  .brand-mark { height: 38px; }
  .brand { margin-right: 0.6rem; }
  .brand-wordmark { font-size: 1.1rem; }
}
/* Drawer mode: the nav is absolutely positioned, so its auto margin can't push
   the actions right - anchor them to the edge explicitly. */
@media (max-width: 75rem) {
  .brand-mark { height: 52px; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 94rem) { .brand-mark { height: 56px; } .brand-wordmark { font-size: 1.5rem; } }
.bw-p { color: var(--c-primary); }
.bw-c { color: var(--c-accent-ink); }
[data-theme="dark"] .bw-p { color: #58c07f; }
[data-theme="dark"] .bw-c { color: var(--c-accent); }
/* On phones the phoenix mark alone carries the brand; drop the wordmark to fit. */
@media (max-width: 40rem) { .brand-wordmark { display: none; } }

.nav-list { display: flex; align-items: center; gap: 0.08rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: block;
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-item > a:hover { background: var(--c-surface-2); }
.nav-item > a[aria-current="page"] {
  color: var(--c-link);
  box-shadow: inset 0 -2px 0 var(--c-accent);
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: none;
}
.nav-item.has-children:hover > .nav-sub,
.nav-item.has-children:focus-within > .nav-sub,
.nav-item.has-children.open > .nav-sub { display: block; }
.nav-sub a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-sub a:hover { background: var(--c-surface-2); }
.nav-sub a[aria-current="page"] { color: var(--c-link); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.header-cta { font-size: 0.86rem; padding: 0.5rem 0.8rem; white-space: nowrap; }
/* Compact tap-to-call - hidden until the full CTA drops out on small screens. */
.header-call {
  display: none;
  width: 44px; height: 44px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: var(--c-cta); color: #fff;
}
[data-theme="dark"] .header-call { background: var(--c-cta-soft); }
.header-call:hover { background: var(--c-cta-deep); }
@media (max-width: 40rem) { .header-call { display: inline-flex; } }

.theme-toggle, .nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-ink);
}
.theme-toggle:hover, .nav-toggle:hover { background: var(--c-surface-2); }
/* Sun/moon drawn in CSS (no emoji, no icon font). */
.theme-toggle-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-ink);
  box-shadow: inset -5px -4px 0 0 var(--c-bg);
}
[data-theme="dark"] .theme-toggle-icon {
  background: var(--c-accent);
  box-shadow: none;
}
.nav-toggle { display: none; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -6px; left: 0; }
.nav-toggle-bar::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -20%, color-mix(in srgb, var(--c-accent) 30%, transparent), transparent 60%),
    linear-gradient(140deg, var(--c-primary-deep) 0%, var(--c-primary) 55%, #0d3a1f 100%);
  color: var(--c-hero-ink);
  overflow: clip;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-inner:has(> .hero-copy:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 56rem; }
.hero-page .hero-inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; }
.hero-kicker {
  color: var(--c-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.hero-kicker a { color: inherit; }
.hero-lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255, 255, 255, 0.88); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0.9rem 0;
  font-size: 0.92rem;
  color: var(--c-muted);
  font-weight: 600;
}
.trust-list li { position: relative; padding-left: 1.1rem; }
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---------- Bands & cards ---------- */
.band { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.band-tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.band-alt { background: var(--c-surface); }
.band-heading { margin-bottom: 1.5rem; }
.band-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.kicker {
  color: var(--c-accent-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
}
/* Hero sits on the dark gradient - bright gold reads with high contrast there. */
.hero .kicker { color: var(--c-accent); }
[data-theme="dark"] .kicker { color: var(--c-accent); }

.band-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.band-inner:has(.band-media) { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.band-flip:has(.band-media) .band-media { order: 2; }
.band-media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--c-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
[data-theme="dark"] .card { background: var(--c-surface); border-top-color: var(--c-accent); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h2 { margin: 0; color: var(--c-ink); font-size: 1.25rem; font-weight: 600; }
.card p { margin: 0; color: var(--c-muted); font-size: 0.97rem; }
.card-more { margin-top: auto; padding-top: 0.7rem; color: var(--c-link); font-weight: 600; font-size: 0.95rem; }
.card-category, .card-date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
[data-theme="dark"] .card-category, [data-theme="dark"] .card-date { color: var(--c-accent); }

/* ---------- Prose (markdown bodies) ---------- */
.prose { max-width: 46rem; overflow-wrap: break-word; }
.prose a { word-break: break-word; }
.prose-page { margin-inline: auto; }
.prose p, .prose li { color: var(--c-ink-soft); }
.prose h2 {
  margin-top: 2.2em;
  padding-bottom: 0.25em;
}
.prose h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  border-radius: 3px;
  background: var(--c-accent);
  margin-top: 0.35rem;
}
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-block: 1.5rem; }
/* Team bios: uniform portrait thumbnails so mixed-resolution photos stay crisp. */
.page-about-our-team .prose img { max-width: 260px; width: 100%; }

/* Blog "keep reading" navigation. */
.post-nav { border-top: 1px solid var(--c-border); padding-block: 2.5rem; }
.post-nav-label { font-family: var(--font-display); font-size: 1.15rem; color: var(--c-ink); margin: 0 0 1rem; }
.post-nav-list {
  list-style: none; margin: 0 0 1.2rem; padding: 0;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.post-nav-list a {
  display: block; height: 100%; padding: 1rem 1.2rem;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-surface); color: var(--c-ink); text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.post-nav-list a:hover { border-color: var(--c-primary-soft); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.post-nav-cat { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-accent-ink); font-weight: 700; margin-bottom: 0.3rem; }
[data-theme="dark"] .post-nav-cat { color: var(--c-accent); }
.post-nav-title { display: block; font-weight: 600; line-height: 1.3; }
.post-nav-all { font-weight: 600; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.8rem 1.2rem;
  border-left: 4px solid var(--c-accent);
  background: var(--c-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}
.prose table { border-collapse: collapse; width: 100%; margin-block: 1.5rem; font-size: 0.97rem; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 0.55rem 0.8rem; text-align: left; }
.prose th { background: var(--c-surface); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin-block: 2.5rem; }
.cta-line { margin-block: 1.6rem; }
.post-hero { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(50rem 25rem at 12% 120%, color-mix(in srgb, var(--c-primary) 24%, transparent), transparent 60%),
    linear-gradient(120deg, #6e510d, #8a6410);
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 36rem; }
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-phone { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin: 0.2em 0; }
.contact-phone a { text-decoration: none; }
.contact-alt, .contact-area { color: var(--c-muted); font-size: 0.97rem; }

/* ---------- Footer ---------- */
.site-footer {
  /* Deep crimson (owner request 2026-07-13) - dark enough to keep text >= 7:1. */
  background: linear-gradient(160deg, #571320, #6e1826);
  color: #f0dfe1;
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  margin-top: 0;
}
[data-theme="dark"] .site-footer { background: linear-gradient(160deg, #3d0d16, #571320); border-top: 1px solid var(--c-border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer a { color: #f0e6e4; }
.site-footer a:hover { color: var(--c-accent); }
.footer-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0 0 0.4rem; }
.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 0.75rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.97rem; }
.footer-col p { font-size: 0.97rem; }
.footer-phone { font-weight: 700; }
.footer-social { display: flex !important; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.9rem !important; }
.footer-referral { margin-top: 1.1rem; color: #b7a9a6; font-size: 0.92rem; }
.footer-area, .footer-founder { color: #b7a9a6; font-size: 0.92rem; }
.footer-disclaimer { font-size: 0.85rem; color: #a4958f; max-width: 62rem; margin-top: 1.5rem; }
.footer-disclaimer a { color: #cbb; }
.footer-copyright { font-size: 0.85rem; color: #a4958f; }

/* ---------- Reveal animations (JS adds .in; reduced-motion opts out) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 75rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-soft);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 0.75rem; gap: 0; }
  .nav-item > a { padding: 0.8rem 0.9rem; font-size: 1.05rem; }
  .nav-sub {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    background: var(--c-surface);
    margin: 0 0 0.4rem;
    border-radius: var(--radius-sm);
  }
  .nav-sub a { padding: 0.65rem 1.2rem; }
  .hero-inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .band-inner:has(.band-media) { grid-template-columns: minmax(0, 1fr); }
  .band-flip:has(.band-media) .band-media { order: 0; }
  .hero-media { max-width: 28rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Needs analysis ---------- */
.na-shell { max-width: 46rem; }
.na-progress { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.na-progress-label { font-size: 0.85rem; font-weight: 600; color: var(--c-muted); }
.na-progress-bar { display: block; height: 6px; border-radius: 999px; background: var(--c-surface-2); overflow: hidden; }
.na-progress-fill { display: block; height: 100%; border-radius: 999px; background: var(--c-primary); transition: width 0.25s ease; }
.na-question { border: 0; margin: 0; padding: 0; }
.na-question legend {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.na-help { color: var(--c-muted); margin: 0 0 1rem; }
.na-options { display: grid; gap: 0.6rem; margin-top: 1rem; }
.na-option {
  text-align: left;
  font: inherit;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.na-option:hover { border-color: var(--c-primary); transform: translateY(-1px); }
.na-selected { border-color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 8%, var(--c-surface)); }
.na-nav { margin-top: 1.25rem; }
.na-back, .na-restart {
  font: inherit; font-weight: 600;
  background: none; border: 0; cursor: pointer;
  color: var(--c-link); text-decoration: underline; text-underline-offset: 3px;
  padding: 0.4rem 0;
}
.na-privacy { margin-top: 1.75rem; font-size: 0.85rem; color: var(--c-muted); }
.na-noscript { padding: 1rem 1.2rem; border: 1.5px solid var(--c-accent); border-radius: var(--radius-sm); }
.na-strengths { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
.na-strengths li { padding-left: 1.6rem; position: relative; color: var(--c-ink-soft); }
.na-strengths li::before { content: "✓"; position: absolute; left: 0; color: var(--c-primary); font-weight: 700; }
.na-findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: none; }
.na-finding {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--c-border);
  border-left-width: 5px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
}
.na-finding h3 { margin: 0.2rem 0 0.4rem; }
.na-finding p { margin: 0 0 0.5rem; color: var(--c-ink-soft); }
.na-sev3 { border-left-color: var(--c-cta); }
.na-sev2 { border-left-color: var(--c-accent); }
.na-sev1 { border-left-color: var(--c-primary); }
.na-sev-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.na-sev3 .na-sev-label { color: var(--c-cta); }
.na-sev2 .na-sev-label { color: var(--c-accent-ink); }
.na-sev1 .na-sev-label { color: var(--c-primary); }
[data-theme="dark"] .na-sev2 .na-sev-label { color: var(--c-accent); }
[data-theme="dark"] .na-sev3 .na-sev-label { color: #e07b8a; }
.na-product { font-size: 0.92rem; }
.na-cta { margin-top: 2rem; padding: 1.4rem; border-radius: var(--radius); background: var(--c-surface-2); }
.na-cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.75rem 0 0; }
.na-clear { font-weight: 600; }
.footer-heading-gap { margin-top: 1.5rem; }
.na-scoreline { font-size: 1.15rem; font-weight: 600; color: var(--c-ink-soft); }
.na-print { font: inherit; background: none; border: 0; cursor: pointer; color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
@media print {
  .site-header, .site-footer, .cta-band, .post-nav, .na-cta-buttons, .na-save, .na-nav, .hero .btn { display: none !important; }
  .hero { background: none !important; color: #000 !important; min-height: 0 !important; padding: 0 !important; }
  .hero h1, .hero p { color: #000 !important; }
  .na-finding { break-inside: avoid; }
  body { background: #fff !important; color: #000 !important; }
}

/* ---------- Mobile action bar (thumb-reach conversion) ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border);
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
}
.mb-call { background: var(--c-cta); }
.mb-na { background: var(--c-primary); }
[data-theme="dark"] .mb-call { background: var(--c-cta-soft); }
[data-theme="dark"] .mb-na { background: var(--c-primary-soft); }
@media (max-width: 40rem) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 4.2rem; } /* keep the footer reachable above the bar */
}

/* ---------- Related products after a post ---------- */
.post-related { margin-bottom: 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--c-border); }
.post-related p { margin: 0 0 0.75rem; font-weight: 600; color: var(--c-ink-soft); }
.post-related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
