:root {
  color-scheme: light;
  --ink: #17202d;
  --muted: #5f6f83;
  --subtle: #5d6b80;
  --line: #dce3ea;
  --surface: #eef2f8;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b5751;
  --blue: #2456c6;
  --gold: #b7791f;
  --rose: #a23e55;
  --green: #276749;
  --sky: #e9f2ff;
  --mint: #e7f6f2;
  --cream: #fff7e7;

  /* Shadow system */
  --shadow-sm: 0 1px 3px rgba(23, 32, 45, 0.05), 0 1px 2px rgba(23, 32, 45, 0.04);
  --shadow: 0 4px 20px rgba(23, 32, 45, 0.08), 0 1px 4px rgba(23, 32, 45, 0.04);
  --shadow-hover: 0 12px 36px rgba(23, 32, 45, 0.13), 0 4px 10px rgba(23, 32, 45, 0.07);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 190ms;
  --transition: var(--speed) var(--ease);

  /* Radii */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

::selection {
  background: rgba(15, 118, 110, 0.16);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--teal);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translateY(calc(-100% - 20px));
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
  text-decoration: none;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

main:focus {
  outline: none;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

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

.keep-together {
  white-space: nowrap;
}

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

button {
  border: 0;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
p,
dd,
li,
a,
button,
label,
input,
select,
textarea,
strong,
small {
  overflow-wrap: normal;
}

dt {
  overflow-wrap: normal;
}

h1 {
  letter-spacing: 0;
}

h2 {
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(23, 32, 45, 0.04), 0 2px 14px rgba(23, 32, 45, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: max-content;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.82;
  text-decoration: none;
}

.brand-mark,
.logo-tile {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), #1f5ea8);
  border-radius: var(--radius-sm);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.14), 0 1px 2px rgba(15, 118, 110, 0.08);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.97rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.nav-toggle:hover {
  background: var(--surface);
  border-color: #c6d1db;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.top-nav a:hover {
  color: var(--teal-dark);
  background: var(--mint);
  text-decoration: none;
}

.top-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.4);
  font-weight: 800;
  text-decoration: none;
}

.top-nav .saved-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  min-height: 36px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid #cfe5de;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.top-nav .saved-badge:hover {
  background: #d8eeeb;
  border-color: #9ecfc9;
  text-decoration: none;
}

.top-nav .saved-badge.is-empty {
  color: var(--muted);
  background: #ffffff;
  border-color: var(--line);
  font-weight: 700;
}

.top-nav .saved-badge.is-empty:hover {
  background: var(--surface);
  border-color: #c6d1db;
  color: var(--muted);
}

/* On compare.html the saved badge is the current page; use a single teal
   pill border rather than the rectangular nav link's inset ring. */
.top-nav .saved-badge[aria-current="page"] {
  box-shadow: none;
  border-color: rgba(15, 118, 110, 0.5);
}

.saved-badge-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.saved-badge.is-empty .saved-badge-count {
  background: #c6d1db;
}

.site-main {
  min-height: calc(100vh - 70px);
}

/* ===== HERO ===== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.9fr);
  gap: clamp(24px, 3.8vw, 52px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6.6vw, 78px) clamp(16px, 4vw, 56px) 42px;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  z-index: -1;
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.eyebrow,
.category-link,
.field-label,
.metric-label {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  color: #142235;
  font-size: 2.76rem;
  font-weight: 860;
  line-height: 1.08;
  text-wrap: balance;
}

.intro-copy {
  max-width: 650px;
  margin: 16px 0 0;
  color: #43536a;
  font-size: 1.08rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-copy > .intro-copy {
  max-width: 570px;
  color: #31465e;
  font-size: 1.07rem;
  font-weight: 520;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-task-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
  margin-top: 16px;
}

.hero-task-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 0;
  padding: 0 11px;
  color: var(--teal-dark);
  background: #ffffff;
  border: 1px solid #cfe5de;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.15;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.hero-task-strip a:hover {
  color: #0b5d57;
  background: var(--mint);
  border-color: #9ecfc9;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-lens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 600px;
  margin-top: 24px;
  padding: 6px 16px;
  overflow: visible;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 249, 0.94));
  border: 1px solid #d3e2dd;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 32, 45, 0.04), 0 14px 28px rgba(23, 32, 45, 0.04);
}

.hero-lens div {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  padding: 14px 14px 14px 18px;
  background: transparent;
}

.hero-lens div::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 6px;
  width: 3px;
  background: var(--teal);
  border-radius: 8px;
}

/* 2x2 dividers: a vertical rule between the two columns and a horizontal rule
   between the two rows. */
.hero-lens div:nth-child(even) {
  border-left: 1px solid rgba(122, 143, 160, 0.18);
}

.hero-lens div:nth-child(n + 3) {
  border-top: 1px solid rgba(122, 143, 160, 0.18);
}

.hero-lens div:nth-child(2)::before {
  background: var(--blue);
}

.hero-lens div:nth-child(3)::before {
  background: var(--gold);
}

.hero-lens div:nth-child(4)::before {
  background: var(--rose);
}

.hero-lens span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-lens strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1.3;
  text-wrap: pretty;
}

.hero-reviewer-card {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin-top: 24px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-reviewer-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-reviewer-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.hero-reviewer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-reviewer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--teal-dark);
  background: #f4fbf9;
  border: 1px solid #cfe5de;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-reviewer-links a:hover {
  background: var(--mint);
  text-decoration: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-row span,
.tag-row span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.comparison-row {
  max-width: 690px;
}

.comparison-row span {
  min-height: 30px;
  color: var(--ink);
  background: #ffffff;
  border-color: #d5e5e0;
  font-weight: 760;
  box-shadow: 0 1px 0 rgba(23, 32, 45, 0.04);
}

.hero-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 17px;
  background: var(--panel);
  border: 1px solid rgba(220, 227, 234, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(23, 32, 45, 0.075), 0 2px 8px rgba(23, 32, 45, 0.04);
  align-self: center;
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hero-panel-top strong {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: 0;
}

.hero-offer-list {
  display: grid;
  gap: 8px;
  /* Reserve the rendered height (3 rows x 64px + 2 x 8px gap) so the hero
     panel does not grow when offers inject on DOMContentLoaded. Without this,
     the panel expands and pushes the sections below the hero down, producing a
     visible layout shift. */
  min-height: 208px;
}

.hero-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 9px 8px 9px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #e1ece9;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero-offer-row:hover {
  border-color: #aaccc8;
  background: #f0faf8;
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.hero-offer-row span,
.hero-offer-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hero-offer-row strong,
.hero-offer-row small {
  display: block;
  line-height: 1.25;
  white-space: normal;
}

.hero-offer-row small {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-offer-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 720;
  line-height: 1.25;
}

.hero-offer-meta span {
  display: inline-flex;
  gap: 3px;
  min-width: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.hero-offer-meta span + span {
  padding-left: 8px;
  border-left: 1px solid #d6e5e1;
}

.hero-offer-meta i {
  color: var(--subtle);
  font-style: normal;
  font-weight: 780;
}

.hero-offer-row b {
  max-width: 160px;
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  letter-spacing: 0;
}

.hero-fact-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* Reserve the hero stat row height so the panel does not grow when the stats
   inject on load (same layout-shift fix as .hero-offer-list). Scoped to the
   hero variant so the shared .stats-grid elsewhere is unaffected. */
.hero-fact-grid {
  min-height: 76px;
}

.hero-panel .hero-fact-grid {
  min-height: 50px;
  gap: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.hero-fact-grid div,
.stats-grid div {
  min-width: 0;
  padding: 12px;
  background: #f3f7fa;
  border: 1px solid #e7edf3;
  border-radius: var(--radius);
}

.hero-fact-grid strong,
.stats-grid strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--teal-dark);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.hero-fact-grid strong {
  font-size: 1.35rem;
}

.hero-panel .hero-fact-grid div {
  padding: 0 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.hero-panel .hero-fact-grid div + div {
  border-left: 1px solid #e7edf3;
}

.hero-panel .hero-fact-grid strong {
  font-size: 1.08rem;
}

.hero-panel .hero-fact-grid span {
  margin-top: 2px;
  font-size: 0.72rem;
}

.hero-fact-grid span,
.stats-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ===== SECTION BANDS ===== */

.section-band {
  padding: clamp(52px, 4.6vw, 64px) clamp(16px, 4vw, 56px);
}

.section-band.is-white {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-band.is-mint {
  background: #eaf5f2;
  border-top: 1px solid #cfe5de;
  border-bottom: 1px solid #cfe5de;
}

.section-band.is-proof {
  background: #f6fbfa;
  border-top: 1px solid #d9ece8;
  border-bottom: 1px solid #d9ece8;
}

.site-main[data-guide-hub] > .page-hero + .section-band {
  padding-top: 36px;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.12;
}

.section-heading p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
}

.paid-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  grid-template-areas:
    "copy actions"
    "disclosure disclosure";
  gap: 14px 22px;
  align-items: center;
  padding: 18px 20px;
  background: #fffdf8;
  border: 1px solid #ead9b8;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.paid-option-copy {
  grid-area: copy;
  min-width: 0;
}

.paid-option-label {
  margin: 0 0 5px;
  color: #784b0d;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.paid-option-card h2,
.paid-option-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.2;
}

.paid-option-copy > p:not(.paid-option-label) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.paid-option-actions {
  grid-area: actions;
  display: grid;
  gap: 8px;
  align-content: center;
}

.paid-option-actions .primary-button,
.paid-option-actions .secondary-button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-inline: 12px;
  line-height: 1.2;
}

.paid-option-disclosure {
  grid-area: disclosure;
  margin: 0;
  padding-top: 11px;
  color: var(--muted);
  border-top: 1px solid #eadfc9;
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-paid-action {
  margin-top: 18px;
}

.offer-paid-action {
  margin: 14px 0 4px;
}

.offer-page-layout > section > .offer-paid-action {
  order: 9;
}

.offer-grid > .offer-paid-action.is-results-card-placement {
  grid-column: 1 / -1;
}

.guide-paid-panel {
  margin: 22px 0 4px;
}

@media (max-width: 760px) {
  .paid-option-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "actions"
      "disclosure";
    gap: 12px;
    padding: 16px;
  }

  .paid-option-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .paid-option-card {
    padding: 14px;
  }

  .paid-option-card h2,
  .paid-option-card h3 {
    font-size: 1.18rem;
  }

  .paid-option-actions {
    grid-template-columns: 1fr;
  }

  .guide-paid-panel .paid-option-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paid-option-disclosure {
    font-size: 0.78rem;
  }
}

.site-main > [data-track-section="home_comparison_checks"] {
  padding-top: clamp(20px, 3vw, 36px);
}

/* ===== CATEGORY GRID ===== */

.category-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.guide-card,
.action-card,
.offer-card,
.filter-panel,
.saved-panel,
.detail-summary,
.facts-panel,
.match-panel,
.suggest-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-card {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 20px;
  color: var(--ink);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.category-card:hover {
  border-color: #9ecfc9;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
}

.category-card span,
.guide-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 10px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
}

.category-card .category-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  margin-bottom: 2px;
  padding: 0;
  color: var(--teal);
  background: var(--mint);
  border: 1px solid #cde7e1;
  border-radius: var(--radius);
}

.category-card .category-icon svg {
  width: 23px;
  height: 23px;
}

.category-card strong {
  font-size: 1.18rem;
  letter-spacing: 0;
}

.category-card p,
.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.category-card small {
  align-self: end;
  color: var(--green);
  font-weight: 800;
  font-size: 0.84rem;
}

/* ===== OFFER GRID ===== */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Reserve approximate space for the JS-injected homepage grids only while they
   are still empty, so slow connections don't see the sections below jump when
   cards inject (same CLS guard as .hero-offer-list). No effect once filled. */
#featuredOffers:empty {
  min-height: 380px;
}

#categoryGrid:empty {
  min-height: 280px;
}

#guidesGrid:empty {
  min-height: 240px;
}

.offer-grid.is-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compensation-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.catalog-freshness {
  margin: -6px 0 14px;
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-catalog-activity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  line-height: 1.6;
}

.home-catalog-activity a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-catalog-activity time {
  white-space: nowrap;
  font-weight: 500;
}

@media (max-width: 600px) {
  .hero:has(#homeCatalogActivity:not([hidden])) {
    padding-top: 8px;
  }

  .home-catalog-activity {
    margin-bottom: 0;
    font-size: 0.8rem;
  }
}

.update-offer-context {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
}

.comparison-standard {
  margin: 0 0 14px;
  padding: 12px 14px;
  color: var(--muted);
  background: #f6fbfa;
  border: 1px solid #d9ece8;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
}

.comparison-standard strong {
  color: var(--ink);
}

.comparison-standard a {
  color: var(--brand-2);
  font-weight: 760;
}

.catalog-notes {
  margin-top: 16px;
  padding: 10px 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.catalog-notes > summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
  list-style-position: inside;
}

