/* ==========================================================
   Tokens — BMW CI2020-inspired palette
   ========================================================== */
:root {
  /* Surfaces */
  --surface-light: #ffffff;
  --surface-light-2: #f6f6f6;
  --surface-dark: #262626;
  --surface-dark-2: #1a1a1a;
  --surface-black: #000000;

  /* Text */
  --text-on-light: #262626;
  --text-on-dark: #ffffff;
  --text-meta: #757575;
  --text-silver: #bbbbbb;

  /* Accents (interactive only) */
  --bmw-blue: #1c69d4;
  --bmw-blue-focus: #0653b6;
  --bmw-red: #e22718;

  /* Lines */
  --line-light: #e5e5e5;
  --line-dark: #3a3a3a;

  /* Spacing scale (8 base) */
  --s-1: 1px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 40px;
  --s-7: 56px;
  --s-8: 80px;

  /* Type stack — Inter (Google Fonts) with Helvetica fallback */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  --font-body: var(--font-display);
}

/* ==========================================================
   Base
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.15;
  background: var(--surface-light);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--bmw-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: var(--bmw-blue-focus);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--bmw-blue-focus);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s-3);
  font-family: var(--font-display);
  line-height: 1.30;
  color: inherit;
}

h1 {
  font-size: 2.25rem; /* 36px mobile */
  font-weight: 300;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

h2 {
  font-size: 1.5rem; /* 24px mobile */
  font-weight: 400;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  margin: 0 0 var(--s-3);
  line-height: 1.45;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-3);
}

/* ==========================================================
   Sections — alternating dark / light "showroom rhythm"
   ========================================================== */
.section--light {
  background: var(--surface-light);
  color: var(--text-on-light);
}

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

.section {
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line-light);
}

.section h2 {
  margin-bottom: var(--s-4);
}

/* ==========================================================
   Header — dark, navigational authority
   ========================================================== */
.site-header {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .container {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-3);
  padding-bottom: var(--s-3);
}

.brand-mark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark:hover,
.brand-mark:focus {
  color: var(--text-on-dark);
}

.brand-mark span {
  color: var(--bmw-blue);
  font-weight: 900;
}

.site-nav {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav a {
  color: var(--text-silver);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.30;
  position: relative;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text-on-dark);
}

.site-nav a:hover::after,
.site-nav a:focus::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--bmw-blue);
}

/* ==========================================================
   Hero — dark "studio" section, oversize light-weight display
   ========================================================== */
.hero {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding: var(--s-7) 0 var(--s-6);
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* Subtle "studio lighting" vignette — replaces missing automotive photo */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(28, 105, 212, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: 2.5rem; /* mobile */
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.10;
  letter-spacing: -0.01em;
  margin: var(--s-3) 0 var(--s-3);
  color: var(--text-on-dark);
}

.hero p {
  color: var(--text-silver);
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
}

.age-badge {
  display: inline-block;
  background: var(--bmw-red);
  color: var(--text-on-dark);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 8px;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  text-transform: uppercase;
  /* No border-radius */
}

/* Optional cyber-style stamp removed — neutralized to BMW spec */
.system-stamp {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-silver);
  font-weight: 700;
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--text-silver);
  padding-bottom: 2px;
}

/* ==========================================================
   Stars — minimal, BMW Blue
   ========================================================== */
