/*
 * BETSSON CASINO - DESIGN SYSTEM
 * Understated luxury: cinematic dark, turquoise-orange accents.
 * Fonts: Sora (headings), Inter Tight (body).
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --background: #0a0a0b;
    --foreground: #f5f5f4;
    --card: #18181b;
    --card-foreground: #f5f5f4;
    --popover: #18181b;
    --popover-foreground: #f5f5f4;
    --primary: #2dd4bf;
    --primary-foreground: #06201d;
    --secondary: #27272a;
    --secondary-foreground: #f5f5f4;
    --muted: #1c1c1f;
    --muted-foreground: #a9a9b3;
    --accent: #fb7233;
    --accent-foreground: #1a0d04;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #3f3f46;
    --input: #27272a;
    --ring: #2dd4bf;

    /* spacing (8px grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 96px;

    --radius: 14px;
    --radius-sm: 10px;
    --max-w: 1200px;
    --header-h: 68px;

    --font-head: "Sora", system-ui, sans-serif;
    --font-body: "Inter Tight", system-ui, sans-serif;

    --ease: 250ms ease-out;
    --shadow-lift: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
    --glow-turquoise: 0 0 0 1px rgba(45, 212, 191, 0.55), 0 8px 30px -10px rgba(45, 212, 191, 0.35);
}

/* Single dark theme - no theme switcher. Keep .dark identical to :root. */
.dark { }

/* ============================================
   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, [class*="table-"] { max-width: 100%; overflow-x: auto; }

p, li, td, th { overflow-wrap: break-word; }

input, textarea, select { max-width: 100%; }

section { overflow: clip; }

/* ============================================
   BASE
   ============================================ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}

h1 { font-size: 28px; }
h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 500; }

p { margin: 0 0 var(--space-md); max-width: 68ch; }

a { color: var(--primary); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent); }

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

strong { color: var(--foreground); }

@media (min-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
}

.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: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--primary); color: var(--primary-foreground);
    padding: var(--space-sm); border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

/* ============================================
   LAYOUT HELPERS
   .container - centered max-width text block
   .section  - vertical rhythm wrapper
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

.section {
    padding-block: var(--space-xl);
}
@media (min-width: 1024px) {
    .section { padding-block: var(--space-2xl); }
    .container { padding-inline: var(--space-lg); }
}

.section__lead { color: var(--muted-foreground); max-width: 68ch; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

/* ============================================
   BUTTONS
   .btn--primary - turquoise filled CTA
   .btn--ghost   - outlined
   .btn--lg      - large hero CTA
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
    text-align: center;
}
.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
}
.btn--primary:hover {
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: var(--glow-turquoise);
}
.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover {
    color: var(--foreground);
    border-color: var(--primary);
    background: rgba(45, 212, 191, 0.08);
}
.btn--accent {
    background: var(--accent);
    color: var(--accent-foreground);
}
.btn--accent:hover { color: var(--accent-foreground); transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: 18px; }

/* ============================================
   HEADER + NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.92);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) {
    .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.site-header__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    min-height: var(--header-h);
    padding-inline: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
@media (min-width: 1024px) { .site-header__inner { padding-inline: var(--space-lg); } }

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--foreground);
    flex-shrink: 0;
}
.site-brand:hover { color: var(--foreground); }
.site-brand__mark {
    width: 26px; height: 26px; border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--accent) 0 26%, transparent 27%),
        conic-gradient(var(--primary) 0 15%, transparent 0 25%, var(--primary) 0 40%, transparent 0 50%, var(--primary) 0 65%, transparent 0 75%, var(--primary) 0 90%, transparent 0 100%);
    box-shadow: 0 0 12px -2px rgba(45, 212, 191, 0.6);
    flex-shrink: 0;
}
.site-brand__accent { color: var(--primary); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}
.primary-nav__list {
    list-style: none;
    display: flex;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}
.primary-nav__list a {
    color: var(--foreground);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 4px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.primary-nav__list a:hover { color: var(--primary); }
.primary-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Hamburger */
.nav-toggle {
    display: none;
    position: relative;
    z-index: 1001;
    width: 48px; height: 48px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    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 */
@media (max-width: 899px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        z-index: 999;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        padding: var(--space-lg) var(--space-sm) var(--space-2xl);
        background: var(--background);
        border-top: 1px solid var(--border);
        overflow-y: auto;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .primary-nav__list a {
        min-height: 48px;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 18px;
    }
    .primary-nav__list a:hover { background: var(--secondary); }
    .primary-nav__actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
        margin-top: var(--space-sm);
    }
    .primary-nav__actions .btn { width: 100%; }
}

