/* ===== Custom properties ===== */

:root {
  --navy: #1a2744;
  --navy-mid: #243256;
  --amber: #c08a1e;
  --amber-light: #f0b429;
  --bg: #f7f5f0;
  --white: #ffffff;
  --text: #1c1c1e;
  --text-mid: #444;
  --text-light: #666;
  --border: #ddd8ce;
  --card-shadow: 0 2px 12px rgba(26,39,68,0.08);
  --radius: 8px;
  --max: 1080px;
  --content: 720px;

  /* Legacy color aliases for components that reference old vars */
  --color-green: #2a7a3b;
  --color-yellow: #c59a00;
  --color-red: #b91c1c;

  /* Flag colors (questions page) */
  --green: #2a5c2a;
  --green-bg: #f0fff4;
  --green-border: #86d9a0;
  --red: #7a1a1a;
  --red-bg: #fff2f2;
  --red-border: #e8a0a0;
  --yellow: #7a5a00;
  --yellow-bg: #fffbee;
  --yellow-border: #e8cc64;

  /* Inline SVG icons as data URIs */
  --icon-check-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232a7a3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4 12 14.01l-3-3'/%3E%3C/svg%3E");
  --icon-warning-triangle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c59a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  --icon-x-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
  --icon-info-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a2744' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

/* ===== Reset ===== */

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

html { font-size: 16px; scroll-behavior: smooth; }

/* ===== Typography ===== */

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Bitter', serif;
  line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; color: var(--navy); }
h3 { font-size: 1.25rem; color: var(--navy); }

/* ===== Layout ===== */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Links ===== */

a { color: var(--navy); }
a:hover { color: var(--navy-mid); }

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* ===== Skip link ===== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  transition: top .2s;
}

.skip-link:focus { top: 0; }

/* ===== Header ===== */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.site-name {
  font-family: 'Bitter', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-name a { color: inherit; text-decoration: none; }
.site-name span { color: var(--amber-light); }

.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.nav-list a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .875rem;
  padding: .4rem .65rem;
  border-radius: 4px;
  transition: color .15s, background .15s;
}

.nav-list a:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav-list a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.15);
  font-weight: 600;
}

.nav-quiz-btn {
  background: var(--amber) !important;
  color: #fff !important;
  font-weight: 600;
  padding: .5rem 1rem !important;
  border-radius: var(--radius) !important;
}

.nav-quiz-btn:hover { background: var(--amber-light) !important; }

.nav-list a.nav-quiz-btn[aria-current="page"] {
  background: var(--amber-light) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: .4rem .7rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: auto;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 2px;
}

/* ===== Main (inner pages) ===== */

main > .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

main > .container > h1 {
  margin-bottom: 1rem;
}

main > .container > h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

main > .container > h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

main > .container > p {
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 68ch;
}

