/* Cost Segregation Reviews — redesign
   Palette: navy ink on white, coral accent, green/yellow/gray price chips
   Inspired by cheapcostseg.com + Betterment editorial styling */

:root {
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --bg-3: #eef2f7;
  --ink: #0a1968;
  --ink-2: #2b3a7a;
  --ink-3: #555C7A;
  --line: #e4e8ef;
  --line-2: #d3d9e4;
  --accent: #8C1D2E;
  --accent-2: #6E1623;
  --accent-soft: #F5E0E5;
  --link: #2b6cdf;
  /* --highlight now an amber/gold — reads cleanly on the navy calc panel
     where the previous deep burgundy looked like a clash. Keeping --accent
     in burgundy for light-bg CTAs / link hover. */
  --highlight: #F5C842;
  --highlight-soft: #FFF4CC;
  --good: #1f8a52;
  --good-soft: #def3e4;
  --warn-soft: #fcefcc;
  --warn: #8a6d1c;
  --bad-soft: #e8ebf0;
  --bad: #4a5168;
  --serif: "Source Serif 4", "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --container: 1240px;
  --shadow-sm: 0 1px 2px rgba(60, 40, 20, 0.04);
  --shadow-md: 0 1px 3px rgba(60, 40, 20, 0.06), 0 8px 24px rgba(60, 40, 20, 0.04);
  --shadow-lg: 0 2px 6px rgba(60, 40, 20, 0.06), 0 20px 50px rgba(60, 40, 20, 0.06);
  --row-pad: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.022em;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
em { font-style: italic; color: var(--accent); }

.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent); z-index: 9999;
  transition: width 0.1s;
}

.disclosure-banner {
  background: #fff8ed;
  border-bottom: 1px solid #fde8a1;
  padding: 10px 24px;
  font-size: 12.5px;
  color: #6b4f1a;
  text-align: center;
  line-height: 1.5;
}
.disclosure-banner strong { color: #5a3f0d; }
.disclosure-banner a { color: #b45309; text-decoration: underline; }

.app-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }

/* ─────────────────────────────────────────────────────────────────────────
   Shim block: 14 secondary pages (/roi/, /pricing/, /best-for/*, /guides/*)
   were authored against an older class vocabulary (.layout, .main, .content,
   .sidebar-header/-section/-label/-title/-sub) that has no matching CSS.
   These rules map that vocabulary onto the existing visual system so those
   pages render with the same 2-column shell as the .app-shell template.
   Selectors are scoped so they cannot affect the working .app-shell pages.
   ───────────────────────────────────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }

.layout > .main { display: block; min-width: 0; padding: 32px 40px 64px; }
/* Pricing/guides content width — 920px left too much whitespace on wide
   viewports (sidebar + huge gap + narrow content). 1200px reads better
   and lets the pricing comparison table breathe. */
.layout > .main > .content { max-width: 1200px; margin: 0 auto; }

.sidebar-header {
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.sidebar-header a { text-decoration: none; color: inherit; display: block; }
.sidebar-title { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
.sidebar-sub { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.04em; margin-top: 4px; }

.sidebar-section { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.sidebar-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin: 6px 8px 6px;
}
.sidebar-section .nav-link {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2); font-weight: 500; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sidebar-section .nav-link:hover { background: var(--bg-2); color: var(--ink); }
.sidebar-section .nav-link.active { background: var(--ink); color: white; }

.sidebar {
  position: sticky; top: 0; align-self: start;
  height: 100vh; overflow-y: auto;
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  z-index: 50;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.brand-bubble {
  width: 36px; height: 36px; border-radius: 8px;
  background: #F5EFE6; /* cream — matches favicon plate */
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-bubble svg { width: 22px; height: 22px; display: block; }
.brand-meta { display: flex; flex-direction: column; line-height: 1.1; }
.brand-wordmark { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.brand-tagline { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.04em; margin-top: 2px; }

.sidenav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.sidenav-section {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin: 16px 8px 6px;
}
.sidenav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.sidenav a:hover { background: var(--bg-2); color: var(--ink); }
.sidenav a.active { background: var(--ink); color: white; }
.sidenav a.active:hover { color: white; }
.sidenav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
.sidenav a.active .sidenav-dot { background: var(--accent); }

.sidebar-cta {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.sidebar-blurb { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin: 0; }

main { display: block; min-width: 0; }

.mobile-menu-toggle {
  display: none;
  position: fixed; top: 16px; left: 16px; z-index: 100;
  width: 44px; height: 44px;
  background: var(--ink); color: white;
  border-radius: 8px;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }
.mobile-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(10, 25, 104, 0.4); z-index: 49;
}
.mobile-overlay.active { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  transition: transform 0.1s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
  text-align: center;
}
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--accent); color: white; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-2); color: white; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-3); color: var(--ink); }
.btn-block { width: 100%; }

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 56px;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }

.section-header { max-width: 760px; margin-bottom: 48px; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--good); margin-bottom: 14px;
}
.section-title { font-size: 48px; line-height: 1.05; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { font-size: 18px; color: var(--ink-2); max-width: 620px; line-height: 1.55; margin: 0; }

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 56px 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2);
  margin-bottom: 32px;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(234, 91, 62, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 91, 62, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(234, 91, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 91, 62, 0); }
}

