/* ============================================================
   verkaufe-buecher.de – Design System
   Buch-/Bibliotheks-Ästhetik: Oxblood, Pergament, Gold
   ============================================================ */

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

:root {
  /* Core palette */
  --oxblood:      #722F37;
  --oxblood-dark: #4E1F25;
  --oxblood-light:#8F3E47;
  --gold:         #C9A961;
  --gold-dark:    #A78840;
  --gold-light:   #E5D4A8;
  --sepia:        #2B1F14;
  --sepia-muted:  #55412F;
  --cream:        #FAF7F0;
  --cream-alt:    #F3EDE0;
  --cream-dark:   #EAE0CC;
  --paper:        #FFFFFF;
  --border:       #E0D5BC;
  --border-strong:#C9B888;

  /* Semantic tokens */
  --primary:      var(--oxblood);
  --primary-dark: var(--oxblood-dark);
  --accent:       var(--gold);
  --bg:           var(--cream);
  --bg-alt:       var(--cream-alt);
  --bg-paper:     var(--paper);
  --text:         var(--sepia);
  --text-muted:   var(--sepia-muted);

  --shadow:    0 4px 20px rgba(43, 31, 20, 0.10);
  --shadow-sm: 0 2px 8px rgba(43, 31, 20, 0.07);
  --shadow-lg: 0 10px 40px rgba(43, 31, 20, 0.14);

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  /* Subtle paper texture via gradient */
  background-image:
    radial-gradient(ellipse at top left,  rgba(201, 169, 97, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(114, 47, 55, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ---- Layout ---- */
.container       { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.container-narrow{ max-width: 780px;  margin: 0 auto; padding: 0 22px; }

/* ---- Inline Affiliate Disclosure ---- */
.disclosure-note {
  max-width: 720px;
  margin: -4px auto 32px;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--sepia-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.01em;
}
.disclosure-note em { font-style: italic; color: var(--sepia); }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(43, 31, 20, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 18px;
}
.nav-logo {
  color: var(--oxblood);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
  position: relative;
  padding-left: 14px;
}
.nav-logo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-logo em { font-style: italic; color: var(--gold-dark, #8a7438); font-weight: 600; margin-left: 2px; }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--sepia);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
  display: inline-block;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--oxblood);
  background: var(--cream-alt);
}
.has-dropdown > a {
  padding-right: 22px;
  position: relative;
}
.has-dropdown > a::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--sepia-muted);
  transform: translateY(-25%);
  transition: transform 0.15s;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after {
  transform: translateY(-25%) rotate(180deg);
  border-top-color: var(--oxblood);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(43, 31, 20, 0.14);
  list-style: none;
  padding: 8px;
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
  z-index: 110;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.15s, transform 0.15s, visibility 0s;
}
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--sepia);
  border-radius: 4px;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--cream-alt);
  color: var(--oxblood);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--oxblood);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 4px;
}

/* ---- Hero ---- */
.hero {
  background:
    linear-gradient(165deg, rgba(78, 31, 37, 0.90) 0%, rgba(114, 47, 55, 0.80) 100%),
    url('../img/hero-library.jpg') center/cover no-repeat;
  color: var(--cream);
  padding: 84px 20px 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.14) 0%, transparent 45%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 169, 97, 0.18);
  border: 1px solid rgba(201, 169, 97, 0.40);
  color: var(--gold-light);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero .subtitle {
  font-size: 1.18rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.18s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: var(--gold);
  color: var(--oxblood-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 169, 97, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 240, 0.55);
}
.btn-outline:hover {
  background: rgba(250, 247, 240, 0.1);
  border-color: var(--cream);
}
.btn-oxblood {
  background: var(--oxblood);
  color: var(--cream);
  border-color: var(--oxblood);
}
.btn-oxblood:hover {
  background: var(--oxblood-dark);
  border-color: var(--oxblood-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(114, 47, 55, 0.30);
}
.btn-ghost {
  background: transparent;
  color: var(--oxblood);
  border-color: var(--oxblood);
}
.btn-ghost:hover {
  background: var(--oxblood);
  color: var(--cream);
}
.btn-lg { padding: 16px 38px; font-size: 1.06rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* (Anzeige) label inside buttons */
.btn:has(small) { flex-wrap: wrap; }
.btn small {
  flex-basis: 100%;
  text-align: center;
  font-size: .62em;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 1px;
  opacity: .82;
  letter-spacing: .02em;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 14px 0 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--oxblood); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 7px; opacity: 0.5; }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-paper { background: var(--bg-paper); }
.section-dark {
  background: linear-gradient(160deg, var(--oxblood) 0%, var(--oxblood-dark) 100%);
  color: var(--cream);
}
.section-dark .section-title,
.section-dark h2,
.section-dark h3 { color: var(--cream); }
.section-dark .section-subtitle { color: rgba(250, 247, 240, 0.78); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--oxblood);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 44px;
  font-size: 1.07rem;
  max-width: 640px;
  line-height: 1.6;
}
.section-subtitle.text-center { margin-left: auto; margin-right: auto; }

