/* ============================================================
   CashFlink — Schnelle Auszahlungen, klar verglichen.
   main.css — global stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --primary:        #ea580c;
  --primary-hover:  #c2410c;
  --primary-dark:   #9a3412;
  --primary-light:  #fff7ed;
  --primary-soft:   #ffedd5;

  /* Surfaces */
  --bg:        #ffffff;
  --bg-soft:   #fafaf9;
  --bg-warm:   #f5f5f4;

  /* Typography */
  --text:        #1c1917;
  --text-muted:  #57534e;
  --text-light:  #78716c;

  /* Lines */
  --border:        #e7e5e4;
  --border-strong: #d6d3d1;

  /* Functional */
  --amber: #f59e0b;
  --red:   #dc2626;
  --green: #16a34a;

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

  /* Geometry */
  --max-w:         1200px;
  --max-w-content: 920px;
  --nav-h:         72px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(28,25,23,.06);
  --shadow:    0 4px 12px rgba(28,25,23,.07);
  --shadow-md: 0 8px 24px rgba(28,25,23,.09);
  --shadow-lg: 0 16px 40px rgba(28,25,23,.12);

  /* Type families */
  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Transitions */
  --t-fast: .15s ease;
  --t:      .25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-hover); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; }

/* Display headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .8em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin-bottom: .5em; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1em; color: var(--text); }
strong { font-weight: 600; color: var(--text); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.site-header .container {
  display: flex;
  align-items: center;
  width: 100%;
}
.site-header nav {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nav__logo:hover { color: var(--text); }
.nav__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #f97316 100%);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(234,88,12,.28);
  flex-shrink: 0;
}
.nav__logo-icon svg { width: 22px; height: 22px; color: #fff; }
.nav__logo-name { font-weight: 400; }
.nav__logo-name b { color: var(--primary); font-weight: 400; }

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 0;
  position: relative;
}
.nav__links a:hover { color: var(--primary); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: right center;
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--text);
}
.nav__burger:hover { background: var(--bg-warm); }
.nav__burger svg { width: 26px; height: 26px; }

/* ---------- Mobile drawer (sibling to header) ---------- */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-110%);
  transition: transform var(--t);
  z-index: 99;
  padding: 16px 0 24px;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer__list {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  gap: 4px;
}
.mobile-drawer__list a {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius);
  font-size: 1.05rem;
}
.mobile-drawer__list a:hover { background: var(--bg-warm); color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(234,88,12,.25);
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234,88,12,.35);
}
.btn--ghost {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(234,88,12,.08), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(234,88,12,.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-soft);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 22px;
  letter-spacing: .01em;
}
.hero__badge svg { width: 14px; height: 14px; }

.hero h1 {
  margin-bottom: 18px;
  line-height: 1.08;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero__rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
  padding: 14px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero__rail-item {
  flex: 1 1 0;
  min-width: 130px;
  text-align: center;
  padding: 6px 14px;
  position: relative;
}
.hero__rail-item + .hero__rail-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.hero__rail-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.hero__rail-label {
  font-size: .78rem;
  color: var(--text-muted);
  display: block;
}

/* ---------- Section wrappers ---------- */
.section {
  padding: 72px 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section__eyebrow {
  display: inline-block;
  font-size: .82rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---------- Compact listing ---------- */
.listing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 48px;
}
.listing__row {
  display: grid;
  grid-template-columns: 56px 140px 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}
.listing__row:hover {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.listing__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), #f97316);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  border-radius: 10px;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(234,88,12,.25);
}
.listing__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 6px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.listing__logo img { max-height: 44px; max-width: 124px; object-fit: contain; }
.listing__logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.listing__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.listing__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.1;
}
.listing__bonus {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.listing__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--amber);
  font-size: .95rem;
}
.listing__rating-num {
  margin-left: 6px;
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
}
.listing__highlight {
  font-size: .82rem;
  color: var(--text-muted);
  font-style: italic;
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--amber);
}
.stars svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Intro prose between listing & cards ---------- */
.intro-prose {
  max-width: var(--max-w-content);
  margin: 0 auto 48px;
}
.intro-prose p { font-size: 1.02rem; color: var(--text); }