.hero-title {
  font-family: var(--sans);
  font-size: 64px; line-height: 1.04; letter-spacing: -0.03em;
  margin: 0 0 24px;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title em { color: var(--accent); font-style: normal; font-weight: 800; }
.hero-title-accent { color: var(--ink); display: block; }
.hero-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 560px; margin: 0 0 32px; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); align-items: center; }
.hero-trust b { color: var(--ink); font-weight: 600; }
.hero-trust .dot { color: var(--line-2); }

.hero-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.card-meta { font-size: 13px; color: var(--ink-3); }
.quote-list { list-style: none; padding: 0; margin: 0; }
.quote-row {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.quote-row:last-child { border-bottom: 0; }
.quote-divider { border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); }
.quote-rank { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-align: center; }
.quote-rank-muted { color: var(--line-2); }
.quote-meta { display: flex; flex-direction: column; gap: 2px; }
.quote-name { font-weight: 600; font-size: 15px; }
.quote-name .quote-sub { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.quote-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.quote-tag-muted { color: var(--ink-3); }
.quote-tag-warn { color: var(--warn); }
.quote-tag-good { color: var(--good); }
.quote-best .quote-name::after {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-left: 8px; vertical-align: middle;
}
.quote-price { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.quote-muted { color: var(--ink-3); font-style: italic; }
.card-link { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--accent); font-weight: 500; }
.card-link:hover { text-decoration: underline; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 8px; font-weight: 400; }
.stat-num .stat-unit { font-size: 30px; color: var(--ink-3); margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--ink-2); line-height: 1.4; max-width: 240px; }

