/* ============================================================
   MILLIONER CASINO - DESIGN SYSTEM
   Luxury high-roller aesthetic: deep onyx, liquid gold,
   Playfair Display + Manrope. Single fixed dark theme.
   Mobile-first: base = 360px, 768px tablet, 1024px desktop.
   ============================================================ */

/* ============================================
   DESIGN TOKENS
   Single dark theme per brief - no theme switcher.
   ============================================ */
:root {
    --background: #12100E;
    --foreground: #f9f5ef;
    --card: #241E14;
    --card-foreground: #f9f5ef;
    --popover: #1A1712;
    --popover-foreground: #f9f5ef;
    --primary: #D4AF37;
    --primary-foreground: #12100E;
    --secondary: #1F5C40;
    --secondary-foreground: #f9f5ef;
    --muted: #1A1712;
    --muted-foreground: #B8AE97;
    --accent: #D4AF37;
    --accent-foreground: #12100E;
    --destructive: #c95f71;
    --destructive-foreground: #f9f5ef;
    --border: #5A4F35;
    --input: #241E14;
    --ring: #D4AF37;

    /* Derived luxury tokens */
    --gold-soft: rgba(212, 175, 55, 0.5);
    --gold-faint: rgba(212, 175, 55, 0.3);
    --gold-ghost: rgba(212, 175, 55, 0.12);
    --gold-gradient: linear-gradient(115deg, #F6E27A 0%, #D4AF37 38%, #B8860B 72%, #F1D97B 100%);
    --espresso: #1A1712;

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;

    /* Spacing rhythm - 8px base grid */
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
    --space-8: 6.25rem;

    --section-gap: 3rem;          /* 48px mobile */
    --header-h: 60px;
    --radius: 12px;
    --radius-sm: 8px;
    --container: 75rem;           /* 1200px */
    --container-wide: 82.5rem;    /* 1320px */
    --measure: 68ch;
    --ease: 250ms ease-out;
}

/* ============================================
   RESET & OVERFLOW SAFETY
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1.031rem; /* 16.5px */
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

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

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

section {
    overflow: clip;
}

a {
    color: var(--primary);
    text-decoration: none;
    word-break: break-word;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

ul, ol {
    padding-left: 1.25rem;
}

/* ============================================
   TYPOGRAPHY SCALE
   Playfair Display headings, Manrope body.
   Mobile sizes first, desktop inside media query.
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-3);
}

h1 { font-size: 1.875rem; font-weight: 700; }       /* 30px mobile */
h2 { font-size: 1.625rem; font-weight: 600; }       /* 26px mobile */
h3 { font-size: 1.25rem;  font-weight: 500; }       /* 20px mobile */
h4 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin: 0 0 var(--space-4);
    max-width: var(--measure);
}

.lead {
    font-size: 1.15rem;
    color: var(--muted-foreground);
}

/* Champagne-gold gradient fill for money figures */
.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Uppercase gold eyebrow label */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.micro {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ============================================
   LAYOUT PRIMITIVES
   .container / .container-wide / .section
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-3);
}

.container-wide {
    max-width: var(--container-wide);
}

.section {
    padding-block: var(--section-gap);
}

.section--alt {
    background: var(--espresso);
}

.section__head {
    max-width: 52rem;
    margin-bottom: var(--space-5);
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head p {
    color: var(--muted-foreground);
}

/* Signature double gold hairline frame (watch-bezel look) */
.gold-frame {
    position: relative;
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
}

.gold-frame::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 2px solid var(--gold-faint);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

/* ============================================
   BUTTONS
   .btn base, .btn--gold filled, .btn--ghost outline
   56px tall on mobile for thumb comfort.
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    min-height: 56px;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--ease), box-shadow var(--ease), transform var(--ease), border-color var(--ease), color var(--ease);
}

.btn:hover {
    text-decoration: none;
}

.btn--gold {
    background: var(--gold-gradient);
    color: var(--primary-foreground);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
}

.btn--gold:hover,
.btn--gold:focus-visible {
    background: linear-gradient(115deg, #D4AF37 0%, #A67C1B 60%, #C19A2E 100%);
    box-shadow: 0 4px 26px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--gold-soft);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--gold-ghost);
}

.btn--sm {
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    font-size: 0.9375rem;
}

.btn--lg {
    min-height: 60px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   HEADER & NAVIGATION
   Sticky, 60px mobile / 72px desktop, backdrop blur
   only on desktop (blur would trap the fixed drawer).
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--background);
    border-bottom: 1px solid var(--gold-faint);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    height: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--space-3);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand__monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--gold-gradient);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    white-space: nowrap;
}

.site-brand__accent {
    color: var(--primary);
    margin-left: 0.35rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.site-header__login,
.site-header__register {
    display: none;
}

/* Hamburger toggle */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    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);
}

