/* Income Atlas — static rebuild. Palette echoes the original snapshot:
   paper #f8f9f4, deep green #224d3c, sage #788077, warm accents. */

:root {
  --paper: #f8f9f4;
  --paper-2: #fcfdf9;
  --card: #ffffff;
  --green: #224d3c;
  --green-deep: #1b3a2d;
  --sage: #788077;
  --sage-line: #e1e5dc;
  --ink: #1e2420;
  --muted: #5c665e;
  --accent: #c8a24a;
  --radius: 14px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0.4em 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.kicker {
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--sage); text-transform: uppercase; margin: 0 0 0.6em;
}
.kicker.light { color: #cfe0d2; }
.lede { font-size: 1.25rem; font-family: var(--font-serif); }
.sub { color: var(--muted); max-width: 34em; }
.fine { font-size: 0.85rem; color: var(--muted); }
.pro-badge {
  font-family: var(--font-sans); font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.08em; background: var(--green); color: #fff;
  border-radius: 4px; padding: 2px 6px; vertical-align: 2px; white-space: nowrap;
}

/* Buttons & links */
.btn {
  display: inline-block; font-family: var(--font-sans); font-weight: 700;
  font-size: 1rem; padding: 0.85em 1.6em; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: rgba(34,77,60,0.08); }
.btn-light { background: #fff; color: var(--green-deep); }
.text-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--green); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; font-size: 1rem; font-family: var(--font-sans);
}
.text-link.light { color: #eaf3ea; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.4em 0 0.8em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,249,244,0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-line);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { color: var(--green); font-size: 1.3rem; }
.brand-text { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.02em; }
.brand-text strong { font-weight: 700; }
.main-nav { display: flex; gap: 18px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--green); }
.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.saved-link {
  background: none; border: 1px solid var(--sage-line); border-radius: 999px;
  padding: 0.5em 1em; font-weight: 600; font-size: 0.9rem; cursor: pointer; color: var(--ink);
}
.saved-count {
  display: inline-block; min-width: 1.5em; text-align: center;
  background: var(--green); color: #fff; border-radius: 999px;
  font-size: 0.8rem; padding: 1px 6px; margin-left: 4px;
}
.menu-btn {
  background: var(--ink); color: #fff; border: none; border-radius: 999px;
  padding: 0.55em 1.1em; font-weight: 700; cursor: pointer; font-size: 0.9rem;
}

/* Drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(20,30,24,0.45); z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 100;
  background: var(--green-deep); color: #eef4ee; padding: 28px 26px; overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0,0,0,0.25);
}
.drawer-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.drawer-kicker { font-size: 0.75rem; letter-spacing: 0.22em; color: #bcd2bd; font-weight: 700; }
.drawer-year { font-family: var(--font-serif); font-size: 1.4rem; }
.drawer-close {
  margin-left: auto; background: none; border: 1px solid rgba(255,255,255,0.35);
  color: #fff; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 1rem;
}
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.drawer-nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.drawer-nav a:hover { color: var(--accent); }
.drawer-sub { font-size: 0.75rem; letter-spacing: 0.18em; color: #bcd2bd; text-transform: uppercase; margin: 18px 0 8px; }
.drawer-plain { list-style: none; margin: 0 0 22px; padding: 0; color: #cfe0d2; }
.drawer-plain li { padding: 7px 0; border-bottom: 1px dotted rgba(255,255,255,0.14); font-size: 0.95rem; }
.drawer-cta { width: 100%; text-align: center; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #f2f5ea 0%, var(--paper) 100%); }
.hero .edition {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em;
  color: var(--green); border: 1px solid var(--green); border-radius: 999px; padding: 6px 16px;
}

/* Preview table */
.atlas-preview { padding: 48px 0; }
.section-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); margin: 0; }
.table-head {
  display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.18em; color: var(--sage); padding: 10px 4px; border-bottom: 2px solid var(--sage-line);
}
.preview-list { list-style: none; margin: 0 0 14px; padding: 0; }
.preview-list li a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--sage-line); text-decoration: none; color: var(--ink);
}
.preview-list li a:hover { background: #fff; }
.preview-list strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; }
.preview-list em { font-style: normal; color: var(--muted); font-size: 0.92rem; }
.score { font-family: var(--font-serif); font-size: 1.9rem; color: var(--green); white-space: nowrap; }
.score small { font-size: 0.95rem; color: var(--sage); }

