/* ═══════════════════════════════════════════
   COTELIO — Design System
   Comparateur indépendant de paris en ligne
   ═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  /* Surfaces */
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-surface-muted: #f0eee8;
  --color-surface-elevated: #ffffff;

  /* Brand */
  --color-brand: #0b1120;
  --color-brand-light: #1e293b;
  --color-brand-glow: rgba(217, 119, 6, 0.08);

  /* Accent — Or / Ambre */
  --color-accent: #d97706;
  --color-accent-light: #fef3c7;
  --color-accent-dark: #b45309;
  --color-accent-glow: rgba(217, 119, 6, 0.18);

  /* Text */
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-on-dark: #f1f5f9;
  --color-text-on-dark-muted: rgba(241, 245, 249, 0.72);

  /* Semantic */
  --color-danger: #991b1b;
  --color-danger-bg: #fef2f2;
  --color-success: #065f46;
  --color-success-bg: #f0fdf4;

  /* Borders */
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-strong: rgba(15, 23, 42, 0.14);
  --color-border-light: rgba(255, 255, 255, 0.12);

  /* Focus */
  --color-focus: #2563eb;
  --color-focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.3);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 24px var(--color-accent-glow);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --header-height: 76px;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.has-open-menu,
body.has-age-gate {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-dark);
}

:focus-visible {
  outline: none;
  box-shadow: var(--color-focus-ring);
}

::selection {
  background: var(--color-accent-light);
  color: var(--color-text);
}

/* ── Utilities ── */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, var(--container-narrow));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow--dark {
  background: rgba(217, 119, 6, 0.18);
  color: #fbbf24;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.notice-top {
  background: var(--color-brand);
  color: var(--color-text-on-dark-muted);
  border-bottom: 1px solid var(--color-border-light);
}

.notice-top p {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 7px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.notice-top strong {
  color: #fbbf24;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.brand-mark {
  display: grid;
  width: 40px; height: 40px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-brand) 40%, #1a2440);
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* ── Mobile Menu ── */
.menu-toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.menu-toggle:hover {
  border-color: var(--color-border-strong);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px; height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: calc(var(--header-height) + 1px) 16px auto 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
}

.main-nav.is-open {
  display: flex;
}

.main-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--color-surface-muted);
  color: var(--color-text);
}