/* Primary nav - mobile drawer by default */
.primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
    flex-direction: column;
    background: var(--background);
    overflow-y: auto;
    padding: var(--space-4) var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
}

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

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 0 auto;
}

.primary-nav__list li + li {
    border-top: 1px solid var(--gold-ghost);
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: var(--space-2) var(--space-2);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
}

.primary-nav__link:hover {
    color: var(--primary);
    text-decoration: none;
}

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gold-faint);
    margin-top: var(--space-4);
    position: sticky;
    bottom: 0;
    background: var(--background);
}

.primary-nav__actions .btn {
    width: 100%;
}

/* ============================================
   HERO
   Full-bleed layered composition: velvet dark base,
   bokeh image, model right-of-center on desktop.
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-6) 0 var(--space-5);
    background:
        radial-gradient(ellipse 80% 60% at 75% 20%, rgba(212, 175, 55, 0.14), transparent 60%),
        linear-gradient(180deg, #171410 0%, var(--background) 100%);
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.hero__content {
    max-width: 40rem;
}

.hero__title {
    margin-bottom: var(--space-3);
}

.hero__text {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.hero__media {
    position: relative;
    margin-inline: auto;
    width: 100%;
    max-width: 30rem;
}

.hero__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero__stats {
    margin-top: var(--space-5);
}

/* ============================================
   STAT BLOCK
   Metric strip with champagne-gold gradient numbers.
   ============================================ */
.stat-strip {
    background: var(--espresso);
    border-radius: var(--radius);
    padding: var(--space-4);
}

.stat-strip__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.stat__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.stat__number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat__caption {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 32ch;
}

/* ============================================
   CARD GRID & INFO CARD
   Deep bronze cards, 1px muted gold borders,
   hover lift with gold frame fade-in.
   Cards use natural heights (no forced stretch).
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: start;
}

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-soft);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--gold-faint);
}

.info-card__media {
    overflow: hidden;
}

.info-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform var(--ease);
}

.info-card:hover .info-card__media img {
    transform: scale(1.04);
}

.info-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--space-4);
    flex: 1;
}

.info-card__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.info-card__badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-foreground);
    background: var(--secondary);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}

.info-card__title {
    margin: 0;
}

.info-card__text {
    color: var(--muted-foreground);
    margin: 0;
    flex: 1;
}

.info-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: var(--space-2);
    font-weight: 700;
    color: var(--primary);
}

.info-card__link svg {
    transition: transform var(--ease);
}

.info-card__link:hover svg {
    transform: translateX(4px);
}

/* Hero trust row spacing */
.hero__trust {
    margin-top: var(--space-4);
    padding: 0;
}

/* ============================================
   FEATURE SPLIT
   Two-column content + framed media (Bonus Crab).
   ============================================ */
.feature-split {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

.feature-split__content {
    max-width: 40rem;
}

.feature-split__content ol {
    margin: 0 0 var(--space-4);
}

.feature-split__content .btn {
    margin-top: var(--space-2);
}

.feature-split__media {
    width: 100%;
    max-width: 22rem;
    padding: var(--space-4);
    background: radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.16), transparent 70%);
    border-radius: var(--radius);
}

.feature-split__media img {
    width: 100%;
}

/* Floating Bonus Crab claw card */
.float-loop {
    animation: float-loop 4.5s ease-in-out infinite;
}

@keyframes float-loop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ============================================
   WIN TICKER / RECENT WINS
   Horizontal scroll-snap strip - finite width,
   no infinite marquee (overflow-safe).
   Right-edge fade signals that the row scrolls.
   ============================================ */