.disclosure {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 56px 0;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--ink-2);
}
.disclosure strong { color: var(--ink); }
.disclosure-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex-shrink: 0; }
.disclosure a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.rating { display: inline-flex; align-items: center; gap: 10px; }
.rating-num { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); }
.rating-bar {
  position: relative; width: 88px; height: 12px; flex-shrink: 0;
  background: var(--bg-3); border-radius: 4px; overflow: hidden;
}
.rating-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.rating-max { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.rating-compact .rating-num { font-size: 15px; }
.rating-compact .rating-bar { width: 72px; height: 10px; }

.type-chips { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.type-chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  min-width: 26px; height: 22px; padding: 0 7px; border-radius: 4px;
  background: #e0ecf6; color: #2b4a78;
}

/* Real savings — hero card + supporting grid */
.section-savings { padding-top: 80px; }
.savings-hero {
  background: linear-gradient(135deg, #fff8f5 0%, #fef0ea 100%);
  border: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 40px 48px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.savings-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}
.savings-hero-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.savings-hero-meta-divider { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.savings-hero-title {
  font-family: var(--serif); font-size: 36px; line-height: 1.15;
  margin: 0 0 16px; color: var(--ink); font-weight: 600;
}
.savings-hero-title em { color: var(--accent); font-style: normal; font-weight: 700; }
.savings-hero-desc { font-size: 15px; color: var(--ink-2); margin: 0 0 20px; line-height: 1.55; max-width: 480px; }
.savings-hero-detail {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid rgba(234, 91, 62, 0.2);
  font-size: 13px; color: var(--ink-2);
}
.savings-hero-detail strong { color: var(--ink); font-weight: 600; }
.savings-hero-numbers {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px 32px;
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  min-width: 280px;
}
.savings-hero-num {
  display: flex; flex-direction: column; gap: 4px;
}
.savings-hero-num-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.savings-hero-num-value {
  font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--ink); font-weight: 600;
}
.savings-hero-num.is-highlight .savings-hero-num-value {
  font-size: 38px; color: var(--accent);
}
.savings-hero-num-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.savings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.savings-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.savings-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.savings-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.savings-card-chip {
  display: inline-flex; padding: 2px 7px; border-radius: 3px;
  background: #e0ecf6; color: #2b4a78;
  font-weight: 700; font-size: 10px;
}
.savings-card-title { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0; line-height: 1.25; }
.savings-card-numbers {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.savings-card-num { display: flex; flex-direction: column; gap: 2px; }
.savings-card-num-label {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.savings-card-num-value {
  font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 600;
}
.savings-card-num.is-savings .savings-card-num-value { color: var(--good); }
.savings-card-desc { font-size: 12.5px; color: var(--ink-3); margin: 0; line-height: 1.45; }

.savings-disclaimer {
  font-size: 12px; color: var(--ink-3); line-height: 1.55;
  padding: 16px 20px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); margin-top: 8px;
}
.savings-disclaimer strong { color: var(--ink-2); }

.section-shortlist { padding-top: 96px; }
.shortlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shortlist-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.shortlist-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.shortlist-card.is-default {
  background: #fff8f5;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.card-ribbon {
  position: absolute; top: 0; left: 24px; transform: translateY(-50%);
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.shortlist-card.is-default .card-ribbon { background: var(--accent); color: white; }
.card-job-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.card-meta-line { font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.04em; }
.card-title { font-size: 30px; }
.card-spec {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px;
  margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.card-spec > div { display: contents; }
.card-spec dt { font-size: 13px; color: var(--ink-3); }
.card-spec dd { font-size: 14px; margin: 0; color: var(--ink); font-weight: 500; }
.card-spec dd.strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.card-blurb { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.55; }
.card-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.card-bullets li {
  font-size: 14px; color: var(--ink-2); padding-left: 20px; position: relative; line-height: 1.5;
}
.card-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 1.5px; background: var(--accent);
}
.card-cta-row { display: flex; gap: 8px; margin-top: auto; }
.card-cta { font-size: 14px; font-weight: 500; color: var(--accent); }
.card-cta:hover { text-decoration: underline; }

.shortlist-foot {
  margin-top: 40px; padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  max-width: 880px;
}
.shortlist-foot strong { color: var(--ink); }

.reviews-list { display: flex; flex-direction: column; }
.review {
  border-top: 1px solid var(--line);
  transition: background 0.2s;
}
.review:last-child { border-bottom: 1px solid var(--line); }
.review.is-open { background: var(--bg-2); }
.review-head {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 32px;
  align-items: center; gap: 24px;
  padding: 24px 16px;
  cursor: pointer;
  width: 100%; text-align: left;
}
.review-head:hover { background: var(--bg-2); }
.review-rank { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: 0.05em; }
.review-name h3 { font-size: 22px; margin-bottom: 4px; }
.disclosed-pill {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent); color: white; padding: 2px 8px; border-radius: 999px;
  margin-left: 10px; vertical-align: 4px; font-weight: 500;
}
.review-meta { font-size: 13px; color: var(--ink-3); font-family: var(--mono); }
.review-quick { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.review-price { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.review-toggle {
  width: 32px; height: 32px; border: 1px solid var(--line-2);
  border-radius: 50%; font-size: 18px; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
}
.review.is-open .review-toggle { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.review-body { padding: 0 16px 32px; display: none; }
.review.is-open .review-body { display: block; }
.review-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.review-col { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.review-col p { margin: 0 0 16px; }
.review-section-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px; margin-top: 4px;
}
.review-liked { color: var(--good); }
.review-consider { color: var(--warn); margin-top: 20px; }
.bottom-line { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--ink); line-height: 1.5; }
.visit-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--accent); }
.visit-link:hover { text-decoration: underline; }

.for-who { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.for-who li { padding-left: 16px; position: relative; }
.for-who li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
  background: var(--ink-2); border-radius: 50%;
}
.for-who strong { color: var(--ink); }

.bullet-good, .bullet-warn { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bullet-good li, .bullet-warn li { padding-left: 22px; position: relative; font-size: 14px; line-height: 1.5; }
.bullet-good li::before { content: "+"; position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 600; color: var(--good); }
.bullet-warn li::before { content: "−"; position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 600; color: var(--warn); }

.review-spec {
  width: 100%; border-collapse: collapse; margin-top: 8px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.review-spec th, .review-spec td { padding: 12px 16px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.review-spec tr:last-child th, .review-spec tr:last-child td { border-bottom: 0; }
.review-spec th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; width: 14%; background: var(--bg-2);
}

.skip-table { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.skip-head, .skip-row {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 32px; padding: var(--row-pad) 0;
  border-bottom: 1px solid var(--line);
}
.skip-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--line-2);
}
.skip-row:last-child { border-bottom: 0; }
.skip-row:hover { background: var(--bg-2); }
.skip-p { font-family: var(--serif); font-size: 18px; color: var(--ink); padding: 0 16px; }
.skip-why { font-size: 15px; color: var(--ink-2); line-height: 1.55; padding-right: 16px; }
.skip-foot { font-size: 13px; color: var(--ink-3); margin-top: 16px; font-family: var(--mono); }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  padding: 16px 20px; margin-bottom: 24px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.filter-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.seg { display: inline-flex; padding: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.seg-btn {
  padding: 6px 12px; font-size: 13px; color: var(--ink-2);
  border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.seg-btn:hover { color: var(--ink); }
.seg-active { background: var(--ink); color: var(--bg); }
.seg-active:hover { color: var(--bg); }
.filter-input {
  padding: 9px 14px; font-size: 14px; border: 1px solid var(--line-2);
  border-radius: var(--r-md); background: var(--bg); color: var(--ink);
  min-width: 240px;
}
.filter-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.rank-table { border-top: 1px solid var(--ink); }
.rank-head {
  display: grid; grid-template-columns: 50px 1.5fr 1.1fr 1.1fr 1fr 1fr 0.9fr;
  gap: 16px; padding: 14px 16px;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--ink);
}
.rank-row {
  display: grid; grid-template-columns: 50px 1.5fr 1.1fr 1.1fr 1fr 1fr 0.9fr;
  gap: 16px; padding: var(--row-pad) 16px; align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background 0.15s;
}
.rank-row:hover { background: var(--bg-2); }
.rank-row.is-self { background: var(--accent-soft); }
.rank-row.is-self:hover { background: #fce0d6; }
.rank-num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.rank-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rank-name a { font-weight: 600; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.rank-name span.no-link { font-weight: 600; color: var(--ink); }
.rank-tier { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.rank-price-chip {
  display: inline-flex; padding: 4px 10px; border-radius: 4px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  white-space: nowrap;
}
.chip-low { background: var(--good-soft); color: var(--good); }
.chip-mid { background: var(--warn-soft); color: var(--warn); }
.chip-high { background: var(--bad-soft); color: var(--bad); }
.rank-turn, .rank-site { color: var(--ink-2); font-size: 13px; }

.bytype-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bytype-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.bytype-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-md); color: inherit; }
.bytype-letter {
  font-family: var(--serif); font-size: 56px; line-height: 1;
  color: var(--accent); font-weight: 500;
}
.bytype-label { font-family: var(--serif); font-size: 22px; }
.bytype-note { font-size: 12px; color: var(--ink-3); font-family: var(--mono); margin-top: 4px; }
.bytype-winner { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.bytype-winner strong { color: var(--ink); font-weight: 600; }
.bytype-who { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.bytype-arrow { font-size: 18px; color: var(--ink-3); margin-top: auto; align-self: flex-end; transition: transform 0.15s; }
.bytype-card:hover .bytype-arrow { color: var(--accent); transform: translateX(4px); }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.calc-inputs {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 28px;
}
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; }
.calc-row label, .calc-label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.calc-value { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.calc-hint { font-size: 12.5px; color: var(--ink-3); }

input[type="range"] {
  width: 100%; height: 4px; background: var(--bg-3);
  border-radius: 2px; appearance: none; -webkit-appearance: none; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); cursor: pointer; border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink-2);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); cursor: pointer; border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink-2);
}

.calc-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.calc-type {
  padding: 10px 12px; font-size: 13.5px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--bg); color: var(--ink-2);
  transition: all 0.15s;
}
.calc-type:hover { border-color: var(--ink-3); }
.calc-type-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.calc-output {
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-lg); padding: 32px;
  position: sticky; top: 24px;
}
.calc-headline { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 24px; }
.calc-headline-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.calc-headline-value {
  font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.025em;
  color: var(--highlight); font-weight: 400; margin-bottom: 8px;
}
.calc-headline-sub { font-size: 13px; color: rgba(255,255,255,0.55); }

.calc-breakdown { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 24px; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-line-label { font-size: 14px; color: rgba(255,255,255,0.78); display: flex; flex-direction: column; }
.calc-line-sub { font-size: 11.5px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.calc-line-val { font-family: var(--serif); font-size: 18px; }

.calc-roi-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.calc-roi-head {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 16px;
  padding: 0 12px 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 8px;
}
.calc-roi-head span:last-child { text-align: right; }
.calc-roi-list { display: flex; flex-direction: column; gap: 8px; }
.calc-roi-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 16px; align-items: center;
  padding: 12px 14px; background: rgba(255,255,255,0.05); border-radius: var(--r-md);
  font-size: 14px;
}
.calc-roi-row.is-best { background: rgba(234, 91, 62, 0.18); border: 1px solid rgba(234, 91, 62, 0.4); }
.calc-roi-row i { color: rgba(255,255,255,0.55); font-style: normal; font-size: 12px; }
.calc-roi-name { color: rgba(255,255,255,0.92); font-weight: 500; }
.calc-roi-price { font-family: var(--serif); font-size: 16px; color: rgba(255,255,255,0.78); }
.calc-roi-net { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.calc-roi-net-dollar {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--highlight); line-height: 1;
}
.calc-roi-row:not(.is-best) .calc-roi-net-dollar { color: rgba(255,255,255,0.92); }
.calc-roi-net-mult {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}
.calc-roi-note {
  margin-top: 16px; padding: 12px 14px;
  background: rgba(234, 91, 62, 0.1); border-left: 2px solid var(--highlight);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5;
}
.calc-roi-note strong { color: var(--highlight); font-family: var(--serif); font-weight: 600; }
.calc-roi-cta {
  display: block; margin-top: 16px;
  text-align: center;
  padding: 12px 16px;
  background: var(--accent); color: white;
  border-radius: var(--r-md); font-size: 14px; font-weight: 600;
}
.calc-roi-cta:hover { background: var(--accent-2); color: white; }
.calc-disclaimer {
  font-size: 12.5px; color: var(--ink-3); margin-top: 24px; max-width: 900px; line-height: 1.55;
}

/* Full-width ROI compare table — sits below the calc grid */
.roi-compare { margin-top: 40px; }
.roi-compare-head-row { margin-bottom: 20px; max-width: 720px; }
.roi-compare-title { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.roi-compare-sub { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

.roi-compare-table {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.roi-compare-head, .roi-compare-row {
  display: grid; grid-template-columns: 0.9fr 1.6fr 1fr 1.1fr 0.8fr;
  gap: 16px; padding: 14px 16px; align-items: center;
}
.roi-compare-head {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--ink);
  background: var(--bg-2);
}
.roi-compare-row {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background 0.15s;
}
.roi-compare-row:last-child { border-bottom: 0; }
.roi-compare-row:hover { background: var(--bg-2); }
.roi-compare-row.is-best {
  background: linear-gradient(90deg, #fff8f5 0%, #fef0ea 100%);
  border-left: 3px solid var(--accent);
  padding-left: 13px;
}
.roi-compare-row.is-best:hover { background: linear-gradient(90deg, #ffece6 0%, #fde0d6 100%); }

.roi-compare-cost {
  display: inline-flex; padding: 5px 11px; border-radius: 4px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  white-space: nowrap; align-self: start;
}
.roi-compare-cost.cost-low { background: var(--good-soft); color: var(--good); }
.roi-compare-cost.cost-mid { background: var(--warn-soft); color: var(--warn); }
.roi-compare-cost.cost-high { background: var(--bad-soft); color: var(--bad); }

.roi-compare-providers {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.4;
}
.roi-compare-providers a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.roi-compare-providers .provider-tier-note { color: var(--ink-3); font-style: italic; }

.roi-compare-savings { font-family: var(--serif); font-size: 16px; color: var(--ink-2); font-weight: 500; }

.roi-compare-keep {
  font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 600;
}
.roi-compare-row.is-best .roi-compare-keep { color: var(--accent); font-weight: 700; }
.roi-compare-keep.is-zero { color: var(--bad); font-style: italic; font-size: 14px; }

.roi-compare-mult {
  font-family: var(--mono); font-size: 13px; color: var(--ink-3); text-align: right;
}
.roi-compare-row.is-best .roi-compare-mult { color: var(--accent); font-weight: 600; }

.roi-compare-note {
  margin-top: 20px; padding: 16px 20px;
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
}
.roi-compare-note strong { color: var(--accent); font-family: var(--serif); font-size: 17px; font-weight: 700; }
.roi-compare-note em { color: var(--ink-2); font-style: italic; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.method-card {
  padding: 28px 24px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.method-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 16px; }
.method-card h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; font-weight: 500; }
.method-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; text-align: left;
  font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 500;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 24px; color: var(--accent); flex-shrink: 0; }
.faq-a { padding: 0 60px 28px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 820px; display: none; }
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-item.is-open .faq-a { display: block; }

.mid-cta {
  max-width: 1100px; margin: 0 auto;
  padding: 48px 56px;
}
.mid-cta-inner {
  background: var(--ink); color: white;
  border-radius: var(--r-lg);
  padding: 40px 48px;
  display: grid; grid-template-columns: 1.6fr auto;
  gap: 32px; align-items: center;
}
.mid-cta-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--highlight); margin-bottom: 12px; }
.mid-cta-title { font-family: var(--serif); font-size: 32px; line-height: 1.15; margin: 0 0 12px; color: white; font-weight: 500; }
.mid-cta-sub { font-size: 15px; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.55; max-width: 520px; }
.mid-cta-actions { display: flex; flex-direction: column; gap: 10px; }
.mid-cta .btn-primary { background: var(--accent); }
.mid-cta .btn-primary:hover { background: var(--accent-2); }
.mid-cta .btn-ghost { color: white; border-color: rgba(255,255,255,0.3); }
.mid-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }

.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.78);
  margin-top: 80px;
  padding: 56px 56px 32px;
}
.footer-top {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 56px;
}
.footer-brand h4 { font-family: var(--serif); font-size: 24px; color: white; margin-bottom: 12px; font-weight: 500; }
.footer-blurb { font-size: 14px; line-height: 1.6; max-width: 380px; color: rgba(255,255,255,0.65); margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.footer-cols a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.78); }
.footer-cols a:hover { color: var(--accent-soft); }
.footer-bottom {
  max-width: 1100px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.footer-bottom p { margin: 0 0 6px; }

.sticky-bottom-cta {
  position: fixed; bottom: 0; left: 260px; right: 0;
  background: rgba(10, 25, 104, 0.97);
  backdrop-filter: blur(8px);
  color: white;
  padding: 14px 32px;
  display: none;
  align-items: center; justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(234, 91, 62, 0.4);
  z-index: 40;
  font-size: 14px;
}
.sticky-bottom-cta.visible { display: flex; }
.sticky-bottom-cta-text { display: flex; flex-direction: column; gap: 2px; }
.sticky-bottom-cta-eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.sticky-bottom-cta-line { font-size: 14px; color: rgba(255,255,255,0.92); }
.sticky-bottom-cta-line strong { color: white; }
.sticky-bottom-cta-actions { display: flex; gap: 10px; }
.sticky-bottom-cta .btn-accent { padding: 9px 16px; font-size: 13.5px; }
.sticky-bottom-cta .btn-ghost { color: white; border-color: rgba(255,255,255,0.3); padding: 9px 14px; font-size: 13.5px; }
.sticky-bottom-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); color: white; }