/* ---------- Comparison table ---------- */
.compare-wrap {
  max-width: var(--max-w-content);
  margin: 0 auto 48px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 600px;
}
table.compare thead th {
  background: var(--bg-warm);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text);
  font-size: .88rem;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--border);
}
table.compare tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:hover { background: var(--primary-light); }
table.compare td:first-child {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}
table.compare .compare-time {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* ---------- Criteria list (used before detailed cards) ---------- */
.criteria-list {
  max-width: var(--max-w-content);
  margin: 0 auto 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.criteria-list h3 {
  margin-bottom: 18px;
  color: var(--text);
}
.criteria-list ul {
  display: grid;
  gap: 12px;
}
.criteria-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.55;
}
.criteria-list li::before {
  content: '';
  width: 8px; height: 8px;
  margin-top: 10px;
  margin-left: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.criteria-list li strong { color: var(--text); }
.criteria-list p {
  margin-top: 18px;
  font-size: .95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Detailed cards ---------- */
.detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.detail-card:hover {
  box-shadow: var(--shadow-md);
}
.detail-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.detail-card__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), #f97316);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(234,88,12,.3);
  flex-shrink: 0;
}
.detail-card__title-wrap { flex: 1; min-width: 0; }
.detail-card__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.detail-card__subtitle {
  color: var(--primary);
  font-size: .95rem;
  font-weight: 500;
}

.detail-card__body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
}
.detail-card__screenshot {
  position: relative;
  background: var(--bg-warm);
  min-height: 280px;
  display: flex;
  align-items: stretch;
  border-right: 1px solid var(--border);
}
.detail-card__screenshot a,
.detail-card__screenshot > img {
  display: block;
  width: 100%;
  height: 100%;
}
.detail-card__screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}
.detail-card__screenshot:hover img { transform: scale(1.02); }
.detail-card__screenshot::after {
  content: '↗';
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--t);
  box-shadow: var(--shadow);
}
.detail-card__screenshot:hover::after { opacity: 1; }

.detail-card__content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}
.detail-card__lead p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.65;
}
.detail-card__specs {
  display: grid;
  gap: 8px;
  margin: 12px 0 22px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.detail-card__specs li {
  display: grid;
  grid-template-columns: minmax(160px, 200px) 1fr;
  gap: 12px;
  font-size: .92rem;
  line-height: 1.5;
}
.detail-card__specs li strong {
  color: var(--text);
  font-weight: 600;
}
.detail-card__specs li span { color: var(--text-muted); }

.detail-card__cta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}
.detail-card__cta .btn { flex: 1; min-width: 140px; }