/* Values */
.values { padding: 24px 0 56px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value {
  background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius);
  padding: 22px 20px;
}
.value h3 { margin: 0 0 8px; font-size: 1.12rem; }
.value p { margin: 0 0 8px; color: var(--muted); font-size: 0.95rem; }
.value-guarantee { background: #eef3e4; border-color: #d5dfc4; }

/* Bands */
.band-green { background: var(--green); color: #f2f7f0; padding: 64px 0; }
.band-green h2 { color: #fff; margin: 0.3em 0 0.4em; }
.band-green p { color: #d7e4d4; max-width: 30em; }

/* Future radar */
.future { padding: 64px 0; }
.future-card {
  background: var(--green-deep); color: #eef4ee; border-radius: calc(var(--radius) + 6px);
  padding: 40px 36px; margin-top: 26px;
}
.future-card h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.3em 0 0.5em; }
.future-card p { color: #cfe0d2; }
.future-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.future-card .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* About */
.about { padding: 56px 0; background: var(--paper-2); border-top: 1px solid var(--sage-line); }
.about h2 { margin-top: 0; }
.about p { max-width: 38em; color: var(--muted); }
.about .about-lede { color: var(--ink); font-size: 1.12rem; font-family: var(--font-serif); }

/* Index controls */
.index { padding: 40px 0 64px; }
.controls {
  display: flex; flex-direction: column; gap: 14px; margin: 22px 0 8px;
  position: sticky; top: 64px; z-index: 40;
  background: var(--paper); padding: 12px 0;
  border-bottom: 1px solid var(--sage-line);
}
.control-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.control-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-right: 6px; }
.chip {
  border: 1px solid var(--sage-line); background: #fff; border-radius: 999px;
  padding: 0.5em 1.05em; font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--ink);
}
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.chip-saved.is-active { background: var(--accent); border-color: var(--accent); }
.index-meta { color: var(--muted); font-size: 0.92rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.card {
  background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: 0 10px 28px rgba(34,77,60,0.1); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-cat { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin: 0; }
.card-score { font-family: var(--font-serif); color: var(--green); }
.card-score span { font-size: 2.1rem; }
.card-score small { font-size: 1rem; color: var(--sage); }
.card h3 { margin: 0; font-size: 1.3rem; }
.card-desc { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }
.card-facts dt { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; color: var(--sage); }
.card-facts dd { margin: 2px 0 0; font-weight: 700; }
.card-tag {
  display: inline-block; align-self: flex-start; font-size: 0.82rem; font-weight: 700;
  background: #eef3e4; color: var(--green); border-radius: 999px; padding: 4px 12px; margin: 4px 0 0;
}
.card-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--sage-line); }
.save-btn {
  background: none; border: 1px solid var(--sage-line); border-radius: 999px;
  padding: 0.4em 0.9em; font-size: 0.88rem; font-weight: 700; cursor: pointer; color: var(--ink);
}
.save-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.footnote { font-size: 0.85rem; color: var(--muted); max-width: 60em; }

/* Methodology */
.method { background: #eef3e4; padding: 64px 0; border-top: 1px solid #d5dfc4; border-bottom: 1px solid #d5dfc4; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.method-grid h3 { font-size: 1.15rem; margin: 0 0 8px; }
.method-grid p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Start small */
.startswith { padding: 64px 0; text-align: center; }
.startswith .lede { margin-bottom: 0.4em; }
.startswith > .wrap > p { max-width: 36em; margin-left: auto; margin-right: auto; }
.startswith .cta-row { justify-content: center; }
.signup-note {
  max-width: 560px; margin: 30px auto 0; text-align: left;
  background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 24px 26px;
}
.signup-note h3 { margin: 0 0 10px; font-size: 1.2rem; }
.signup-note ul { margin: 0 0 12px; padding-left: 1.2em; color: var(--muted); }
.signup-note li { margin-bottom: 6px; }

/* Membership */
.membership { padding: 64px 0 80px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.tier {
  background: var(--card); border: 1px solid var(--sage-line); border-radius: calc(var(--radius) + 4px);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 10px;
}
.tier-pro { border: 2px solid var(--green); background: #f4f8ec; }
.tier h3 { margin: 0; font-size: 1.5rem; }
.tier-price { font-family: var(--font-serif); font-size: 1.6rem; color: var(--green); margin: 0; }
.tier ul { margin: 6px 0 14px; padding-left: 1.2em; color: var(--muted); }
.tier li { margin-bottom: 8px; }
.tier .btn, .tier button.btn { align-self: flex-start; }

/* Footer */
.site-footer { background: var(--green-deep); color: #cfe0d2; padding: 44px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand .brand-text { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin: 6px 0 0; }
.footer-nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-nav a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-plain { color: #a9c2ab; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 28px; padding: 16px 24px 22px; }
.footer-base p { margin: 0; font-size: 0.88rem; color: #a9c2ab; }

/* Dialog */
.detail-dialog {
  border: 1px solid var(--sage-line); border-radius: calc(var(--radius) + 4px);
  padding: 30px 30px 26px; max-width: 520px; width: calc(100vw - 48px);
  background: var(--paper-2); color: var(--ink);
}
.detail-dialog::backdrop { background: rgba(20,30,24,0.5); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dialog-head .drawer-close { border-color: var(--sage-line); color: var(--ink); }
.detail-dialog h3 { margin: 0.2em 0 0.6em; font-size: 1.7rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px;
  font-size: 0.95rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-width: calc(100vw - 40px); text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 40px; }
  .saved-link { display: none; }
  .card-facts { grid-template-columns: 1fr 1fr; }
}

/* ============ QUIZ ============ */
.quiz { padding: 64px 0; background: var(--paper-2); border-top: 1px solid var(--sage-line); }
.quiz-shell { background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 36px 32px; margin-top: 24px; max-width: 720px; }
.quiz-start { text-align: center; padding: 12px 0; }
.quiz-progress { font-size: 0.85rem; font-weight: 700; color: var(--sage); letter-spacing: 0.1em; margin: 0 0 8px; }
.quiz-bar { height: 6px; background: var(--sage-line); border-radius: 999px; margin-bottom: 22px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width 0.3s ease; width: 0; }
.quiz-body h3 { margin: 0 0 18px; font-size: 1.5rem; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt { text-align: left; background: var(--paper); border: 2px solid var(--sage-line); border-radius: 12px; padding: 14px 18px; font-size: 1rem; font-weight: 600; cursor: pointer; color: var(--ink); font-family: var(--font-sans); transition: border-color 0.12s ease, background 0.12s ease; }
.quiz-opt:hover { border-color: var(--green); background: #fff; }
.quiz-hits { display: grid; gap: 16px; margin: 20px 0; }
.quiz-hit { border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 22px; background: var(--paper); }
.quiz-hit h4 { margin: 6px 0 8px; font-size: 1.25rem; }
.quiz-rank { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; color: var(--green); margin: 0; text-transform: uppercase; }
.quiz-hit p { color: var(--muted); }
.quiz-hit .cta-row { margin-bottom: 0; }

/* ============ MAP ============ */
.mapsec { padding: 64px 0; }
.map-shell { position: relative; background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 16px; margin-top: 24px; overflow-x: auto; }
#opp-map { width: 100%; height: auto; display: block; min-width: 560px; }
#opp-map circle { transition: fill 0.15s ease; }
#opp-map circle:hover { fill: var(--accent); }
.map-tip { position: absolute; top: 16px; right: 16px; background: var(--green-deep); color: #fff; border-radius: 10px; padding: 12px 16px; font-size: 0.9rem; max-width: 260px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 5; }
.map-tip strong { font-family: var(--font-serif); }

/* ============ COMPARE ============ */
.compare { padding: 64px 0; background: var(--paper-2); border-top: 1px solid var(--sage-line); }
.compare-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.compare-picks label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.compare-picks select, .plan-picker select { padding: 12px 14px; border: 2px solid var(--sage-line); border-radius: 10px; font-size: 1rem; font-family: var(--font-sans); background: #fff; color: var(--ink); }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--sage-line); vertical-align: top; }
.compare-table thead th { background: var(--green); color: #fff; font-family: var(--font-serif); font-size: 1.05rem; }
.compare-table thead th:first-child { background: var(--green-deep); }
.compare-table tbody th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage); width: 180px; }
.compare-table td { font-size: 0.95rem; }

/* ============ PLANS ============ */
.plans { padding: 64px 0; }
.plan-picker { display: flex; flex-direction: column; gap: 8px; font-weight: 700; max-width: 420px; margin: 24px 0; }
.plan-weeks { display: grid; gap: 16px; margin: 8px 0 8px; }
.plan-week { background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 22px; }
.plan-week h4 { margin: 0 0 12px; font-size: 1.15rem; color: var(--green-deep); }
.plan-week ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.98rem; }
.plan-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.plan-check.is-done span { text-decoration: line-through; color: var(--sage); }

/* ============ OPTIMUS ============ */
.optimus { padding: 64px 0; background: var(--green-deep); color: #eef4ee; }
.optimus .kicker { color: #bcd2bd; }
.optimus h2 { color: #fff; }
.optimus .sub { color: #cfe0d2; }
.chat-shell { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 24px; margin-top: 24px; max-width: 720px; }
.chat-log { display: flex; flex-direction: column; gap: 12px; min-height: 180px; max-height: 380px; overflow-y: auto; margin-bottom: 16px; }
.chat-msg { padding: 12px 16px; border-radius: 12px; font-size: 0.96rem; line-height: 1.55; max-width: 88%; }
.chat-bot { background: rgba(255,255,255,0.12); align-self: flex-start; }
.chat-user { background: var(--accent); color: #1e2420; align-self: flex-end; font-weight: 600; }
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-options .chip { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.chat-options .chip:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.optimus .fine { color: #bcd2bd; }

/* ============ RADAR ============ */
.future { background: var(--green-deep); color: #eef4ee; padding: 64px 0; }
.future .kicker { color: #bcd2bd; }
.future h2 { color: #fff; }
.future .sub { color: #cfe0d2; }
.future .fine { color: #9db8a0; }
.radar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 20px; }
.radar-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 24px 22px; }
.radar-card h3 { color: #fff; margin: 8px 0 12px; font-size: 1.3rem; }
.radar-card p { color: #d8e6d8; font-size: 0.95rem; }
.radar-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 16px 0 6px; }
.radar-card ul { margin: 0; padding-left: 18px; color: #d8e6d8; font-size: 0.92rem; }
.radar-watch { font-style: italic; color: #fff; }

/* ============ SCORE MODAL ============ */
.score-row { margin: 16px 0; }
.score-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-weight: 700; }
.score-lvl { font-size: 0.8rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.score-H { background: #dcead2; color: #2c5c34; }
.score-M { background: #f0e8cc; color: #7a5f1e; }
.score-L { background: #f0d5cc; color: #8a3b22; }
.score-track { height: 8px; background: var(--sage-line); border-radius: 999px; overflow: hidden; }
.score-track span { display: block; height: 100%; background: var(--green); border-radius: 999px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .radar-grid { grid-template-columns: 1fr; }
  .compare-picks { grid-template-columns: 1fr; }
  .quiz-shell { padding: 24px 20px; }
}
@media print {
  .site-header, .drawer, .drawer-scrim, .quiz, .mapsec, .compare, .optimus, .chat-shell,
  .site-footer, .cta-row, .controls, .toast, .future { display: none !important; }
  body { background: #fff; }
  .plans { padding: 0; }
  .plan-week { break-inside: avoid; border: 1px solid #999; }
}

/* ============ CERTIFICATIONS ============ */
.certs { padding: 64px 0; background: var(--paper-2); border-top: 1px solid var(--sage-line); }
.cert-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.cert-card { background: var(--card); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 22px 20px; }
.cert-card h4 { margin: 8px 0 4px; font-size: 1.1rem; }
.cert-provider { font-size: 0.85rem; color: var(--sage); font-weight: 700; margin: 0 0 8px; }
.cert-card p { font-size: 0.93rem; color: var(--muted); }
.cert-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cert-top .card-cat { margin: 0; }
.free-badge { background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.paid-badge { background: var(--sage-line); color: var(--muted); font-size: 0.72rem; font-weight: 700; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } }

/* ============ PAYWALL ============ */
.plan-locked { position: relative; background: var(--card); border: 2px dashed var(--sage-line); border-radius: var(--radius); padding: 36px 24px; text-align: center; margin-bottom: 16px; }
.plan-locked h4 { margin: 0 0 8px; font-size: 1.2rem; }
.plan-locked .lock-icon { font-size: 2rem; }
.plan-locked p { color: var(--muted); max-width: 32em; margin: 0 auto 16px; }
.pro-badge-inline { display: inline-block; background: var(--accent); color: #1e2420; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; border-radius: 4px; padding: 3px 8px; vertical-align: 2px; margin-left: 6px; }
.radar-teaser { background: rgba(255,255,255,0.07); border: 1px dashed rgba(255,255,255,0.3); border-radius: var(--radius); padding: 28px 24px; text-align: center; margin-top: 18px; }
.radar-teaser h3 { color: #fff; margin: 0 0 8px; }
.radar-teaser p { color: #cfe0d2; }
.header-pro { display: inline-block; background: var(--accent); color: #1e2420; font-size: 0.72rem; font-weight: 800; border-radius: 4px; padding: 3px 8px; margin-left: 8px; letter-spacing: 0.06em; }
.tier-pro ul li.pro-new { font-weight: 700; }

/* ============ BRAND ART ============ */
.brand-logo { width: 36px; height: 36px; border-radius: 50%; display: block; }
.brand { display: flex; align-items: center; gap: 10px; }
.hero-art { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(27,58,45,.18); }
.hero-art img { display: block; width: 100%; height: auto; }
.pro-emblem { width: 96px; height: 96px; border-radius: 50%; display: block; margin: 0 auto 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tier-pro { text-align: center; }
.tier-pro ul { text-align: left; }

/* ============ FOOTER COLUMNS ============ */
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; }
.footer-brand { flex: 1 1 200px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; flex: 0 1 160px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--green); text-decoration: underline; }

/* ============ EYE-CATCHING PRIMARY CTAs ============ */
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 8px 24px rgba(34,77,60,.35), 0 0 0 1px rgba(200,162,74,.35);
  position: relative;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-deep) 0%, #142b20 100%);
  box-shadow: 0 12px 32px rgba(34,77,60,.45), 0 0 0 1px rgba(200,162,74,.55);
  transform: translateY(-2px);
}
.btn-primary .btn-arrow { margin-left: 6px; transition: margin-left .15s ease; }
.btn-primary:hover .btn-arrow { margin-left: 10px; }
/* Gentle attention pulse for the hero CTA only */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(34,77,60,.35), 0 0 0 1px rgba(200,162,74,.35), 0 0 0 0 rgba(200,162,74,.45); }
  50% { box-shadow: 0 8px 24px rgba(34,77,60,.35), 0 0 0 1px rgba(200,162,74,.35), 0 0 0 12px rgba(200,162,74,0); }
}
.btn-hero-pulse { animation: cta-glow 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .btn-hero-pulse { animation: none; } }

/* ============ RESPONSIVE BALANCE ============ */
@media (max-width: 600px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { text-align: center; width: 100%; }
  .hero-art { margin-top: 28px; }
  .hero h1 { font-size: 2.1rem; }
  .tiers { gap: 20px; }
  .tier { padding: 28px 22px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .quiz-shell { padding: 24px 20px; }
  .plan-locked { padding: 28px 18px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero h1 { font-size: 2.6rem; }
  .tiers { grid-template-columns: 1fr 1fr; }
}