.back-to-top {
  position: fixed; right: 24px; bottom: 80px; z-index: 30;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: white;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { display: flex; }

.submit-form { display: grid; gap: 16px; max-width: 600px; }
.submit-form label {
  display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); margin-bottom: 6px;
}
.submit-form input, .submit-form textarea, .submit-form select {
  width: 100%; padding: 11px 14px;
  font-family: var(--sans); font-size: 15px;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--bg); color: var(--ink);
}
.submit-form input:focus, .submit-form textarea:focus, .submit-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.submit-form .submit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-thanks {
  padding: 20px; background: var(--good-soft);
  border-radius: var(--r-md); margin-top: 16px;
  display: none;
}
.submit-thanks.visible { display: block; }
.submit-thanks p:first-child { font-weight: 700; color: var(--good); margin: 0 0 6px; }
.submit-thanks p:last-child { margin: 0; font-size: 14px; color: var(--ink-2); }

#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: rgba(255,255,255,0.9);
  padding: 14px 24px; font-size: 13px; z-index: 9999; text-align: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
#cookieBanner a { color: #93c5fd; text-decoration: underline; }
#cookieBanner button {
  margin-left: 16px; padding: 6px 18px;
  background: var(--accent); color: white; border-radius: 6px;
  font-size: 13px; font-weight: 600;
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .layout > .main { padding: 24px 18px 48px; }
  .sidebar {
    position: fixed; top: 0; left: -300px; width: 280px; height: 100vh;
    transition: left 0.25s; border-right: 1px solid var(--line);
    box-shadow: 2px 0 12px rgba(0,0,0,0.08);
  }
  .sidebar.open { left: 0; }
  .mobile-menu-toggle { display: inline-flex; }
  .section { padding: 56px 24px; }
  .hero { padding: 64px 24px 56px; }
  .disclosure { padding: 16px 24px 0; }
  .site-footer { padding: 48px 24px 24px; }
  .hero-title { font-size: 48px; }
  .section-title { font-size: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .shortlist-grid { grid-template-columns: 1fr; }
  .review-head { grid-template-columns: 60px 1fr 32px; }
  .review-quick { display: none; }
  .review-grid { grid-template-columns: 1fr; gap: 24px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-output { position: relative; top: 0; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .bytype-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .rank-head, .rank-row { grid-template-columns: 40px 1.4fr 1fr 1.2fr; }
  .rank-head > span:nth-child(n+5), .rank-row > span:nth-child(n+5) { display: none; }
  .mid-cta { padding: 32px 24px; }
  .mid-cta-inner { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; }
  .mid-cta-actions { flex-direction: row; }
  .savings-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .savings-hero-title { font-size: 26px; }
  .savings-hero-numbers { min-width: 0; padding: 22px 24px; }
  .savings-grid { grid-template-columns: 1fr; gap: 12px; }
  .roi-compare-head, .roi-compare-row { grid-template-columns: 0.8fr 1fr 1fr; gap: 10px; padding: 12px; }
  .roi-compare-head > span:nth-child(n+4), .roi-compare-row > span:nth-child(n+4) { display: none; }
  .roi-compare-keep { font-size: 16px; }
  .roi-compare-providers { font-size: 12.5px; }
  .sticky-bottom-cta { left: 0; padding: 12px 16px; }
  .sticky-bottom-cta-text { display: none; }
  .submit-form .submit-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 38px; }
  .hero { padding: 48px 20px 56px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat-num { font-size: 42px; }
  .skip-head, .skip-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .skip-p { padding: 0; }
  .skip-why { padding: 0; }
  .bytype-grid { grid-template-columns: 1fr; }
  .calc-headline-value { font-size: 44px; }
  .section-title { font-size: 28px; }
}


/* Accessibility — respect prefers-reduced-motion (impeccable/animate, 2026-05-01) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile baseline (added 2026-05-01) — prevent iOS zoom + 44×44 tap targets */
input:not([type=hidden]), select, textarea { font-size: 16px !important; }
nav a, .nav a, .top-nav a, button { min-height: 44px; }

/* Smooth anchor scroll + target highlight (impeccable/animate, 2026-05-01) */
html { scroll-behavior: smooth; }

/* Brief highlight when a provider anchor is the navigation target */
[id^="prov-"]:target {
  animation: targetHighlight 1200ms cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes targetHighlight {
  0%   { background: rgba(30, 64, 175, 0.10); }
  100% { background: transparent; }
}


/* Tap feedback (impeccable/animate, 2026-05-01) */
.btn, .btn-accent, .card-cta, .calc-roi-cta, .visit-link, button:active, a.btn:active {
  /* base — no styles, fallthrough rule */
}
.btn:active, .btn-accent:active, .card-cta:active, .calc-roi-cta:active, .visit-link:active {
  transform: scale(0.97);
  transition: transform 80ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Calc output CTA: override burgundy on dark-navy panel.
   The page-level --accent stays burgundy for light-bg uses; here we want
   a bright contrast that doesn't read as "red on navy". ── */
.calc-output .calc-roi-cta {
  background: #F5C842;
  color: #0a1968;
}
.calc-output .calc-roi-cta:hover {
  background: #FFD45A;
  color: #0a1968;
}

/* ── Simple table style — used throughout /guides/*. Previously unstyled,
   tables rendered as plain rows with no borders/padding/zebra. ── */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.simple-table thead { background: var(--bg-2); }
.simple-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.simple-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.5;
  vertical-align: top;
}
.simple-table tbody tr:nth-child(even) { background: var(--bg-2); }
.simple-table tbody tr:last-child td { border-bottom: 0; }
.simple-table tbody td:last-child {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}
.simple-table tbody tr:last-child td:first-child { font-weight: 700; }
.simple-table tbody tr:last-child td:last-child { font-size: 16px; }
@media (max-width: 720px) {
  .simple-table { font-size: 14px; }
  .simple-table thead th, .simple-table tbody td { padding: 10px 12px; }
}
