/*
 * BetScore Casino - shared design system
 * Fixed dark-navy theme with warm 1970s football print styling.
 */

:root {
    color-scheme: dark;
    --background: #0b1733;
    --background-deep: #071127;
    --background-raised: #10234a;
    --surface: #132952;
    --surface-strong: #193563;
    --paper: #f4e5c7;
    --paper-light: #fff4dc;
    --paper-muted: #e8d2ab;
    --ink: #2a160f;
    --foreground: #f8ecd4;
    --muted: #21385d;
    --muted-foreground: #c6c7c7;
    --primary: #f5bd25;
    --primary-hover: #ffd25b;
    --primary-foreground: #171006;
    --secondary: #7b3d22;
    --secondary-foreground: #fff5e4;
    --accent: #d88c35;
    --accent-foreground: #171006;
    --success: #2f7b52;
    --success-foreground: #ffffff;
    --destructive: #a53d34;
    --destructive-foreground: #ffffff;
    --border: #385276;
    --paper-border: #b89462;
    --focus: #ffd86e;
    --shadow-color: rgba(1, 7, 19, 0.45);
    --overlay: rgba(5, 12, 28, 0.76);

    --font-display: "Bree Serif", Georgia, serif;
    --font-body: "Inter", Arial, sans-serif;

    --text-xs: 0.875rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: clamp(1.0625rem, calc(0.4vw + 1rem), 1.25rem);
    --text-xl: clamp(1.25rem, calc(0.8vw + 1rem), 1.625rem);
    --text-2xl: clamp(1.6rem, calc(1.4vw + 1rem), 2.35rem);
    --text-3xl: clamp(2rem, calc(2.5vw + 1rem), 3.75rem);
    --text-hero: clamp(2.25rem, calc(4.2vw + 0.75rem), 5.25rem);

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: clamp(3.5rem, calc(5vw + 2rem), 7rem);

    --radius-sm: 0.4rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-pill: 999px;
    --shadow-sm: 0 0.4rem 1rem var(--shadow-color);
    --shadow-lg: 0 1.25rem 3rem var(--shadow-color);
    --container: 80rem;
    --content: 48rem;
    --header-height: 4.5rem;
    --transition: 180ms ease;
}

/* ============================================
   RESET & OVERFLOW SAFETY - predictable layouts
   ============================================ */

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

html {
    min-width: 20rem;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--space-md));
    background: var(--background-deep);
}

body {
    min-width: 20rem;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(33, 72, 124, 0.28), transparent 31rem),
        radial-gradient(circle at 86% 18%, rgba(199, 113, 36, 0.11), transparent 28rem),
        linear-gradient(180deg, var(--background) 0%, var(--background-deep) 100%);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.013) 0, rgba(255, 255, 255, 0.013) 1px, transparent 1px, transparent 4px),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.5px);
    background-size: auto, 11px 11px;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

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

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

pre code,
.code-block code {
    display: block;
    min-width: 0;
    white-space: pre;
}

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.info-card,
.panel,
.table-wrapper {
    min-width: 0;
}

section {
    overflow: clip;
}

details {
    height: fit-content;
}

::selection {
    background: var(--primary);
    color: var(--primary-foreground);
}

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

.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: fixed;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 2000;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    transform: translateY(-150%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

/* ============================================
   TYPOGRAPHY - bold editorial sports character
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-md);
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    text-wrap: balance;
}

h1 {
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p,
ul,
ol,
blockquote,
figure {
    margin-top: 0;
}

p {
    margin-bottom: var(--space-md);
}

p:last-child,
ul:last-child,
ol:last-child,
figure:last-child {
    margin-bottom: 0;
}

a {
    color: var(--primary);
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.18em;
}

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

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article) a:not([class]) {
    text-decoration: underline;
}

a[href^="http"],
a[href^="mailto:"] {
    word-break: break-all;
}

.lead {
    max-width: 65ch;
    color: var(--foreground);
    font-size: var(--text-lg);
    line-height: 1.65;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin-bottom: var(--space-sm);
    padding: var(--space-2xs) var(--space-sm);
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
    color: var(--paper-light);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    max-width: 28ch;
    margin-inline: auto;
    color: var(--paper-light);
    text-align: center;
}

.section-intro {
    max-width: 68ch;
    margin: 0 auto var(--space-xl);
    color: var(--muted-foreground);
    text-align: center;
}

/* ============================================
   LAYOUT - mobile-first page rhythm and containers
   ============================================ */

main {
    display: block;
    min-height: 60vh;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.content-width {
    width: min(100%, var(--content));
    margin-inline: auto;
}

.page-section {
    position: relative;
    padding-block: var(--space-3xl);
}

.page-section--compact {
    padding-block: var(--space-2xl);
}

.page-section--paper {
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 20%, rgba(113, 67, 34, 0.09) 0 1px, transparent 2px),
        linear-gradient(100deg, rgba(255, 255, 255, 0.2), transparent 30%),
        var(--paper);
    background-size: 17px 17px, auto, auto;
}

.page-section--paper :where(h1, h2, h3, h4) {
    color: var(--ink);
}

.section-grid,
.card-grid,
.feature-grid,
.category-grid,
.stats-grid,
.two-col,
.proscons,
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}

