/*
 * BETSSON CASINO - DESIGN SYSTEM
 * Sora (headings) + Manrope (body)
 * Dark-first, turquoise-orange ember palette
 */

:root {
    --background: #0e1620;
    --background-alt: #101c28;
    --foreground: #f0f4f5;
    --card: #16202e;
    --card-foreground: #f0f4f5;
    --popover: #16202e;
    --popover-foreground: #f0f4f5;
    --primary: #22d3ee;
    --primary-foreground: #0e1620;
    --secondary: #1e293b;
    --secondary-foreground: #f0f4f5;
    --muted: #334155;
    --muted-foreground: #a9b7c4;
    --accent: #f97316;
    --accent-foreground: #0e1620;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3646;
    --input: #1e293b;
    --ring: #22d3ee;
}

/* Dark is the shipped theme (single theme, no switcher) */
.dark {
    --background: #0e1620;
    --background-alt: #101c28;
    --foreground: #f0f4f5;
    --card: #16202e;
    --card-foreground: #f0f4f5;
    --popover: #16202e;
    --popover-foreground: #f0f4f5;
    --primary: #22d3ee;
    --primary-foreground: #0e1620;
    --secondary: #1e293b;
    --secondary-foreground: #f0f4f5;
    --muted: #334155;
    --muted-foreground: #b5c2ce;
    --accent: #f97316;
    --accent-foreground: #0e1620;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3646;
    --input: #1e293b;
    --ring: #22d3ee;
}

:root {
    --font-head: "Sora", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 96px;

    --radius: 8px;
    --radius-lg: 16px;
    --maxw: 1200px;
    --header-h: 64px;

    --ember: linear-gradient(115deg, var(--primary) 0%, var(--accent) 100%);
    --ember-text: linear-gradient(115deg, var(--accent) 0%, var(--primary) 100%);
    --shadow-glow: 0 12px 40px rgba(34, 211, 238, 0.18);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
    --ease: 250ms ease-out;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; }
.table-wrapper { max-width: 100%; overflow-x: auto; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }
section { overflow: clip; }

/* ============================================
   PRODUCTION SAFEGUARD - no debug/baseline grid overlay
   ============================================ */
html::before, html::after,
body::before, body::after,
main::before, main::after { content: none !important; background: none !important; }
html, body, main { background-image: none; }

/* ============================================
   BASE
   ============================================ */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

p { margin: 0 0 var(--space-md); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-sm); }

.section-title {
    font-size: 24px;
    font-weight: 700;
    position: relative;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-lg);
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 72px; height: 4px;
    border-radius: 4px;
    background: var(--ember);
}
.section-title--center { text-align: center; }
.section-title--center::after { left: 50%; transform: translateX(-50%); }

.gradient-text {
    background: var(--ember-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: var(--space-xs) var(--space-sm);
    z-index: 1100;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--accent {
    background: var(--ember);
    color: var(--accent-foreground);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}
.btn--accent:hover {
    filter: brightness(1.08) saturate(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(249, 115, 22, 0.45);
}
.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--lg { min-height: 52px; padding: 16px 36px; font-size: 18px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(14, 22, 32, 0.94);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--foreground);
}
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
    width: 26px; height: 26px;
    border-radius: 50% 50% 50% 4px;
    background: var(--ember);
    display: inline-block;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.5);
    flex-shrink: 0;
}
.site-brand__accent { color: var(--accent); }

