/* Tokens */
:root {
  --color-green:        #caef8c;
  --color-yellow-light: #f5ec89;
  --color-yellow:       #f9d040;
  --color-coral:        #ff9063;
  --color-rose:         #da6b7d;
  --color-ink:          #1a1a1a;
  --color-bg:           #ffffff;

  --color-text-muted:   #555555;
  --color-text-faint:   #888888;
  --color-text-ghost:   #cccccc;
  --color-text-dark-body: #aaaaaa;

  --font-display: 'Dongle', sans-serif;
  --font-body:    'Poppins', sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] { display: none !important; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Section backgrounds */
#hero          { background: rgba(249, 208, 64, 0.10); }
#value-prop,
#feed-preview,
#faq           { background: var(--color-bg); }
#form,
footer          { background: var(--color-ink); color: var(--color-bg); }

/* Hero */
#hero {
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-intro {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-muted);
}

.hero-bullets {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-muted);
  line-height: 1.9;
  text-align: left;
}

.hero-bullets li::before {
  content: '— ';
  color: var(--color-text-ghost);
}

.btn-primary {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--color-coral);
}

.hero-micro {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

/* Value Proposition */
#value-prop {
  padding: 4rem 1.25rem;
  text-align: center;
}

.value-prop-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.value-prop-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.value-prop-body {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.7;
}

.pillars {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: left;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pillar {
  border-left: 3px solid var(--color-green);
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pillar strong {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-ink);
}

.pillar span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* About / Story */
#about {
  padding: 4rem 1.25rem;
  text-align: center;
}

.about-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-body {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.about-manifesto {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-ink);
  max-width: 540px;
  line-height: 1.8;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* The Form */
#form {
  padding: 5rem 1.25rem;
}

.form-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.form-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--color-bg);
}

.form-subtext {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-dark-body);
  text-align: center;
  line-height: 1.6;
}

#topic-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-fieldset {
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-legend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-bg);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.form-required {
  color: var(--color-coral);
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkbox-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.checkbox-list input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-list label {
  font-size: 0.975rem;
  color: var(--color-text-dark-body);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-list input[type="checkbox"]:checked + label {
  color: var(--color-bg);
}

.form-error {
  font-size: 0.82rem;
  color: var(--color-coral);
  margin-top: 0.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-bg);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-dark-body);
  font-size: 0.8rem;
}

#topic-form textarea,
#topic-form input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--color-bg);
  padding: 0.65rem 0.875rem;
  font-size: 0.975rem;
  line-height: 1.5;
  transition: border-color 0.15s ease;
  resize: vertical;
}

#topic-form textarea::placeholder,
#topic-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#topic-form textarea:focus,
#topic-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-green);
}

.form-helper {
  font-size: 0.8rem;
  color: var(--color-text-dark-body);
  line-height: 1.5;
}

.btn-form-submit {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  align-self: flex-start;
}

.btn-form-submit:hover {
  background: var(--color-coral);
}

#form-success {
  flex-direction: column;
  gap: 1rem;
}

.form-success-main {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-bg);
  line-height: 1.7;
}

.form-success-sub {
  font-size: 0.975rem;
  color: var(--color-text-dark-body);
  line-height: 1.6;
}

.form-success-link {
  color: var(--color-yellow-light);
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

#form-success {
  animation: fadeIn 0.35s ease forwards;
}

.form-submit-error {
  font-size: 0.85rem;
  color: var(--color-coral);
  line-height: 1.5;
}

.btn-form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* FAQ */
#faq {
  padding: 4rem 1.25rem;
}

.faq-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.1rem 0 1.1rem 0;
  transition: padding-left 0.15s ease, border-left 0.15s ease;
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item[open] {
  border-left: 3px solid var(--color-green);
  padding-left: 1rem;
}

.faq-question {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-faint);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 0.65rem;
}

/* Footer */
footer {
  padding: 4rem 1.25rem 3rem;
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-yellow-light);
  letter-spacing: -0.01em;
}

.footer-strapline {
  font-size: 0.9rem;
  color: var(--color-text-dark-body);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--color-rose);
  transition: opacity 0.15s ease;
}

.footer-nav a:hover {
  opacity: 0.75;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer-microcopy {
  font-size: 0.8rem;
  color: var(--color-text-dark-body);
  line-height: 1.5;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Site Nav ─────────────────────────────── */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-ink);
}

.nav-links a[aria-current="page"] {
  color: var(--color-ink);
}

.nav-links a.nav-cta {
  background: var(--color-yellow);
  color: var(--color-ink);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.nav-links a.nav-cta:hover {
  background: var(--color-coral);
  color: var(--color-ink);
}

@media (max-width: 639px) {
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 479px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ── Feed (articles.html) ─────────────────── */
#feed {
  background: var(--color-bg);
  padding: 4rem 1.25rem;
}

.feed-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feed-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feed-subtext {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: -1rem;
}

.feed-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feed-group > summary {
  list-style: none;
  cursor: pointer;
}

.feed-group > summary::-webkit-details-marker {
  display: none;
}

.feed-group-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-ink);
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-green);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.feed-group-heading::after {
  content: '▾';
  font-size: 0.85em;
  color: var(--color-text-faint);
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.feed-group:not([open]) > .feed-group-heading::after {
  transform: rotate(-90deg);
}

.feed-list {
  display: flex;
  flex-direction: column;
}

.feed-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  align-items: flex-start;
}