/* ============================================
   HERO
   Full-bleed cinematic banner with model imagery
   ============================================ */
.hero {
    position: relative;
    overflow: clip;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(60% 80% at 78% 40%, rgba(251, 114, 51, 0.14), transparent 60%),
        linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.85) 70%, var(--background) 100%),
        linear-gradient(90deg, rgba(10,10,11,0.9) 0%, rgba(10,10,11,0.45) 55%, transparent 100%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--space-2xl) var(--space-sm);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 1024px) {
    .hero__inner { padding-inline: var(--space-lg); min-height: 66vh; }
}
.hero__content { max-width: 640px; }
.hero h1 {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}
@media (min-width: 1024px) { .hero h1 { font-size: 46px; } }
.hero__slogan {
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.01em;
}
.hero__text {
    color: var(--muted-foreground);
    font-size: 18px;
    max-width: 54ch;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
.hero__micro {
    margin-top: var(--space-md);
    font-size: 14px;
    color: var(--muted-foreground);
}

/* Bonus block inside hero */
.bonus-block {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--glow-turquoise);
    max-width: 460px;
}
.bonus-block__label {
    font-family: var(--font-head);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.bonus-block__amount {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 4px;
}
.bonus-block__amount span { color: var(--primary); }
.bonus-block__terms { font-size: 14px; color: var(--muted-foreground); margin: 0; }

/* ============================================
   TRUST BAR / BADGES
   ============================================ */
.trust-bar {
    background: var(--muted);
    border-block: 1px solid var(--border);
}
.trust-bar__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--space-md) var(--space-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card);
}
.trust-chip--age {
    color: var(--accent);
    border-color: var(--accent);
    font-weight: 700;
}

.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: var(--secondary);
    list-style: none;
}

/* ============================================
   INFO CARD GRID
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.info-card {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    display: flex;
    flex-direction: column;
}
.info-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--glow-turquoise), var(--shadow-lift);
}
.info-card__media {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-sm);
    background: rgba(45, 212, 191, 0.08);
    border-radius: var(--radius-sm);
    padding: 8px;
}
.info-card__media img { width: 100%; height: 100%; object-fit: contain; }
.info-card__title { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.info-card__text { color: var(--muted-foreground); font-size: 17px; margin-bottom: var(--space-sm); }
.info-card__badges {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--space-sm); padding: 0;
}
.info-card__link {
    margin-top: auto;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 15px;
    color: var(--primary);
}
.info-card__link:hover { color: var(--accent); }

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight {
    background: var(--muted);
    border-block: 1px solid var(--border);
}
.stat-highlight__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--space-xl) var(--space-sm);
}
@media (min-width: 1024px) { .stat-highlight__inner { padding-inline: var(--space-lg); } }
.stat-highlight__heading { text-align: center; margin-bottom: var(--space-lg); }
.stat-highlight__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}
@media (min-width: 768px) { .stat-highlight__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stat-highlight__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }

.stat-block {
    text-align: center;
    padding: var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stat-block__number {
    display: block;
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 18px rgba(45, 212, 191, 0.35);
}
.stat-block__label {
    display: block;
    margin-top: 6px;
    font-weight: 500;
    color: var(--foreground);
}
.stat-block__source {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   TWO-COLUMN FEATURE
   ============================================ */
.feature-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 768px) {
    .feature-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
}
.feature-split__media img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.feature-split--reverse .feature-split__media { order: -1; }
@media (min-width: 768px) {
    .feature-split--reverse .feature-split__media { order: 1; }
}
.feature-split ul { list-style: none; padding: 0; }
.feature-split li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--muted-foreground);
}
.feature-split li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.6);
}

/* ============================================
   CALLOUT / TLDR / PULL QUOTE
   ============================================ */
.callout {
    border-left: 4px solid var(--accent);
    background: var(--card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-md);
    margin: var(--space-md) 0;
}
.callout--info { border-left-color: var(--primary); }
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