main > .container > p + p {
  margin-top: 1rem;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand {
  font-family: 'Bitter', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}

.footer-brand span { color: var(--amber-light); }

.footer-note {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
}

.footer-note a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.footer-note a:hover { color: #fff; }

.footer-col h3 {
  font-family: 'Bitter', serif;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ===== Section divider ===== */

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ===== Tables ===== */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

th, td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
  background: var(--navy);
  color: #fff;
  border-bottom: none;
}

tfoot td {
  font-weight: 600;
  background: rgba(26,39,68,.05);
  border-top: 2px solid var(--navy);
  border-bottom: none;
}

/* ===== Callout box ===== */

.callout {
  border-left: 4px solid var(--border);
  background: var(--white);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  box-shadow: var(--card-shadow);
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ===== Comparison layout ===== */

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.comparison-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.comparison-panel h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.comparison-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.comparison-panel li {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.comparison-panel--negative h3 { color: #8b2e2e; }
.comparison-panel--positive h3 { color: #2a5c2a; }
.comparison-panel--negative li::before { content: '↑ '; color: #c0392b; font-weight: 700; }
.comparison-panel--positive li::before { content: '↓ '; color: #2a7a3b; font-weight: 700; }

/* ===== Timeline ===== */

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline-step {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.25rem;
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  background: var(--bg);
  z-index: 1;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: calc(-2rem + 5px);
  top: 14px;
  width: 2px;
  bottom: 0;
  background: var(--border);
}

.timeline-title {
  font-family: 'Bitter', serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.timeline-duration {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--amber);
  margin-top: 0.25rem;
  font-weight: 600;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* ===== Content width helper ===== */

.content-width { max-width: var(--content); }

/* ===== Page hero (inner pages) ===== */

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.page-hero .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: .6rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 640px;
}

.page-hero .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}

.breadcrumb a:hover { color: rgba(255,255,255,.85); }
.breadcrumb span { margin: 0 .4rem; }

/* ===== Incentive summary strip ===== */

.incentive-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.incentive-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.incentive-strip-item {
  background: var(--white);
  padding: 1.1rem 1rem;
  text-align: center;
}

.incentive-strip-value {
  font-family: 'Bitter', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}

.incentive-strip-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  margin-top: .25rem;
}

.incentive-strip-timing {
  font-size: .7rem;
  color: #999;
  display: block;
  margin-top: .15rem;
}

/* ===== Page body layout (article + sidebar) ===== */

.page-body { padding: 3rem 0; }

.page-body-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

/* ===== Sidebar ===== */

.sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
}

.sidebar-card + .sidebar-card { margin-top: 1rem; }

.sidebar-card h3 {
  font-family: 'Bitter', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.sidebar-nav a {
  display: block;
  font-size: .85rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: .35rem .5rem;
  border-radius: 4px;
  transition: background .12s, color .12s;
}

.sidebar-nav a:hover { background: var(--bg); color: var(--navy); }

.sidebar-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.sidebar-cta h3 { color: #fff; }

.sidebar-cta p {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin: .5rem 0 1rem;
  line-height: 1.5;
}

.sidebar-cta a {
  display: block;
  background: var(--amber);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s;
}

.sidebar-cta a:hover { background: var(--amber-light); }

/* ===== Article content ===== */

.article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.article-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 66ch;
}

.article-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: .4rem;
}

.article-content p:last-child { margin-bottom: 0; }
.article-content a { color: var(--amber); }
.article-content a:hover { color: var(--navy); }

/* ===== Verdict strip ===== */

.verdict-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.verdict-item {
  background: var(--white);
  padding: 1.1rem 1rem;
  text-align: center;
}

.verdict-value {
  font-family: 'Bitter', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}

.verdict-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  margin-top: .25rem;
}

.verdict-context {
  font-size: .7rem;
  color: #999;
  display: block;
  margin-top: .15rem;
}

/* ===== Stat row (inline stat cards) ===== */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.stat-num {
  font-family: 'Bitter', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}

.stat-lbl {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  margin-top: .25rem;
}

.stat-ctx {
  font-size: .7rem;
  color: #999;
  display: block;
  margin-top: .15rem;
}

/* ===== No-go grid ===== */

.nogo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.25rem 0;
}

.nogo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid #c0392b;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.nogo-card h3 {
  font-family: 'Bitter', serif;
  font-size: .9rem;
  font-weight: 700;
  color: #8b2e2e;
  margin-bottom: .4rem;
}

.nogo-card p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

/* ===== Image placeholder ===== */

.img-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
}

.img-caption {
  font-size: .8rem;
  color: var(--text-light);
  padding: .6rem 1rem;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* ===== Sidebar data & rules ===== */

.sidebar-rule {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-light);
  padding: .4rem .5rem .1rem;
}

.sidebar-data {
  font-size: .82rem;
  color: var(--text-mid);
  padding: .15rem .5rem;
}

.sidebar-data.no { color: #8b2e2e; }
.sidebar-data.yes { color: #2a5c2a; }

/* ===== Table enhancements ===== */

tbody tr.peak td { font-weight: 600; color: var(--navy); }
tbody tr.low td { color: var(--text-light); }
td.num { font-family: 'Bitter', serif; font-weight: 600; text-align: right; }

/* ===== Incentive cards ===== */

.incentive-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--amber);
}

.incentive-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.incentive-card-name {
  font-family: 'Bitter', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.incentive-card-value {
  font-family: 'Bitter', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  line-height: 1;
}

.incentive-card-timing {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .2rem;
}

.incentive-card p {
  font-size: .925rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: none;
  margin-bottom: .75rem;
}

.incentive-card p:last-child { margin-bottom: 0; }

/* ===== Article callouts (flex icon+text style) ===== */

.callout.callout-caution,
.callout.callout-info {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  border-left: none;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  box-shadow: none;
}

.callout.callout-caution {
  background: #fff8ed;
  border: 1px solid #e8c84a;
}

.callout.callout-info {
  background: #eef4ff;
  border: 1px solid #b0c8f0;
}

.callout-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.callout.callout-caution p,
.callout.callout-info p,
.callout.callout-warning p {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

.callout.callout-warning {
  background: #fff2f2;
  border: 1px solid #e8a0a0;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

/* ===== Cost strip ===== */

.cost-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.cost-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.cost-strip-item { background: var(--white); padding: 1.1rem 1rem; text-align: center; }
.cost-strip-value { font-family: 'Bitter', serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); display: block; line-height: 1.1; }
.cost-strip-label { font-size: .75rem; font-weight: 600; color: var(--text-light); display: block; margin-top: .25rem; }
.cost-strip-context { font-size: .7rem; color: #999; display: block; margin-top: .15rem; }

/* ===== Cost cards ===== */

.cost-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; box-shadow: var(--card-shadow); border-left: 4px solid var(--amber); }
.cost-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cost-card-name { font-family: 'Bitter', serif; font-size: 1rem; font-weight: 700; color: var(--navy); }
.cost-card-value { font-family: 'Bitter', serif; font-size: 1.5rem; font-weight: 700; color: var(--amber); white-space: nowrap; line-height: 1; }
.cost-card-sub { font-size: .75rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; text-align: right; }
.cost-card p { font-size: .925rem; color: var(--text-mid); line-height: 1.65; max-width: none; margin-bottom: .75rem; }
.cost-card p:last-child { margin-bottom: 0; }

/* ===== Table cell highlights ===== */

td.highlight { color: #2a5c2a; font-weight: 600; }
td.warning { color: #8b2e2e; font-weight: 600; }

/* ===== Table wrap (article tables) ===== */

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.table-wrap table {
  margin: 0;
  box-shadow: none;
  border-radius: 0;
}

.table-wrap caption {
  font-family: 'Bitter', serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: left;
  padding: .75rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.table-wrap thead th {
  font-family: 'Bitter', serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .75rem 1rem;
}

.table-wrap tbody td {
  padding: .85rem 1rem;
  color: var(--text-mid);
  vertical-align: top;
  line-height: 1.5;
}

.table-wrap tbody tr:nth-child(even) td { background: #faf9f6; }

.table-wrap td:nth-child(2) {
  font-family: 'Bitter', serif;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.table-wrap tfoot td {
  font-weight: 700;
  color: var(--navy);
  background: #f0ede6;
  font-family: 'Bitter', serif;
  padding: .85rem 1rem;
  border-top: 2px solid var(--border);
  border-bottom: none;
}

/* ===== Fine print grid ===== */

.fine-print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.25rem 0;
}

/* ===== Page CTA (article-level) ===== */

.page-cta {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5rem 0 0;
  text-align: center;
}

.page-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.page-cta p {
  font-size: .95rem;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  margin: 0 auto 1.25rem;
}

.page-cta a {
  display: inline-flex;
  background: var(--amber);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s;
}

.page-cta a:hover { background: var(--amber-light); }

/* ===== Related guides ===== */

.related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: border-color .15s;
}

.related-card:hover { border-color: var(--amber); }

.related-card a {
  font-family: 'Bitter', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin-bottom: .35rem;
}

.related-card a:hover { color: var(--amber); }

.related-card p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: none;
  margin: 0;
}

/* ===== Category strip ===== */

.cat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow-x: auto;
}

.cat-strip-inner {
  display: flex;
  gap: .5rem;
  white-space: nowrap;
}

.cat-pill {
  display: inline-flex;
  padding: .4rem .85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background .12s, border-color .12s;
}

.cat-pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ===== Question cards ===== */

.q-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.25rem 0;
  box-shadow: var(--card-shadow);
}

.q-card h3 {
  font-family: 'Bitter', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .9rem;
  line-height: 1.35;
}

.q-card p {
  font-size: .925rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: .75rem;
  max-width: none;
}

.q-card p:last-child { margin-bottom: 0; }

.q-card a { color: var(--amber); }
.q-card a:hover { color: var(--navy); }

/* ===== Flag indicators (question cards) ===== */

.flags {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
}

.flag {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .85rem;
  line-height: 1.5;
  border-radius: 6px;
  padding: .5rem .75rem;
}

.flag.flag-good {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
}

.flag.flag-bad {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: var(--red);
}

.flag-icon {
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

.flag strong { font-weight: 700; }

/* ===== Section intro ===== */

.section-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===== How to use block ===== */

.how-to-use {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.how-to-use h2 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .75rem;
  padding: 0;
  border: none;
  margin-top: 0;
}

.how-to-use p {
  font-size: .925rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 64ch;
  margin-bottom: .75rem;
}

.how-to-use p:last-child { margin-bottom: 0; }
.how-to-use a { color: var(--amber-light); }

/* ===== Sidebar category nav (questions page) ===== */

.sidebar-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
  margin: .75rem 0 .3rem;
}

.sidebar-cat:first-child { margin-top: 0; }

.sidebar-q {
  font-size: .8rem;
  color: var(--text-mid);
  padding: .2rem 0 .2rem .75rem;
  border-left: 2px solid var(--border);
  line-height: 1.4;
  margin-bottom: .3rem;
}

/* ===== Article FAQ (scoped within .article-content) ===== */

.article-content .faq {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-content .faq h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.article-content .faq-question {
  font-size: .925rem;
  padding: 1rem 0;
}

.article-content .faq-answer p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 64ch;
  margin: 0;
}

/* Flag indicators */

.flag-good {
  color: var(--color-green);
  font-weight: 600;
}

.flag-bad {
  color: var(--color-red);
  font-weight: 600;
}

p:has(> .flag-good),
p:has(> .flag-bad) {
  color: var(--text);
  font-weight: 400;
}

.flag-good::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: var(--icon-check-circle) no-repeat center / contain;
  vertical-align: -0.15em;
  margin-right: 0.25rem;
}

.flag-bad::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: var(--icon-x-circle) no-repeat center / contain;
  vertical-align: -0.15em;
  margin-right: 0.25rem;
}

/* ===== CTA block (replaces quiz-cta) ===== */

.cta-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.cta-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: var(--card-shadow);
  max-width: 640px;
  margin: 0 auto;
}

