/* ============================================================
   OhneLimit.de – main.css
   Dark casino theme · Emerald accent · Bricolage Grotesque + DM Sans
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Colours */
  --primary:         #059669;
  --primary-hover:   #047857;
  --primary-dim:     #064e3b;
  --primary-glow:    rgba(5, 150, 105, 0.18);
  --bg:              #0e1320;
  --bg-soft:         #131928;
  --bg-card:         #19203a;
  --bg-card-hover:   #1e2742;
  --text:            #e6edf8;
  --text-muted:      #7d91b0;
  --border:          #26334f;
  --border-light:    #1e2a40;
  --amber:           #f59e0b;
  --gold:            #d4a017;
  --red:             #ef4444;
  --green-badge:     #10b981;

  /* Radii */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Layout */
  --max-w:         1200px;
  --max-w-content: 900px;
  --nav-h:         72px;
  --section-gap:   80px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow:      0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.6);
  --glow-green:  0 0 24px rgba(5,150,105,0.30);
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: -0.01em; margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }

p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text); }

/* ── 4. LAYOUT HELPERS ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(5,150,105,0.35);
}
.btn--primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--glow-green);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-glow);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* ── 6. BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: var(--primary-glow);
  border: 1px solid rgba(5,150,105,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-badge);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── 7. HEADER / NAV ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(14,19,32,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
  margin-right: auto;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), #065f46);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav__logo-text span { color: var(--primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s;
}
.nav__links a:hover { color: var(--text); background: var(--bg-card); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-active span:nth-child(2) { opacity: 0; }
.nav__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 8. MOBILE DRAWER ──────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  transform: translateY(-105%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-drawer.is-open { transform: translateY(0); }

.mobile-drawer__list li { border-bottom: 1px solid var(--border-light); }
.mobile-drawer__list a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}
.mobile-drawer__list a:hover { color: var(--primary); }

/* ── 9. PAGE OFFSET ─────────────────────────────────────────── */
body { padding-top: var(--nav-h); }

/* ── 10. HERO ──────────────────────────────────────────────── */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(5,150,105,0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-light);
}

.hero .badge { margin-bottom: 1.25rem; }