.stars {
  --rating: 0%;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(
    90deg,
    var(--bmw-blue) 0%,
    var(--bmw-blue) var(--rating),
    var(--line-light) var(--rating)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  vertical-align: middle;
  user-select: none;
}

/* On dark surfaces stars use silver track */
.section--dark .stars,
.brand-hero .stars,
.hero .stars {
  background: linear-gradient(
    90deg,
    var(--text-on-dark) 0%,
    var(--text-on-dark) var(--rating),
    rgba(255, 255, 255, 0.2) var(--rating)
  );
  -webkit-background-clip: text;
  background-clip: text;
}

/* ==========================================================
   Toplist (white content section)
   ========================================================== */
.toplist {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  padding: 0 0 var(--s-6);
}

.brand-card {
  position: relative;
  background: var(--surface-light);
  border: 1px solid var(--line-light);
  padding: var(--s-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  align-items: center;
  /* No border-radius */
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  border-color: var(--bmw-blue);
}

/* Top-1 stamp — sharp rectangular block */
.toplist .brand-card:first-child {
  border-color: var(--bmw-blue);
  border-left-width: 4px;
  padding-left: calc(var(--s-4) - 3px);
}

.toplist .brand-card:first-child::before {
  content: "BEDSTE VALG";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bmw-blue);
  color: var(--text-on-dark);
  font-size: 0.6875rem; /* 11px */
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  font-family: var(--font-display);
}

.brand-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  font-family: var(--font-display);
  /* No border-radius */
}

.toplist .brand-card:first-child .brand-rank {
  background: var(--bmw-blue);
}

.brand-logo {
  background: var(--surface-light);
  border: 1px solid var(--line-light);
  color: var(--text-on-light);
  padding: var(--s-3);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* No border-radius */
}

.brand-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-hero .brand-logo img {
  max-height: 88px;
}

/* For logos that ship as white-on-transparent (Mr Green, 888 from regulation pages):
   invert filter renders them dark on the white frame. */
.brand-logo--invert {
  background: var(--surface-light);
}

.brand-logo--invert img {
  filter: invert(1);
}

/* Legacy modifier classes — neutralised: all logos sit on the same white frame */
.brand-logo--green,
.brand-logo--purple,
.brand-logo--blue,
.brand-logo--orange {
  background: var(--surface-light);
  color: var(--text-on-light);
  text-shadow: none;
}

.brand-info h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-light);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.brand-bonus {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-on-light);
  margin: 0 0 8px;
}

.brand-rating {
  font-size: 0.875rem;
  color: var(--text-meta);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.brand-rating strong {
  color: var(--text-on-light);
  font-size: 1.125rem;
  font-weight: 700;
}

.brand-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================
   Buttons — sharp rectangles, weight 700
   ========================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bmw-blue);
  color: var(--text-on-dark);
  font-weight: 700;
  text-align: center;
  padding: 14px 22px;
  font-size: 1rem;
  line-height: 1.20;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.15s ease;
  /* No border-radius */
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--bmw-blue-focus);
  color: var(--text-on-dark);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-on-light);
  border: 1px solid var(--text-on-light);
  padding: 12px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--text-on-light);
  color: var(--text-on-dark);
  text-decoration: none;
}

/* On dark backgrounds invert secondary button */
.section--dark .btn-secondary,
.brand-hero .btn-secondary,
.hero .btn-secondary {
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
}

.section--dark .btn-secondary:hover,
.brand-hero .btn-secondary:hover,
.hero .btn-secondary:hover {
  background: var(--text-on-dark);
  color: var(--text-on-light);
}

/* ==========================================================
   Brand page — hero + content sections
   ========================================================== */
.brand-hero {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding: var(--s-6) 0;
  position: relative;
  overflow: hidden;
}

.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 80% 30%,
    rgba(28, 105, 212, 0.16),
    transparent 60%
  );
  pointer-events: none;
}

.brand-hero > .container {
  position: relative;
  z-index: 1;
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
}

.brand-hero h1 {
  margin: var(--s-2) 0 var(--s-2);
  font-size: 2.5rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  line-height: 1.10;
}

.brand-hero .brand-bonus {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-on-dark);
  margin: 0 0 var(--s-2);
}

.brand-hero .brand-rating {
  color: var(--text-silver);
}

.brand-hero .brand-rating strong {
  color: var(--text-on-dark);
}

/* Heading dividers in white sections */
.section h2 {
  position: relative;
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-light);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.section--dark h2 {
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}