.split-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.split-media__copy {
    max-width: 64ch;
}

.split-media__visual {
    min-width: 0;
}

/* ============================================
   HEADER & NAVIGATION - compact stadium scoreboard bar
   ============================================ */

.site-header {
    position: relative;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(245, 189, 37, 0.3);
    background: var(--background-deep);
}

.site-header__inner {
    display: flex;
    align-items: center;
    width: min(100% - 1rem, 94rem);
    height: 100%;
    margin-inline: auto;
    gap: var(--space-xs);
}

.site-brand {
    display: grid;
    flex: 0 1 auto;
    min-width: 0;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 0.9;
    text-decoration: none;
}

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

.site-brand__main {
    font-size: 1.3rem;
    white-space: nowrap;
}

.site-brand__sub {
    justify-self: end;
    color: var(--paper-light);
    font-size: 0.9rem;
}

.menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--paper-light);
    transform-origin: center;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
}

.primary-nav {
    position: fixed;
    z-index: 999;
    inset: var(--header-height) 0 0;
    display: none;
    padding: var(--space-lg) max(var(--space-md), calc((100vw - 44rem) / 2));
    overflow-y: auto;
    background: var(--background);
}

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

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    list-style: none;
}

.nav-link {
    display: flex;
    min-height: 3rem;
    padding: var(--space-sm) var(--space-md);
    align-items: center;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--primary);
}

.nav-link[aria-current="page"] {
    border-color: var(--primary);
}

.nav-drawer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.header-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: var(--space-xs);
}

.header-login {
    display: none;
    min-height: 2.75rem;
    padding-inline: var(--space-sm);
    align-items: center;
    color: var(--paper-light);
    font-family: var(--font-display);
    text-decoration: none;
}

.age-badge {
    display: none;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 2.65rem;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: var(--paper-light);
    font-weight: 800;
    line-height: 1;
}

.age-badge sup {
    font-size: 0.6em;
}

.age-badge--lg {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    flex-basis: 3.5rem;
}

/* ============================================
   BUTTONS - high-contrast yellow “play” controls
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 3rem;
    padding: 0.7rem 1.2rem;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 0.45rem 0 rgba(83, 50, 5, 0.45), 0 0.8rem 1.7rem rgba(245, 189, 37, 0.15);
}

.btn--primary:hover {
    background: var(--primary-hover);
    color: var(--primary-foreground);
}

.btn--secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.btn--secondary:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn--ghost {
    border-color: var(--paper-border);
    background: transparent;
    color: var(--paper-light);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn--sm {
    min-height: 2.65rem;
    padding-inline: 0.8rem;
    font-size: 0.95rem;
}

.btn--lg {
    min-height: 3.5rem;
    padding-inline: clamp(1.25rem, calc(2vw + 1rem), 3rem);
    font-size: var(--text-xl);
}

.btn--block {
    width: 100%;
}

/* ============================================
   HERO - integrated stadium scenery and foreground art
   ============================================ */

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    padding: var(--space-2xl) 0;
    isolation: isolate;
    overflow: clip;
    background:
        linear-gradient(180deg, rgba(5, 11, 27, 0.16), rgba(5, 11, 27, 0.88)),
        radial-gradient(ellipse at 50% 70%, rgba(245, 189, 37, 0.24), transparent 38%),
        linear-gradient(145deg, #142851 0%, #08142e 62%, #17100d 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.hero::before {
    inset: auto -5% 0;
    height: 39%;
    opacity: 0.72;
    background:
        repeating-linear-gradient(90deg, transparent 0 9.7%, rgba(247, 233, 199, 0.27) 9.8% 10%),
        linear-gradient(180deg, rgba(23, 62, 55, 0.25), rgba(20, 46, 34, 0.78));
    transform: perspective(28rem) rotateX(56deg);
    transform-origin: bottom;
}

