@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --parchment: #f5e6c8;
  --amber: #d4a574;
  --ink: #262117;
  --ink-muted: #5a4e3a;
  --ink-faint: #8a7a60;
  --amber-dark: #b8854a;
  --amber-light: #e8c99a;
  --white: #fffdf6;
  --radius: 4px;
  --max-w: 1180px;
  --col-gap: 2rem;
  --font-head: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --shadow-card: 0 2px 12px rgba(38,33,23,0.14), 0 1px 3px rgba(38,33,23,0.08);
  --shadow-lift: 0 8px 24px rgba(38,33,23,0.2);
  --transition: 0.25s ease;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--parchment);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Film grain overlay via SVG filter */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.05;
}

/* Light leak */
.light-leak {
  position: fixed;
  top: -60px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8998;
  background: radial-gradient(ellipse at center, rgba(212,165,116,0.18) 0%, rgba(245,230,200,0.08) 50%, transparent 70%);
  animation: lightLeak 8s ease-in-out infinite alternate;
}

@keyframes lightLeak {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50%  { transform: translate(-20px, 20px) scale(1.12); opacity: 1; }
  100% { transform: translate(10px, -10px) scale(0.95); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .light-leak { animation: none; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.4rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

small.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.4rem;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background-color: var(--ink);
  border-bottom: 2px solid var(--amber);
  box-shadow: 0 2px 16px rgba(38,33,23,0.4);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.brand:hover { color: var(--parchment); }

.brand img {
  width: 32px;
  height: 32px;
  display: inline-block;
  filter: sepia(0.3);
}

.primary-nav {
  flex: 1;
  overflow: hidden;
}

.primary-nav dl {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav dl dd {
  display: block;
  margin: 0;
}

.primary-nav dl dd a {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--amber-light);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}

.primary-nav dl dd a:hover,
.primary-nav dl dd a[aria-current="page"] {
  background: rgba(212,165,116,0.18);
  color: var(--amber);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header CTA buttons */
.header-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.cta-signup {
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--amber);
}

.cta-signup:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212,165,116,0.35);
}

.cta-login {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}

.cta-login:hover {
  background: rgba(212,165,116,0.12);
  color: var(--amber-light);
  transform: translateY(-1px);
}

/* ===========================
   HERO (home)
   =========================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.4) contrast(1.05) saturate(0.75);
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(38,33,23,0.35) 0%, rgba(38,33,23,0.88) 70%);
}

.hero-bg-text {
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(212,165,116,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.hero-copy .eyebrow { color: var(--amber); }

.hero-copy h1 {
  color: var(--parchment);
  max-width: 680px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(38,33,23,0.5);
}

.hero-desc {
  color: var(--amber-light);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta { margin-top: 0.5rem; }

/* ===========================
   PAGE BANNERS (inner pages)
   =========================== */
.page-banner {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 3rem;
  border-bottom: 3px solid var(--amber);
}

.page-banner .banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--parchment);
  max-width: 760px;
}

.page-banner .eyebrow { color: var(--amber); }

.banner-bg-text {
  position: absolute;
  right: -0.02em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 14rem);
  color: rgba(212,165,116,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  line-height: 1;
}

.review-banner { padding: 0; }
.review-banner .banner-inner { padding: 3rem 1.5rem 2.5rem; }
.review-banner-fig {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.review-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.35) contrast(1.05) saturate(0.7);
  opacity: 0.45;
}

/* ===========================
   BYLINE
   =========================== */
.byline {
  font-size: 0.88rem;
  color: var(--amber-light);
  margin-top: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.byline time { font-style: italic; }

/* ===========================
   MAIN LAYOUT: content + sidebar
   =========================== */
#main-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--col-gap);
  align-items: start;
}

.content-figure {
  margin: 0;
  min-width: 0;
}

/* ===========================
   PROSE
   =========================== */
.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.prose h2, .prose h3, .prose h4 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}

.prose a {
  color: var(--amber-dark);
  text-decoration: underline;
  font-weight: 500;
}

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

.prose ul, .prose ol {
  margin-bottom: 1rem;
  padding-left: 1.6rem;
}

.prose li { margin-bottom: 0.35rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.93rem;
}

.prose th {
  background: var(--ink);
  color: var(--amber);
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(212,165,116,0.25);
  color: var(--ink);
}

.prose tr:nth-child(even) td { background: rgba(212,165,116,0.07); }