.main-nav a[aria-current="page"] {
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-brand);
  color: var(--color-text-on-dark);
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(217, 119, 6, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(217, 119, 6, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(30deg, #fbbf24 12%, transparent 12.5%, transparent 87%, #fbbf24 87.5%),
    linear-gradient(150deg, #fbbf24 12%, transparent 12.5%, transparent 87%, #fbbf24 87.5%),
    linear-gradient(30deg, #fbbf24 12%, transparent 12.5%, transparent 87%, #fbbf24 87.5%),
    linear-gradient(150deg, #fbbf24 12%, transparent 12.5%, transparent 87%, #fbbf24 87.5%);
  background-size: 40px 70px;
  background-position: 0 0, 0 0, 20px 35px, 20px 35px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 36px;
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero h1 span {
  color: #fbbf24;
}

.hero-lead {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--color-text-on-dark-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.stat-tile {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}

.stat-tile span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #fbbf24;
  margin-bottom: 6px;
}

.stat-tile p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.btn-card {
  width: 100%;
  margin-top: auto;
  background: var(--color-brand);
  color: #fff;
}

.btn-card:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn-card:active {
  background: var(--color-brand-light);
}

/* ── Warning Strip ── */
.warning-strip {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #fff;
}

.warning-strip p {
  margin: 0;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.92rem;
}

/* ── Sections ── */
.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--color-surface-muted);
}

.section-dark {
  background: var(--color-brand);
  color: var(--color-text-on-dark);
}

.section-accent {
  background: linear-gradient(135deg, #7c2d12, var(--color-accent-dark));
  color: #fff;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading h2,
.content-split h2,
.callout h2,
.prose h2,
.contact-card h2,
.contact-form h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-heading p,
.content-split > div > p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-heading p {
  color: var(--color-text-on-dark-muted);
}

/* ── Steps / How it works ── */
.steps-grid {
  display: grid;
  gap: 20px;
}

.step-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.step-number {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fbbf24;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ── Ranking Cards (Offers) ── */
.ranking-grid {
  display: grid;
  gap: 20px;
}

.ranking-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ranking-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ranking-card img {
  width: 160px;
  height: 64px;
  object-fit: contain;
}

.ranking-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.rank-badge {
  position: absolute;
  top: 20px; right: 20px;
  display: grid;
  width: 40px; height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #f59e0b);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.offer-text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.6em; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}

/* ── Info Cards Grid ── */
.criteria-grid {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card .icon-wrap {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-brand-glow);
  margin-bottom: 16px;
  color: var(--color-accent);
  font-size: 1.3rem;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Content Split ── */
.content-split {
  display: grid;
  gap: 36px;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list article {
  padding: 20px 22px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.method-list article:hover {
  box-shadow: var(--shadow-md);
}

.method-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.method-list p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.93rem;
}

/* ── Callout ── */
.callout {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.callout--emergency {
  border-color: #fecaca;
  background: var(--color-danger-bg);
}

.callout--dark {
  background: var(--color-brand-light);
  border-color: var(--color-border-light);
  color: var(--color-text-on-dark);
}

.callout--dark p {
  color: var(--color-text-on-dark-muted);
}

.text-link {
  color: var(--color-accent-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--color-accent);
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--color-surface-muted);
}

.faq-question span:last-child {
  display: grid;
  width: 28px; height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-surface-muted);
  color: var(--color-accent-dark);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-question[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
  background: var(--color-accent-light);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
}

.faq-answer p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--color-brand);
  color: var(--color-text-on-dark);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 80% 30%, rgba(217, 119, 6, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container-narrow {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 620px;
  color: var(--color-text-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Prose (legal pages) ── */
.prose h2 {
  margin-top: 40px;
  font-size: 1.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 18px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.prose a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.prose strong {
  color: var(--color-text);
}

/* ── Side Note ── */
.side-note {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--color-danger-bg);
  border: 1px solid #fecaca;
}

.side-note h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.side-note p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-card,
.contact-form {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

address {
  font-style: normal;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.contact-card address {
  margin-bottom: 16px;
  color: var(--color-text);
}

.contact-card address strong {
  color: var(--color-text);
}

.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
  outline: none;
}

input { min-height: 48px; }
textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 22px;
  font-weight: 600;
  font-size: 0.92rem;
}

.checkbox-field input {
  width: 20px; min-width: 20px;
  height: 20px; min-height: 20px;
  margin-top: 3px;
}

.privacy-note,
.small-note {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.privacy-note a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-brand);
  color: var(--color-text-on-dark);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.footer-brand:hover { color: #fff; }

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer address,
.site-footer li {
  color: var(--color-text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--color-text-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fbbf24;
}

/* ── Regulation Logos ── */
.footer-regulation {
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 36px 20px;
  text-align: center;
}

.footer-regulation h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-on-dark-muted);
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  min-width: 140px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-logos a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer-logos img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.8;
}

/* ── Footer Bottom ── */
.footer-bottom {
  text-align: center;
  padding: 28px 0 36px;
}

.footer-bottom p {
  margin: 8px 0;
  color: var(--color-text-on-dark-muted);
  font-size: 0.88rem;
}

.footer-bottom strong {
  color: #fbbf24;
}

.footer-bottom a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  right: 16px; bottom: 16px; left: 16px;
  z-index: 80;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
}

.cookie-banner[hidden],
.age-gate[hidden],
.blocked-message[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.cookie-banner p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ── Age Gate ── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-card {
  width: min(100%, 480px);
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.age-card h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
}

.age-card p {
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}

.age-actions .btn {
  min-width: 160px;
}

.blocked-message {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--color-danger-bg);
  color: var(--color-danger) !important;
  font-weight: 700;
  font-size: 0.94rem;
}

/* ── Responsive ── */

/* Tablet */
@media (min-width: 700px) {
  .hero h1 { font-size: 3.2rem; }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ranking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading h2,
  .content-split h2,
  .callout h2,
  .prose h2,
  .contact-card h2,
  .contact-form h2 {
    font-size: 2.2rem;
  }

  .callout {
    grid-template-columns: 1fr auto;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  }

  .cookie-banner {
    right: 24px; left: auto;
    max-width: 580px;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .hero h1 { font-size: 3.8rem; }

  .page-hero h1 { font-size: 2.8rem; }

  .menu-toggle { display: none; }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    padding: 10px 14px;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    background: var(--color-surface-muted);
    color: var(--color-text);
  }

  .hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    padding: 80px 0 100px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-tile {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
  }

  .stat-tile span {
    margin-bottom: 0;
    font-size: 1.6rem;
    min-width: 48px;
  }

  .stat-tile p {
    font-size: 0.85rem;
  }

  .ranking-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .content-split,
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
}

/* Large desktop */
@media (min-width: 1100px) {
  .criteria-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