.feed-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.feed-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: rgba(202, 239, 140, 0.25);
  border: 1px solid rgba(202, 239, 140, 0.6);
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.feed-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feed-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease;
}

.feed-title:hover {
  text-decoration-color: var(--color-green);
}

.feed-source {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

.feed-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0.2rem;
}

/* ── Feed Preview (index.html teaser) ────────── */
#feed-preview {
  padding: 4rem 1.25rem;
}

.feed-preview-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.feed-preview-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feed-preview-body {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: -0.5rem;
}

.feed-preview-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.feed-preview-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  align-items: flex-start;
}

.feed-preview-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

#defaults-preview {
  padding: 4rem 1.25rem;
}

.defaults-preview-tags {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.defaults-preview-feature {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ── AI Defaults (ai-defaults.html) ──────────── */
.defaults-wrap { max-width: 920px; margin: 0 auto; padding: 4rem 1.25rem 5rem; }

.defaults-wrap header.page-head { margin-bottom: 2.5rem; }
.defaults-wrap header.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.defaults-wrap header.page-head p {
  margin-top: 0.75rem;
  max-width: 620px;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}
.last-checked {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--on      { background: var(--color-coral);  color: #3a1500; }
.tag--off     { background: var(--color-green);  color: #1f3000; }
.tag--tiered  { background: var(--color-yellow); color: #3a2e00; }
.tag--resets  { background: var(--color-rose);   color: #fff; }

.pattern-note {
  background: #fafafa;
  border-left: 3px solid var(--color-yellow);
  padding: 0.75rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.entry {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
}
.entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.entry-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}
.entry-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.entry .feature {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin-bottom: 0.85rem;
}
.entry .what { margin-bottom: 0.85rem; line-height: 1.6; }
.entry .how {
  background: #fafafa;
  border-left: 3px solid var(--color-yellow);
  padding: 0.75rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.entry .how strong { font-weight: 500; }
.entry .src {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-faint);
}
.entry .src a { text-decoration: underline; text-underline-offset: 2px; }

.add-note {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--color-text-faint);
  text-align: center;
}

@media (min-width: 640px) {
  .entry { padding: 1.75rem 2rem 1.5rem; }
}

/* ── AI Exposure Map (ai-exposure.html) ─────── */
.exposure-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exposure-wrap header.page-head { margin-bottom: 0; }

.exposure-wrap header.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.exposure-wrap header.page-head p {
  max-width: 640px;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2.5vw, 1.05rem);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.exposure-controls {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.metric-toggle {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  transition: opacity 0.2s ease;
}

.toggle-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.toggle-btn:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.toggle-btn--active {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--color-ink);
}

.toggle-btn--active:hover {
  background: var(--color-coral);
  border-color: var(--color-coral);
}

.metric-description {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  line-height: 1.5;
}

.exposure-legend-bar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legend-gradient-track {
  width: 220px;
  height: 10px;
  background: linear-gradient(to right, var(--color-coral), var(--color-green));
  border-radius: 999px;
}

.legend-labels {
  display: flex;
  justify-content: space-between;
  width: 220px;
  font-size: 0.72rem;
  color: var(--color-text-faint);
}

.legend-note {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  line-height: 1.55;
  max-width: 560px;
}

#exposure-chart {
  width: 100%;
  height: clamp(420px, 65vh, 800px);
  border-radius: 6px;
  overflow: hidden;
}

.exposure-caption {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 740px;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.exposure-caption p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.exposure-source {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.exposure-source p {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  line-height: 1.65;
}

.exposure-source a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-text-muted);
}

.exposure-source a:hover {
  color: var(--color-ink);
}

/* ── Featured (index.html front-page story) ──────────
   White background (sits between tinted hero and white value-prop,
   so no two tints stack). Green left-border accent scaled up from
   the .pillar treatment, plus a yellow-light stat row. */

#featured {
  background: var(--color-bg);
  padding: 4.5rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.featured-inner {
  max-width: 720px;
  margin: 0 auto;
  border-left: 4px solid var(--color-green);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.featured-kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.featured-heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.featured-lede {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.featured-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

@media (min-width: 680px) {
  .featured-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.featured-stat {
  background: var(--color-yellow-light);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.featured-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
}

.featured-stat-label {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.featured-body {
  font-size: clamp(1rem, 2.5vw, 1.075rem);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.featured-takeaway {
  font-size: clamp(1rem, 2.5vw, 1.075rem);
  color: var(--color-ink);
  line-height: 1.7;
  font-weight: 500;
}

#featured .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}