/* Pros / cons */
.proscons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.pros,
.cons {
  background: var(--surface-light);
  border: 1px solid var(--line-light);
  padding: var(--s-3) var(--s-4);
}

.pros h3,
.cons h3 {
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-light);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.pros h3 {
  color: var(--text-on-light);
  border-bottom-color: var(--bmw-blue);
}

.cons h3 {
  color: var(--text-on-light);
  border-bottom-color: var(--bmw-red);
}

.pros ul,
.cons ul {
  margin: 0;
  padding-left: var(--s-3);
  list-style: none;
}

.pros li,
.cons li {
  position: relative;
  padding-left: var(--s-3);
  margin-bottom: 8px;
  color: var(--text-on-light);
  line-height: 1.4;
}

.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--bmw-blue);
  font-weight: 900;
}

.cons li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: var(--bmw-red);
  font-weight: 900;
}

/* Fact table — dense, German-engineered */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--surface-light);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 12px var(--s-2);
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
  line-height: 1.30;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td {
  border-bottom: 0;
}

.fact-table th {
  width: 38%;
  color: var(--text-meta);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.fact-table td {
  color: var(--text-on-light);
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-list li {
  background: var(--surface-light);
  color: var(--text-on-light);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 400;
  border: 1px solid var(--line-light);
  /* No border-radius */
}

.review-text p {
  color: var(--text-on-light);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: var(--s-3);
}

/* Callout (responsible-gambling helper, less aggressive than rg-warning) */
.callout {
  background: var(--surface-light-2);
  border-left: 4px solid var(--bmw-blue);
  padding: var(--s-3) var(--s-4);
  margin: var(--s-3) 0;
}

.callout h3 {
  margin-top: 0;
  color: var(--text-on-light);
  text-transform: uppercase;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}

/* ==========================================================
   Regulator strip — dark, sharp, aligned in grid
   ========================================================== */
.regulator-strip {
  background: var(--surface-black);
  color: var(--text-on-dark);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.regulator-strip h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-silver);
  margin: 0 0 var(--s-4);
  font-weight: 700;
  padding-bottom: 0;
  border: 0;
}

.regulator-strip h2::after,
.regulator-strip h2::before {
  display: none;
}

.regulator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.regulator-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--s-3) var(--s-2);
  background: var(--surface-black);
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.30;
  min-height: 110px;
  gap: 10px;
  transition: background 0.15s ease, color 0.15s ease;
  /* No border-radius, no clip-path */
}

.regulator-badge:hover,
.regulator-badge:focus {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  text-decoration: none;
}

.regulator-badge img {
  max-height: 44px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}

/* GamCare ships with white backplate; render at neutral size */
.regulator-badge small {
  display: block;
  font-weight: 400;
  color: var(--text-silver);
  font-size: 0.6875rem;
  margin-top: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.regulator-badge--age {
  background: var(--bmw-red);
  color: var(--text-on-dark);
  font-size: 1.5rem;
  font-weight: 900;
  cursor: default;
  font-family: var(--font-display);
}

.regulator-badge--age:hover {
  background: var(--bmw-red);
}

.regulator-badge--age small {
  color: var(--text-on-dark);
  font-size: 0.6875rem;
}

/* Light-frame variant — for logos shipped with dark fills (e.g. Spillemyndigheden) */
.regulator-badge--light {
  background: var(--surface-light);
  color: var(--text-on-light);
}

.regulator-badge--light:hover,
.regulator-badge--light:focus {
  background: var(--surface-light-2);
  color: var(--text-on-light);
}

.regulator-badge--light small {
  color: var(--text-meta);
}

/* ==========================================================
   Responsible-gambling warning panel
   ========================================================== */
.rg-warning {
  background: var(--surface-light);
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--bmw-red);
  padding: var(--s-4);
  margin: var(--s-4) 0;
}