/* Mobile nav toggle (burger) */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer (default hidden) */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--background);
    padding: var(--space-lg) var(--space-sm);
    overflow-y: auto;
    flex-direction: column;
    gap: var(--space-lg);
}
.primary-nav.is-open { display: flex; }
.primary-nav__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--space-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    color: var(--foreground);
    border-radius: var(--radius);
    border-bottom: 1px solid var(--border);
}
.primary-nav__list a:hover { background: var(--secondary); color: var(--primary); text-decoration: none; }
.primary-nav__cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.primary-nav__cta .btn { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0;
    overflow: clip;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(14,22,32,0.94) 0%, rgba(14,22,32,0.78) 45%, rgba(14,22,32,0.35) 100%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    width: 100%;
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}
.hero h1 { font-size: 34px; margin-bottom: var(--space-sm); }
.hero__lead { font-size: 18px; color: var(--foreground); }
.bonus-badge {
    display: inline-flex;
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0;
    border-radius: var(--radius-lg);
    background: rgba(22, 32, 46, 0.8);
    border: 1px solid var(--accent);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.25);
}
.bonus-badge__amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.1;
    background: var(--ember-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bonus-badge__label {
    font-size: 14px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ============================================
   SECTIONS / LAYOUT UTILITIES
   ============================================ */
.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--background-alt, var(--card)); }

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: center;
}
.two-col__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.lead-in { max-width: 68ch; font-size: 18px; color: var(--muted-foreground); }

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.trust-strip {
    background: var(--background-alt, var(--card));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-lg) 0;
}
.trust-strip__row {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: box-shadow var(--ease), transform var(--ease);
}
.trust-badge:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.trust-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.trust-badge__icon--turquoise { background: rgba(34, 211, 238, 0.14); color: var(--primary); }
.trust-badge__icon--orange { background: rgba(249, 115, 22, 0.16); color: var(--accent); }
.trust-badge__text { display: flex; flex-direction: column; }
.trust-badge__label { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--foreground); }
.trust-badge__sub { font-size: 14px; color: var(--muted-foreground); }

/* ============================================
   STAT BLOCK
   ============================================ */
.stat-section { padding: var(--space-xl) 0; }
.stat-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
.stat-cell {
    text-align: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}
.stat-cell__number {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    background: var(--ember-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-xs);
}
.stat-cell__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--foreground); }
.stat-cell__context { display: block; font-size: 14px; color: var(--muted-foreground); margin-top: 4px; }

/* ============================================
   INFO CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}
.info-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease);
}
.info-card:hover { transform: scale(1.03); box-shadow: var(--shadow-glow); }
.info-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }
.info-card__icon {
    font-size: 40px;
    margin: var(--space-md) var(--space-md) 0;
    color: var(--primary);
    line-height: 1;
}
.info-card__body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.info-card__title { font-size: 22px; margin-bottom: var(--space-xs); }
.info-card__text { color: var(--muted-foreground); font-size: 17px; margin-bottom: var(--space-md); }
.info-card__link {
    margin-top: auto;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--accent);
}
.info-card__link:hover { text-decoration: none; filter: brightness(1.1); }

/* ============================================
   PAYMENT / PROVIDER LOGO STRIP
   ============================================ */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}
.logo-strip img {
    height: 32px;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--ease);
}
.logo-strip img:hover { opacity: 1; }

/* ============================================
   FAQ ACCORDION (native details/summary)
   ============================================ */
.faq-section { padding: var(--space-xl) 0; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
}
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 20px;
    min-height: 48px;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    color: var(--foreground);
    list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.14);
    color: var(--primary);
    font-weight: 800;
    transition: transform var(--ease);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
    padding: 0 20px 20px;
    border-left: 3px solid var(--accent);
    margin: 0 20px 20px;
    background: var(--background-alt, var(--secondary));
    border-radius: 0 var(--radius) var(--radius) 0;
}
.faq-item__a p { margin: var(--space-sm) 0 0; padding: 0 var(--space-sm); color: var(--muted-foreground); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    padding: var(--space-xl) 0;
    text-align: center;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: clip;
}
.cta-banner__spark {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(34,211,238,0.12) 0, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(249,115,22,0.12) 0, transparent 40%);
    pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 2; }