/* ---- Cards ---- */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 32px 0;
}
.card-step {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--oxblood);
  margin-bottom: 10px;
  line-height: 1.25;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
  line-height: 1.6;
}
.card a.card-link {
  color: var(--oxblood);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card a.card-link:hover { color: var(--oxblood-dark); gap: 9px; transition: gap 0.15s; }

/* ---- Provider Card (comparison list item) ---- */
.provider-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.provider-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.provider-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--paper) 0%, #FFFBF0 100%);
  position: relative;
}
.provider-card.featured::before {
  content: 'Empfohlen';
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: var(--oxblood-dark);
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.provider-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--cream-alt);
  color: var(--oxblood);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
}
.provider-card.featured .provider-rank {
  background: var(--gold);
  color: var(--oxblood-dark);
}
.provider-info h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--oxblood);
  margin-bottom: 4px;
  line-height: 1.2;
}
.provider-info .tagline {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 10px;
}
.provider-meta {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.provider-meta span {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  padding: 0 14px;
  border-right: 1px solid var(--border);
}
.provider-meta span:first-child { padding-left: 0; }
.provider-meta span:last-child { border-right: 0; padding-right: 0; }
.provider-meta strong { color: var(--sepia); margin-left: 5px; font-weight: 600; }
.provider-cta { min-width: 180px; text-align: center; }
.provider-cta .stars {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.provider-cta .rating-val {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--oxblood);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  min-width: 640px;
}
.compare-table th {
  background: var(--oxblood);
  color: var(--cream);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.compare-table th:first-child { border-top-left-radius: var(--radius); }
.compare-table th:last-child  { border-top-right-radius: var(--radius); }
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.95rem;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--cream-alt); }
.compare-table .td-check { color: #2D7F3A; font-weight: 700; }
.compare-table .td-cross { color: #B04030; }
.compare-table .row-featured td { background: #FFFBF0; font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item details summary {
  font-family: var(--font-serif);
  font-weight: 700;
  padding: 18px 24px;
  color: var(--oxblood);
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  line-height: 1.35;
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item details[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.97rem;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer ul { margin-left: 22px; }
.faq-answer li { margin-bottom: 6px; }

/* ---- Pros / Cons ---- */
.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0;
}
.pro-box, .con-box {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.pro-box { border-top: 4px solid #4A9B5F; }
.con-box { border-top: 4px solid #C66B5A; }
.pro-box h4 {
  color: #2D7F3A;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
  font-family: var(--font-serif);
}
.con-box h4 {
  color: #B04030;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
  font-family: var(--font-serif);
}
.pro-box ul, .con-box ul { list-style: none; margin: 0; padding: 0; }
.pro-box li, .con-box li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}
.pro-box li::before {
  content: '✓';
  color: #2D7F3A;
  position: absolute;
  left: 0;
  font-weight: 700;
}
.con-box li::before {
  content: '×';
  color: #B04030;
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  top: 8px;
}

/* ---- Info Boxes ---- */
.info-box {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--paper);
}
.info-box-gold   { background: #FBF5E3; border-left: 4px solid var(--gold); }
.info-box-oxblood{ background: #F9ECEE; border-left: 4px solid var(--oxblood); }
.info-box-cream  { background: var(--cream-alt); border-left: 4px solid var(--border-strong); }
.info-box h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--oxblood);
}
.info-box p { margin: 0; font-size: 0.96rem; color: var(--text); line-height: 1.65; }
.info-box p + p { margin-top: 10px; }

/* ---- CTA Box ---- */
.cta-box {
  background: linear-gradient(145deg, var(--oxblood) 0%, var(--oxblood-dark) 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 169, 97, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201, 169, 97, 0.09) 0%, transparent 40%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
}
.cta-box p {
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  color: var(--cream);
  font-size: 1.03rem;
}

/* ---- Affiliate Hint ---- */
.affiliate-hint {
  background: var(--cream-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 28px 0;
  line-height: 1.6;
}
.affiliate-hint strong { color: var(--sepia); }

/* ---- Checklist ---- */
.checklist { list-style: none; margin: 18px 0; padding: 0; }
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  color: var(--gold-dark);
  position: absolute;
  left: 8px;
  top: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---- Rating Stars ---- */
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---- Tag / Label ---- */
.tag {
  display: inline-block;
  background: var(--cream-alt);
  color: var(--oxblood);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tag-gold { background: var(--gold); color: var(--oxblood-dark); }
.tag-outline { background: transparent; border: 1px solid var(--border-strong); }

/* ---- Price Display ---- */
.price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--oxblood);
}
.price-muted { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Article Layout with Sidebar TOC ---- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 54px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content .prose > *:first-child { margin-top: 0; }
.article-sidebar {
  position: sticky;
  top: 96px;
}
.toc {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.toc-title {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--oxblood);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin-bottom: 4px; }
.toc-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 5px 0 5px 14px;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1.4;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--oxblood);
  border-left-color: var(--oxblood);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--sepia);
  color: rgba(250, 247, 240, 0.72);
  padding: 52px 20px 26px;
}
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo {
  font-family: var(--font-serif);
  color: var(--cream);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo em { font-style: normal; color: var(--gold-light); font-weight: 500; }
.footer-brand p { font-size: 0.9rem; line-height: 1.65; max-width: 340px; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(250, 247, 240, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }
.footer-copy {
  font-size: 0.82rem;
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Typography in content / prose ---- */
.prose h2, main h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--oxblood);
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
  line-height: 1.22;
}
.prose h3, main h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sepia);
  margin: 32px 0 12px;
}
.prose h4, main h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--oxblood);
  margin: 22px 0 10px;
}
.prose p, main p { margin-bottom: 16px; }
.prose ul, .prose ol, main ul, main ol { margin: 12px 0 18px 24px; }
.prose li, main li { margin-bottom: 7px; line-height: 1.7; }
.prose strong, main strong { color: var(--sepia); font-weight: 700; }
.prose a, main p a { color: var(--oxblood); font-weight: 600; }
.prose a:hover, main p a:hover { color: var(--oxblood-dark); }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 10px 0 10px 22px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sepia-muted);
  font-size: 1.08rem;
}