.rg-warning--strong {
  background: #fff5f4;
  border-color: var(--bmw-red);
  border-left-width: 4px;
}

.rg-warning-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bmw-red);
  margin-bottom: var(--s-2);
  font-weight: 900;
}

.rg-warning-head::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--bmw-red);
  color: var(--text-on-dark);
  font-weight: 900;
  font-size: 0.75rem;
  /* No border-radius */
}

.rg-warning h2 {
  font-size: 1.25rem;
  margin: 0 0 var(--s-2);
  color: var(--text-on-light);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  padding-bottom: 0;
  border-bottom: 0;
}

.rg-warning h2::after {
  display: none;
}

.rg-warning p {
  margin: 0 0 var(--s-2);
  color: var(--text-on-light);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.rg-warning p:last-child {
  margin-bottom: 0;
}

.rg-warning a {
  color: var(--bmw-blue);
  font-weight: 700;
  text-decoration: underline;
}

.rg-warning a:hover {
  color: var(--bmw-blue-focus);
  text-decoration: none;
}

/* ==========================================================
   Cookie banner — dark surface, BMW Blue accept
   ========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-dark);
  padding: var(--s-3) var(--s-4);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-banner h3 {
  margin: 0 0 8px;
  color: var(--text-on-dark);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.cookie-banner p {
  margin: 0 0 var(--s-3);
  font-size: 0.875rem;
  color: var(--text-silver);
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--bmw-blue);
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-banner-actions button {
  border: 0;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, color 0.15s ease;
  /* No border-radius */
}

.btn-cookie-accept {
  background: var(--bmw-blue);
  color: var(--text-on-dark);
}

.btn-cookie-accept:hover {
  background: var(--bmw-blue-focus);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid var(--text-silver) !important;
}

.btn-cookie-reject:hover {
  background: var(--text-on-dark);
  color: var(--text-on-light);
  border-color: var(--text-on-dark) !important;
}

/* ==========================================================
   Footer — black, multi-column
   ========================================================== */
.site-footer {
  background: var(--surface-black);
  color: var(--text-silver);
  font-size: 0.8125rem;
  padding: var(--s-6) 0 var(--s-7);
  border-top: 1px solid var(--line-dark);
  line-height: 1.45;
}

.site-footer h4 {
  color: var(--text-on-dark);
  margin: 0 0 var(--s-3);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-footer a {
  color: var(--text-silver);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--text-on-dark);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.footer-licence-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-licence-list li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.footer-licence-list strong {
  color: var(--text-on-dark);
  font-weight: 700;
}

.footer-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-dark);
  color: var(--text-silver);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================
   Responsive — 768px
   ========================================================== */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
    line-height: 1.10;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.30;
  }

  .container {
    padding: 0 var(--s-4);
  }

  .site-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--s-4);
    padding-bottom: var(--s-4);
  }

  .site-nav {
    gap: var(--s-5);
  }

  .hero {
    padding: var(--s-8) 0 var(--s-7);
  }

  .hero h1 {
    font-size: 3.75rem; /* 60px BMW signature */
    line-height: 1.10;
  }

  .brand-hero h1 {
    font-size: 3.5rem;
  }

  .brand-card {
    grid-template-columns: 56px 200px 1fr 220px;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-5);
  }

  .brand-hero-grid {
    grid-template-columns: 240px 1fr 220px;
    gap: var(--s-5);
  }

  .proscons {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--s-7);
  }

  .regulator-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cookie-banner-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .cookie-banner-actions button {
    min-width: 180px;
  }

  .stars {
    font-size: 1.125rem;
  }
}

/* ==========================================================
   Responsive — 1280px+
   ========================================================== */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--s-5);
  }

  .hero {
    padding: 96px 0 var(--s-8);
  }

  .hero h1 {
    font-size: 4.5rem; /* 72px on wide */
    line-height: 1.10;
  }
}

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