.cta-banner__title {
    color: var(--foreground);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: var(--ember-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-banner__sub { color: var(--muted-foreground); font-weight: 600; margin-bottom: var(--space-md); max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-banner .btn--accent {
    background: var(--ember);
    color: var(--accent-foreground);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.cta-banner .btn--accent:hover { filter: brightness(1.08) saturate(1.1); transform: translateY(-2px); }
.cta-banner__micro { color: var(--muted-foreground); font-size: 14px; margin: var(--space-md) auto 0; max-width: 60ch; }

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */
.tldr-box {
    border: 1px solid var(--primary);
    border-left-width: 4px;
    background: rgba(34, 211, 238, 0.06);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin: 0 0 var(--space-lg);
}
.tldr-box h2, .tldr-box h3 { font-size: 18px; margin-bottom: var(--space-xs); color: var(--primary); }
.tldr-box p:last-child { margin-bottom: 0; }

.callout {
    border-left: 4px solid var(--accent);
    background: var(--card);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--space-md);
    margin: 0 0 var(--space-lg);
}
.callout p:last-child { margin-bottom: 0; }
.callout__title { font-family: var(--font-head); font-weight: 700; color: var(--accent); margin-bottom: var(--space-xs); }

.pull-quote {
    font-size: 24px;
    font-style: italic;
    line-height: 1.4;
    color: var(--foreground);
    border-left: 4px solid var(--primary);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
}
.pull-quote cite { display: block; margin-top: var(--space-sm); font-size: 15px; font-style: normal; color: var(--muted-foreground); }

.stat-highlight {
    text-align: center;
    padding: var(--space-md);
}
.stat-highlight__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 40px;
    background: var(--ember-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-highlight__label { color: var(--muted-foreground); }

/* Numbered process steps */
.steps { list-style: none; padding: 0; margin: 0 0 var(--space-lg); counter-reset: step; }
.steps li {
    position: relative;
    padding: var(--space-sm) 0 var(--space-sm) 56px;
    border-bottom: 1px solid var(--border);
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: var(--space-sm);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ember);
    color: var(--accent-foreground);
    font-family: var(--font-head);
    font-weight: 800;
}
.steps li strong { display: block; font-family: var(--font-head); }

/* Feature list with check icons */
.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-lg); }
.check-list li { position: relative; padding: 6px 0 6px 30px; }
.check-list li::before {
    content: "✓";
    position: absolute; left: 0; top: 6px;
    color: var(--primary);
    font-weight: 800;
}

/* ============================================
   COMPARISON / DATA TABLE
   ============================================ */
.table-wrapper { margin: 0 0 var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius); }
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}
.data-table th, .data-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table thead th {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--foreground);
    background: var(--secondary);
}
.data-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.data-table td { color: var(--muted-foreground); }
.data-table .is-highlight { color: var(--accent); font-weight: 700; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { padding: var(--space-sm) 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 14px; }
.breadcrumb li { color: var(--muted-foreground); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted-foreground); }
.breadcrumb a { color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--background-alt, var(--card));
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0 0;
    margin-top: var(--space-xl);
}
.site-footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
.site-brand--footer { margin-bottom: var(--space-sm); }
.footer-tagline { color: var(--muted-foreground); font-size: 15px; }
.footer-heading { font-size: 16px; font-weight: 700; margin-bottom: var(--space-sm); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted-foreground);
}
.footer-links a:hover { color: var(--primary); }
.footer-payments { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.footer-payments img { height: 28px; width: auto; opacity: 0.85; }
.footer-badges { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-sm); }
.footer-badges img { height: 56px; width: auto; }
.age-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-family: var(--font-head);
    font-weight: 800;
}
.footer-note { font-size: 13px; color: var(--muted-foreground); line-height: 1.5; }
.site-footer__bar {
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
}
.site-footer__bar p { margin: 0; font-size: 13px; color: var(--muted-foreground); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 550ms ease-out, transform 550ms ease-out;
    transition-delay: var(--delay, 0ms);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE - TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    .section-title { font-size: 32px; }

    .wrap { padding: 0 var(--space-lg); }
    .section { padding: var(--space-xl) 0; }
    .stat-section, .trust-strip, .faq-section, .cta-banner { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

    .hero h1 { font-size: 44px; }
    .hero { min-height: 600px; }

    .trust-strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-cell { border-bottom: none; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-lg);
        padding: 0;
        background: transparent;
        overflow: visible;
        flex: 1;
    }
    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: var(--space-md);
    }
    .primary-nav__list a {
        min-height: auto;
        padding: 8px 4px;
        font-size: 16px;
        border-bottom: none;
    }
    .primary-nav__list a:hover { background: transparent; }
    .primary-nav__cta { flex-direction: row; gap: var(--space-sm); }
    .primary-nav__cta .btn { width: auto; }

    .trust-strip__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-band { grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
    .stat-cell { border-right: 1px solid var(--border); }
    .stat-cell:last-child { border-right: none; }
    .stat-band--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1280px) {
    .wrap, .site-header__inner, .site-footer__inner, .hero__inner { padding-left: 0; padding-right: 0; }
    .wrap { max-width: var(--maxw); }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