/* Lead paragraph */
.prose .lead, main .lead {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--sepia);
  margin-bottom: 22px;
}

/* Figure / image */
figure {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
figure img { width: 100%; height: auto; display: block; }
figure figcaption {
  padding: 10px 16px;
  background: var(--cream-alt);
  color: var(--text-muted);
  font-size: 0.86rem;
  text-align: center;
  font-style: italic;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.font-bold   { font-weight: 700; }
.font-serif  { font-family: var(--font-serif); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; order: -1; }
  .toc { margin-bottom: 28px; }
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .provider-card { grid-template-columns: 60px 1fr; grid-template-areas: 'rank info' 'cta cta'; }
  .provider-rank { grid-area: rank; width: 50px; height: 50px; font-size: 1.4rem; }
  .provider-info { grid-area: info; }
  .provider-cta { grid-area: cta; margin-top: 14px; }
}
@media (max-width: 800px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-mobile-toggle { display: block; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    padding: 12px 18px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-family: var(--font-serif);
  }
  .has-dropdown > a::after { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    margin: 0;
    padding: 4px 0 8px;
    background: var(--cream-alt);
    transition: none;
  }
  .nav-dropdown a { padding: 9px 34px; font-size: 0.92rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 60px 18px 54px; }
  .pro-con-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 34px 22px; }
  .card { padding: 24px 20px; }
  .compare-table th, .compare-table td { padding: 11px 13px; }
  .provider-card { padding: 22px 20px; }
  .provider-info h3 { font-size: 1.18rem; }
}