.hero__title {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.hero__lead {
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Stats rail */
.stats-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.stats-rail__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

.stats-rail__item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.stats-rail__item strong {
  color: var(--text);
  font-weight: 700;
}

/* ── 11. SECTIONS ──────────────────────────────────────────── */
.section {
  padding: var(--section-gap) 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section__header {
  margin-bottom: 2rem;
}

/* ── 12. COMPACT LISTING ───────────────────────────────────── */
.listing {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.listing__head {
  display: grid;
  grid-template-columns: 44px 160px 1fr 100px 130px;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.listing__head-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.listing-row {
  display: grid;
  grid-template-columns: 44px 160px 1fr 100px 130px;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.listing-row:last-child { border-bottom: none; }
.listing-row:hover { background: var(--bg-card-hover); }

.listing-row__rank {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.listing-row__rank--gold  { background: linear-gradient(135deg, #d4a017, #92400e); }
.listing-row__rank--silver{ background: linear-gradient(135deg, #9ca3af, #4b5563); }
.listing-row__rank--bronze{ background: linear-gradient(135deg, #c2762e, #78350f); }

.listing-row__logo {
  display: flex;
  align-items: center;
}

.listing-row__logo img {
  width: 124px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter 0.2s;
}
.listing-row:hover .listing-row__logo img { filter: brightness(1.05); }

.listing-row__bonus {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.listing-row__stars {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 0.85rem;
  color: var(--amber);
}

/* ── 13. DETAIL CARDS ──────────────────────────────────────── */
.detail-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.detail-card:hover { box-shadow: var(--shadow-lg); }

.detail-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.detail-card__rank {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.detail-card__rank--gold  { background: linear-gradient(135deg, #d4a017, #92400e); }
.detail-card__rank--silver{ background: linear-gradient(135deg, #9ca3af, #4b5563); }
.detail-card__rank--bronze{ background: linear-gradient(135deg, #c2762e, #78350f); }

.detail-card__header-logo img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.detail-card__header-bonus {
  margin-left: auto;
  text-align: right;
}

.detail-card__header-bonus .bonus-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.detail-card__header-bonus .bonus-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.detail-card__screenshot {
  display: block;
  overflow: hidden;
  max-height: 240px;
  border-bottom: 1px solid var(--border);
}

.detail-card__screenshot img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s;
}
.detail-card:hover .detail-card__screenshot img { transform: scale(1.02); }

.detail-card__body {
  padding: 1.5rem;
}

.detail-card__body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.detail-card__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.detail-card__body p:last-of-type { margin-bottom: 1.25rem; }

.detail-card__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── 14. INTRO TEXT (below listing) ────────────────────────── */
.intro-text {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.intro-text p { color: var(--text-muted); font-size: 0.97rem; }

/* ── 15. TABLE OF CONTENTS ─────────────────────────────────── */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.toc__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.toc__list {
  counter-reset: toc-item;
}

.toc__list li {
  counter-increment: toc-item;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.toc__list li:last-child { border-bottom: none; }

.toc__list a {
  color: var(--text-muted);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toc__list a:hover { color: var(--primary); }

.toc__list a::before {
  content: counter(toc-item, decimal-leading-zero);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.7;
  min-width: 1.8rem;
}

/* ── 16. PROSE SECTION ─────────────────────────────────────── */
.prose-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.prose-section:last-child { border-bottom: none; }

.prose-section h2 {
  color: var(--text);
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.prose-section p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ── 17. STEPS LIST (Crux fix: absolute counter) ───────────── */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.steps-list li {
  position: relative;
  padding-left: 2.625rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  counter-increment: steps;
  line-height: 1.65;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--primary-glow);
  border: 1px solid rgba(5,150,105,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8rem;
  text-align: center;
}

/* Reset counter on parent */
.steps-list { counter-reset: steps; }

/* ── 18. CHECK LIST ─────────────────────────────────────────── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ── 19. COMPARISON TABLE ──────────────────────────────────── */
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  white-space: nowrap;
}

.comparison-table thead {
  background: var(--bg-soft);
  border-bottom: 2px solid var(--border);
}

.comparison-table thead th {
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.comparison-table thead th:first-child { color: var(--text); }

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--bg-card-hover); }

.comparison-table tbody td {
  padding: 0.85rem 1.25rem;
  color: var(--text-muted);
  vertical-align: middle;
}
.comparison-table tbody td:first-child { color: var(--text); font-weight: 600; }

.tick    { color: var(--primary); font-weight: 700; }
.cross   { color: var(--red); font-weight: 700; }
.partial { color: var(--amber); font-weight: 700; }

/* ── 20. FAQ ────────────────────────────────────────────────── */
.faq { padding: var(--section-gap) 0; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: var(--max-w-content);
  margin-inline: auto;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.faq__item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.faq__item p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ── 21. AUTHOR BLOCK ──────────────────────────────────────── */
.author-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: var(--max-w-content);
  margin-inline: auto;
}

.author-block__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.author-block__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-block__name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.author-block__role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.author-block__bio {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── 22. RESPONSIBLE GAMBLING BANNER ───────────────────────── */
.rg-banner {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: var(--max-w-content);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rg-banner__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rg-banner a {
  color: var(--amber);
  text-decoration: underline;
}

/* ── 23. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.footer-brand__logo span { color: var(--primary); }

.footer-brand__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col__links { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col__links a:hover { color: var(--primary); }

.footer-rg {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-rg__age {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom__legal a { color: var(--text-muted); transition: color 0.15s; }
.footer-bottom__legal a:hover { color: var(--primary); }

/* ── 24. PAGE HERO (legal / other pages) ───────────────────── */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% -20%, rgba(5,150,105,0.08) 0%, transparent 60%);
}

.page-hero .badge { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 0.65rem; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.page-hero__lead {
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
  font-size: 0.97rem;
}

/* ── 25. BREADCRUMBS ────────────────────────────────────────── */
.breadcrumbs {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs__list li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumbs__list li::after { content: '›'; color: var(--border); }
.breadcrumbs__list li:last-child::after { display: none; }
.breadcrumbs__list a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumbs__list a:hover { color: var(--primary); }
.breadcrumbs__list [aria-current] { color: var(--text); }

/* ── 26. SECTION CARDS (legal/prose pages) ──────────────────── */
.section-prose { padding: var(--section-gap) 0; }

.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.section-card:last-child { margin-bottom: 0; }

.section-card h2 { margin-bottom: 0.85rem; font-size: 1.25rem; }
.section-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; margin-top: 1.25rem; }
.section-card h3:first-child { margin-top: 0; }
.section-card p   { color: var(--text-muted); font-size: 0.95rem; }
.section-card a   { color: var(--primary); text-decoration: underline; }
.section-card ul  { padding-left: 1.5rem; list-style: disc; color: var(--text-muted); font-size: 0.95rem; }
.section-card ul li { margin-bottom: 0.3rem; }

/* ── 27. CONTACT FORM ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-group:last-of-type { margin-bottom: 1.5rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.form-group--checkbox input { width: auto; margin-top: 0.15rem; }
.form-group--checkbox label { font-weight: 400; font-size: 0.88rem; color: var(--text-muted); }

/* Honeypot */
.form-honeypot { display: none !important; }

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-size: 0.9rem;
}
.contact-info-card h3 { margin-bottom: 1rem; font-size: 1.05rem; }
.contact-info-card p  { color: var(--text-muted); font-size: 0.9rem; }

/* ── 28. RESPONSIVE ─────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .listing__head,
  .listing-row { grid-template-columns: 40px 140px 1fr 90px 120px; gap: 0.75rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-gap: 55px; }

  .nav__links { display: none; }
  .nav__burger { display: flex; }

  /* Listing → card layout on mobile */
  .listing__head { display: none; }

  .listing-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.5rem;
    padding: 1rem;
  }

  .listing-row__rank { grid-row: 1; grid-column: 1; }
  .listing-row__logo { grid-row: 1; grid-column: 2; }
  .listing-row__bonus { grid-row: 2; grid-column: 1 / -1; font-size: 0.85rem; }
  .listing-row__stars { grid-row: 3; grid-column: 1; }
  .listing-row__cta   { grid-row: 3; grid-column: 2; justify-self: end; }

  .detail-card__header { flex-wrap: wrap; }
  .detail-card__header-bonus { text-align: left; margin-left: 0; margin-top: 0.5rem; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .author-block { flex-direction: column; align-items: center; text-align: center; }
  .stats-rail { gap: 0 1.25rem; }
}

@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2rem; }
  .detail-card__body { padding: 1.1rem; }
  .detail-card__ctas { flex-direction: column; }
  .detail-card__ctas .btn { width: 100%; }
  .rg-banner { flex-direction: column; }
}

/* ── 29. UTILITIES ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }

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

/* ── 30. SCROLL MARGIN (for anchor offset) ──────────────────── */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ── 31. REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}