.catalog-notes[open] > summary {
  margin-bottom: 12px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 0;
  overflow: visible;
  padding: 16px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.offer-card:hover {
  z-index: 40;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.offer-card:focus-within {
  z-index: 40;
}

.offer-card-deadline-urgent {
  border-color: #f0b4b4;
}

.offer-card-deadline-soon {
  border-color: #ead09a;
}

.offer-card-compact {
  min-height: 100%;
}

.offer-topline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.offer-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.offer-heading > div {
  min-width: 0;
}

.offer-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 8px 6px;
  padding: 2px 7px;
  color: #7a4a00;
  background: #fff7e7;
  border: 1px solid #efd4a1;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-tile {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  position: relative;
  overflow: hidden;
  color: #08336f;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%),
    linear-gradient(135deg, var(--teal), #1f5ea8);
  border: 1px solid rgba(8, 51, 111, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), var(--shadow-sm);
  font-weight: 850;
  font-size: 0.88rem;
  letter-spacing: 0;
  transition: opacity var(--transition);
}

.logo-tile::after {
  content: "";
  position: absolute;
  inset: auto 7px 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #1f5ea8);
  opacity: 0.72;
}

.logo-tile .logo-fallback {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.logo-tile-image {
  --logo-tile-padding: 5px;
  flex-basis: 64px;
  width: 64px;
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.logo-tile-image::after {
  content: none;
}

.logo-tile-image img {
  display: block;
  position: absolute;
  inset: var(--logo-tile-padding);
  width: calc(100% - (var(--logo-tile-padding) * 2));
  height: calc(100% - (var(--logo-tile-padding) * 2));
  object-fit: contain;
}

.logo-tile-image .logo-fallback {
  display: none;
}

.logo-tile-image.is-logo-failed img {
  display: none;
}

.logo-tile-image.is-logo-failed .logo-fallback {
  display: grid;
}

.logo-tile-wordmark {
  --logo-tile-padding: 6px;
  flex-basis: min(132px, 36vw);
  width: min(132px, 36vw);
  height: 52px;
}

.logo-tile:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-tile-large {
  flex-basis: 68px;
  width: 68px;
  height: 68px;
  font-size: 1.25rem;
}

.logo-tile-small {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
}

.logo-tile-large.logo-tile-image {
  --logo-tile-padding: 7px;
  flex-basis: 92px;
  width: 92px;
}

.logo-tile-large.logo-tile-wordmark {
  flex-basis: min(156px, 42vw);
  width: min(156px, 42vw);
  height: 76px;
}

.logo-tile-small.logo-tile-image {
  --logo-tile-padding: 3px;
  flex-basis: 34px;
  width: 34px;
}

.logo-tile-small.logo-tile-wordmark {
  flex-basis: 76px;
  width: 76px;
}

.offer-heading h2,
.offer-heading h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.offer-heading h2 a {
  color: var(--ink);
  transition: color var(--transition);
}

.offer-heading h2 a:hover {
  color: var(--teal-dark);
  text-decoration: none;
}

.offer-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.offer-benefits {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 11px 12px 10px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.048), rgba(255, 255, 255, 0.94) 58%, rgba(248, 252, 251, 0.82)),
    #fbfefd;
  border: 0;
  border-top: 1px solid rgba(83, 109, 122, 0.12);
  border-bottom: 1px solid rgba(83, 109, 122, 0.1);
  border-radius: 0;
  box-shadow:
    inset 2px 0 0 rgba(15, 118, 110, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.offer-core-facts span {
  display: block;
  color: var(--subtle);
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.16;
  text-transform: none;
  letter-spacing: 0;
}

.offer-benefit-summary-list,
.offers-table-benefit-list,
.detail-benefit-list {
  display: grid;
  gap: 6px;
  margin: 7px 0 0;
}

.offer-benefit-summary-list div,
.offers-table-benefit-list div,
.detail-benefit-list div {
  display: grid;
  grid-template-columns: minmax(72px, 0.42fr) minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  min-width: 0;
}

.offer-benefits .offer-benefit-summary-list div {
  grid-template-columns: 1fr;
  gap: 2px;
}

.offer-benefits .offer-benefit-summary-list,
.detail-key-benefits .detail-benefit-list {
  margin-top: 0;
}

.offer-value-timing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.offer-headline-value {
  min-width: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(49, 77, 82, 0.1);
}

.offer-value-pair + .offer-headline-value {
  padding: 7px 0 0;
  border-top: 1px solid rgba(49, 77, 82, 0.08);
  border-bottom: 0;
}

.offer-headline-value .offer-benefit-summary-list {
  gap: 5px;
}

.offer-headline-value .offer-benefit-summary-list div {
  gap: 2px;
}

.offer-headline-value .offer-benefit-summary-list dt {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 720;
}

.offer-headline-value .offer-benefit-summary-list dd,
.offer-headline-value .offer-benefit-summary-list div:first-child dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.offer-value-pair + .offer-headline-value .offer-benefit-summary-list dd,
.offer-value-pair + .offer-headline-value .offer-benefit-summary-list div:first-child dd {
  font-size: 0.9rem;
  font-weight: 780;
}

.offer-value-timing div {
  min-width: 0;
}

.offer-value-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
  align-items: start;
  padding-top: 0;
  border-top: 0;
}

.offer-value-pair > div {
  min-width: 0;
  padding: 0;
}

.offer-value-pair > .offer-value-fact {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: baseline;
  padding: 4px 0 7px;
  border-bottom: 1px solid rgba(49, 77, 82, 0.1);
}

.offer-value-pair > .offer-timing-fact,
.offer-value-pair > .offer-qualification-fact {
  display: grid;
  gap: 3px;
  padding-top: 7px;
}

.offer-value-pair > .offer-timing-fact {
  padding-right: 0;
  border-left: 0;
}

.offer-value-pair > .offer-qualification-fact {
  padding-left: 0;
  border-left: 0;
}

.offer-value-timing span {
  display: block;
  min-width: 0;
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.16;
  text-transform: none;
}

.offer-value-timing .offer-math-tooltip {
  display: inline-block;
  width: fit-content;
  border-bottom-color: transparent;
  box-shadow: none;
}

.offer-value-timing strong {
  display: block;
  margin-top: 3px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 830;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.offer-value-fact strong {
  color: var(--ink);
  margin-top: 0;
  font-size: 1.18rem;
  line-height: 1.08;
  text-align: right;
}

.offer-value-pair.offer-value-pair-supporting-estimate {
  grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.28fr);
  gap: 0 10px;
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-value-fact {
  grid-column: auto;
  grid-template-columns: 1fr;
  justify-content: stretch;
  gap: 2px;
  align-items: start;
  padding: 7px 0 1px;
  border-bottom: 0;
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-value-fact span {
  color: var(--subtle);
  font-size: 0.69rem;
  font-weight: 760;
  opacity: 1;
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-value-fact strong {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.14;
  text-align: left;
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-timing-fact {
  padding: 7px 0 1px 10px;
  border-left: 1px solid rgba(49, 77, 82, 0.1);
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-timing-fact strong {
  font-size: 0.9rem;
  line-height: 1.12;
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-qualification-fact {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 0 0;
  border-top: 1px solid rgba(49, 77, 82, 0.1);
  border-left: 0;
}

.offer-value-pair.offer-value-pair-supporting-estimate > .offer-qualification-fact strong {
  margin-top: 0;
  text-align: left;
}

.offer-timing-fact {
  text-align: left;
}

.offer-benefit-summary-list dt,
.offers-table-benefit-list dt,
.detail-benefit-list dt {
  position: relative;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0;
}

.offer-benefits .offer-benefit-summary-list dt {
  color: var(--subtle);
  font-size: 0.77rem;
  font-weight: 820;
  line-height: 1.16;
  text-transform: none;
  opacity: 1;
}

.offer-benefit-label {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  color: inherit;
  line-height: inherit;
}

.offer-math-tooltip {
  position: relative;
  border-bottom: 1px dotted rgba(49, 77, 82, 0.2);
  cursor: help;
  outline: none;
}

.offer-math-tooltip::after {
  position: absolute;
  z-index: 30;
  left: 0;
  bottom: calc(100% + 8px);
  width: min(270px, 72vw);
  padding: 8px 10px;
  color: #ffffff;
  background: #12343b;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translateY(3px);
  transition: opacity var(--transition), transform var(--transition);
  visibility: hidden;
}

.offer-math-tooltip::before {
  position: absolute;
  z-index: 31;
  left: 12px;
  bottom: calc(100% + 3px);
  width: 9px;
  height: 9px;
  background: #12343b;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg) translateY(3px);
  transition: opacity var(--transition), transform var(--transition);
  visibility: hidden;
}

.offer-math-tooltip:hover::after,
.offer-math-tooltip:focus::after,
.offer-math-tooltip:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.offer-math-tooltip:hover::before,
.offer-math-tooltip:focus::before,
.offer-math-tooltip:focus-visible::before {
  opacity: 1;
  transform: rotate(45deg) translateY(0);
  visibility: visible;
}

.offer-math-tooltip:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 861px) {
  .offer-math-tooltip::after {
    left: 50%;
    transform: translate(-50%, 3px);
  }

  .offer-math-tooltip::before {
    left: 50%;
    transform: translate(-50%, 3px) rotate(45deg);
  }

  .offer-math-tooltip:hover::after,
  .offer-math-tooltip:focus::after,
  .offer-math-tooltip:focus-visible::after {
    transform: translate(-50%, 0);
  }

  .offer-math-tooltip:hover::before,
  .offer-math-tooltip:focus::before,
  .offer-math-tooltip:focus-visible::before {
    transform: translate(-50%, 0) rotate(45deg);
  }
}

.offer-benefit-summary-list dd,
.offers-table-benefit-list dd,
.detail-benefit-list dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.22;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}

.offer-card .offer-benefit-summary-list dd,
.compare-grid .offer-benefit-summary-list dd {
  overflow-wrap: anywhere;
}

.offer-benefit-summary-list div:first-child dd {
  color: var(--teal-dark);
  font-size: 1rem;
  font-weight: 850;
}

.offer-benefits .offer-benefit-summary-list div:first-child dd {
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.2;
}

.offer-core-facts {
  display: grid;
  grid-template-areas:
    "fee application"
    "availability availability";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  padding: 2px 0 0;
}

.offer-core-facts div {
  min-width: 0;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(83, 109, 122, 0.11);
  border-radius: 0;
}

.offer-core-fact-fee {
  grid-area: fee;
}

.offer-core-fact-availability {
  grid-area: availability;
}

.offer-core-fact-application {
  grid-area: application;
  padding-left: 16px;
  border-left: 1px solid rgba(83, 109, 122, 0.1);
}

.offer-core-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.91rem;
  line-height: 1.18;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}

.offer-value-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
  font-size: 0.82rem;
  line-height: 1.3;
}

.offer-value-highlights span {
  min-width: 0;
}

.offer-value-highlights b {
  color: var(--ink);
  font-weight: 850;
}

.offer-benefit-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  align-items: start;
}

.offer-benefit-stack span {
  display: block;
  min-width: 0;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.offer-benefit-stack b {
  display: block;
  margin-bottom: 3px;
  color: var(--subtle);
  font-size: 0.7rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.offer-value-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.offer-value-detail-list span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  padding: 5px 8px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
  font-size: 0.78rem;
  line-height: 1.25;
}

.offer-value-detail-list b {
  color: var(--ink);
}

.offer-secondary {
  border-top: 1px solid var(--line);
  /* Pin the disclosure + action footer to the bottom of the card. The card is a
     flex column stretched to the grid row height, so margin-top:auto absorbs the
     uneven space left by cards with more/less benefit and availability text,
     keeping the CTAs (and the divider above them) aligned across every card in a
     row. Degrades to a normal 0 margin when the card isn't stretched. */
  margin-top: auto;
}

.offer-secondary > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 2px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
  transition: color var(--transition);
}

.offer-secondary > summary::-webkit-details-marker {
  display: none;
}

.offer-secondary > summary:hover,
.offer-secondary[open] > summary {
  color: var(--teal-dark);
}

.offer-secondary-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition);
}

.offer-secondary[open] .offer-secondary-chevron {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.offer-secondary-body {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  padding-bottom: 6px;
}

.offer-comparison-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(min-content, 1fr));
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.offer-decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(min-content, 1fr));
  gap: 8px;
}

.offer-card-checks {
  display: grid;
  gap: 6px;
  padding: 9px 2px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(83, 109, 122, 0.12);
  border-radius: 0;
}

.offer-card-checks-heading {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.16;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.92;
}

.offer-card-checks .offer-decision-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.offer-comparison-fact {
  min-width: 0;
}