.tldr {
    background: var(--card);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    box-shadow: var(--glow-turquoise);
}
.tldr__label {
    font-family: var(--font-head);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.tldr p:last-child, .tldr ul:last-child { margin-bottom: 0; }

.pull-quote {
    font-family: var(--font-head);
    font-size: 24px;
    line-height: 1.35;
    color: var(--foreground);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) 0;
    margin: var(--space-lg) 0;
}
.pull-quote cite {
    display: block;
    margin-top: var(--space-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-style: normal;
    color: var(--muted-foreground);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper { margin: var(--space-md) 0; border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.compare-table th, .compare-table td {
    padding: 14px var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
}
.compare-table thead th {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--foreground);
    background: var(--secondary);
}
.compare-table td { color: var(--muted-foreground); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .is-recommended {
    background: rgba(45, 212, 191, 0.07);
    color: var(--foreground);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}
@media (min-width: 1024px) { .faq__inner { padding-inline: var(--space-lg); } }
.faq__heading { margin-bottom: var(--space-lg); }
.faq__list { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq__item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 44px;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
    color: var(--foreground);
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__chevron {
    flex-shrink: 0;
    width: 12px; height: 12px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform var(--ease);
}
.faq__item[open] .faq__chevron { transform: rotate(-135deg); }
.faq__answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
}
.faq__answer p { margin: 0; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    overflow: clip;
    background: linear-gradient(180deg, #0d0d10, #070708);
    border-block: 1px solid var(--border);
    text-align: center;
}
.cta-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-inline: auto;
    padding: var(--space-xl) var(--space-sm);
}
@media (min-width: 1024px) { .cta-banner__inner { padding-block: var(--space-2xl); } }
.cta-banner__chip {
    position: absolute;
    z-index: 0;
    top: 50%; left: 50%;
    width: 340px; height: 340px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,212,191,0.22) 0%, transparent 60%);
    animation: chipPulse 4s ease-in-out infinite;
    pointer-events: none;
}
.cta-banner__glow {
    position: absolute;
    z-index: 0;
    top: 30%; right: 22%;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,114,51,0.4) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner__heading { font-size: 26px; margin-bottom: var(--space-sm); }
@media (min-width: 1024px) { .cta-banner__heading { font-size: 32px; } }
.cta-banner__text { color: var(--muted-foreground); margin-inline: auto; margin-bottom: var(--space-md); }
.cta-banner__micro { margin-top: var(--space-md); font-size: 13px; color: var(--muted-foreground); margin-bottom: 0; }

@keyframes chipPulse {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

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

/* ============================================
   STEPS / TIMELINE
   ============================================ */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-sm); }
.steps li {
    position: relative;
    padding: var(--space-sm) var(--space-sm) var(--space-sm) 56px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--muted-foreground);
}
.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: var(--space-sm); top: var(--space-sm);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
}
.steps li strong { color: var(--foreground); }

/* ============================================
   SITEMAP LIST
   ============================================ */
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}
.sitemap-list li:last-child { border-bottom: none; }
.sitemap-list a {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
}
.sitemap-list p { color: var(--muted-foreground); margin: 8px 0 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #070708;
    border-top: 1px solid var(--border);
    margin-top: var(--space-2xl);
}
.site-footer__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
    .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding-inline: var(--space-lg); }
}
.site-brand--footer { margin-bottom: var(--space-sm); }
.site-footer__tagline { color: var(--muted-foreground); font-size: 15px; max-width: 40ch; }
.site-footer__heading {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 10px; }
.site-footer__list a { color: var(--muted-foreground); font-size: 15px; }
.site-footer__list a:hover { color: var(--primary); }
.site-footer__list--trust { display: flex; flex-direction: column; gap: 10px; }
.site-footer__note { color: var(--muted-foreground); font-size: 13px; margin: var(--space-sm) 0 0; }
.site-footer__bar {
    border-top: 1px solid var(--border);
    text-align: center;
}
.site-footer__bar p {
    max-width: none;
    margin: 0;
    padding: var(--space-md) var(--space-sm);
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--ease), transform var(--ease);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.card-grid .animate-on-scroll:nth-child(2) { transition-delay: 60ms; }
.card-grid .animate-on-scroll:nth-child(3) { transition-delay: 120ms; }
.card-grid .animate-on-scroll:nth-child(4) { transition-delay: 180ms; }
.stat-highlight__grid .animate-on-scroll:nth-child(2) { transition-delay: 60ms; }
.stat-highlight__grid .animate-on-scroll:nth-child(3) { transition-delay: 120ms; }
.stat-highlight__grid .animate-on-scroll:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* 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;
}