.cta-block h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: .75rem;
}

.cta-block p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
  max-width: none;
}

.cta-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--amber);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--amber-light); color: #fff; transform: translateY(-1px); }

.btn-primary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}

.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: #fff; }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}

.btn-primary-dark:hover { background: var(--navy-mid); color: #fff; }

/* ===== Other guides section ===== */

.other-guides {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.other-guides h2 {
  font-size: 1.375rem;
}

/* ===== Homepage: Hero ===== */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: .75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.hero-stats {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.hero-stat-item + .hero-stat-item {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
}

.stat-number {
  font-family: 'Bitter', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
}

.stat-label {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}

.stat-context {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* ===== Homepage: Trust strip ===== */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.trust-list li {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.trust-list li::before {
  content: '\2713';
  color: var(--color-green);
  font-weight: 700;
}

/* ===== Homepage: Sections ===== */

.hero + .trust-strip + section,
.hero + .trust-strip + .section-divider + section,
section.problem,
section.how-it-works,
section.situations,
section.midwest,
section.faq,
section.final-cta {
  padding: 3.5rem 0;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .6rem;
}

section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy);
}

section p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
}

/* ===== Homepage: Problem ===== */

.problem { background: var(--white); }

.problem-body {
  font-size: 1.05rem !important;
  color: var(--text) !important;
  max-width: 64ch;
  margin-bottom: 1.5rem;
}

/* ===== Homepage: How it works ===== */

.how-it-works { background: var(--bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--amber);
}

.step-number {
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.step-card p {
  font-size: .875rem;
  color: var(--text-light);
  max-width: none;
}

/* ===== Homepage: Situations ===== */

.situations { background: var(--white); }

.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.situation-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color .15s, box-shadow .15s;
}

.situation-card:hover {
  border-color: var(--amber);
  box-shadow: var(--card-shadow);
}

.situation-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.situation-card p {
  font-size: .875rem;
  color: var(--text-light);
  max-width: none;
  margin-bottom: 1rem;
}

.pill-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.pill-link:hover { color: var(--navy); }
.pill-link::after { content: '\2192'; }

/* ===== Homepage: Midwest ===== */

.midwest {
  background: var(--navy);
  color: #fff;
}

.midwest .section-label { color: var(--amber-light); }
.midwest h2 { color: #fff; }

.midwest-body {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 72ch;
  margin-top: 1rem;
}

.midwest-body p + p { margin-top: 1rem; }

.midwest-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.fact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.fact-card h3 {
  font-family: 'Bitter', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: .5rem;
}

.fact-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: none;
}

/* ===== Homepage: FAQ ===== */

.faq { background: var(--white); }

.accordion { margin-top: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .975rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color .15s;
}

.faq-question:hover { color: var(--amber); }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 72ch;
}

/* ===== Homepage: Final CTA ===== */

.final-cta {
  background: var(--bg);
  text-align: center;
}

/* ===== Quiz page (Page 6) ===== */

.quiz-page { padding: 3rem 0; }
.quiz-inner { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }

/* Quiz container */
.quiz-container { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; }

/* Progress */
.progress-track { display: flex; gap: 3px; padding: 1rem 1.5rem .75rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.progress-seg { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .25s; }
.progress-seg.filled { background: var(--amber); }
.progress-label { font-size: .75rem; color: var(--text-light); text-align: right; padding: .3rem 1.5rem 0; background: var(--bg); border-bottom: 1px solid var(--border); }

/* Quiz step */
.quiz-step { display: none; padding: 1.75rem 1.5rem; }
.quiz-step.active { display: block; }
.quiz-step h2 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.step-context { font-size: .875rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.25rem; }
.step-options { display: flex; flex-direction: column; gap: .5rem; }
.step-option { display: flex; align-items: center; gap: .75rem; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: .85rem 1rem; font-family: 'Source Sans 3', sans-serif; font-size: .925rem; color: var(--text); cursor: pointer; text-align: left; transition: border-color .12s, background .12s; }
.step-option:hover { border-color: var(--amber); background: #fffbf0; }
.step-option.selected { border-color: var(--amber); background: #fffbf0; color: var(--navy); font-weight: 600; }
.step-option.selected .option-dot { background: var(--amber); }
.option-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: background .12s, border-color .12s; }
.step-option.selected .option-dot, .step-option:hover .option-dot { border-color: var(--amber); }
.step-option.selected .option-dot { background: var(--amber); border-color: var(--amber); }
.step-nav { display: flex; justify-content: space-between; padding-top: 1.25rem; }
.btn-back { background: none; border: 1px solid var(--border); color: var(--text-mid); font-family: 'Source Sans 3', sans-serif; font-size: .875rem; padding: .5rem 1rem; border-radius: var(--radius); cursor: pointer; transition: border-color .12s, color .12s; }
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.btn-back[hidden] { visibility: hidden; }

/* Quiz results */
.quiz-results { display: none; padding: 1.75rem 1.5rem; }
.quiz-results.active { display: block; }
.result-variant { display: none; }
.result-variant.active { display: block; }

.result-header { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.result-icon { font-size: 2rem; flex-shrink: 0; }
.result-header h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.result-header p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }

.result-strong .result-header h2 { color: var(--green); }
.result-good .result-header h2 { color: var(--navy); }
.result-wait .result-header h2 { color: var(--yellow); }
.result-no .result-header h2 { color: var(--red); }

.result-factors { margin: 1.25rem 0; }
.result-factors h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .6rem; }
.factor-row { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--text-mid); line-height: 1.5; }
.factor-row:last-child { border-bottom: none; }
.factor-flag { font-size: .75rem; font-weight: 700; min-width: 52px; flex-shrink: 0; padding: .15rem .4rem; border-radius: 4px; text-align: center; }
.flag-good { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.flag-caution { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.flag-stop { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }

.result-next { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; margin: 1.25rem 0; }
.result-next h3 { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.result-next p { font-size: .875rem; color: var(--text-mid); line-height: 1.6; margin-bottom: .75rem; }
.result-next p:last-child { margin-bottom: 0; }
.result-next a { color: var(--amber); font-weight: 600; }

.btn-restart { display: inline-flex; background: none; color: var(--text-mid); font-family: 'Source Sans 3', sans-serif; font-size: .875rem; padding: .5rem 0; border: none; cursor: pointer; text-decoration: underline; margin-top: .75rem; }

/* Typeform embed */
.typeform-wrap { padding: 1.5rem; border-top: 1px solid var(--border); background: var(--bg); display: none; }
.typeform-wrap h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.typeform-wrap p { font-size: .875rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1rem; }

/* Sidebar helpers (quiz page) */
.factor-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.factor-item { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; color: var(--text-mid); line-height: 1.5; }
.factor-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: .35rem; }
.dot-green { background: #2a5c2a; }
.dot-yellow { background: #c08a1e; }
.dot-red { background: #c0392b; }
.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.sidebar-links a { font-size: .85rem; color: var(--text-mid); text-decoration: none; padding: .25rem 0; transition: color .12s; }
.sidebar-links a:hover { color: var(--amber); }

/* Related section (quiz page) */
.related-section { padding: 3rem 0 0; }
.related-section h2 { font-family: 'Bitter', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }

/* ===== Screen reader only ===== */

.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;
}


/* ===== Responsive: 900px ===== */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stat-item + .hero-stat-item { border-top: none; border-left: 1px solid rgba(255,255,255,.1); padding-top: 0; padding-left: 1.25rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .situations-grid { grid-template-columns: repeat(2, 1fr); }
  .midwest-facts { grid-template-columns: 1fr; }
  .page-body-inner { grid-template-columns: 1fr; }
  .quiz-inner { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .verdict-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .nogo-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .incentive-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .fine-print-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .comparison { grid-template-columns: 1fr; }
}

/* ===== Responsive: 600px ===== */

@media (max-width: 600px) {
  h1 { font-size: 1.625rem; }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: .5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }

  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: .7rem 1.25rem; border-radius: 0; }
  .nav-quiz-btn { margin: .5rem 1rem !important; border-radius: var(--radius) !important; text-align: center; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }

  .hero { padding: 2.5rem 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat-item + .hero-stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; padding-left: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .situations-grid { grid-template-columns: 1fr; }
  .trust-list { gap: 1rem; flex-direction: column; }
  .verdict-grid { grid-template-columns: 1fr 1fr; }
  .cost-strip-grid { grid-template-columns: 1fr 1fr; }
  .cost-strip-item:last-child { grid-column: 1 / -1; }
  .cost-card-header { flex-direction: column; gap: .25rem; }
  .cost-card-sub { text-align: left; }
  .stat-row { grid-template-columns: 1fr; }
  .incentive-strip-grid { grid-template-columns: 1fr 1fr; }
  .incentive-strip-item:last-child { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr; }
  .incentive-card-header { flex-direction: column; gap: .25rem; }
  .flags { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-block { padding: 2rem 1.25rem; }

  .timeline { padding-left: 1.5rem; }
  .timeline-dot { left: -1.5rem; }
  .timeline-step:not(:last-child)::before { left: calc(-1.5rem + 5px); }
}

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn-primary:hover { transform: none; }
}