.hero::after {
    top: 10%;
    right: 2%;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(255, 215, 111, 0.28), transparent 62%);
    filter: blur(1rem);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(100% - 2rem, 92rem);
    min-height: calc(100svh - var(--header-height) - 4rem);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.hero__copy {
    position: relative;
    z-index: 3;
    max-width: 58rem;
    margin-inline: auto;
    text-align: center;
}

.hero__title {
    margin-bottom: var(--space-lg);
    color: var(--paper-light);
    font-size: var(--text-hero);
    text-shadow: 0 0.18rem 0 var(--secondary), 0 0.4rem 1.5rem var(--shadow-color);
}

.hero__text {
    max-width: 66ch;
    margin: 0 auto var(--space-xl);
    color: var(--foreground);
    font-size: var(--text-lg);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.hero__art {
    position: relative;
    z-index: 1;
    width: min(100%, 36rem);
    margin: var(--space-xl) auto calc(var(--space-2xl) * -1);
    pointer-events: none;
}

.hero__art img[data-visual-role="hero-foreground"] {
    width: 100%;
    max-height: 36rem;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, 0.45));
}

/* ============================================
   CARDS - cream print panels and framed editorial media
   ============================================ */

.card,
.info-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--paper-border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 20% 15%, rgba(118, 70, 37, 0.08) 0 1px, transparent 2px),
        var(--paper);
    background-size: 13px 13px, auto;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.card::after,
.panel--paper::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    border-radius: inherit;
    box-shadow: inset 0 0 2rem rgba(82, 44, 19, 0.08);
}