.prose blockquote {
  border-left: 3px solid var(--amber);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: rgba(212,165,116,0.1);
  font-style: italic;
  color: var(--ink-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  filter: sepia(0.15) contrast(1.02);
  margin: 1.5rem 0;
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar {
  background: rgba(212,165,116,0.12);
  border: 1px solid rgba(212,165,116,0.3);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: sticky;
  top: 80px;
}

.sidebar-h {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.sidebar nav dl {
  padding: 0;
  margin: 0;
}

.sidebar nav dl dt {
  margin: 0;
  border-bottom: 1px solid rgba(212,165,116,0.2);
}

.sidebar nav dl dt:last-child { border-bottom: none; }

.sidebar nav dl dt a {
  display: block;
  padding: 0.55rem 0.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar nav dl dt a:hover {
  color: var(--amber-dark);
  padding-left: 0.5rem;
}

/* ===========================
   CHILD PAGE CARDS (home)
   =========================== */
.child-pages {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(212,165,116,0.3);
}

.child-pages h2 { margin-bottom: 1.5rem; }

.card-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(212,165,116,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
  filter: sepia(0.04);
}

.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.rank-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}

.card-body { flex: 1; min-width: 0; }

.card-body a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

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

.card-body small {
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.5;
  display: block;
}

/* ===========================
   RANKING LIST
   =========================== */
.rank-list-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(212,165,116,0.3);
}

.rank-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rank-item {
  background: var(--white);
  border: 1px solid rgba(212,165,116,0.28);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  filter: sepia(0.04);
}

.rank-item:hover {
  box-shadow: var(--shadow-lift);
  transform: translateX(4px);
}

.rank-badge {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-info { flex: 1; min-width: 0; }

.rank-info a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.rank-info a:hover { color: var(--amber-dark); }

.rank-info small {
  font-size: 0.83rem;
  color: var(--ink-faint);
  line-height: 1.5;
  display: block;
}

/* ===========================
   COMPARE
   =========================== */
.compare-section { grid-template-columns: 1fr 280px; }

.compare-intro { margin-bottom: 1.5rem; }

.compare-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,165,116,0.25);
}

/* ===========================
   REVIEW CTA
   =========================== */
.review-cta-block {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,165,116,0.25);
}

/* ===========================
   ABOUT / AUTHOR SECTION
   =========================== */
.author-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--ink);
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
}

.author-section h2 {
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.author-credentials {
  font-size: 0.9rem;
  color: var(--amber-light);
  margin-bottom: 0.75rem;
}

.author-bio {
  color: var(--parchment);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--amber);
  padding: 0;
  margin-top: 4rem;
}

.site-footer > section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.site-footer > section + section {
  border-top: 1px solid rgba(212,165,116,0.18);
}

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

.footer-brand .brand {
  font-size: 1.3rem;
}

.footer-brand p {
  color: var(--amber-light);
  font-size: 0.9rem;
  max-width: 420px;
  line-height: 1.6;
  margin: 0;
}

.footer-cta { align-self: flex-start; }

.footer-nav .eyebrow { color: var(--amber); }

.footer-nav-h {
  color: var(--parchment);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-nav nav dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.1rem 1rem;
  padding: 0;
  margin: 0;
}

.footer-nav nav dl dt {
  margin: 0;
}

.footer-nav nav dl dt a,
.footer-nav nav dl dd a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.87rem;
  color: var(--amber-light);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
  border-bottom: 1px solid rgba(212,165,116,0.1);
}

.footer-nav nav dl dt a:hover,
.footer-nav nav dl dd a:hover {
  color: var(--amber);
}

.footer-legal {
  text-align: center;
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

.rg-notice {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.copyright {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card, .rank-item {
    transition: none;
  }
}

/* ===========================
   VHS TRACKING EFFECT (subtle)
   =========================== */
@keyframes vhsTrack {
  0%   { clip-path: inset(0 0 100% 0); }
  4%   { clip-path: inset(40% 0 58% 0); transform: skewX(0.3deg); }
  8%   { clip-path: inset(0 0 100% 0); transform: skewX(0); }
  100% { clip-path: inset(0 0 100% 0); }
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212,165,116,0.03);
  animation: vhsTrack 12s step-end infinite;
  pointer-events: none;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .page-banner::before { animation: none; }
}

/* ===========================
   POLAROID CARD EFFECT
   =========================== */
.card {
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(245,230,200,0.15);
  pointer-events: none;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
@media (max-width: 768px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid var(--amber);
    border-bottom: 2px solid var(--amber);
    z-index: 799;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav dl {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .primary-nav dl dd a {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(212,165,116,0.12);
    min-height: 52px;
  }

  .nav-toggle { display: flex; }

  .site-header { position: sticky; }
  .site-header .header-inner { position: relative; }

  .header-ctas {
    gap: 0.4rem;
  }

  .cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    min-height: 44px;
  }
}

/* ===========================
   LAYOUT RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .content-section {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .compare-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero { min-height: 65vh; }

  .hero-copy { padding: 2.5rem 1rem 3.5rem; }

  .page-banner { padding: 2.5rem 1rem 2rem; }

  #main-content { padding: 2rem 1rem; }

  .card-list { grid-template-columns: 1fr; }

  .footer-nav nav dl { grid-template-columns: 1fr; }

  .compare-cta-row { flex-direction: column; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
}

/* Ensure no horizontal overflow at 375px */
@media (max-width: 400px) {
  .header-inner { padding: 0 0.75rem; gap: 0.5rem; }
  .brand { font-size: 0.95rem; }
  .cta { padding: 0.4rem 0.6rem; font-size: 0.74rem; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}