.win-ticker {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--space-2) 0;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 2.5rem), transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 2.5rem), transparent 100%);
}

.win-ticker::-webkit-scrollbar {
    height: 6px;
}

.win-ticker::-webkit-scrollbar-thumb {
    background: var(--gold-faint);
    border-radius: 999px;
}

.win-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 13rem;
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
}

.win-chip__player {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

.win-chip__amount {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.win-chip__game {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

/* ============================================
   FAQ ACCORDION (native details/summary)
   Deep bronze panels, rotating gold chevron,
   48px+ touch targets, gold left accent when open.
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 52rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
    transition: border-color 300ms ease-out;
}

.faq-item[open] {
    border-color: var(--gold-soft);
    border-left: 3px solid var(--primary);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    min-height: 56px;
    padding: var(--space-3) var(--space-4);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--foreground);
    cursor: pointer;
    list-style: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 300ms ease-out;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 var(--space-4) var(--space-4);
    color: var(--foreground);
}

.faq-item__answer p {
    margin: 0;
    color: var(--muted-foreground);
}

/* ============================================
   CTA BAND
   Full-bleed espresso conversion band with radial
   gold glow behind the button and double hairline.
   ============================================ */
.cta-band {
    position: relative;
    background: var(--espresso);
    border-top: 1px solid var(--gold-soft);
    border-bottom: 1px solid var(--gold-soft);
    padding: var(--space-6) 0;
}

.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-faint);
    pointer-events: none;
}

.cta-band::before { top: 4px; }
.cta-band::after { bottom: 4px; }

.cta-band__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
}

.cta-band__inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24rem;
    height: 24rem;
    max-width: 90vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 65%);
    pointer-events: none;
}

.cta-band__title {
    margin: 0;
}

.cta-band__text {
    color: var(--muted-foreground);
    font-size: 1.1rem;
    margin: 0 auto;
}

.cta-band__btn {
    margin-top: var(--space-2);
    min-width: min(100%, 18rem);
}

.cta-band__micro {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   ENGAGEMENT PATTERNS
   TL;DR box, callout, stat highlight, pull quote,
   trust badges, comparison table, provider strip.
   ============================================ */

/* Summary / TL;DR box */
.tldr-box {
    background: var(--espresso);
    border: 1px solid var(--gold-faint);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: var(--space-4);
    margin: var(--space-4) 0;
}

.tldr-box__title {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 var(--space-2);
}

.tldr-box p:last-child,
.tldr-box ul:last-child {
    margin-bottom: 0;
}

/* Callout / highlight box */
.callout {
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
    padding: var(--space-4);
    margin: var(--space-4) 0;
}

.callout--warning {
    border-left: 4px solid var(--destructive);
}

.callout--tip {
    border-left: 4px solid var(--secondary);
}

.callout--gold {
    border-left: 4px solid var(--primary);
}

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

/* Stat highlight (inline single big figure) */
.stat-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-4);
    background: var(--espresso);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gold-faint);
    margin: var(--space-4) 0;
}

.stat-highlight__number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-highlight__label {
    font-weight: 600;
}

.stat-highlight__source {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Pull quote */
.pull-quote {
    margin: var(--space-5) 0;
    padding: var(--space-4) var(--space-4);
    border-left: 4px solid var(--primary);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--foreground);
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-2);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-style: normal;
    color: var(--muted-foreground);
}

/* Trust badges row */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: 999px;
    padding: 0.45rem 1rem;
}

/* Comparison table - highlighted recommended column */
.table-wrapper {
    margin: var(--space-4) 0;
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    min-width: 34rem;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gold-ghost);
}

.compare-table thead th {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--espresso);
}

.compare-table tbody tr:last-child td {
    border-bottom: 0;
}

.compare-table .is-recommended {
    background: var(--gold-ghost);
    color: var(--foreground);
    font-weight: 700;
}

/* Provider / logo strip - centered so wrapped rows stay balanced */
.provider-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.provider-badge {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.25rem;
    transition: color var(--ease), border-color var(--ease);
}

.provider-badge:hover {
    color: var(--primary);
    border-color: var(--gold-soft);
}

/* ============================================
   FOOTER
   Four columns desktop, stacked single column mobile.
   ============================================ */