/* ---------- Prose sections ---------- */
.prose {
  max-width: var(--max-w-content);
  margin: 0 auto;
}
.prose h2 {
  margin-top: 56px;
  margin-bottom: 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: var(--text);
}
.prose p {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.72;
}
.prose ul, .prose ol {
  margin: 0 0 18px 24px;
  display: grid;
  gap: 8px;
}
.prose ul li, .prose ol li {
  color: var(--text);
  line-height: 1.65;
}
.prose ul li {
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.prose ol { list-style: decimal; padding-left: 24px; }
.prose ol li::marker { color: var(--primary); font-weight: 600; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: var(--max-w-content);
  margin: 0 auto;
}
.faq-item {
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  transition: border-color var(--t-fast);
}
.faq-item:hover { border-color: var(--primary-soft); }
.faq-item h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
.faq-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

/* ---------- Responsible gambling banner ---------- */
.rg-banner {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 56px auto 0;
  max-width: var(--max-w-content);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.rg-banner__icon {
  width: 56px; height: 56px;
  background: var(--red);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.rg-banner h3 {
  color: var(--red);
  font-family: var(--font-display);
  margin-bottom: 6px;
  font-size: 1.4rem;
}
.rg-banner p { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.55; }
.rg-banner a { color: var(--red); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 64px 0 28px;
  margin-top: 80px;
}
.site-footer .container { color: inherit; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .nav__logo {
  color: #fff;
  font-size: 1.5rem;
}
.footer-brand .nav__logo-name b { color: var(--primary); }
.footer-tagline {
  color: #a8a29e;
  font-size: .92rem;
  line-height: 1.55;
}
.footer-18 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.footer-18__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .82rem;
}
.footer-18 small { color: #a8a29e; font-size: .82rem; }

.footer-col h4 {
  font-family: var(--font-body);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  color: #d6d3d1;
  font-size: .92rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--primary); }

.footer-rg {
  background: rgba(220, 38, 38, .12);
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(220, 38, 38, .2);
}
.footer-rg p { color: #fecaca; font-size: .86rem; line-height: 1.5; margin: 0; }
.footer-rg a { color: #fca5a5; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid #292524;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: #a8a29e;
}
.footer-bottom__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom__links a { color: #a8a29e; }
.footer-bottom__links a:hover { color: var(--primary); }

/* ---------- Page hero (for legal pages) ---------- */
.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(234,88,12,.06), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.page-hero__inner { max-width: 720px; margin: 0 auto; }
.page-hero .hero__badge { margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero__lead { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 16px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .88rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}
.breadcrumbs li + li::before {
  content: '›';
  color: var(--text-light);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---------- Section prose (legal pages) ---------- */
.section-prose { padding: 56px 0 80px; background: var(--bg); }
.section-prose__inner { max-width: var(--max-w-content); margin: 0 auto; }
.section-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.section-card h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  color: var(--text);
}
.section-card h3 {
  font-size: 1.15rem;
  margin: 20px 0 8px;
  font-family: var(--font-body);
  font-weight: 600;
}
.section-card p, .section-card li {
  color: var(--text);
  font-size: .98rem;
  line-height: 1.7;
}
.section-card p { margin-bottom: 14px; }
.section-card ul {
  margin: 0 0 14px 8px;
  display: grid;
  gap: 6px;
}
.section-card ul li {
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.section-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.section-card strong { color: var(--text); }
.section-card a { color: var(--primary); }
.section-card a:hover { text-decoration: underline; }
.section-card address {
  font-style: normal;
  color: var(--text);
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  margin: 8px 0 16px;
  line-height: 1.7;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  max-width: var(--max-w-content);
  margin: 0 auto;
}
.contact-form { background: var(--bg); padding: 32px 36px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.contact-form h2 { margin-bottom: 6px; }
.contact-form > p { color: var(--text-muted); margin-bottom: 22px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234,88,12,.15);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.form-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.form-check label { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.form-check a { color: var(--primary); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.contact-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.contact-card p { font-size: .95rem; color: var(--text); margin: 0; line-height: 1.6; }
.contact-card a { color: var(--primary); font-weight: 500; }
.contact-card address { font-style: normal; color: var(--text); line-height: 1.65; font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .detail-card__body { grid-template-columns: 1fr; }
  .detail-card__screenshot { border-right: 0; border-bottom: 1px solid var(--border); min-height: 220px; }
}

@media (max-width: 820px) {
  .listing__row {
    grid-template-columns: 48px 110px 1fr auto;
    gap: 14px;
    padding: 14px 16px;
  }
  .listing__rating, .listing__highlight { display: none; }
  .listing__rank { width: 36px; height: 36px; font-size: 1.15rem; }
  .listing__logo { height: 48px; }
  .listing__logo img { max-height: 36px; max-width: 96px; }
  .listing__brand { font-size: 1.1rem; }
  .listing__bonus { font-size: .82rem; }

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

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }

  .section { padding: 56px 0; }
  .hero { padding: 40px 0 36px; }
  .hero__rail { padding: 12px 4px; flex-wrap: wrap; }
  .hero__rail-item { min-width: 50%; padding: 8px 12px; }
  .hero__rail-item + .hero__rail-item::before { display: none; }
  .hero__rail-item:nth-child(3) { border-top: 1px solid var(--border); padding-top: 14px; }
  .hero__rail-item:nth-child(4) { border-top: 1px solid var(--border); padding-top: 14px; }

  .detail-card__head { padding: 18px 22px; gap: 12px; }
  .detail-card__title { font-size: 1.4rem; }
  .detail-card__content { padding: 22px 22px; }
  .detail-card__specs li { grid-template-columns: 1fr; gap: 2px; }
  .detail-card__specs li strong { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }

  .rg-banner { grid-template-columns: 1fr; padding: 22px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section-card { padding: 24px 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .listing__row {
    grid-template-columns: 40px 88px 1fr;
    gap: 12px;
  }
  .listing__row .btn { display: none; }
  .listing__main { grid-column: 3; }
  .hero { padding: 32px 0 28px; }
  .hero h1 { font-size: 2.1rem; }
  .hero__lead { font-size: 1rem; }
  .hero__rail-num { font-size: 1.4rem; }
}

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}