.card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-bottom: 1px solid var(--paper-border);
    background: var(--ink);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__body {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

.card__title,
.info-card h3 {
    color: var(--ink);
}

.card__text {
    color: #3b2a23;
}

.card__link {
    display: inline-flex;
    min-height: 2.75rem;
    margin-top: var(--space-sm);
    align-items: center;
    color: #5a2416;
    font-weight: 800;
}

.card__link:hover {
    color: #2f1009;
}

.card--dark {
    border-color: var(--border);
    background: var(--surface);
    color: var(--foreground);
}

.card--dark :where(.card__title, .card__text) {
    color: var(--foreground);
}

.icon-card {
    display: grid;
    padding: var(--space-lg);
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.icon-card__icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 1.35rem;
}

/* ============================================
   PANELS - paper editorial blocks used for explanations
   ============================================ */

.panel {
    position: relative;
    padding: clamp(1.25rem, calc(2vw + 1rem), 2.5rem);
    border-radius: var(--radius-lg);
}

.panel--paper {
    border: 1px solid var(--paper-border);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.panel--paper :where(h2, h3, h4) {
    position: relative;
    z-index: 1;
    color: var(--ink);
}

.panel--navy {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--foreground);
}

.panel__title {
    position: relative;
    z-index: 1;
}

.panel__body {
    position: relative;
    z-index: 1;
}

/* ============================================
   ENGAGEMENT - TL;DR, callouts, stats and quotations
   ============================================ */

.tldr {
    margin-block: var(--space-xl);
    padding: var(--space-lg);
    border: 1px solid var(--primary);
    border-left: 0.45rem solid var(--primary);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.tldr__title {
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.tldr__list {
    margin: 0;
    padding-left: 1.25rem;
}

.callout {
    margin-block: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    border-left: 0.35rem solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.callout--tip {
    border-color: var(--success);
}

.callout--warning {
    border-color: var(--destructive);
    background: #321c24;
}

.callout__title {
    margin-bottom: var(--space-2xs);
    color: var(--paper-light);
    font-family: var(--font-display);
    font-size: var(--text-lg);
}

.callout__text {
    color: var(--foreground);
}

.stat {
    display: grid;
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
}

.stat__value {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    line-height: 1;
}

.stat__label {
    margin-top: var(--space-xs);
    color: var(--foreground);
    font-weight: 700;
}

.stat__source {
    margin-top: var(--space-xs);
    color: var(--muted-foreground);
    font-size: var(--text-xs);
}

.quote-card,
.pull-quote {
    position: relative;
    margin-block: var(--space-xl);
    padding: clamp(1.25rem, calc(2vw + 1rem), 2.5rem);
    border-radius: var(--radius-lg);
}

.quote-card {
    border: 1px solid var(--paper-border);
    background: var(--paper);
    color: var(--ink);
}

.quote-card::before,
.pull-quote::before {
    position: absolute;
    top: 0.2rem;
    left: var(--space-md);
    content: "“";
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
}

.quote-card blockquote,
.pull-quote blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: 1.35;
}

.quote-card figcaption,
.pull-quote figcaption {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    font-weight: 700;
}

.pull-quote {
    border-block: 1px solid var(--primary);
    border-radius: 0;
    color: var(--paper-light);
}

/* ============================================
   PROS / CONS - transparent balanced assessment
   ============================================ */

.proscons {
    align-items: start;
}

.proscons__col {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.proscons__col--pro {
    border-top: 0.35rem solid var(--success);
}

.proscons__col--con {
    border-top: 0.35rem solid var(--destructive);
}

.proscons__head {
    color: var(--paper-light);
}

.list-check,
.list-cross {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-check li,
.list-cross li {
    position: relative;
    padding-left: 1.8rem;
}

.list-check li + li,
.list-cross li + li {
    margin-top: var(--space-sm);
}

.list-check li::before,
.list-cross li::before {
    position: absolute;
    left: 0;
    top: 0.08em;
    font-weight: 900;
}

.list-check li::before {
    content: "✓";
    color: #68c894;
}

.list-cross li::before {
    content: "×";
    color: #ff8d80;
}

/* ============================================
   TABLES - scannable comparisons and checklists
   ============================================ */

.table-wrapper {
    width: 100%;
    max-width: 100%;
    margin-block: var(--space-xl);
    overflow-x: auto;
    border: 1px solid var(--paper-border);
    border-radius: var(--radius-md);
    background: var(--paper-light);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    color: var(--ink);
    font-size: var(--text-sm);
}

.data-table caption {
    padding: var(--space-md);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #c8a877;
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    background: var(--ink);
    color: var(--paper-light);
    font-family: var(--font-display);
    font-size: 1rem;
}

.data-table tbody th {
    color: #401c11;
    font-weight: 800;
}

.data-table tbody tr:nth-child(even) {
    background: var(--paper-muted);
}

.data-table .is-recommended,
.data-table [data-recommended="true"] {
    background: #ffdd78;
    color: var(--primary-foreground);
    box-shadow: inset 3px 0 var(--secondary), inset -3px 0 var(--secondary);
}

/* ============================================
   ACCORDIONS - native accessible FAQ disclosures
   ============================================ */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
    align-items: start;
}

.faq-item {
    align-self: start;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.faq-item summary {
    position: relative;
    min-height: 3.5rem;
    padding: 1rem 3.25rem 1rem 1rem;
    color: var(--paper-light);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: inline-flex;
    width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    content: "+";
    transform: translateY(-50%);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] summary {
    color: var(--primary);
}

.faq-item__body {
    padding: 0 1rem 1rem;
    color: var(--foreground);
    animation: disclosure-in 180ms ease both;
}

@keyframes disclosure-in {
    from { opacity: 0; transform: translateY(-0.25rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   STEPS - clear numbered processes
   ============================================ */

.step-list {
    display: grid;
    margin: var(--space-xl) 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    counter-reset: steps;
    list-style: none;
}

.step-list__item {
    position: relative;
    min-width: 0;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 4.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    counter-increment: steps;
}

.step-list__item::before {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-md);
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    content: counter(steps);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.step-list__title {
    color: var(--paper-light);
}

.step-list__text {
    color: var(--muted-foreground);
}

/* ============================================
   LINKS & TRUST - sitemap groups and payment marks
   ============================================ */

.link-group {
    min-width: 0;
}

.link-group__title {
    color: var(--paper-light);
}

.link-group__list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: var(--space-sm);
    list-style: none;
}

.link-group__list li {
    padding: var(--space-md);
    border-left: 0.3rem solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
}

.link-group__list a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    font-family: var(--font-display);
    font-size: var(--text-lg);
}

.link-group__desc {
    display: block;
    color: var(--muted-foreground);
}

.payment-row,
.trust-badges {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.payment-badge,
.trust-badge {
    display: inline-flex;
    min-height: 2.75rem;
    padding: 0.45rem 0.75rem;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #b59c75;
    border-radius: var(--radius-sm);
    background: var(--paper-light);
    color: #221714;
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.payment-badge--crypto {
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: var(--primary-foreground);
}

.payment-row--inline {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--paper);
}

.payment-row--inline .age-badge {
    display: inline-flex;
    color: var(--ink);
}

/* ============================================
   SOCIAL PROOF - neutral, evidence-led quote cards
   ============================================ */

.social-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.review-card {
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--paper-border);
    border-radius: var(--radius-lg);
    background: var(--paper);
    color: var(--ink);
}

.review-card blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-lg);
}

.review-card figcaption {
    margin-top: var(--space-md);
    color: #5a4337;
    font-size: var(--text-sm);
    font-weight: 700;
}

/* ============================================
   CTA BAND - floodlights and centered conversion action
   ============================================ */

.cta-band {
    position: relative;
    overflow: clip;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 8% 0%, rgba(255, 226, 147, 0.48), transparent 22%),
        radial-gradient(ellipse at 92% 0%, rgba(255, 226, 147, 0.48), transparent 22%),
        linear-gradient(180deg, rgba(41, 22, 13, 0.72), rgba(7, 17, 39, 0.96)),
        var(--background-deep);
    box-shadow: var(--shadow-lg);
}

.cta-band::before,
.cta-band::after {
    position: absolute;
    top: -2rem;
    width: 7rem;
    height: 5rem;
    content: "";
    border-radius: 0.5rem;
    background: radial-gradient(circle, #fff4c5 0 9%, transparent 10%) 0 0 / 1.2rem 1.2rem;
    filter: drop-shadow(0 0 1rem #f8c75e);
    opacity: 0.8;
}

.cta-band::before {
    left: -1rem;
    transform: rotate(18deg);
}

.cta-band::after {
    right: -1rem;
    transform: rotate(-18deg);
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, calc(5vw + 1rem), 5rem) var(--space-lg);
    text-align: center;
}

.cta-band__title {
    color: var(--paper-light);
}

.cta-band__text {
    max-width: 60ch;
    margin-inline: auto;
    color: var(--foreground);
}

.cta-band__note {
    margin-top: var(--space-md);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   FOOTER - navigation, banking signals and 18+ notice
   ============================================ */

.site-footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--border);
    background: var(--background-deep);
}

.footer-grid {
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: inline-block;
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
}

.footer-note {
    max-width: 50ch;
    color: var(--muted-foreground);
}

.footer-head {
    margin-bottom: var(--space-sm);
    color: var(--paper-light);
    font-size: var(--text-lg);
}

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

.footer-links li + li {
    margin-top: var(--space-xs);
}

.footer-links a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--foreground);
}

.site-footer > .container > .payment-row {
    padding-block: var(--space-lg);
    border-block: 1px solid var(--border);
}

.footer-legal {
    display: flex;
    margin-top: var(--space-xl);
    align-items: flex-start;
    gap: var(--space-md);
}

.footer-legal p {
    max-width: 78ch;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.footer-copy {
    margin-top: var(--space-xl);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   PRELOADER - canonical empty gateway content
   ============================================ */

.preloader-page {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    place-items: center;
    background: var(--background);
}

.preloader {
    position: relative;
    width: 4rem;
    height: 4rem;
    border: 0.4rem solid var(--surface-strong);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   SCROLL ENHANCEMENT - visible by default, one-way reveal
   ============================================ */

[data-reveal] {
    opacity: 1;
    transform: none;
}

.js-enhanced [data-reveal].reveal-pending {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 500ms ease, transform 500ms ease;
}

.js-enhanced [data-reveal].reveal-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   TABLET - two-column local layouts, roomy cards
   ============================================ */

@media (min-width: 48rem) {
    :root {
        --header-height: 5rem;
    }

    .container {
        width: min(100% - 3rem, var(--container));
    }

    .site-header__inner {
        width: min(100% - 2rem, 94rem);
        gap: var(--space-md);
    }

    .site-brand__main {
        font-size: 1.7rem;
    }

    .site-brand__sub {
        font-size: 1rem;
    }

    .header-login,
    .age-badge {
        display: inline-flex;
    }

    .card-grid,
    .feature-grid,
    .category-grid,
    .stats-grid,
    .two-col,
    .proscons,
    .social-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--three > :last-child:nth-child(odd),
    .category-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: min(100%, calc(50% - var(--space-lg) / 2));
        justify-self: center;
    }

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

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

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

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

/* ============================================
   DESKTOP - reference-led wide navigation and hero
   ============================================ */

@media (min-width: 64rem) {
    :root {
        --header-height: 5.5rem;
    }

    .site-header {
        position: sticky;
        top: 0;
        background: rgba(7, 17, 39, 0.98);
        box-shadow: 0 0.5rem 1.5rem rgba(2, 8, 21, 0.25);
    }

    .menu-toggle,
    .nav-drawer-actions {
        display: none;
    }

    .site-brand {
        flex: 0 0 auto;
        min-width: 11rem;
    }

    .site-brand__main {
        font-size: 2rem;
    }

    .site-brand__sub {
        font-size: 1.25rem;
    }

    .primary-nav {
        position: static;
        display: block;
        min-width: 0;
        margin-inline: auto;
        padding: 0;
        overflow: visible;
        background: transparent;
    }

    .nav-list {
        flex-direction: row;
        justify-content: center;
        gap: clamp(0.1rem, 0.65vw, 0.8rem);
    }

    .nav-link {
        min-height: 3rem;
        padding: 0.55rem clamp(0.45rem, 0.65vw, 0.8rem);
        border: 0;
        border-bottom: 0.2rem solid transparent;
        font-size: clamp(1rem, 1.1vw, 1.22rem);
        white-space: nowrap;
    }

    .nav-link:hover,
    .nav-link[aria-current="page"] {
        border-color: var(--primary);
    }

    .header-actions {
        flex: 0 0 auto;
    }

    .header-login {
        font-size: 1.1rem;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
        padding-block: var(--space-xl);
    }

    .hero__inner {
        min-height: calc(100svh - var(--header-height) - 4rem);
        grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.65fr);
    }

    .hero__copy {
        max-width: 68rem;
        padding-left: clamp(1rem, 5vw, 6rem);
    }

    .hero__art {
        align-self: end;
        width: min(32vw, 36rem);
        margin: 0 0 -2rem -3rem;
    }

    .hero__art img[data-visual-role="hero-foreground"] {
        max-height: calc(100svh - var(--header-height) - 3rem);
        object-position: right bottom;
    }

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

    .card-grid--three > :last-child:nth-child(odd),
    .category-grid > :last-child:nth-child(odd) {
        grid-column: auto;
        width: auto;
    }

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

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

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

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

/* ============================================
   WIDE DESKTOP - cap line length and reference scale
   ============================================ */

@media (min-width: 80rem) {
    .site-header__inner {
        width: min(100% - 3rem, 94rem);
    }

    .hero__title {
        font-size: clamp(4rem, 4.2vw, 5.5rem);
    }
}

/* ============================================
   NARROW PHONE - preserve all header controls at 320px
   ============================================ */

@media (max-width: 26.875rem) {
    .site-header__inner {
        width: calc(100% - 0.5rem);
        gap: 0.2rem;
    }

    .site-brand__main {
        font-size: 1.12rem;
    }

    .site-brand__sub {
        font-size: 0.78rem;
    }

    .header-actions .btn {
        min-height: 2.55rem;
        padding-inline: 0.55rem;
        font-size: 0.82rem;
    }
}

/* ============================================
   REDUCED MOTION & PRINT - preserve content visibility
   ============================================ */

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

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

    .js-enhanced [data-reveal].reveal-pending {
        opacity: 1;
        transform: none;
    }
}

@media print {
    body {
        background: #ffffff;
        color: #111111;
    }

    .site-header,
    .site-footer,
    .btn,
    .cta-band {
        display: none !important;
    }

    .panel,
    .card,
    .table-wrapper {
        break-inside: avoid;
        box-shadow: none;
    }
}