.offer-decision-fact {
  min-width: 0;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.offer-card-checks .offer-decision-fact {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.offer-comparison-fact span {
  display: block;
  min-height: 22px;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.offer-decision-fact span {
  display: block;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.offer-card-checks .offer-decision-fact span {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.16;
  min-height: 15px;
  text-transform: none;
}

.offer-comparison-fact strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}

.metrics-grid {
  display: grid;
  grid-template-columns: minmax(min-content, 0.85fr) minmax(min-content, 1.35fr) minmax(min-content, 0.9fr);
  gap: 8px;
}

.metrics-grid div {
  min-width: 0;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.metrics-grid span {
  display: block;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.metrics-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.17;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}

.offer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.mini-facts {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.offer-card-context {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.quick-views {
  display: grid;
  grid-template-columns: minmax(108px, 0.16fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 6px 0 8px;
  padding: 7px;
  background: #ffffff;
  border: 1px solid #d9ece8;
  border-radius: var(--radius);
}

.quick-view-heading {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 4px 2px;
}

.quick-view-heading span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.quick-view-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 5px;
  min-width: 0;
}

.quick-view-button {
  display: inline-grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-content: center;
  gap: 3px;
  min-height: 42px;
  min-width: 0;
  padding: 5px 8px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.quick-view-button span,
.quick-view-button small {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-view-button small {
  padding: 0;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.quick-view-button:hover,
.quick-view-button.is-active {
  color: var(--teal-dark);
  background: var(--mint);
  border-color: rgba(15, 118, 110, 0.34);
}

.quick-view-button:hover small,
.quick-view-button.is-active small {
  color: var(--teal-dark);
}

.filter-reset-button {
  width: 100%;
  margin-top: 2px;
}

.active-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0 0 12px;
  padding: 10px 0;
  border-top: 1px solid #e6ecf2;
  border-bottom: 1px solid #e6ecf2;
}

.active-filter-bar[hidden] {
  display: none;
}

.active-filter-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.active-filter-chips {
  display: flex;
  flex: 1 1 260px;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd7e3;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.1;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.active-filter-chip:hover {
  color: var(--teal-dark);
  background: var(--mint);
  border-color: rgba(15, 118, 110, 0.34);
}

.active-filter-chip span,
.active-filter-chip strong {
  min-width: 0;
}

.active-filter-chip span {
  color: var(--muted);
  font-weight: 800;
}

.active-filter-chip span::after {
  content: ":";
  margin-right: 5px;
}

.active-filter-chip strong {
  max-width: 210px;
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-filter-chip::after {
  content: "x";
  margin-left: 8px;
  color: var(--subtle);
  font-weight: 900;
}

.empty-results-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.offer-results-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  margin: 0 0 12px;
}

.offer-results-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin: 0 0 8px;
}

.offer-results-nav .category-tabs,
.offer-results-nav .offer-results-toolbar {
  margin: 0;
}

.offer-results-nav .category-tabs {
  flex-wrap: nowrap;
  order: 1;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.offer-results-nav .category-tabs a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.offer-results-nav .category-tabs::after {
  content: "";
  flex: 0 0 var(--category-rail-end-space, 0px);
}

.offer-results-nav .offer-results-toolbar {
  order: 2;
}

.offer-results-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offer-results-progress[hidden] {
  display: none;
}

.offer-results-progress-status {
  margin: 0;
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 760;
}

.offer-results-progress .secondary-button {
  min-height: 40px;
}

.offer-view-toggle {
  flex: 0 0 auto;
}

.offer-table-host {
  min-width: 0;
}

.offers-table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offers-table {
  width: 100%;
  min-width: 1220px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
}

.offers-table-col-provider {
  width: 210px;
}

.offers-table-col-value {
  width: 280px;
}

.offers-table-col-requirement {
  width: 225px;
}

.offers-table-col-fee {
  width: 110px;
}

.offers-table-col-availability {
  width: 150px;
}

.offers-table-col-deadline {
  width: 135px;
}

.offers-table-col-actions {
  width: 110px;
}

.offers-table th,
.offers-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #e6ecf2;
  border-right: 1px solid #eef1f5;
  text-align: left;
  vertical-align: top;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.offers-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--subtle);
  background: #f3f7fa;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.offers-table tr:last-child td {
  border-bottom: 0;
}

.offers-table th:first-child,
.offers-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #ffffff;
}

.offers-table th:first-child {
  z-index: 3;
  background: #f3f7fa;
}

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

.offers-table tbody tr:nth-child(even) td:first-child {
  background: #fcfdff;
}

.offers-table-provider {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.offers-table-provider .logo-tile {
  margin-top: 1px;
}

.offers-table-provider div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.offers-table-provider-link {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.2;
}

.offers-table-provider span,
.offers-table-provider small,
.offers-table-muted {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.offers-table-provider small {
  color: var(--subtle);
  font-weight: 750;
}

.offers-table-provider-source {
  padding-top: 2px;
}

.offers-table-bonus {
  width: 260px;
  min-width: 260px;
}

.offers-table-benefit-list div {
  grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
}

.offers-table-benefit-list dt {
  padding-top: 1px;
}

.offers-table-bonus strong {
  display: block;
  color: var(--teal-dark);
  font-size: 0.98rem;
  line-height: 1.25;
}

.offers-table-value-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.offers-table-value-meta span {
  display: grid;
  align-items: start;
  gap: 2px;
  min-width: 0;
  padding: 6px 7px;
  color: var(--muted);
  background: #f6fbfa;
  border: 1px solid #d9ece8;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.15;
}

.offers-table-value-meta b {
  color: var(--teal-dark);
  font-weight: 850;
}

.offers-table-value-meta strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.18;
}

.offers-table td:nth-child(3) {
  min-width: 220px;
}

.offers-table td:nth-child(5) {
  min-width: 170px;
}

.offers-table td:nth-child(6) {
  min-width: 150px;
}

.offers-table-actions {
  display: grid;
  gap: 6px;
  min-width: 126px;
}

.offers-table-actions .primary-button,
.offers-table-actions .secondary-button,
.offers-table-actions .icon-button {
  width: 100%;
  min-height: 34px;
  min-width: 0;
  padding: 0 10px;
  font-size: 0.82rem;
}

.offer-insights,
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.offer-insights div,
.verdict-grid div {
  min-width: 0;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.offer-insights span,
.verdict-grid span {
  display: block;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.offer-insights strong,
.verdict-grid strong {
  display: block;
  margin-top: 3px;
  line-height: 1.18;
}

.detail-decision-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.detail-decision-summary-card {
  min-width: 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
}

.detail-decision-summary-card span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.detail-decision-summary-card ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.detail-decision-summary-card li {
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.detail-verdict-facts {
  margin-top: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  color: var(--blue);
  background: #ffffff;
  border-color: #cbd7e3;
  font-size: 0.8rem;
  font-weight: 780;
}

/* ===== BUTTONS ===== */

.offer-actions,
.detail-actions,
.form-actions,
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.offer-actions .primary-button {
  order: 0;
}

.offer-actions .secondary-button,
.offer-actions .icon-button {
  order: 1;
}

.offer-card .offer-actions .secondary-button,
.offer-card .offer-actions .icon-button {
  padding-inline: 8px;
  font-size: 0.94rem;
  line-height: 1.1;
  white-space: nowrap;
}

/* Keep the official outbound action visually primary while Details and saved-compare
   controls sit below as secondary actions. */
@media (min-width: 561px) {
  .offer-actions .secondary-button,
  .offer-actions .icon-button {
    flex: 1 1 0;
    min-width: 0;
  }

  .offer-actions .primary-button {
    flex: 1 0 100%;
  }
}

.primary-button,
.secondary-button,
.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition), border-color var(--transition), color var(--transition);
}

.primary-button {
  min-width: 128px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f8079 0%, var(--teal) 40%, #0e6886 100%);
  border: 1px solid var(--teal);
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.22), 0 4px 12px rgba(15, 118, 110, 0.12);
}

.primary-button:hover {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #0d6678 100%);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.32), 0 6px 18px rgba(15, 118, 110, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.primary-button.is-disabled,
.primary-button:disabled {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: #566575;
  background-image: none;
  border-color: #566575;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
  transform: none;
  transition: none;
}

.secondary-button,
.icon-button {
  min-width: 92px;
  padding: 0 14px;
  color: var(--teal-dark);
  background: #ffffff;
  border: 1px solid var(--line);
}

.secondary-button:hover,
.icon-button:hover {
  border-color: #9ecfc9;
  background: var(--mint);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.content-page .detail-actions .primary-button,
.content-page .detail-actions .secondary-button {
  display: inline-block;
  padding-block: 10px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 641px) {
  .content-page .detail-actions .primary-button,
  .content-page .detail-actions .secondary-button {
    min-width: max-content;
    white-space: nowrap;
    word-spacing: 0.12em;
  }
}

@media (max-width: 640px) {
  .content-page .guide-link-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .content-page .detail-actions .primary-button,
  .content-page .detail-actions .secondary-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.95rem;
  }

  .content-page .guide-link-actions .primary-button,
  .content-page .guide-link-actions .secondary-button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .content-page .detail-actions .primary-button,
  .content-page .detail-actions .secondary-button {
    padding-inline: 8px;
    font-size: 0.9rem;
  }
}

.text-button {
  min-height: auto;
  padding: 0;
  color: var(--blue);
  background: transparent;
  overflow-wrap: normal;
  white-space: nowrap;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button.active-filter-reset {
  min-height: 36px;
  margin-left: auto;
  padding: 6px 0;
  white-space: nowrap;
}

.text-button:disabled,
.secondary-button:disabled,
.icon-button:disabled {
  color: #9aa3ae;
  cursor: not-allowed;
  transform: none;
}

/* ===== FEEDBACK LAUNCHER ===== */

.feedback-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: calc(100vw - 32px);
  padding: 0 16px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #bdded8;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px rgba(23, 32, 45, 0.12), 0 1px 4px rgba(23, 32, 45, 0.06);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition), visibility var(--transition);
}

.feedback-launcher:hover {
  background: var(--mint);
  box-shadow: 0 6px 24px rgba(23, 32, 45, 0.15), 0 2px 6px rgba(23, 32, 45, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.feedback-launcher.is-hidden,
.feedback-launcher.is-obstructing {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.feedback-launcher.is-obstructing {
  transition: none;
}

/* ===== GUIDE CARDS ===== */

.guide-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: var(--ink);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.guide-card:hover {
  border-color: #9ecfc9;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
}

.guide-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

/* ===== ARTICLE GRID ===== */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 22px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.article-card:hover {
  border-color: #9ecfc9;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
}

.article-card.is-featured {
  grid-column: span 2;
  background: var(--cream);
  border-color: #eed5a1;
}

.article-card.is-featured:hover {
  border-color: #d4b77a;
}

.article-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 10px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
}

.article-card h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ===== GLOSSARY ===== */

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.glossary-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glossary-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.glossary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.glossary-aliases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.glossary-aliases span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 750;
}

.glossary-card .glossary-source {
  align-self: end;
  color: var(--subtle);
  font-size: 0.82rem;
}

/* ===== TOOL LAYOUT ===== */

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 48px;
}

.tool-panel,
.tool-results {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool-results > div,
.calculator-result-grid > div {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.calculator-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.calculator-fieldset legend {
  margin: 0 0 10px;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.calculator-summary {
  background: var(--mint);
  border-color: rgba(15, 118, 110, 0.28);
}

.calculator-breakdown {
  display: grid;
  gap: 10px;
}

.calculator-breakdown dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.calculator-breakdown dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3eaf0;
}

.calculator-breakdown dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.calculator-breakdown dt {
  min-width: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
}

.calculator-breakdown dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calculator-breakdown dl div:last-child dt,
.calculator-breakdown dl div:last-child dd {
  color: var(--teal-dark);
}

.calculator-inline-summary {
  display: none;
  padding: 14px;
  background: var(--mint);
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: var(--radius);
}

.calculator-result-grid {
  display: grid;
  gap: 12px;
}

.tool-results span {
  display: block;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tool-results strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.calculator-summary span,
.calculator-inline-summary span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.calculator-summary strong,
.calculator-inline-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: 1.8rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.calculator-summary small,
.calculator-inline-summary small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.calculator-input-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.5;
}

/* ===== ACTION CALLOUT ===== */

.action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.action-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.action-card .hero-actions {
  justify-content: flex-end;
}

/* ===== FORMS ===== */

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea {
  min-height: 126px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.5);
  outline-offset: 2px;
}

.form-message {
  min-height: 20px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 750;
}

.form-note {
  margin: 0;
  padding: 11px 12px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== PAGE HERO ===== */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 56px) 22px;
}

.page-hero:has(> .action-card) {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.page-hero h1 {
  max-width: 820px;
  font-size: 2.9rem;
}

.page-hero > .action-card {
  grid-template-columns: 1fr;
  justify-self: end;
  width: min(100%, 440px);
  gap: 12px;
}

.page-hero > .action-card .hero-actions {
  justify-content: flex-start;
}

.result-pill {
  display: grid;
  place-items: center;
  min-width: 132px;
  min-height: 76px;
  padding: 10px;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid #bdded8;
  border-radius: var(--radius);
}

.result-pill strong {
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.result-pill span {
  color: var(--muted);
  font-size: 0.82rem;
}

.page-hero-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: stretch;
  gap: 10px;
}

.page-hero-tools .secondary-button {
  min-height: 76px;
  min-width: 128px;
  padding-inline: 16px;
}

@media (min-width: 861px) {
  .site-main[data-offer-page] .page-hero {
    gap: 18px;
    padding-top: 38px;
    padding-bottom: 18px;
  }

  .site-main[data-offer-page] .page-hero h1 {
    font-size: 2.9rem;
    line-height: 1.06;
  }

  .site-main[data-offer-page] .result-pill,
  .site-main[data-offer-page] .page-hero-tools .secondary-button {
    min-height: 64px;
  }

}

@media (min-width: 1180px) {
  .site-main[data-offer-page] .page-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1201px) {
  .site-main[data-category="business"] .page-hero .hero-actions {
    display: none;
  }
}

@media (min-width: 861px) and (max-width: 1200px) {
  .site-main[data-category="business"] .page-hero h1 {
    font-size: 2.72rem;
  }

  .site-main[data-category="business"] .page-hero .intro-copy {
    margin-top: 10px;
    line-height: 1.45;
  }

  .site-main[data-category="business"] .page-hero .hero-actions {
    margin-top: 12px;
  }

  .site-main[data-category="business"] .page-hero .hero-actions .secondary-button {
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (min-width: 861px) and (max-width: 1040px) {
  .site-main[data-offer-page] .page-hero h1 {
    font-size: 2.55rem;
  }

  .site-main[data-offer-page] .page-hero-tools .secondary-button[href="#offerGrid"] {
    display: none;
  }

}

/* ===== DECISION PAGES ===== */

.decision-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 48px;
}

.decision-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.decision-panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.decision-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.decision-filter-links {
  display: grid;
  gap: 8px;
}

.decision-filter-links .secondary-button {
  width: 100%;
}

.decision-results {
  min-width: 0;
}

.decision-support {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0 0 14px;
}

.decision-support > summary {
  display: none;
}

.decision-support-body {
  display: grid;
  gap: 0;
  min-width: 0;
}

.decision-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.decision-metrics div {
  min-width: 0;
  padding: 12px;
  background: #f7fbfa;
  border: 1px solid #dcece8;
  border-radius: var(--radius);
}

.decision-metrics strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.decision-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.decision-checks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.decision-check-card {
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.decision-check-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.decision-check-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.decision-check-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

/* ===== OFFER PAGE LAYOUT ===== */

.offer-page-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 48px;
}

.offer-page-layout > section {
  min-width: 0;
}

.filter-column {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.filter-panel,
.saved-panel-wrap {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.filter-panel,
.filter-panel-body,
.filter-panel .field-stack {
  min-width: 0;
}

.filter-panel,
.filter-panel-body {
  grid-template-columns: minmax(0, 1fr);
}

.filter-panel h2,
.saved-panel-wrap h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
}

.filter-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.filter-panel-body {
  display: grid;
  gap: 14px;
}

.offer-set-checks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.offer-set-check-card {
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offer-set-check-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.offer-set-check-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.offer-set-check-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.filter-toggle {
  display: none;
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid #bdded8;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.filter-toggle:hover {
  background: #d8eeeb;
  border-color: #9ecfc9;
}

.field-stack {
  display: grid;
  gap: 7px;
}

.field-stack.is-disabled {
  opacity: 0.56;
}

.field-stack label,
.field-stack span,
.checkbox-row {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field-hint {
  display: block;
  margin-top: -2px;
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

.checkbox-row {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
  margin-top: 0;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.9rem;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.category-tabs a svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.category-tabs a:hover {
  border-color: #9ecfc9;
  color: var(--teal-dark);
  background: var(--mint);
  text-decoration: none;
}

.category-tabs a.is-active {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(15, 118, 110, 0.28), 0 3px 10px rgba(15, 118, 110, 0.12);
}

.saved-panel {
  display: grid;
  gap: 10px;
}

.saved-panel-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.saved-list {
  display: grid;
  gap: 8px;
}

.saved-panel-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.empty-state,
.empty-results p {
  margin: 0;
  color: var(--muted);
}

.saved-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

.saved-row:hover {
  border-color: #9ecfc9;
  background: #f0faf8;
}

.saved-row-main {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
}

.saved-row-main:hover {
  text-decoration: none;
}

.saved-row-provider {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
}

.saved-row strong,
.saved-row-main strong {
  color: var(--green);
  font-size: 0.9rem;
  line-height: 1.2;
}

.saved-row-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.saved-row-facts div {
  min-width: 0;
  padding: 7px;
  background: #ffffff;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius-sm);
}

.saved-row-facts dt,
.saved-row-facts dd {
  margin: 0;
}

.saved-row-facts dt {
  color: var(--subtle);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.saved-row-facts dd {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.saved-row-remove {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.saved-row-remove:hover {
  color: var(--rose);
  background: #ffffff;
  border-color: #e6ccd2;
}

.compare-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.9rem;
}

.compare-box {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* ===== TABLE ===== */

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid #e6ecf2;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

td {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 40px 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.empty-results strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.category-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 12px 0 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-guidance h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.98rem;
}

.category-guidance ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-guidance li {
  padding: 4px 8px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
}

.category-guidance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (min-width: 1201px) {
  .site-main[data-category="business"] .category-guidance,
  .site-main[data-category="high-interest"] .category-guidance {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin: 10px 0;
    padding: 12px 14px;
  }

  .site-main[data-category="business"] .category-guidance > div:first-child,
  .site-main[data-category="high-interest"] .category-guidance > div:first-child {
    display: grid;
    grid-template-columns: minmax(180px, max-content) minmax(0, 1fr);
    gap: 7px 12px;
    align-items: center;
  }

  .site-main[data-category="business"] .category-guidance h2,
  .site-main[data-category="high-interest"] .category-guidance h2 {
    margin: 0;
    font-size: 0.94rem;
  }

  .site-main[data-category="business"] .category-guidance ul,
  .site-main[data-category="high-interest"] .category-guidance ul {
    gap: 5px;
  }

  .site-main[data-category="business"] .category-guidance li,
  .site-main[data-category="high-interest"] .category-guidance li {
    padding: 3px 7px;
    font-size: 0.75rem;
  }

  .site-main[data-category="business"] .category-guidance-links,
  .site-main[data-category="high-interest"] .category-guidance-links {
    justify-content: flex-start;
    gap: 10px;
  }
}

@media (min-width: 1121px) {
  .site-main[data-offer-page] .category-guidance {
    gap: 10px;
    margin: 6px 0;
    padding: 9px 12px;
  }

  .site-main[data-offer-page] .category-guidance h2 {
    margin-bottom: 5px;
    font-size: 0.94rem;
    line-height: 1.18;
  }

  .site-main[data-offer-page] .category-guidance ul {
    gap: 4px 5px;
  }

  .site-main[data-offer-page] .category-guidance li {
    padding: 3px 7px;
    font-size: 0.74rem;
    line-height: 1.12;
  }

  .site-main[data-offer-page] .category-guidance-links {
    gap: 6px;
  }

  .site-main[data-offer-page] .quick-views {
    grid-template-columns: minmax(98px, 0.14fr) minmax(0, 1fr);
    gap: 6px;
    margin: 3px 0 5px;
    padding: 5px;
  }

  .site-main[data-offer-page] .quick-view-heading {
    padding: 3px 1px;
  }

  .site-main[data-offer-page] .quick-view-heading span {
    font-size: 0.68rem;
  }

  .site-main[data-offer-page] .quick-view-list {
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 4px;
  }

  .site-main[data-offer-page] .quick-view-button {
    min-height: 36px;
    padding: 4px 7px;
    font-size: 0.74rem;
  }

  .site-main[data-offer-page] .quick-view-button small {
    font-size: 0.66rem;
  }

  .site-main[data-offer-page] .offer-results-nav {
    gap: 8px;
    margin-bottom: 6px;
  }
}

@media (min-width: 861px) {
  .site-main[data-offer-page] .quick-views {
    grid-template-columns: minmax(94px, max-content) minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    margin: 3px 0 5px;
    padding: 5px;
  }

  .site-main[data-offer-page] .quick-view-heading {
    padding: 2px 1px;
  }

  .site-main[data-offer-page] .quick-view-heading span {
    font-size: 0.66rem;
  }

  .site-main[data-offer-page] .quick-view-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding-right: 28px;
    padding-bottom: 2px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 28px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.36) calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.36) calc(100% - 12px), transparent 100%);
  }

  .site-main[data-offer-page] .quick-view-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 98px;
    max-width: 138px;
    min-height: 38px;
    padding: 4px 8px;
    gap: 2px;
    font-size: 0.72rem;
    scroll-snap-align: start;
  }

  .site-main[data-offer-page] .quick-view-button small {
    display: block;
    font-size: 0.62rem;
  }

}

@media (min-width: 1121px) and (max-width: 1200px) {
  .offer-page-layout > section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-page-layout > section > .compensation-note {
    order: 1;
  }

  .offer-page-layout > section > .comparison-standard {
    order: 2;
  }

  .offer-page-layout > section > .quick-views {
    order: 3;
  }

  .offer-page-layout > section > .active-filter-bar {
    order: 5;
  }

  .offer-page-layout > section > .offer-results-nav,
  .offer-page-layout > section > .offer-results-toolbar {
    order: 6;
  }

  .offer-page-layout > section > .category-tabs {
    order: 7;
  }

  .offer-page-layout > section > .offer-grid,
  .offer-page-layout > section > .offer-table-host {
    order: 8;
  }

  .offer-page-layout > section > .offer-results-progress {
    order: 9;
  }

  .offer-page-layout > section > .catalog-notes {
    order: 10;
  }

  .offer-page-layout > section > .category-guidance {
    order: 11;
    margin-top: 0;
  }
}

/* ===== STATUS BANNER ===== */

.status-banner {
  display: grid;
  gap: 4px;
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 14px 16px;
  color: #6c3d00;
  background: var(--cream);
  border: 1px solid #efd4a1;
  border-radius: var(--radius);
}

.status-banner strong {
  color: #5b3300;
}

.status-banner span {
  color: #6c4d1f;
}

/* ===== DETAIL HERO ===== */

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 56px) 24px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--teal-dark);
  text-decoration: none;
}

.detail-title-row {
  align-items: center;
}

.detail-heading {
  min-width: 0;
}

.detail-title-row > :not(.logo-tile) {
  min-width: 0;
}

.detail-heading h1 {
  font-size: 2.9rem;
  max-width: 22ch;
}

.detail-summary {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.detail-summary .detail-actions {
  order: 2;
}

.detail-summary .compensation-note {
  order: 3;
}

.paid-action-context {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 11px 12px;
  background: #fffdf8;
  border: 1px solid #eadfc9;
  border-radius: 9px;
}

.detail-summary .paid-action-context {
  margin: 0;
}

.paid-action-context p {
  margin: 0;
}

.paid-action-disclosure {
  color: #68430d;
  font-weight: 780;
}

.paid-action-context a {
  color: var(--teal-dark);
  font-weight: 800;
}

.detail-summary .detail-support {
  order: 4;
}

.detail-summary .fine-print {
  order: 6;
}

.detail-key-benefits {
  display: grid;
  order: 1;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(244, 251, 248, 0.96), rgba(235, 248, 244, 0.94));
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: var(--radius);
}

.detail-value-panel-label {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.detail-value-timing {
  display: grid;
  gap: 8px;
}

.detail-value-core {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.detail-value-core .detail-benefit-list {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
}

.detail-value-core .detail-benefit-list div {
  grid-template-columns: 1fr;
  gap: 3px;
}

.detail-value-pair {
  display: grid;
  grid-template-columns: minmax(96px, 0.9fr) minmax(82px, 0.72fr) minmax(0, 1.18fr);
  gap: 0;
  align-items: start;
}

.detail-value-item {
  min-width: 0;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.detail-value-pair > div:first-child {
  padding-left: 0;
}

.detail-value-pair > div:last-child {
  padding-right: 0;
}

.detail-value-pair > div + div {
  border-left: 1px solid rgba(15, 118, 110, 0.15);
}

.detail-estimate-fact strong {
  color: var(--teal-dark);
}

.detail-timing-fact {
  text-align: left;
}

.detail-value-core .detail-value-item {
  background: transparent;
}

.detail-value-timing span {
  display: block;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.detail-value-timing strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: minmax(116px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.source-check-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e1e8ee;
  border-radius: 8px;
}

.source-check-card strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.source-check-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.source-check-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.source-check-date time {
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.source-check-card a {
  width: fit-content;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-support {
  display: grid;
  gap: 10px;
}

.detail-support > summary {
  display: none;
}

.detail-support-body {
  display: grid;
  gap: 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 54px;
}

.detail-section-jump {
  display: none;
}

.detail-main {
  display: grid;
  gap: 14px;
}

.detail-main section {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.verdict-panel {
  padding: 22px;
  background: var(--mint);
  border: 1px solid #bdded8;
  border-radius: var(--radius);
}

.detail-verdict {
  margin-top: 24px;
}

.detail-verify-first {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.detail-verify-first-heading {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.detail-verify-first-heading span {
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.detail-verify-first-heading strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.detail-verify-first ul {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding-left: 18px;
}

.detail-verify-first li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.verdict-panel h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.verdict-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.detail-main .verdict-panel {
  border-color: #bdded8;
}

.detail-main h2,
.facts-panel h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.detail-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.decision-facts {
  gap: 8px;
}

.decision-facts div {
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.decision-facts div:first-child {
  padding-top: 0;
  border-top: 0;
}

.decision-facts dd {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.facts-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.facts-panel::-webkit-scrollbar {
  width: 6px;
}

.facts-panel::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.facts-panel::-webkit-scrollbar-thumb:hover {
  background: #c6d1db;
}

.detail-toc {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.detail-toc h2 {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.detail-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-toc a {
  display: block;
  padding: 5px 8px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.detail-toc a:hover,
.detail-toc a:focus-visible,
.detail-toc a[aria-current="true"] {
  color: var(--teal-dark);
  background: var(--mint);
}

.risk-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.education-card {
  min-width: 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.education-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.96rem;
  letter-spacing: 0;
}

.education-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.product-intelligence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.product-intelligence-grid article {
  min-width: 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.product-intelligence-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.96rem;
}

.product-intelligence-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-intelligence-grid li {
  display: grid;
  gap: 4px;
}

.product-intelligence-grid strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.product-intelligence-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-intelligence-grid small {
  color: var(--subtle);
  font-size: 0.76rem;
}

.product-intelligence-meta {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.product-intelligence-meta p {
  color: var(--subtle);
  font-size: 0.84rem;
}

.value-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.value-highlight-grid article {
  min-width: 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.value-highlight-grid span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.value-highlight-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.value-highlight-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.value-highlight-grid small {
  display: block;
  margin-top: 8px;
  color: var(--subtle);
  font-size: 0.78rem;
  line-height: 1.35;
}

.term-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.term-chip-row > span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 750;
}

.term-chip-row .glossary-term {
  color: var(--teal-dark);
}

.product-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.product-note-card {
  min-width: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.product-note-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.96rem;
  letter-spacing: 0;
}

.product-note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.glossary-term {
  position: relative;
  display: inline;
  border-bottom: 1px dotted currentColor;
  color: var(--ink);
  cursor: help;
  font-weight: 650;
}

.glossary-term::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 20;
  display: none;
  width: min(280px, 78vw);
  padding: 10px 12px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  color: #fff;
  content: attr(data-definition) " Source: " attr(data-source) ".";
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  visibility: hidden;
}

.glossary-term:hover::after,
.glossary-term:focus::after,
.glossary-term:focus-visible::after {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.glossary-term[data-tooltip-align="left"]::after {
  left: 0;
  transform: translate(0, 4px);
}

.glossary-term[data-tooltip-align="left"]:hover::after,
.glossary-term[data-tooltip-align="left"]:focus::after,
.glossary-term[data-tooltip-align="left"]:focus-visible::after {
  transform: translate(0, 0);
}

.glossary-term[data-tooltip-align="right"]::after {
  right: 0;
  left: auto;
  transform: translate(0, 4px);
}

.glossary-term[data-tooltip-align="right"]:hover::after,
.glossary-term[data-tooltip-align="right"]:focus::after,
.glossary-term[data-tooltip-align="right"]:focus-visible::after {
  transform: translate(0, 0);
}

.glossary-term:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.verify-grid div {
  min-width: 0;
  padding: 11px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.verify-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.verify-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

/* ===== CONTENT PAGES ===== */

.content-page {
  width: min(900px, 100% - 32px);
  margin: clamp(24px, 4vw, 48px) auto;
  padding: clamp(28px, 4vw, 52px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.content-page.narrow {
  width: min(760px, 100% - 32px);
}

.content-page.reviewer-page {
  width: min(1050px, 100% - 32px);
  margin: clamp(18px, 3vw, 34px) auto;
  padding-block: clamp(28px, 4vw, 52px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.content-page.reviewer-page > section {
  padding: 22px 0;
  background: transparent;
}

.content-page h1 {
  margin-bottom: 24px;
  font-size: 2.9rem;
}

.content-page.reviewer-page h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 3.15rem;
  line-height: 1.08;
}

.content-page.reviewer-page > .intro-copy {
  max-width: 760px;
  margin-top: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.reviewer-hero-actions {
  max-width: 560px;
  margin-top: 20px;
}

.reviewer-hero-note {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.5;
}

.content-page section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.content-page h2 {
  margin: 0 0 12px;
}

.content-page p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-route-grid,
.suggest-guidance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-route-grid a,
.suggest-guidance div {
  min-width: 0;
  padding: 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-route-grid a:hover {
  background: #f7fcfb;
  border-color: #b7d8d2;
  text-decoration: none;
}

.contact-route-grid span,
.suggest-guidance span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-route-grid strong,
.suggest-guidance strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.contact-route-grid small,
.suggest-guidance small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.suggest-guidance {
  margin-bottom: 18px;
}

.suggest-guidance a {
  color: var(--teal-dark);
  font-weight: 800;
}

.reviewer-snapshot {
  padding-top: 28px;
}

.reviewer-quick-facts {
  padding-top: 28px;
}

.reviewer-quick-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.reviewer-quick-fact-grid div {
  min-width: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.reviewer-quick-fact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.reviewer-quick-fact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.reviewer-quick-fact-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.reviewer-quick-fact-grid a {
  color: var(--teal-dark);
}

.reviewer-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.reviewer-snapshot-grid div {
  min-width: 0;
  padding-top: 14px;
  border-top: 3px solid var(--teal);
}

.reviewer-snapshot-grid span,
.reviewer-check-list li::marker {
  color: var(--teal-dark);
}

.reviewer-snapshot-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}

.reviewer-snapshot-grid strong {
  display: block;
  color: var(--ink);
  font-size: 2.05rem;
  line-height: 1;
}

.reviewer-snapshot-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.reviewer-check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.reviewer-check-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reviewer-check-list li {
  min-width: 0;
}

.reviewer-path,
.reviewer-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 14px;
  margin-top: 16px;
}

.reviewer-path a,
.reviewer-policy-grid div {
  min-width: 0;
  padding: 16px 0 0;
  color: var(--ink);
  border-top: 2px solid var(--line);
}

.reviewer-path a:hover {
  border-color: var(--teal);
  text-decoration: none;
}

.reviewer-path span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.reviewer-path strong,
.reviewer-policy-grid h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.reviewer-path small,
.reviewer-policy-grid li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.reviewer-policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reviewer-policy-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.reviewer-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.reviewer-proof-grid.is-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviewer-proof-grid div {
  min-width: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.reviewer-proof-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.reviewer-proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.reviewer-proof-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.content-page.reviewer-page > .reviewer-contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  background: var(--mint);
  border: 1px solid #bdded8;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.reviewer-contact-cta h2,
.reviewer-contact-cta p,
.reviewer-contact-cta .hero-actions {
  margin: 0;
}

.reviewer-contact-cta p {
  max-width: 620px;
}

.reviewer-contact-cta .hero-actions {
  justify-content: flex-end;
}

.reviewer-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -2px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.reviewer-shortcuts span {
  margin-right: 2px;
  color: var(--ink);
  font-weight: 800;
}

.reviewer-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--teal-dark);
  background: #ffffff;
  border: 1px solid #cfe5de;
  border-radius: var(--radius);
  font-weight: 800;
}

.reviewer-shortcuts a:hover {
  background: var(--mint);
  text-decoration: none;
}

/* ===== UPDATES ===== */

.update-shell {
  display: grid;
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 56px;
}

.update-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.update-summary-grid div {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

.update-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.update-summary-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.offer-decision-fact strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}

/* ===== CATALOG INSIGHTS ===== */

.catalog-insights-shell {
  gap: 22px;
}

.catalog-scope-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  padding: 14px 16px;
  background: #f6fbfa;
  border: 1px solid #d9ece8;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
}

.catalog-scope-note strong {
  color: var(--ink);
}

.catalog-insight-section {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.catalog-insight-section h3 {
  margin: 0;
  font-size: 1.14rem;
}

.section-note {
  max-width: 760px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.catalog-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-insight-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-insight-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.catalog-insight-card strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.15;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.catalog-insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.catalog-insight-card a {
  width: fit-content;
  margin-top: 2px;
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.catalog-deadline-list {
  display: grid;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-deadline-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) minmax(120px, 1fr) minmax(170px, 1.1fr) minmax(110px, 0.7fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.catalog-deadline-row:last-child {
  border-bottom: 0;
}

.catalog-deadline-row:hover {
  background: #f6fbfa;
  text-decoration: none;
}

.catalog-deadline-row span {
  min-width: 0;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.catalog-deadline-row strong,
.catalog-deadline-row small {
  display: block;
}

.catalog-deadline-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-empty {
  margin: 0;
  padding: 18px;
  color: var(--muted);
}

.update-section {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.update-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  align-items: end;
}

.update-section-heading h2 {
  margin: 0;
  font-size: 1.9rem;
}

.update-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.update-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.update-table caption {
  padding: 12px 14px;
  color: var(--muted);
  text-align: left;
  font-size: 0.84rem;
  font-weight: 750;
}

.update-table th,
.update-table td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.update-table th {
  color: var(--subtle);
  background: #f8fafc;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.update-table td {
  color: var(--muted);
  line-height: 1.4;
}

.update-table td:first-child {
  color: var(--ink);
  font-weight: 750;
}

.update-empty,
.update-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== PROVIDERS ===== */

.provider-shell {
  display: grid;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 56px;
}

.provider-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 360px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.provider-filter-panel {
  display: grid;
  order: -1;
  grid-column: 1 / -1;
  gap: 7px;
  min-width: 0;
}

.provider-filter-label {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 800;
}

.provider-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.provider-filter-button {
  display: inline-grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  max-width: 100%;
  padding: 8px 10px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.provider-filter-button span {
  min-width: 0;
  overflow-wrap: normal;
}

.provider-filter-button small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  color: var(--subtle);
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.provider-filter-button:hover,
.provider-filter-button.is-active {
  color: var(--teal-dark);
  background: var(--mint);
  border-color: rgba(15, 118, 110, 0.34);
}

.provider-filter-button:hover small,
.provider-filter-button.is-active small {
  color: var(--teal-dark);
  background: #ffffff;
  border-color: rgba(15, 118, 110, 0.24);
}

.provider-toolbar > .secondary-button {
  justify-self: end;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.provider-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.provider-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.provider-card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.provider-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.provider-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 7px;
}

.provider-fact-grid div {
  min-width: 0;
  padding: 9px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.provider-fact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}

.provider-fact-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.provider-offer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.provider-offer-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 0.86rem;
}

.provider-offer-list span {
  min-width: 0;
  overflow-wrap: normal;
}

.provider-offer-list strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: normal;
}

.provider-requirement-tags span {
  background: #eef7f4;
  border-color: #cce8df;
  color: #14584d;
}

.provider-offer-type-tags span {
  background: #f7f3e8;
  border-color: #e4d7b3;
  color: #604719;
}

.provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-actions .secondary-button {
  flex: 1 1 150px;
  justify-content: center;
}

/* ===== COMPARE ===== */

.compare-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 56px) clamp(40px, 5vw, 64px);
}

.compare-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 24px;
  margin-bottom: 22px;
}

.compare-head-copy {
  flex: 1 1 480px;
  min-width: 0;
}

.compare-head h1 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.05;
}

.compare-head .intro-copy {
  margin-top: 10px;
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.compare-row-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.compare-row-control[hidden] {
  display: none;
}

.compare-row-control > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.compare-copy-status {
  min-width: 92px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.compare-copy-status:empty {
  display: none;
}

.compare-snapshot {
  display: grid;
  grid-template-columns: minmax(170px, 0.26fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 16px;
  background: #fbfefd;
  border: 1px solid #cfe6e2;
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(23, 32, 45, 0.05);
}

.compare-snapshot-label,
.compare-snapshot-content {
  min-width: 0;
}

.compare-snapshot-label {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 2px 16px 2px 0;
  border-right: 1px solid #d8e9e6;
}

.compare-snapshot-label span,
.compare-differences-heading span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.compare-snapshot-label strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.22;
}

.compare-snapshot-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  padding-left: 16px;
}

.compare-snapshot dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.compare-snapshot .compare-snapshot-ranges {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dcece8;
  border-radius: var(--radius);
}

.compare-differences {
  display: grid;
  position: relative;
  gap: 6px;
  min-width: 0;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #dcece8;
  border-radius: 0;
}

.compare-differences-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  justify-content: space-between;
}

.compare-differences-heading small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.25;
}

.compare-snapshot-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.35;
  background: #ffffff;
  border: 1px solid #dcece8;
  border-radius: var(--radius);
}

.compare-snapshot-ranges > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  align-items: start;
  min-width: 0;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-left: 1px solid #e2efec;
  border-radius: 0;
}

.compare-snapshot-ranges > div:first-child {
  border-left: 0;
}

.compare-snapshot-ranges > div:nth-child(n + 3) {
  padding-top: 10px;
}

.compare-differences dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1eeeb;
  border-radius: var(--radius);
}

.compare-differences dl div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-left: 1px solid #eef4f3;
  border-top: 0;
}

.compare-differences dl div:first-child {
  border-left: 0;
}

.compare-snapshot dt {
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.compare-snapshot dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.offer-card-comparison .offer-heading-copy h2 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.compare-product-label {
  color: var(--subtle);
  font-weight: 700;
}

.compare-card-facts {
  display: grid;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.compare-card-facts > div {
  min-width: 0;
}

.compare-card-facts dt {
  margin-bottom: 3px;
  color: var(--subtle);
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.25;
}

.compare-card-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.compare-card-facts dd p,
.compare-complete-fact p {
  margin: 0;
}

.compare-card-facts dd p + p,
.compare-complete-fact p + p {
  margin-top: 7px;
}

.compare-grid .offer-value-pair > .offer-value-fact {
  grid-template-columns: 1fr;
  gap: 2px;
  align-items: start;
}

.compare-grid .offer-value-fact strong {
  text-align: left;
}

.compare-grid .offer-value-fact .offer-math-tooltip {
  min-width: 120px;
}

.compare-grid .offer-value-pair.offer-value-pair-supporting-estimate .offer-value-fact .offer-math-tooltip {
  min-width: 0;
}

.compare-tracker {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 24px;
}

.compare-tracker > summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.compare-tracker > summary::-webkit-details-marker {
  display: none;
}

.compare-tracker > summary > span {
  display: grid;
  min-width: 0;
}

.compare-tracker > summary .eyebrow {
  margin: 0 0 5px;
}

.compare-tracker > summary strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.compare-tracker > summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.compare-tracker > summary::after {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--teal-dark);
  background: var(--mint);
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  content: "+";
  font-size: 1.3rem;
  font-weight: 850;
  line-height: 1;
}

.compare-tracker[open] > summary::after {
  content: "-";
}

.compare-tracker-content {
  display: grid;
  gap: 16px;
}

.compare-tracker .section-heading {
  margin-bottom: 0;
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tracker-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tracker-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.tracker-card h2 {
  margin: 0;
  font-size: 1rem;
}

.tracker-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.tracker-items {
  display: grid;
  gap: 8px;
}

.tracker-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e6ecf2;
  border-radius: var(--radius);
}

.tracker-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.tracker-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.tracker-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

.compare-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: clamp(40px, 6vw, 88px) 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.compare-empty strong {
  font-size: 1.2rem;
}

.compare-empty p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.compare-empty em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.compare-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.compare-view-toggle {
  display: inline-flex;
  padding: 3px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.compare-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.compare-view-toggle button[aria-pressed="true"] {
  color: var(--teal-dark);
  background: var(--mint);
  box-shadow: 0 1px 2px rgba(15, 118, 110, 0.18);
}

.compare-view-toggle button:hover[aria-pressed="false"] {
  color: var(--teal-dark);
  background: var(--surface);
}

.offer-view-icon {
  display: none;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: currentColor;
}

.offer-view-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare-table-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.45;
}

.compare-table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3f7fa;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6ecf2;
  border-right: 1px solid #eef1f5;
  text-align: left;
  vertical-align: top;
  white-space: normal;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 140px;
  color: var(--subtle);
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.compare-table thead th[scope="row"] {
  z-index: 3;
  background: #f3f7fa;
}

.compare-table thead th[scope="col"] {
  position: relative;
  min-width: 220px;
  padding-right: 36px;
}

.compare-table thead th[scope="col"] .logo-tile {
  margin-bottom: 10px;
}

.compare-table thead th[scope="col"] .compare-col-link {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.compare-table thead th[scope="col"] small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.compare-table thead th[scope="col"] .saved-row-remove {
  position: absolute;
  top: 10px;
  right: 8px;
}

.compare-table tbody td strong {
  color: var(--teal-dark);
  font-weight: 850;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .content-page .guide-table-wrap {
    overflow-x: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .content-page .guide-mobile-card-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.91rem;
  }

  .content-page .guide-mobile-card-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .content-page .guide-mobile-card-table tbody {
    display: grid;
    gap: 12px;
  }

  .content-page .guide-mobile-card-table tr {
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .content-page .guide-mobile-card-table th,
  .content-page .guide-mobile-card-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .content-page .guide-mobile-card-table td {
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid #e6ecf2;
    color: var(--muted);
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal;
  }

  .content-page .guide-mobile-card-table td:first-child {
    color: var(--ink);
    font-weight: 720;
  }

  .content-page .guide-mobile-card-table td:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .content-page .guide-mobile-card-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--teal-dark);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .content-page .guide-question-answer-table td:nth-child(1)::before,
  .content-page .guide-product-question-table td:nth-child(1)::before {
    content: "Question";
  }

  .content-page .guide-question-answer-table td:nth-child(2)::before {
    content: "Current answer";
  }

  .content-page .guide-cash-app-area-table td:nth-child(1)::before,
  .content-page .guide-chime-area-table td:nth-child(1)::before {
    content: "Area";
  }

  .content-page .guide-cash-app-area-table td:nth-child(2)::before {
    content: "What Cash App says";
  }

  .content-page .guide-chime-area-table td:nth-child(2)::before {
    content: "What Chime says";
  }

  .content-page .guide-cash-app-area-table td:nth-child(3)::before,
  .content-page .guide-chime-area-table td:nth-child(3)::before {
    content: "Why it matters";
  }

  .content-page .guide-high-yield-table td:nth-child(1)::before {
    content: "Offer";
  }

  .content-page .guide-high-yield-table td:nth-child(2)::before {
    content: "Type";
  }

  .content-page .guide-high-yield-table td:nth-child(3)::before {
    content: "Rate or bonus detail";
  }

  .content-page .guide-high-yield-table td:nth-child(4)::before {
    content: "Requirement to note";
  }

  .content-page .guide-high-yield-table td:nth-child(5)::before {
    content: "Monthly fee";
  }

  .content-page .guide-high-yield-table td:nth-child(6)::before {
    content: "Access and structure note";
  }

  .content-page .guide-high-yield-table td:nth-child(7)::before {
    content: "Reviewed";
  }

  .content-page .guide-product-question-table td:nth-child(2)::before {
    content: "Why it matters";
  }

  .content-page .guide-product-question-table td:nth-child(3)::before {
    content: "What to look for";
  }

  .content-page .guide-product-lane-table td:nth-child(1)::before {
    content: "Lane";
  }

  .content-page .guide-product-lane-table td:nth-child(2)::before {
    content: "Examples";
  }

  .content-page .guide-product-lane-table td:nth-child(3)::before {
    content: "Compare first";
  }
}

@media (min-width: 1080px) {
  .content-page .guide-wide-table-wrap {
    width: min(1180px, calc(100vw - 64px));
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .content-page .guide-wide-table-wrap .compare-table {
    table-layout: fixed;
  }

  .content-page .guide-wide-table-wrap .compare-table th,
  .content-page .guide-wide-table-wrap .compare-table td {
    overflow-wrap: normal;
    word-break: normal;
  }

  .content-page .guide-wide-table-wrap .compare-table thead th[scope="col"] {
    min-width: 0;
    padding-right: 14px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .content-page .guide-high-yield-table th:nth-child(1),
  .content-page .guide-high-yield-table td:nth-child(1) {
    width: 16%;
  }

  .content-page .guide-high-yield-table th:nth-child(2),
  .content-page .guide-high-yield-table td:nth-child(2) {
    width: 11%;
  }

  .content-page .guide-high-yield-table th:nth-child(3),
  .content-page .guide-high-yield-table td:nth-child(3) {
    width: 18%;
  }

  .content-page .guide-high-yield-table th:nth-child(4),
  .content-page .guide-high-yield-table td:nth-child(4) {
    width: 19%;
  }

  .content-page .guide-high-yield-table th:nth-child(5),
  .content-page .guide-high-yield-table td:nth-child(5) {
    width: 10%;
  }

  .content-page .guide-high-yield-table th:nth-child(6),
  .content-page .guide-high-yield-table td:nth-child(6) {
    width: 17%;
  }

  .content-page .guide-high-yield-table th:nth-child(7),
  .content-page .guide-high-yield-table td:nth-child(7) {
    width: 9%;
  }
}

.compare-value-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.compare-value-summary strong {
  flex-basis: 100%;
}

.compare-value-summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  padding: 4px 7px;
  color: var(--muted);
  background: #f6fbfa;
  border: 1px solid #d9ece8;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.15;
}

.compare-value-summary b {
  color: var(--teal-dark);
  font-weight: 850;
}

.compare-source-terms {
  display: grid;
  gap: 6px;
}

.compare-source-terms span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.35;
}

.compare-source-terms a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.compare-table tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) th[scope="row"] {
  background: #fcfdff;
}

/* ===== MATCHER ===== */

.matcher-shell,
.suggest-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 56px) 64px;
}

.match-panel,
.suggest-panel {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3vw, 32px);
  scroll-margin-top: 86px;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: #e0e8f0;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 999px;
  transition: width 300ms var(--ease);
}

.step-dots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.step-dots button {
  min-height: 34px;
  padding: 8px;
  color: var(--muted);
  background: #f3f7fa;
  border: 1px solid #e0e8f0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.step-dots button:not(:disabled):hover {
  color: var(--teal-dark);
  border-color: #b6d7d2;
}

.step-dots button:disabled {
  color: #43536a;
  background: #eef3f7;
  cursor: default;
}

.step-dots button.is-active {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 1px 4px rgba(15, 118, 110, 0.28), 0 3px 8px rgba(15, 118, 110, 0.12);
}

.matcher-progress-review {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: #fbfefd;
  border: 1px solid #d5e9e5;
  border-radius: var(--radius);
}

.matcher-progress-review[hidden] {
  display: none;
}

.matcher-progress-review > span {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.matcher-progress-review ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.matcher-progress-review li {
  min-width: 0;
}

.matcher-progress-review button {
  min-height: 36px;
  max-width: 100%;
  padding: 6px 8px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #dfeaf2;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.matcher-progress-review button:hover {
  color: var(--teal-dark);
  background: #f5fcfa;
  border-color: #b6d7d2;
}

.matcher-progress-review b {
  margin-right: 4px;
  color: var(--ink);
  font-weight: 850;
}

.matcher-progress-review button span {
  overflow-wrap: anywhere;
}

.match-step h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.match-step p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 96px;
  padding: 16px 42px 16px 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.choice-card:hover {
  border-color: #9ecfc9;
  background: #f5fcfa;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.choice-card:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.26);
  outline-offset: 2px;
}

.choice-card::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border: 2px solid #c6d5df;
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.choice-card.is-selected::after,
.choice-card[aria-pressed="true"]::after {
  background: var(--teal);
  border-color: var(--teal);
}

.choice-card strong,
.choice-card span {
  display: block;
}

.choice-card strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.choice-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.choice-card.is-selected {
  border-color: var(--teal);
  background: var(--mint);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.14);
}

.range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.budget-custom-field {
  display: grid;
  gap: 7px;
  max-width: 420px;
}

.budget-custom-field span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.budget-custom-field small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.matcher-results {
  display: grid;
  gap: 16px;
}

.matcher-answer-summary {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: #f5fcfa;
  border: 1px solid #c5e7e1;
  border-radius: var(--radius);
}

.matcher-answer-summary > div {
  min-width: 0;
}

.matcher-answer-summary > div span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 0.82;
}

.matcher-answer-summary > div strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.15;
}

.matcher-answer-summary ul,
.match-reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.matcher-answer-summary li,
.match-reason-list span {
  min-width: 0;
  padding: 6px 8px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #dfeaf2;
  border-radius: var(--radius);
  font-size: 0.78rem;
  line-height: 1.25;
}

.matcher-answer-summary b {
  color: var(--ink);
  font-weight: 850;
}

.matcher-answer-summary li span {
  display: inline;
  margin-left: 4px;
}

.match-empty-state {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.match-empty-state strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.match-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.matcher-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.match-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.match-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.match-card h3 {
  margin: 0;
}

.match-reason-list span {
  color: var(--teal-dark);
  background: #f5fcfa;
  border-color: #c5e7e1;
  font-weight: 800;
}

.match-fact-grid {
  display: grid;
  gap: 10px;
}

.match-fact-grid div {
  display: grid;
  grid-template-columns: minmax(86px, 0.36fr) minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
}

.match-fact-grid dt {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.18;
  text-transform: uppercase;
}

.match-fact-grid dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.32;
}

.match-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: auto;
}

.match-actions .secondary-button,
.match-actions .icon-button {
  width: 100%;
  min-width: 0;
}

.suggest-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ===== FOOTER ===== */

.site-footer {
  padding: 56px clamp(16px, 4vw, 56px) 36px;
  color: var(--muted);
  background: #f7fafc;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 40px;
  align-items: start;
}

.footer-column h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  display: inline-block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--teal-dark);
  text-decoration: none;
}

.footer-fineprint {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 720px;
}

.money-app-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.money-app-profile-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.money-app-profile-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.money-app-profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.money-app-profile-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.money-app-profile-facts div {
  display: grid;
  gap: 2px;
}

.money-app-profile-facts dt {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.money-app-profile-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.money-app-risk-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.money-app-risk-list li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1120px) {
  .hero,
  .detail-hero,
  .detail-layout,
  .tool-layout,
  .action-card {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .detail-heading {
    display: contents;
  }

  .detail-heading .back-link {
    align-self: flex-start;
    order: 1;
    margin-bottom: 0;
  }

  .detail-title-row {
    order: 2;
  }

  .detail-summary {
    order: 3;
  }

  .detail-verify-first {
    order: 4;
    margin-top: 0;
  }

  .detail-verdict {
    order: 5;
    margin-top: 0;
  }

  .facts-panel {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .page-hero:has(> .action-card) h1 {
    font-size: 3rem;
  }

  .detail-section-jump {
    display: grid;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 2px 0 4px;
    border-bottom: 1px solid var(--line);
  }

  .detail-section-jump h2 {
    margin: 0;
    color: var(--ink);
    font-size: 0.92rem;
  }

  .detail-section-jump ol {
    display: flex;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 0 4px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
  }

  .detail-section-jump a {
    display: block;
    padding: 7px 10px;
    white-space: nowrap;
    color: var(--muted);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
  }

  .detail-section-jump a:hover,
  .detail-section-jump a:focus-visible,
  .detail-section-jump a[aria-current="true"] {
    color: var(--teal-dark);
    background: var(--mint);
    border-color: rgba(15, 118, 110, 0.28);
  }

  .facts-panel .detail-toc {
    display: none;
  }

  .calculator-inline-summary {
    display: block;
  }

  .tool-results .calculator-summary {
    display: none;
  }

  .offer-grid,
  .offer-grid.is-two-column,
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-page-layout,
  .decision-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-column,
  .decision-panel {
    position: static;
  }

  .offer-page-layout .filter-column {
    display: contents;
  }

  .offer-page-layout .filter-panel {
    order: 1;
  }

  .offer-page-layout > section {
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-page-layout .saved-panel-wrap {
    order: 3;
  }

  .offer-page-layout > section > .compensation-note {
    order: 1;
  }

  .offer-page-layout > section > .comparison-standard {
    order: 2;
  }

  .offer-page-layout > section > .quick-views {
    order: 3;
  }

  .offer-page-layout > section > .active-filter-bar {
    order: 5;
  }

  .offer-page-layout > section > .offer-results-nav {
    order: 6;
  }

  .offer-page-layout > section > .offer-results-toolbar {
    order: 6;
  }

  .offer-page-layout > section > .category-tabs {
    order: 7;
  }

  .offer-page-layout > section > .offer-grid,
  .offer-page-layout > section > .offer-table-host {
    order: 8;
  }

  .offer-page-layout > section > .offer-results-progress {
    order: 9;
  }

  .offer-page-layout > section > .catalog-notes {
    order: 10;
  }

  .offer-page-layout > section > .category-guidance {
    order: 11;
    margin-top: 0;
  }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .filter-panel[data-collapsed="true"] .filter-panel-body {
    display: none;
  }

  .hero {
    gap: 20px;
    padding-bottom: 30px;
  }

}

/* The primary nav has many items + the Saved badge; it only fits on one
   line above ~1180px. Below that, swap to the hamburger pattern so labels
   never wrap mid-word and the header stays a single clean row. */
@media (max-width: 1180px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  .top-nav {
    display: none;
    flex-basis: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .top-nav[data-open="true"] {
    display: flex;
  }

  .top-nav a,
  .top-nav .saved-badge {
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (max-width: 860px) {
  h1,
  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .intro-copy {
    font-size: 1rem;
  }

  .hero-fact-grid strong,
  .stats-grid strong {
    font-size: 1.35rem;
  }

  .hero-panel .hero-fact-grid {
    display: none;
  }

  .hero-lens {
    max-width: 620px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .page-hero h1,
  .content-page h1 {
    font-size: 2.5rem;
  }

  .page-hero:has(> .action-card) h1 {
    font-size: 2.5rem;
  }

  .content-page.reviewer-page h1 {
    font-size: 2.35rem;
  }

  .reviewer-snapshot-grid strong {
    font-size: 1.7rem;
  }

  .update-section-heading h2 {
    font-size: 1.65rem;
  }

  .compare-head h1,
  .match-step h2 {
    font-size: 2rem;
  }

  .detail-heading h1 {
    font-size: 2.8rem;
    max-width: 100%;
  }

  .contact-route-grid,
  .suggest-guidance {
    grid-template-columns: 1fr;
  }

  .content-page.reviewer-page > .reviewer-contact-cta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reviewer-contact-cta .hero-actions {
    justify-content: flex-start;
  }

  .section-heading,
  .page-hero,
  .page-hero:has(> .action-card),
  .category-guidance {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .page-hero > .action-card {
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .section-heading-actions {
    justify-content: flex-start;
  }

  .category-grid,
  .guide-grid,
  .article-grid,
  .glossary-grid,
  .money-app-profile-grid,
  .offer-grid,
  .offer-grid.is-two-column,
  .provider-grid,
  .provider-toolbar,
  .compare-snapshot,
  .matcher-answer-summary,
  .matcher-result-grid,
  .choice-grid,
  .range-grid,
  .form-grid,
  .update-summary-grid,
  .catalog-insight-grid,
  .offer-insights,
  .offer-decision-strip,
  .detail-decision-summary-grid,
  .education-grid,
  .product-intelligence-grid,
  .value-highlight-grid,
  .product-note-grid,
  .tracker-grid,
  .verdict-grid,
  .decision-layout,
  .decision-metrics,
  .decision-checks,
  .offer-set-checks,
  .hero-fact-grid,
  .reviewer-quick-fact-grid,
  .reviewer-snapshot-grid,
  .reviewer-path,
  .reviewer-proof-grid,
  .reviewer-proof-grid.is-compact,
  .reviewer-policy-grid,
  .reviewer-check-list,
  .reviewer-check-list.compact,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .compare-snapshot {
    gap: 8px;
  }

  .compare-snapshot-label {
    padding: 0 0 8px;
    border-right: 0;
    border-bottom: 1px solid #d0e9e4;
  }

  .compare-snapshot-content {
    padding-left: 0;
  }

  .compare-snapshot .compare-snapshot-ranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-differences dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-snapshot-ranges > div:nth-child(odd),
  .compare-differences dl div:nth-child(odd) {
    border-left: 0;
  }

  .compare-snapshot-ranges > div:nth-child(even),
  .compare-differences dl div:nth-child(even) {
    border-left: 1px solid #e3f0ed;
  }

  .compare-snapshot-ranges > div:nth-child(n + 3),
  .compare-differences dl div:nth-child(n + 3) {
    border-top: 1px solid #e3f0ed;
  }

  .provider-toolbar > .secondary-button {
    justify-self: stretch;
  }

  .offer-card-checks .offer-decision-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-fact-grid div,
  .match-actions {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .offer-results-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .offer-results-nav .category-tabs,
  .offer-results-nav .offer-results-toolbar {
    order: 0;
  }

  .offer-results-nav .offer-results-toolbar {
    align-self: start;
  }

  .offer-results-nav .compare-view-toggle {
    padding: 2px;
  }

  .offer-results-nav .compare-view-toggle button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .quick-views {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 10px 0;
    padding: 8px;
  }

  .quick-view-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .quick-view-heading {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 8px;
  }

  .category-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .quick-view-button {
    flex: 0 0 min(168px, 46vw);
    min-width: 0;
    width: min(168px, 46vw);
    scroll-snap-align: start;
  }

  .active-filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 8px;
    align-items: center;
    margin-bottom: 8px;
    padding: 6px 0;
  }

  .active-filter-label {
    display: none;
  }

  .active-filter-chips {
    flex: initial;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .active-filter-chip {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .active-filter-chip strong {
    max-width: 150px;
  }

  .text-button.active-filter-reset {
    min-height: 32px;
    margin-left: 0;
    padding: 4px 0;
    font-size: 0.82rem;
  }

  .article-card.is-featured {
    grid-column: auto;
  }

  .action-card .hero-actions {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
  }

  .category-guidance-links {
    justify-content: flex-start;
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  .hero-panel .hero-fact-grid {
    display: none;
  }

  .offer-page-layout > section > .quick-views {
    gap: 0;
    margin: 6px 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .offer-page-layout > section > .quick-views .quick-view-heading {
    display: none;
  }

  .offer-page-layout > section > .quick-views .quick-view-list {
    padding-bottom: 2px;
  }

  .offer-page-layout > section > .catalog-notes {
    order: 10;
  }

  .offer-page-layout > section > .category-guidance {
    order: 11;
  }
}

@media (min-width: 561px) and (max-width: 1366px) {
  .site-main[data-offer-page] .quick-view-list {
    padding-right: 28px;
    scroll-padding-inline: 0 28px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.36) calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.36) calc(100% - 12px), transparent 100%);
  }

  .offer-results-nav .category-tabs {
    gap: 6px;
    padding-bottom: 0;
  }

  .offer-results-nav .category-tabs a {
    gap: 5px;
    padding-inline: 7px;
    font-size: 0.84rem;
  }

  .offer-results-nav .category-tabs a svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 560px) {
  .glossary-term::after {
    content: none;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero,
  .page-hero,
  .section-band,
  .offer-page-layout,
  .decision-layout,
  .tool-layout,
  .detail-hero,
  .detail-layout,
  .matcher-shell,
  .suggest-shell,
  .content-page {
    padding-inline: 14px;
  }

  .site-main[data-guide-hub] > .page-hero + .section-band {
    padding-top: 30px;
  }

  .site-main[data-guide-hub] > .page-hero + .section-band .section-heading {
    margin-bottom: 18px;
  }

  .offer-page-layout,
  .decision-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-results-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
  }

  .offer-results-nav .category-tabs {
    width: auto;
    min-width: 0;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 14px), rgba(0, 0, 0, 0.45) calc(100% - 5px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 14px), rgba(0, 0, 0, 0.45) calc(100% - 5px), transparent 100%);
  }

  .offer-results-nav .offer-results-toolbar {
    align-self: center;
    justify-content: flex-end;
    width: auto;
  }

  .offer-results-nav .compare-view-toggle {
    width: auto;
  }

  .offer-results-nav .compare-view-toggle button {
    gap: 5px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .offer-results-nav .offer-view-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
  }

  .matcher-shell {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .matcher-shell .section-heading {
    gap: 10px;
  }

  .matcher-shell .section-heading h1 {
    font-size: 1.82rem;
    line-height: 1.08;
  }

  .matcher-shell .intro-copy {
    margin-top: 10px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .matcher-shell .comparison-standard {
    margin-top: 12px;
  }

  .match-panel {
    gap: 14px;
    padding: 14px;
  }

  .match-step h2 {
    margin-bottom: 8px;
    font-size: 1.55rem;
    line-height: 1.14;
  }

  .match-step p {
    margin-bottom: 14px;
    line-height: 1.45;
  }

  .matcher-shell .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .matcher-shell [data-match-step="1"] .choice-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .matcher-shell .choice-card {
    min-height: 72px;
    padding: 10px 30px 10px 12px;
  }

  .matcher-shell .choice-card::after {
    top: 11px;
    right: 10px;
    width: 13px;
    height: 13px;
    border-width: 2px;
    box-shadow: inset 0 0 0 3px #ffffff;
  }

  .matcher-shell .choice-card strong {
    font-size: 0.95rem;
    line-height: 1.18;
  }

  .matcher-shell .choice-card span {
    margin-top: 3px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .matcher-shell .step-dots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .matcher-shell .step-dots button {
    min-height: 44px;
    padding: 7px 5px;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .matcher-progress-review {
    gap: 6px;
    padding: 8px;
  }

  .matcher-progress-review ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .matcher-progress-review button {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  .matcher-progress-review b,
  .matcher-progress-review button span {
    display: block;
    margin-right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-hero {
    gap: 10px;
    padding-top: 28px;
    padding-bottom: 12px;
  }

  .page-hero .eyebrow {
    margin-bottom: 8px;
  }

  .page-hero .intro-copy {
    margin-top: 10px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .result-pill {
    display: flex;
    min-height: 44px;
    min-width: 0;
    gap: 8px;
    justify-content: center;
    padding: 8px 10px;
  }

  .result-pill strong {
    font-size: 1.35rem;
  }

  .result-pill span {
    font-size: 0.78rem;
  }

  .page-hero-tools {
    justify-content: stretch;
  }

  .page-hero-tools .result-pill {
    flex: 1 1 170px;
  }

  .page-hero-tools .secondary-button {
    flex: 1 1 130px;
    min-height: 44px;
    min-width: 0;
  }

  .site-main[data-offer-page] .page-hero-tools.has-mobile-result-pill-moved {
    display: none;
  }

  .filter-panel-heading .result-pill-filter-entry {
    flex: 1 1 auto;
    min-height: 38px;
    min-width: 0;
    justify-content: flex-start;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    box-shadow: none;
  }

  .filter-panel-heading .result-pill-filter-entry strong {
    font-size: 1.08rem;
  }

  .filter-panel-heading .result-pill-filter-entry span {
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .decision-layout {
    display: grid;
  }

  .decision-results {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    order: 1;
  }

  .decision-panel {
    order: 2;
  }

  .decision-results > .compensation-note {
    order: 1;
  }

  .decision-results > .comparison-standard {
    order: 2;
  }

  .decision-results > .decision-support {
    order: 3;
  }

  .decision-results > .offer-grid {
    order: 4;
  }

  .decision-results > .decision-metrics {
    order: 5;
    margin-top: 16px;
  }

  .decision-results > .decision-checks {
    order: 6;
  }

  .decision-support {
    margin: 0 0 10px;
  }

  .decision-support > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    min-width: 0;
    align-items: center;
    column-gap: 12px;
    padding: 12px;
    color: var(--muted);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    list-style: none;
  }

  .decision-support > summary::-webkit-details-marker {
    display: none;
  }

  .decision-support > summary::after {
    content: "+";
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 24px;
    height: 24px;
    color: var(--teal-dark);
    background: #f1fbf8;
    border: 1px solid #dcece8;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
  }

  .decision-support[open] > summary::after {
    content: "-";
  }

  .decision-support > summary span,
  .decision-support > summary strong {
    display: block;
    grid-column: 1;
    min-width: 0;
    line-height: 1.25;
  }

  .decision-support > summary span {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 880;
  }

  .decision-support > summary strong {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 760;
  }

  .decision-support:not([open]) .decision-support-body {
    display: none;
  }

  .decision-support[open] .decision-support-body {
    margin-top: 8px;
  }

  .decision-support .decision-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-support .decision-metrics strong {
    font-size: 1.02rem;
  }

  .offer-page-layout .filter-panel {
    gap: 10px;
    padding: 14px 16px;
  }

  .offer-page-layout .filter-toggle {
    min-height: 44px;
    padding: 0 11px;
  }

  .site-main[data-offer-page] .offer-page-layout {
    gap: 10px;
  }

  .site-main[data-offer-page] .offer-page-layout > section > .compensation-note {
    margin-bottom: 6px;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .site-main[data-offer-page] .offer-page-layout > section > .comparison-standard {
    margin-bottom: 8px;
    padding: 8px 9px;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .compensation-note {
    margin-bottom: 8px;
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .comparison-standard {
    margin-bottom: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .tool-panel,
  .tool-results {
    gap: 12px;
    padding: 14px;
  }

  .calculator-fieldset legend {
    margin-bottom: 8px;
  }

  .calculator-inline-summary {
    padding: 12px;
  }

  .calculator-inline-summary strong {
    font-size: 1.55rem;
  }

  .calculator-inline-summary small {
    margin-top: 5px;
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .offer-results-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
  }

  .offer-results-nav .category-tabs {
    width: auto;
    min-width: 0;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.35) calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.35) calc(100% - 14px), transparent 100%);
  }

  .offer-results-nav .offer-results-toolbar {
    align-self: center;
    justify-content: flex-end;
    width: auto;
  }

  .offer-results-nav .compare-view-toggle {
    width: auto;
  }

  .offer-results-nav .compare-view-toggle button {
    flex: 0 0 auto;
    width: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 0.8rem;
  }

  .offer-results-nav .offer-view-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .offer-results-nav .offer-view-icon {
    width: 15px;
    height: 15px;
  }

  .quick-views {
    gap: 6px;
    margin: 8px 0 10px;
    padding: 8px;
  }

  .quick-view-heading {
    padding: 2px 1px;
  }

  .quick-view-heading span {
    font-size: 0.68rem;
  }

  .quick-view-button {
    flex-basis: min(156px, 44vw);
    width: min(156px, 44vw);
    min-height: 44px;
    gap: 0;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .quick-view-button small {
    display: none;
  }

  .catalog-deadline-row {
    grid-template-columns: 1fr;
  }

  h1,
  .hero-copy h1 {
    font-size: 1.88rem;
    line-height: 1.08;
  }

  .hero {
    gap: 14px;
    padding-top: 26px;
    padding-bottom: 16px;
  }

  .hero-copy > .intro-copy {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.42;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding-inline: 10px;
  }

  .page-hero > .action-card .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-hero > .action-card .hero-actions .primary-button,
  .page-hero > .action-card .hero-actions .secondary-button {
    width: 100%;
    min-height: 44px;
  }

  .hero-task-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 12px;
    padding-right: 26px;
    padding-bottom: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 26px;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), rgba(0, 0, 0, 0.38) calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), rgba(0, 0, 0, 0.38) calc(100% - 12px), transparent 100%);
  }

  .hero-task-strip a {
    flex: 0 0 auto;
    min-height: 32px;
    padding-inline: 6px;
    font-size: 0.77rem;
    white-space: nowrap;
  }

  .hero-lens {
    margin-top: 12px;
    padding: 2px 10px;
  }

  .hero-lens div {
    min-height: 0;
    padding: 9px 8px 9px 14px;
  }

  .hero-lens div::before {
    width: 2px;
    top: 11px;
    bottom: 11px;
  }

  .hero-lens span {
    font-size: 0.7rem;
  }

  .hero-lens strong {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .hero-panel {
    gap: 8px;
    padding: 12px;
  }

  .hero-panel-top {
    align-items: flex-start;
    padding-bottom: 10px;
  }

  .hero-panel-top .fine-print {
    display: none;
  }

  .hero-offer-list {
    gap: 6px;
    min-height: 0;
  }

  .hero-offer-list .hero-offer-row:nth-child(n + 3) {
    display: none;
  }

  .hero-offer-row {
    gap: 8px;
    min-height: 60px;
    padding: 6px 10px;
  }

  .hero-offer-row small {
    font-size: 0.78rem;
  }

  .hero-offer-meta {
    column-gap: 6px;
    row-gap: 1px;
  }

  .hero-offer-meta span {
    font-size: 0.68rem;
  }

  .hero-offer-meta span + span {
    padding-left: 6px;
  }

  .hero-offer-row b {
    max-width: 118px;
    font-size: 0.93rem;
  }

  .hero-panel .hero-fact-grid {
    display: none;
  }

  .hero + .section-band {
    padding-top: 10px;
  }

  .section-heading h2,
  .update-section-heading h2 {
    font-size: 1.55rem;
  }

  .page-hero h1,
  .content-page h1,
  .compare-head h1,
  .match-step h2 {
    font-size: 2rem;
  }

  .page-hero:has(> .action-card) h1 {
    font-size: 2rem;
  }

  .content-page h1 {
    font-size: 1.95rem;
  }

  .content-page.reviewer-page h1 {
    font-size: 1.9rem;
  }

  .content-page.reviewer-page > .intro-copy {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .reviewer-snapshot-grid strong {
    font-size: 1.45rem;
  }

  .detail-heading h1 {
    font-size: 2rem;
  }

  .detail-hero {
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .detail-title-row {
    align-items: flex-start;
    gap: 10px;
  }

  .detail-title-row .logo-tile-large.logo-tile-image {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }

  .detail-title-row .logo-tile-large.logo-tile-wordmark {
    flex: 0 0 88px;
    width: 88px;
    height: 50px;
  }

  .detail-title-row > :not(.logo-tile) {
    flex: 1 1 auto;
  }

  .detail-summary {
    gap: 10px;
    padding: 12px;
  }

  .detail-key-benefits {
    gap: 8px;
    padding: 10px;
  }

  .detail-value-panel-label {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .detail-value-core {
    gap: 6px;
  }

  .detail-value-timing span {
    color: #176f66;
    font-size: 0.65rem;
    font-weight: 820;
    line-height: 1.08;
  }

  .detail-value-timing strong {
    margin-top: 2px;
    font-size: 0.85rem;
    line-height: 1.16;
  }

  .detail-summary .compensation-note {
    margin-bottom: 0;
  }

  .detail-support {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e1e8ee;
    border-radius: 8px;
  }

  .detail-support > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    align-items: center;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }

  .detail-support > summary::-webkit-details-marker {
    display: none;
  }

  .detail-support > summary::after {
    content: "+";
    grid-row: 1 / span 2;
    grid-column: 2;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--teal-dark);
    background: #e6f5f1;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
  }

  .detail-support[open] > summary::after {
    content: "-";
  }

  .detail-support > summary span {
    color: var(--teal-dark);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .detail-support > summary strong {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .detail-support-body {
    padding: 0 12px 12px;
  }

  .detail-support .source-check-card {
    background: #ffffff;
  }

  .metrics-grid,
  .offer-benefit-stack,
  .offer-comparison-strip,
  .provider-fact-grid,
  .detail-value-timing,
  .detail-verify-first,
  .verify-grid,
  dl div {
    grid-template-columns: 1fr;
  }

  .decision-facts div {
    grid-template-columns: 1fr;
  }

  .detail-key-benefits .detail-benefit-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .detail-value-core .detail-benefit-list {
    gap: 5px;
    padding-bottom: 6px;
  }

  .detail-key-benefits .detail-benefit-list dt {
    font-size: 0.69rem;
    line-height: 1.1;
  }

  .detail-key-benefits .detail-benefit-list dd {
    font-size: 0.84rem;
    line-height: 1.17;
  }

  .offer-topline {
    grid-template-columns: 1fr;
  }

  .offer-card {
    gap: 8px;
    padding: 14px;
  }

  .offer-benefits {
    min-width: 0;
  }

  .offer-value-timing {
    grid-template-columns: 1fr;
  }

  .offer-value-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-value-pair {
    grid-template-columns: minmax(116px, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }

  .detail-value-pair > div {
    padding: 0 8px;
  }

  .detail-value-pair > div:first-child {
    padding-left: 0;
  }

  .detail-value-pair > .detail-timing-fact {
    padding-right: 0;
  }

  .detail-value-pair > .detail-timing-fact strong {
    font-size: 0.84rem;
    line-height: 1.12;
  }

  .detail-value-pair > .detail-qualification-fact {
    grid-column: 1 / -1;
    margin-top: 7px;
    padding: 7px 0 0;
    border-top: 1px solid rgba(15, 118, 110, 0.12);
    border-left: 0;
  }

  .detail-value-pair.detail-value-pair-descriptive-value {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-value-pair.detail-value-pair-descriptive-value > .detail-estimate-fact {
    grid-column: 1 / -1;
    padding: 0 0 7px;
    border-bottom: 1px solid rgba(15, 118, 110, 0.15);
  }

  .detail-value-pair.detail-value-pair-descriptive-value > .detail-estimate-fact strong {
    font-size: 0.85rem;
    line-height: 1.16;
  }

  .detail-value-pair.detail-value-pair-descriptive-value > .detail-timing-fact {
    padding: 7px 8px 0 0;
    border-left: 0;
  }

  .detail-value-pair.detail-value-pair-descriptive-value > .detail-qualification-fact {
    grid-column: auto;
    margin-top: 0;
    padding: 7px 0 0 8px;
    border-top: 0;
    border-left: 1px solid rgba(15, 118, 110, 0.15);
  }

  .offer-value-pair > div {
    padding: 0;
  }

  .offer-value-pair > .offer-value-fact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 10px;
    align-items: end;
    padding: 5px 0 6px;
  }

  .offer-value-pair > .offer-timing-fact {
    padding: 6px 0 0;
    border-left: 0;
  }

  .offer-value-fact strong {
    text-align: right;
  }

  .offer-value-pair > .offer-qualification-fact {
    grid-column: auto;
    margin-top: 0;
    padding: 6px 0 0;
    border-top: 0;
    border-left: 0;
  }

  .compare-grid .offer-value-pair > .offer-value-fact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 10px;
    align-items: end;
  }

  .compare-grid .offer-value-fact strong {
    text-align: right;
  }

  .compare-grid .offer-value-pair.offer-value-pair-supporting-estimate > .offer-value-fact {
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
  }

  .compare-grid .offer-value-pair.offer-value-pair-supporting-estimate > .offer-value-fact strong {
    text-align: left;
  }

  .compare-grid .offer-value-pair > .offer-qualification-fact {
    grid-column: auto;
    margin-top: 0;
    padding: 6px 0 0;
    border-top: 0;
    border-left: 0;
  }

  .offer-card .offer-core-facts div {
    padding: 8px 0;
  }

  .offer-card-checks {
    gap: 6px;
    padding: 8px 2px 0;
  }

  .offer-card-checks .offer-decision-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .offer-actions,
  .detail-actions,
  .form-actions,
  .quiz-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .icon-button {
    width: 100%;
  }

  .offer-card .offer-actions {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .offer-card .offer-actions .primary-button {
    flex: 1 0 100%;
  }

  .offer-card .offer-actions .secondary-button,
  .offer-card .offer-actions .icon-button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.92rem;
    line-height: 1.1;
    white-space: nowrap;
    width: auto;
  }

  .detail-summary .detail-actions {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .detail-summary .detail-actions .primary-button {
    flex: 1 0 100%;
  }

  .detail-summary .detail-actions .secondary-button,
  .detail-summary .detail-actions .icon-button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding-inline: 8px;
    font-size: 0.92rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .compare-actions {
    display: grid;
    grid-template-columns: minmax(68px, 0.7fr) minmax(0, 1.3fr);
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .compare-actions .status-pill {
    min-height: 44px;
    justify-content: center;
    padding-inline: 8px;
  }

  .compare-actions .compare-view-toggle {
    display: flex;
    width: 100%;
  }

  .compare-actions .compare-view-toggle button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
  }

  .compare-actions .compare-row-control {
    grid-column: 1 / -1;
    width: 100%;
  }

  .compare-actions .compare-row-control > span {
    flex: 0 0 auto;
  }

  .compare-actions .compare-row-toggle {
    flex: 1 1 auto;
  }

  .compare-actions .secondary-button {
    width: auto;
    min-width: 0;
    padding-inline: 10px;
  }

  .compare-actions .compare-copy-status {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 20px;
    align-self: center;
  }

  .compare-actions[data-compare-current-view="table"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(92px, 0.68fr);
    row-gap: 6px;
  }

  .compare-actions[data-compare-current-view="table"] .compare-view-toggle {
    padding-block: 1px;
  }

  .compare-actions[data-compare-current-view="table"] .status-pill {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .compare-actions[data-compare-current-view="table"] > .compare-view-toggle:not(.compare-row-toggle) {
    grid-column: 1 / 3;
  }

  .compare-actions[data-compare-current-view="table"] .compare-row-control {
    grid-column: 1 / 3;
    width: 100%;
  }

  .compare-actions[data-compare-current-view="table"] .compare-row-control > span {
    display: none;
  }

  .compare-actions[data-compare-current-view="table"] .compare-row-toggle button {
    min-height: 44px;
    padding-inline: 6px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .compare-actions[data-compare-current-view="table"] .secondary-button {
    width: 100%;
    min-height: 44px;
    padding-inline: 6px;
    font-size: 0.86rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .compare-actions[data-compare-current-view="table"] [data-compare-clear] {
    grid-column: 3;
    grid-row: 2;
  }

  .compare-actions[data-compare-current-view="table"] [data-compare-share] {
    grid-column: 3;
    grid-row: 1;
  }

  .compare-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .compare-head .intro-copy {
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .compare-head .comparison-standard {
    margin-bottom: 0;
    padding: 8px 9px;
    font-size: 0.76rem;
    line-height: 1.36;
  }

  .compare-snapshot {
    gap: 7px;
    margin-bottom: 12px;
    padding: 9px;
  }

  .compare-snapshot-label {
    display: flex;
    gap: 4px 10px;
    padding: 0 0 6px;
    border-right: 0;
    border-bottom: 1px solid #d0e9e4;
  }

  .compare-snapshot-label strong {
    margin-top: 0;
    font-size: 1rem;
  }

  .compare-snapshot-content {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 0;
  }

  .compare-snapshot .compare-snapshot-ranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-bottom: 0;
    border-color: #d8e9e6;
  }

  .compare-snapshot-ranges > div {
    padding: 5px 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .compare-snapshot-ranges > div:first-child {
    padding-left: 0;
  }

  .compare-snapshot-ranges > div:nth-child(odd) {
    border-left: 0;
  }

  .compare-snapshot-ranges > div:nth-child(even) {
    border-left: 1px solid #e3f0ed;
  }

  .compare-snapshot-ranges > div:nth-child(n + 3) {
    border-top: 1px solid #e3f0ed;
    padding-top: 6px;
  }

  .compare-snapshot dt {
    font-size: 0.64rem;
    line-height: 1.18;
  }

  .compare-snapshot dd {
    margin-top: 2px;
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .compare-differences {
    gap: 3px;
    padding: 5px 0 0;
    border-left: 0;
    border-top: 1px solid #dcece8;
  }

  .compare-differences dl {
    display: grid;
    position: relative;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border-color: #e1eeeb;
  }

  .compare-differences dl div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    align-items: flex-start;
    min-width: 0;
    padding: 5px 6px;
    border-top: 0;
    border-left: 0;
  }

  .compare-differences dl div:first-child {
    border-left: 0;
  }

  .compare-differences dl div:nth-child(even) {
    border-left: 1px solid #eef4f3;
  }

  .compare-differences dl div:nth-child(n + 3) {
    border-top: 1px solid #eef4f3;
  }

  .compare-differences dt {
    max-width: none;
    font-size: 0.62rem;
    line-height: 1.18;
  }

  .compare-differences dd {
    margin-top: 0;
    font-size: 0.74rem;
    line-height: 1.22;
  }

  .compare-differences-heading small {
    display: none;
  }

  .compare-differences::after {
    content: none;
  }

  .compare-differences::before {
    content: none;
  }

  .feedback-launcher {
    display: none;
  }

  .step-dots {
    grid-template-columns: 1fr 1fr;
  }

  .matcher-shell .step-dots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.offer-value-pair.offer-value-pair-descriptive-value > .offer-value-fact {
  grid-template-columns: 1fr;
  gap: 3px;
  align-items: start;
}

.offer-value-pair.offer-value-pair-descriptive-value > .offer-value-fact strong {
  margin-top: 0;
  line-height: 1.1;
  text-align: left;
}

.offer-value-pair.offer-value-pair-descriptive-value > .offer-timing-fact span,
.offer-value-pair.offer-value-pair-descriptive-value > .offer-qualification-fact span {
  color: #315f61;
  font-size: 0.71rem;
  font-weight: 760;
  opacity: 0.82;
}

.offer-value-pair.offer-value-pair-descriptive-value > .offer-timing-fact strong,
.offer-value-pair.offer-value-pair-descriptive-value > .offer-qualification-fact strong {
  font-size: 0.91rem;
  font-weight: 790;
  line-height: 1.18;
}

@media (max-width: 420px) {
  .page-hero[data-track-section="calculator_hero"] {
    padding-top: 22px;
    padding-bottom: 8px;
  }

  .page-hero[data-track-section="calculator_hero"] .eyebrow {
    margin-bottom: 6px;
  }

  .page-hero[data-track-section="calculator_hero"] h1 {
    font-size: 1.86rem;
    line-height: 1.06;
  }

  .page-hero[data-track-section="calculator_hero"] .intro-copy {
    margin-top: 8px;
    font-size: 0.91rem;
    line-height: 1.36;
  }

  .page-hero[data-track-section="calculator_hero"] .comparison-standard {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .tool-layout[data-track-section="calculator_tool"] {
    gap: 10px;
  }

  .tool-layout[data-track-section="calculator_tool"] .tool-panel {
    gap: 10px;
    padding: 12px;
  }

  .tool-layout[data-track-section="calculator_tool"] .calculator-inline-summary {
    padding: 10px;
  }

  .tool-layout[data-track-section="calculator_tool"] .calculator-inline-summary strong {
    font-size: 1.45rem;
  }

  .tool-layout[data-track-section="calculator_tool"] .form-grid {
    gap: 8px;
  }

  .matcher-shell {
    padding-top: 24px;
  }

  .matcher-shell .section-heading h1 {
    font-size: 1.68rem;
    line-height: 1.06;
  }

  .matcher-shell .intro-copy {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.36;
  }

  .matcher-shell .comparison-standard {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .matcher-shell .match-panel {
    gap: 10px;
    padding: 12px;
  }

  .matcher-shell .match-step h2 {
    margin-bottom: 6px;
    font-size: 1.38rem;
    line-height: 1.12;
  }

  .matcher-shell .match-step p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .matcher-shell .choice-card {
    min-height: 66px;
    padding: 9px 28px 9px 9px;
  }

  .matcher-shell .choice-card::after {
    top: 10px;
    right: 9px;
    width: 12px;
    height: 12px;
  }

  .matcher-shell .choice-card strong {
    font-size: 0.9rem;
  }

  .matcher-shell .choice-card span {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .compare-actions[data-compare-current-view="cards"] {
    grid-template-columns: minmax(96px, 1fr) minmax(86px, 0.9fr) minmax(86px, 0.9fr);
  }

  .compare-actions[data-compare-current-view="cards"] .status-pill {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .compare-actions[data-compare-current-view="cards"] > .compare-view-toggle:not(.compare-row-toggle) {
    grid-column: 1;
  }

  .compare-actions[data-compare-current-view="cards"] .secondary-button {
    width: 100%;
    min-height: 44px;
    padding-inline: 6px;
    white-space: nowrap;
  }

  .compare-actions[data-compare-current-view="cards"] .compare-copy-status {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .quick-views {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 4px 0 0;
    padding: 1px 0 0;
    position: relative;
    background: #ffffff;
    border: 1px solid #d9ece8;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .site-main[data-offer-page] .quick-views::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 30px;
    height: 37px;
    pointer-events: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 76%);
  }

  .site-main[data-offer-page] .quick-views::before {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 17px;
    z-index: 1;
    width: 7px;
    height: 7px;
    pointer-events: none;
    border-top: 2px solid rgba(15, 118, 110, 0.72);
    border-right: 2px solid rgba(15, 118, 110, 0.72);
    transform: rotate(45deg);
  }

  .quick-view-heading {
    position: absolute;
    top: -12px;
    left: 7px;
    display: block;
    padding: 0;
    pointer-events: none;
  }

  .quick-view-heading span {
    display: block;
    color: #315f61;
    font-size: 0.58rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .quick-view-list {
    gap: 5px;
    padding-right: 0;
    padding-bottom: 0;
  }

  .quick-view-button {
    flex-basis: calc((100% - 5px) / 2);
    width: calc((100% - 5px) / 2);
    min-height: 39px;
    padding: 5px 7px;
    box-shadow: none;
  }

  .offer-results-nav .category-tabs {
    gap: 4px;
  }

  .site-main[data-offer-page] .offer-results-nav {
    margin-top: 2px;
    background: #f8fcfb;
    border: 1px solid #d9ece8;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .offer-page-layout > section[data-active-filters="true"] > .quick-views {
    margin-bottom: 6px;
    border-bottom: 1px solid #d9ece8;
    border-radius: var(--radius);
  }

  .offer-page-layout > section[data-active-filters="true"] > .offer-results-nav {
    border-top: 1px solid #d9ece8;
    border-radius: var(--radius);
  }

  .offer-results-nav .category-tabs a {
    gap: 0;
    min-height: 38px;
    padding-inline: 5px;
    font-size: 0.8rem;
  }

  .offer-results-nav .category-tabs a svg {
    display: none;
  }

  .site-main[data-offer-page] .page-hero .hero-actions {
    display: none;
  }

  .site-main[data-offer-page] .page-hero-tools .secondary-button[href="#offerGrid"] {
    display: none;
  }

  .offer-page-layout .filter-panel[data-collapsed="true"] {
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .offer-page-layout .filter-panel[data-collapsed="true"] .filter-panel-heading {
    gap: 10px;
    padding: 7px 8px 7px 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .offer-page-layout .filter-panel[data-collapsed="true"] .filter-panel-heading h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .offer-page-layout .filter-panel[data-collapsed="true"] .filter-toggle {
    min-height: 38px;
    padding: 0 12px;
  }

  .offer-page-layout > section > .comparison-standard {
    padding: 7px 9px;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .site-main[data-offer-page] .offer-page-layout {
    gap: 8px;
  }

  .site-main[data-offer-page] .offer-page-layout > section > .compensation-note {
    margin-bottom: 5px;
    font-size: 0.73rem;
    line-height: 1.26;
  }

  .site-main[data-offer-page] .offer-page-layout > section > .comparison-standard {
    margin-bottom: 6px;
    padding: 6px 8px;
    font-size: 0.73rem;
    line-height: 1.26;
  }

}

@media (min-width: 381px) and (max-width: 430px) {
  .site-main[data-category="all"] .offer-results-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    position: relative;
  }

  .site-main[data-category="all"] .offer-results-nav .category-tabs {
    gap: 3px;
    width: 100%;
    padding-right: 30px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 42px), rgba(0, 0, 0, 0.18) calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 42px), rgba(0, 0, 0, 0.18) calc(100% - 20px), transparent 100%);
  }

  .site-main[data-category="all"] .offer-results-nav .category-tabs a {
    padding-inline: 4px;
    font-size: 0.78rem;
  }

  .site-main[data-category="all"] .offer-results-nav .offer-results-toolbar {
    width: 100%;
  }

  .site-main[data-category="all"] .offer-results-nav .compare-view-toggle {
    justify-self: end;
  }

  .site-main[data-category="all"] .offer-results-nav::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -8px;
    z-index: 1;
    width: 7px;
    height: 7px;
    pointer-events: none;
    border-top: 2px solid rgba(15, 118, 110, 0.72);
    border-right: 2px solid rgba(15, 118, 110, 0.72);
    transform: rotate(45deg);
  }
}

@media (max-width: 380px) {
  .hero {
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 8px;
  }

  .hero-copy > .intro-copy {
    margin-top: 8px;
    font-size: 0.94rem;
    line-height: 1.34;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-task-strip {
    margin-top: 9px;
    padding-right: 46px;
    scroll-padding-inline: 0 46px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 72px), rgba(0, 0, 0, 0.12) calc(100% - 44px), transparent calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 72px), rgba(0, 0, 0, 0.12) calc(100% - 44px), transparent calc(100% - 16px), transparent 100%);
  }

  .hero-lens {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 8px;
    padding: 4px 28px 4px 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 28px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 76px), rgba(0, 0, 0, 0.12) calc(100% - 46px), transparent calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 76px), rgba(0, 0, 0, 0.12) calc(100% - 46px), transparent calc(100% - 18px), transparent 100%);
  }

  .hero-lens div {
    flex: 0 0 132px;
    min-width: 132px;
    padding: 7px 8px 7px 13px;
    border-top: 0;
    border-left: 1px solid rgba(122, 143, 160, 0.18);
    scroll-snap-align: start;
  }

  .hero-lens div:first-child {
    border-left: 0;
  }

  .hero-lens div::before {
    top: 9px;
    bottom: 9px;
  }

  .hero-lens strong {
    font-size: 0.82rem;
  }

  .hero-panel {
    gap: 6px;
    padding: 9px;
  }

  .hero-panel-top {
    padding-bottom: 7px;
  }

  .hero-offer-row {
    min-height: 54px;
    padding: 5px 8px;
  }

  .offer-results-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
  }

  .offer-results-nav .category-tabs {
    width: auto;
    min-width: 0;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.35) calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), rgba(0, 0, 0, 0.35) calc(100% - 14px), transparent 100%);
  }

  .offer-results-nav .offer-results-toolbar {
    align-self: center;
    justify-content: flex-end;
    width: auto;
  }

  .offer-results-nav .compare-view-toggle {
    width: auto;
  }

  .site-main:is([data-category="all"], [data-category="banks"], [data-category="brokerages"], [data-category="cards"]) .offer-results-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    position: relative;
  }

  .site-main:is([data-category="all"], [data-category="banks"], [data-category="brokerages"], [data-category="cards"]) .offer-results-nav .category-tabs {
    gap: 3px;
    width: 100%;
    padding-right: 30px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), rgba(0, 0, 0, 0.04) calc(100% - 36px), transparent calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), rgba(0, 0, 0, 0.04) calc(100% - 36px), transparent calc(100% - 24px), transparent 100%);
  }

  .site-main:is([data-category="all"], [data-category="banks"], [data-category="brokerages"], [data-category="cards"]) .offer-results-nav .category-tabs a {
    padding-inline: 4px;
    font-size: 0.78rem;
  }

  .site-main:is([data-category="all"], [data-category="banks"], [data-category="brokerages"], [data-category="cards"]) .offer-results-nav .offer-results-toolbar {
    width: 100%;
  }

  .site-main:is([data-category="all"], [data-category="banks"], [data-category="brokerages"], [data-category="cards"]) .offer-results-nav .compare-view-toggle {
    justify-self: end;
  }

  .site-main:is([data-category="all"], [data-category="banks"], [data-category="brokerages"], [data-category="cards"]) .offer-results-nav::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -8px;
    z-index: 1;
    width: 7px;
    height: 7px;
    pointer-events: none;
    border-top: 2px solid rgba(15, 118, 110, 0.72);
    border-right: 2px solid rgba(15, 118, 110, 0.72);
    transform: rotate(45deg);
  }

  .offer-results-nav .compare-view-toggle button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .offer-page-layout > section[data-active-filters="true"] > .quick-views {
    display: none;
  }

  .matcher-shell {
    padding-top: 18px;
  }

  .matcher-shell .section-heading {
    gap: 8px;
  }

  .matcher-shell .section-heading h1 {
    font-size: 1.56rem;
    line-height: 1.04;
  }

  .matcher-shell .intro-copy {
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.32;
  }

  .matcher-shell .comparison-standard {
    margin-top: 8px;
    padding: 7px 8px;
    font-size: 0.74rem;
    line-height: 1.28;
  }

  .matcher-shell .match-panel {
    gap: 8px;
    padding: 10px;
  }

  .matcher-shell .match-step h2 {
    margin-bottom: 5px;
    font-size: 1.28rem;
    line-height: 1.08;
  }

  .matcher-shell .match-step p {
    margin-bottom: 8px;
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .matcher-shell .choice-grid {
    gap: 6px;
  }

  .matcher-shell .choice-card {
    min-height: 60px;
    padding: 8px;
  }

  .matcher-shell .choice-card strong {
    font-size: 0.86rem;
    line-height: 1.12;
  }

  .matcher-shell .choice-card span {
    margin-top: 2px;
    font-size: 0.74rem;
    line-height: 1.24;
  }

  .compare-shell {
    padding-top: 14px;
  }

  .compare-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  .compare-head h1 {
    font-size: 1.8rem;
    line-height: 1.02;
  }

  .compare-head .intro-copy {
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .compare-head .comparison-standard {
    padding: 7px 8px;
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .compare-actions {
    gap: 6px;
  }

  .compare-snapshot {
    gap: 4px;
    margin-bottom: 6px;
    padding: 5px;
  }

  .compare-snapshot-label {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
    justify-content: start;
    padding-bottom: 3px;
  }

  .compare-snapshot-label span {
    min-width: 0;
  }

  .compare-snapshot-label strong {
    min-width: 0;
    font-size: 0.96rem;
    line-height: 1.18;
    text-align: left;
  }

  .compare-snapshot-content,
  .compare-snapshot .compare-snapshot-ranges {
    gap: 4px;
  }

  .compare-snapshot-ranges > div {
    padding: 3px 5px;
  }

  .compare-differences {
    gap: 1px;
    padding: 3px 0 0;
  }

  .compare-differences dl div {
    min-width: 0;
    padding: 4px 5px;
  }

  .compare-differences dt {
    max-width: none;
    font-size: 0.6rem;
  }

  .compare-differences dd {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .offer-page-layout > section > .catalog-notes {
    order: 10;
  }

  .offer-page-layout > section > .category-guidance {
    order: 11;
  }
}

@media (max-width: 340px) {
  .hero-task-strip {
    padding-right: 54px;
    scroll-padding-inline: 0 54px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 58px), rgba(0, 0, 0, 0.05) calc(100% - 47px), transparent calc(100% - 39px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 58px), rgba(0, 0, 0, 0.05) calc(100% - 47px), transparent calc(100% - 39px), transparent 100%);
  }

  .matcher-shell {
    padding-top: 16px;
  }

  .matcher-shell .comparison-standard {
    margin-top: 6px;
    padding: 6px 7px;
    font-size: 0.7rem;
    line-height: 1.22;
  }

  .matcher-shell .match-panel {
    gap: 6px;
    padding: 8px;
  }

  .matcher-shell .match-step h2 {
    margin-bottom: 4px;
    font-size: 1.2rem;
    line-height: 1.06;
  }

  .matcher-shell .match-step p {
    margin-bottom: 6px;
    font-size: 0.8rem;
    line-height: 1.22;
  }

  .matcher-shell .choice-grid {
    gap: 5px;
  }

  .matcher-shell .choice-card {
    min-height: 56px;
    padding: 7px;
  }

  .matcher-shell .choice-card strong {
    font-size: 0.84rem;
    line-height: 1.1;
  }

  .matcher-shell .choice-card span {
    font-size: 0.72rem;
    line-height: 1.2;
  }
}

@media (max-width: 380px) {
  .content-page h1 {
    font-size: 1.82rem;
  }

  .detail-title-row {
    gap: 8px;
  }

  .detail-title-row .logo-tile-large.logo-tile-image {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .detail-title-row .logo-tile-large.logo-tile-wordmark {
    flex-basis: 72px;
    width: 72px;
    height: 44px;
  }

  .offer-heading .logo-tile-wordmark {
    flex-basis: 104px;
    width: 104px;
  }

  .detail-heading h1 {
    font-size: 2rem;
  }

  .offer-card-checks .offer-decision-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-card-checks .offer-decision-fact:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .compare-grid .offer-value-pair > .offer-qualification-fact {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 6px 0 0;
    border-top: 1px solid rgba(15, 118, 110, 0.13);
    border-left: 0;
  }

  .compare-grid .offer-value-pair > .offer-qualification-fact strong {
    margin-top: 0;
    text-align: left;
  }

  .offer-value-pair.offer-value-pair-long-requirement > .offer-timing-fact,
  .offer-value-pair.offer-value-pair-long-requirement > .offer-qualification-fact {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 6px 0;
    border-top: 1px solid rgba(15, 118, 110, 0.13);
    border-left: 0;
  }

  .offer-value-pair.offer-value-pair-long-requirement > .offer-timing-fact strong,
  .offer-value-pair.offer-value-pair-long-requirement > .offer-qualification-fact strong {
    margin-top: 0;
    text-align: left;
  }

  .offer-value-pair.offer-value-pair-long-requirement.offer-value-pair-descriptive-value > .offer-timing-fact,
  .offer-value-pair.offer-value-pair-long-requirement.offer-value-pair-descriptive-value > .offer-qualification-fact {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 6px 0 7px;
    border-top-color: rgba(15, 118, 110, 0.1);
  }

  .offer-value-pair.offer-value-pair-supporting-estimate.offer-value-pair-long-requirement > .offer-value-fact,
  .offer-value-pair.offer-value-pair-supporting-estimate.offer-value-pair-long-requirement > .offer-timing-fact {
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 2px 0 0;
    border-top: 0;
  }

  .offer-value-pair.offer-value-pair-supporting-estimate.offer-value-pair-long-requirement > .offer-qualification-fact {
    grid-column: 1 / -1;
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0 0;
    border-top: 1px solid rgba(15, 118, 110, 0.13);
  }
}

@media (max-width: 340px) {
  .site-main[data-offer-page] .offer-page-layout .filter-panel[data-collapsed="true"] .filter-panel-heading {
    gap: 8px;
    padding-inline: 8px;
  }

  .offer-core-facts {
    grid-template-areas:
      "fee"
      "application"
      "availability";
    grid-template-columns: 1fr;
  }

  .offer-core-fact-application {
    padding-left: 0;
    border-left: 0;
  }

  .offer-value-pair > .offer-value-fact,
  .compare-grid .offer-value-pair > .offer-value-fact {
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: start;
  }

  .offer-value-fact strong,
  .compare-grid .offer-value-fact strong {
    text-align: left;
  }

  .offer-value-pair.offer-value-pair-supporting-estimate > .offer-value-fact {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .detail-title-row {
    flex-wrap: wrap;
  }

  .detail-title-row .logo-tile-large.logo-tile-image {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .detail-title-row .logo-tile-large.logo-tile-wordmark {
    flex: 0 0 72px;
    width: 72px;
    height: 44px;
  }

  .detail-title-row > :not(.logo-tile) {
    flex: 1 0 230px;
  }

  .detail-heading h1 {
    max-width: 100%;
    font-size: 1.86rem;
    text-wrap: normal;
  }

}

@media (max-width: 860px) {
  .reviewer-quick-fact-grid div {
    padding: 14px;
  }

  .reviewer-snapshot-grid {
    margin: 14px 0 16px;
  }

  .reviewer-check-list,
  .reviewer-check-list.compact {
    gap: 8px;
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  .site-main[data-offer-page] .offer-results-toolbar {
    display: none;
  }
}

@media (min-width: 360px) and (max-width: 860px) {
  .reviewer-quick-fact-grid,
  .reviewer-path,
  .reviewer-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .reviewer-quick-fact-grid div {
    padding: 12px;
  }

  .reviewer-path a,
  .reviewer-policy-grid div {
    padding-top: 12px;
  }

  .reviewer-snapshot-grid strong {
    font-size: 1.55rem;
  }
}

@media (max-width: 560px) {
  .content-page.reviewer-page > section {
    margin-top: 18px;
    padding-top: 18px;
  }

  .content-page.reviewer-page > .intro-copy {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .reviewer-quick-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .reviewer-quick-fact-grid div {
    min-height: 0;
    padding: 10px;
    border-radius: 8px;
  }

  .reviewer-quick-fact-grid span {
    font-size: 0.62rem;
    line-height: 1.08;
  }

  .reviewer-quick-fact-grid strong {
    margin-top: 5px;
    font-size: 0.9rem;
    line-height: 1.15;
  }

  .reviewer-quick-fact-grid small {
    margin-top: 6px;
    font-size: 0.74rem;
    line-height: 1.3;
  }
}

@media (max-width: 340px) {
  .content-page.reviewer-page {
    width: min(1050px, 100% - 20px);
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep the next comparison action within reach on responsive offer lists. */
.saved-compare-tray {
  display: none;
}

@media (max-width: 1180px) {
  html.has-saved-compare-tray {
    scroll-padding-bottom: calc(var(--saved-tray-height, 76px) + 28px + env(safe-area-inset-bottom));
  }

  .has-saved-compare-tray body {
    padding-bottom: calc(var(--saved-tray-height, 76px) + 28px + env(safe-area-inset-bottom));
  }

  .saved-compare-tray:not([hidden]) {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: 600px;
    margin-inline: auto;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid #9acac2;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(23, 32, 45, 0.2);
  }

  .saved-tray-summary {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
  }

  .saved-tray-summary strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
  }

  .saved-tray-summary [data-tray-preview] {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .saved-compare-tray .primary-button {
    flex: 0 0 auto;
    min-height: 44px;
    max-width: 56%;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .has-saved-compare-tray .feedback-launcher {
    bottom: calc(var(--saved-tray-height, 76px) + 28px + env(safe-area-inset-bottom));
  }

  /* Dense comparisons use the existing footer feedback path on smaller screens. */
  body:has(.compare-shell) .feedback-launcher {
    display: none;
  }
}

/* Responsive layouts must accommodate wider platform fonts without clipping labels. */
@media (max-width: 1180px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  .site-header .brand {
    min-width: 0;
  }
  .site-header .brand > span:last-child {
    min-width: 0;
  }
  .site-header .brand strong {
    line-height: 1.12;
  }
  .site-header .brand small {
    line-height: 1.3;
  }
  .site-header .top-nav {
    grid-column: 1 / -1;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .offer-results-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-bottom: 6px;
  }
  .offer-results-nav .offer-results-toolbar {
    justify-self: end;
  }
  .site-main[data-offer-page] .page-hero {
    padding-top: 22px;
    gap: 12px;
  }
  .site-main[data-offer-page] .page-hero .hero-actions {
    margin-top: 12px;
  }
  .site-main[data-offer-page] .result-pill,
  .site-main[data-offer-page] .page-hero-tools .secondary-button {
    min-height: 44px;
  }
  .site-main[data-offer-page] .result-pill {
    display: flex;
    gap: 8px;
  }
  .site-main[data-offer-page] .filter-panel {
    padding: 10px 18px;
  }
}
@media (max-width: 640px) {
  .detail-heading h1 {
    text-wrap: normal;
  }
  .content-page .detail-actions .primary-button,
  .content-page .detail-actions .secondary-button {
    white-space: normal;
    overflow-wrap: normal;
  }
  .offer-card .offer-actions,
  .detail-summary .detail-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(116px, max-content);
    gap: 8px;
  }
  .offer-card .offer-actions .primary-button,
  .detail-summary .detail-actions .primary-button {
    grid-column: 1 / -1;
  }
  .offer-card .offer-actions .secondary-button,
  .offer-card .offer-actions .icon-button,
  .detail-summary .detail-actions .secondary-button,
  .detail-summary .detail-actions .icon-button {
    padding-inline: 4px;
    font-size: 0.86rem;
  }
  .detail-value-pair:not(.detail-value-pair-descriptive-value) {
    grid-template-columns: minmax(0, 1fr) max-content;
  }
  .detail-value-pair:not(.detail-value-pair-descriptive-value) > div {
    padding-inline: 4px;
  }
  .detail-value-pair:not(.detail-value-pair-descriptive-value) > div:first-child {
    padding-left: 0;
  }
  .detail-value-pair:not(.detail-value-pair-descriptive-value) > .detail-timing-fact {
    padding-right: 0;
  }
  .detail-value-pair:not(.detail-value-pair-descriptive-value) > .detail-timing-fact strong {
    white-space: nowrap;
  }
}
.compare-table thead th[scope="col"] {
  min-width: 240px;
}
@media (min-width: 381px) and (max-width: 640px) {
  .offer-card .offer-actions,
  .detail-summary .detail-actions {
    grid-template-columns: minmax(0, 1fr) minmax(140px, max-content);
  }
}
@media (max-width: 560px) {
  .site-main[data-guide-hub] > .page-hero {
    padding-top: 20px;
  }
  .site-main[data-guide-hub] > .page-hero + .section-band {
    padding-top: 14px;
  }
  .site-main[data-guide-hub] > .page-hero + .section-band .section-heading {
    margin-bottom: 10px;
  }
  .site-main[data-offer-page] .quick-views::before {
    right: -10px;
  }
}
@media (max-width: 480px) {
  .guide-paid-panel {
    padding: 10px;
    gap: 8px;
  }
  .guide-paid-panel .paid-option-disclosure {
    line-height: 1.4;
  }
  .compare-shell {
    padding-top: 10px;
  }
  .compare-head {
    margin-bottom: 6px;
  }
  .compare-head .comparison-standard {
    padding-block: 4px;
  }
  .action-card > div {
    min-width: 0;
  }
  .action-card .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-title-row .logo-tile-large.logo-tile-wordmark {
    flex-basis: 72px;
    width: 72px;
    height: 44px;
  }
}
@media (max-width: 380px) {
  .hero-lens div {
    flex-basis: 156px;
    min-width: 156px;
  }
  .site-main[data-offer-page] .page-hero {
    padding-top: 12px;
    padding-bottom: 4px;
  }
  .site-main[data-offer-page] .page-hero h1 {
    font-size: 1.85rem;
  }
  .site-main[data-offer-page] .page-hero .intro-copy {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .offer-card .offer-heading p {
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .site-main[data-offer-page] .offer-page-layout {
    gap: 6px;
  }
  .site-main[data-category="business"] .quick-view-button:first-child {
    flex-basis: calc((100% - 5px) * 0.45);
    width: calc((100% - 5px) * 0.45);
  }
  .site-main[data-category="business"] .quick-view-button:nth-child(2) {
    flex-basis: calc((100% - 5px) * 0.55);
    width: calc((100% - 5px) * 0.55);
  }
}
@media (max-width: 340px) {
  .hero {
    gap: 8px;
    padding-bottom: 4px;
  }
  .hero-copy h1 {
    font-size: 1.75rem;
  }
  .hero .hero-actions .primary-button,
  .hero .hero-actions .secondary-button {
    padding-inline: 6px;
    font-size: 0.92rem;
    white-space: nowrap;
  }
  .matcher-shell > .section-heading {
    margin-bottom: 8px;
  }
  .compare-snapshot .compare-snapshot-ranges {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .compare-differences dl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .compare-snapshot-ranges > div, .compare-differences dl div {
    padding-inline: 3px;
  }
  .compare-snapshot-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .compare-snapshot-label strong {
    font-size: 0.88rem;
  }
}

/* The content page already has an outer inset; keep its narrow reading width. */
@media (max-width: 480px) {
  .content-page:not(.reviewer-page) {
    padding-inline: 0;
  }
}
@media (max-width: 380px) {
  .content-page:not(.reviewer-page) h1 {
    font-size: 1.82rem;
  }
}

@media (max-width: 359px) {
  .content-page:not(.reviewer-page) h1 {
    font-size: 1.65rem;
  }
}