.site-footer {
    background: var(--espresso);
    border-top: 1px solid var(--gold-faint);
    padding: var(--space-6) 0 var(--space-4);
    margin-top: var(--space-6);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--foreground);
}

.site-footer__tagline {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: var(--space-2) 0 0;
}

.site-footer__heading {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__list a {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.site-footer__list a:hover {
    color: var(--primary);
}

.pay-strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pay-badge {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
}

.site-footer__legal {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gold-ghost);
}

.age-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--destructive);
    color: var(--destructive);
    font-weight: 800;
    font-size: 1rem;
}

.site-footer__license {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.site-footer__copy {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: var(--space-3) 0 0;
}

/* ============================================
   SITEMAP PAGE LIST
   ============================================ */
.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sitemap-list__item {
    background: var(--card);
    border: 1px solid var(--gold-faint);
    border-radius: var(--radius-sm);
    padding: var(--space-4);
    transition: border-color var(--ease);
}

.sitemap-list__item:hover {
    border-color: var(--gold-soft);
}

.sitemap-list__link {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.sitemap-list__desc {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-3);
    z-index: 1100;
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: top var(--ease);
}

.skip-link:focus {
    top: var(--space-2);
    text-decoration: none;
}

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

/* ============================================
   SCROLL ANIMATIONS
   Fade-up reveal, 60ms stagger via --stagger-delay.
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
    transition-delay: var(--stagger-delay, 0ms);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .float-loop {
        animation: none;
    }
}

/* ============================================
   TABLET - 768px
   ============================================ */
@media (min-width: 48rem) {
    :root {
        --section-gap: 4rem; /* 64px tablet */
    }

    .container {
        padding-inline: var(--space-4);
    }

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

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

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

    .primary-nav__actions {
        flex-direction: row;
    }

    .primary-nav__actions .btn {
        width: auto;
        flex: 1;
    }
}

/* ============================================
   DESKTOP - 1024px
   Full horizontal nav, drawer hidden, blur enabled.
   ============================================ */
@media (min-width: 64rem) {
    :root {
        --section-gap: 4rem; /* 64px desktop - keeps inter-section rhythm tight */
        --header-h: 72px;
    }

    h1 { font-size: 3rem; }        /* 48px */
    h2 { font-size: 2.25rem; }     /* 36px */
    h3 { font-size: 1.625rem; }    /* 26px */
    h4 { font-size: 1.25rem; }

    .site-header {
        background: rgba(18, 16, 14, 0.85);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .nav-toggle {
        display: none;
    }

    .site-header__login,
    .site-header__register {
        display: inline-flex;
    }

    .primary-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 0;
        background: transparent;
        overflow: visible;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3);
        flex: 0 1 auto;
    }

    .primary-nav__list li + li {
        border-top: 0;
    }

    .primary-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0.5rem 0;
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .primary-nav__link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 0;
        height: 2px;
        background: var(--primary);
        transform: translateX(-50%);
        transition: width var(--ease);
    }

    .primary-nav__link:hover::after {
        width: 100%;
    }

    .primary-nav__actions {
        display: none;
    }

    .hero {
        padding: 7.5rem 0 6rem;
    }

    .hero__inner {
        flex-direction: row;
        align-items: center;
        gap: var(--space-6);
    }

    .hero__content {
        flex: 1 1 55%;
    }

    .hero__media {
        flex: 1 1 42%;
        max-width: 26rem;
        margin-inline: 0;
        margin-left: auto;
    }

    .feature-split {
        flex-direction: row;
        gap: var(--space-6);
    }

    .feature-split__content {
        flex: 1 1 55%;
    }

    .feature-split__media {
        flex: 1 1 35%;
        max-width: 24rem;
    }

    .stat-strip {
        padding: var(--space-5);
    }

    .stat-strip__grid--4 {
        grid-template-columns: repeat(4, 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));
    }

    .info-card__body {
        padding: var(--space-5);
    }

    .cta-band {
        padding: var(--space-7) 0;
    }

    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* ============================================
   MAX WIDTH - 1280px
   ============================================ */
@media (min-width: 80rem) {
    .site-header__inner {
        padding-inline: var(--space-4);
    }
}

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