/*
 * BetScore Casino Design System
 * Fixed dark theme: NFL stadium atmosphere, yellow conversion accents,
 * magenta/cyan pop-art panels and tactile halftone texture.
 */

:root {
    color-scheme: dark;
    --background: #081233;
    --background-deep: #050c24;
    --surface: #0d1c47;
    --surface-raised: #122657;
    --surface-soft: #183563;
    --foreground: #f7f8ff;
    --muted: #172957;
    --muted-foreground: #c2c9dc;
    --primary: #ffdc18;
    --primary-hover: #ffe75b;
    --primary-foreground: #081233;
    --secondary: #f138a1;
    --secondary-hover: #ff4caf;
    --secondary-foreground: #081233;
    --accent: #49d8dc;
    --accent-hover: #77e8eb;
    --accent-foreground: #081233;
    --destructive: #ef476f;
    --destructive-foreground: #081233;
    --border: #38507f;
    --border-strong: #6475a0;
    --focus: #ffffff;
    --success: #ffdc18;
    --warning: #ffb629;
    --white: #ffffff;
    --black: #050816;

    --font-display: "Oswald", "Arial Narrow", sans-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.35vw + 1rem), 1.25rem);
    --text-xl: clamp(1.25rem, calc(0.8vw + 1rem), 1.75rem);
    --text-2xl: clamp(1.75rem, calc(1.6vw + 1.1rem), 2.75rem);
    --text-3xl: clamp(2.25rem, calc(3vw + 1rem), 4.75rem);
    --text-hero: clamp(2.5rem, calc(4.6vw + 0.7rem), 6.5rem);

    --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: 4.5rem;
    --space-4xl: 6.5rem;

    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-pill: 999px;

    --shadow-sm: 0 0.5rem 1.4rem rgba(1, 5, 20, 0.3);
    --shadow-lg: 0 1.2rem 3.5rem rgba(1, 5, 20, 0.48);
    --shadow-yellow: 0 0.8rem 2rem rgba(255, 220, 24, 0.18);

    --container: 76rem;
    --container-wide: 90rem;
    --content: 48rem;
    --header-height: 4.25rem;
    --transition: 180ms ease;
}

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--space-lg));
    background: var(--background-deep);
}

body {
    min-width: 20rem;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 18% 8%, rgba(73, 216, 220, 0.08), transparent 22rem),
        radial-gradient(circle at 84% 18%, rgba(239, 35, 151, 0.06), transparent 24rem),
        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.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0 0.7px, transparent 0.8px);
    background-size: 7px 7px;
    opacity: 0.28;
}

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

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

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

button {
    color: inherit;
}

ul,
ol {
    padding-left: 1.3em;
}

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

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

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.info-card,
.feature-card,
.product-card {
    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;
    white-space: pre;
}

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

section {
    overflow: clip;
}

details {
    height: fit-content;
}

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

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

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    color: var(--primary);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.17em;
}

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

/* ============================================
   TYPOGRAPHY - Condensed sports headlines + clear body
   ============================================ */

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--foreground);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    text-wrap: balance;
}

h1 {
    margin-bottom: var(--space-lg);
    font-size: var(--text-hero);
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

h2 {
    margin-bottom: var(--space-lg);
    font-size: var(--text-3xl);
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

h3 {
    margin-bottom: var(--space-md);
    font-size: var(--text-2xl);
    letter-spacing: -0.015em;
}

h4 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-xl);
}

p {
    max-width: 76ch;
    margin-bottom: 1.15em;
}

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

.eyebrow,
.kicker,
.section-head__eyebrow {
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.highlight-text,
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.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);
    transform: translateY(-160%);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 800;
    text-decoration: none;
}

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

/* ============================================
   LAYOUT - Containers, sections and balanced grids
   ============================================ */

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

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

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

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

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

.section--surface {
    background: var(--surface);
}

.section--deep {
    background: var(--background-deep);
}

.section--halftone::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background-image: radial-gradient(circle, rgba(73, 216, 220, 0.16) 0 1px, transparent 1.2px);
    background-size: 8px 8px;
    mask-image: linear-gradient(90deg, transparent, var(--black) 20%, var(--black) 80%, transparent);
    opacity: 0.35;
}

.section > .container,
.section > .container-wide,
.content-section > .container,
.content-section > .container-wide {
    position: relative;
}

.section-head {
    max-width: 66rem;
    margin-bottom: var(--space-2xl);
}

.section-head--center,
.section-head.centered {
    margin-inline: auto;
    text-align: center;
}

.section-head__title {
    color: var(--primary);
}

.section-head__intro {
    max-width: 72ch;
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

.section-head--center .section-head__intro,
.section-head.centered .section-head__intro {
    margin-inline: auto;
}

.stack > * + * {
    margin-top: var(--space-lg);
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.content-grid,
.feature-grid,
.product-grid,
.card-grid,
.stats-grid,
.social-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}

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

/* ============================================
   HEADER & NAVIGATION - Conversion-first shell
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: var(--background-deep);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: var(--space-xs);
    align-items: center;
    width: min(100% - 1rem, var(--container-wide));
    min-height: var(--header-height);
    margin-inline: auto;
}

.site-brand {
    min-width: 0;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, calc(2.2vw + 0.65rem), 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.primary-nav {
    display: none;
}

.primary-nav.is-open {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: block;
    max-width: 100vw;
    padding: var(--space-lg) var(--space-md) var(--space-2xl);
    overflow-y: auto;
    background: var(--background);
    border-top: 1px solid var(--border);
}

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

.primary-nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid transparent;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface);
}

.nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: var(--primary);
    transition: transform var(--transition), opacity var(--transition);
}

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

.header-actions {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

/* ============================================
   BUTTONS - Yellow primary action, outlined secondary
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 2.9rem;
    padding: 0.7rem 1.1rem;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    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);
    border-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-yellow);
}

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

.btn--ghost,
.btn--outline {
    background: var(--background-deep);
    border-color: var(--primary);
    color: var(--foreground);
}

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

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

.btn--sm {
    min-height: 2.75rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
}

.btn--lg {
    min-height: 3.5rem;
    padding: 0.95rem 1.65rem;
    font-size: 1.2rem;
}

.inline-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    align-items: center;
    max-width: none;
    margin-top: var(--space-xl);
    margin-bottom: 0;
}

.inline-cta__note {
    max-width: 34rem;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   HERO - Stadium depth with integrated artwork
   ============================================ */

.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    padding-block: var(--space-2xl) var(--space-3xl);
    background:
        radial-gradient(ellipse at 50% 100%, rgba(73, 216, 220, 0.2), transparent 48%),
        linear-gradient(180deg, var(--surface-soft) 0%, var(--background) 62%, var(--background-deep) 100%);
}

.hero::before,
.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        radial-gradient(ellipse at 50% 110%, transparent 0 17%, rgba(73, 216, 220, 0.15) 17.3% 17.8%, transparent 18.1% 25%, rgba(73, 216, 220, 0.12) 25.3% 25.8%, transparent 26.1%),
        repeating-linear-gradient(95deg, transparent 0 9%, rgba(255, 255, 255, 0.025) 9.2% 9.5%, transparent 9.7% 18%);
}

.hero::after,
.page-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 42%;
    content: "";
    background-image: radial-gradient(circle, rgba(73, 216, 220, 0.32) 0 1px, transparent 1.3px);
    background-size: 7px 7px;
    mask-image: linear-gradient(to top, var(--black), transparent);
    opacity: 0.58;
}

.hero__inner,
.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
    width: min(100% - 2rem, var(--container-wide));
    min-height: inherit;
    margin-inline: auto;
}

.hero__copy,
.page-hero__copy {
    position: relative;
    z-index: 2;
}

.hero__title,
.page-hero__title {
    color: var(--primary);
}

.hero__text,
.page-hero__text {
    max-width: 64ch;
    color: var(--foreground);
    font-size: var(--text-lg);
}

.hero__art,
.page-hero__art {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: 20rem;
}

.hero__art::before,
.page-hero__art::before {
    position: absolute;
    inset: 4% 0 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(135deg, var(--primary) 0 49.6%, var(--secondary) 50% 100%);
    box-shadow: -0.7rem 0.7rem 0 var(--accent);
}

.hero__art::after,
.page-hero__art::after,
.media-frame::after,
.highlight-panel__media::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background-image: radial-gradient(circle, rgba(5, 12, 36, 0.45) 0 1px, transparent 1.25px);
    background-size: 6px 6px;
    mix-blend-mode: multiply;
    opacity: 0.58;
}

.hero__art img,
.page-hero__art img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 42rem;
    object-fit: contain;
    object-position: center bottom;
}

.hero__art img[data-visual-role="hero-foreground"],
.page-hero__art img[data-visual-role="hero-foreground"] {
    filter: saturate(1.08) contrast(1.04);
}

/* ============================================
   CARDS - Pop-art product and feature containers
   ============================================ */

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

.product-card,
.feature-card,
.card,
.info-card {
    position: relative;
    padding: var(--space-lg);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border-color: var(--primary);
}

.product-card--pink {
    border-color: var(--secondary);
}

.product-card--cyan {
    border-color: var(--accent);
}

.product-card__icon,
.feature-card__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin-bottom: var(--space-lg);
    place-items: center;
    color: var(--primary);
}

.product-card--pink .product-card__icon,
.feature-card--pink .feature-card__icon {
    color: var(--secondary);
}

.product-card--cyan .product-card__icon,
.feature-card--cyan .feature-card__icon {
    color: var(--accent);
}

.pop-icon {
    width: 100%;
    height: 100%;
}

.product-card__title,
.feature-card h3 {
    color: var(--foreground);
    font-size: var(--text-xl);
    text-transform: uppercase;
}

.product-card__text,
.feature-card p {
    color: var(--muted-foreground);
}

.product-card__link {
    display: inline-flex;
    min-height: 2.75rem;
    margin-top: auto;
    padding-top: var(--space-sm);
    align-items: center;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-transform: uppercase;
}

.product-card--pink .product-card__link {
    color: var(--secondary);
}

.product-card--cyan .product-card__link {
    color: var(--accent);
}

.feature-card {
    border-top: 0.35rem solid var(--primary);
}

.feature-card--pink {
    border-top-color: var(--secondary);
}

.feature-card--cyan {
    border-top-color: var(--accent);
}

/* ============================================
   MEDIA - Framed silkscreen scenes and split panels
   ============================================ */

.media-frame {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.media-frame--pink {
    background: var(--secondary);
    border-color: var(--secondary);
}

.media-frame--cyan {
    background: var(--accent);
    border-color: var(--accent);
}

.media-frame img {
    width: 100%;
    object-fit: cover;
}

.media-frame figcaption {
    position: relative;
    z-index: 1;
    padding: var(--space-sm) var(--space-md);
    background: var(--background-deep);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.highlight-panel {
    position: relative;
    padding: var(--space-md);
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
}

.highlight-panel--pink {
    border-color: var(--secondary);
}

.highlight-panel--cyan {
    border-color: var(--accent);
}

.highlight-panel__media {
    position: relative;
    min-height: 16rem;
    overflow: hidden;
    background: var(--primary);
}

.highlight-panel--pink .highlight-panel__media {
    background: var(--secondary);
}

.highlight-panel--cyan .highlight-panel__media {
    background: var(--accent);
}

.highlight-panel__media img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
}

.highlight-panel__body {
    padding: var(--space-md);
}

.highlight-panel__body h3 {
    color: var(--primary);
    text-transform: uppercase;
}

.highlight-panel__text {
    color: var(--muted-foreground);
}

/* ============================================
   TABLES - Mobile-scrollable factual comparisons
   ============================================ */

.table-wrapper {
    margin-block: var(--space-xl);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.data-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    text-align: left;
}

.data-table caption {
    padding: var(--space-md);
    color: var(--foreground);
    font-weight: 700;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.data-table thead th {
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.data-table tbody th {
    color: var(--foreground);
    font-weight: 700;
}

.data-table tbody td {
    color: var(--muted-foreground);
}

.data-table tbody tr:last-child > * {
    border-bottom: 0;
}

.data-table .recommended,
.comparison-table .recommended {
    background: var(--muted);
    box-shadow: inset 3px 0 0 var(--primary), inset -3px 0 0 var(--primary);
}

/* ============================================
   PROS & CONS - Honest high-contrast evaluation
   ============================================ */

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

.pros-cons__col {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
}

.pros-cons__col--con {
    border-color: var(--secondary);
}

.pros-cons__col h3 {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-lg);
    margin: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    text-transform: uppercase;
}

.pros-cons__col--con h3 {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.pros-cons__sign {
    font-size: 2.5rem;
    line-height: 0.7;
}

.pros-cons__col ul {
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 2.6rem;
    margin: 0;
}

.pros-cons__col li + li {
    margin-top: var(--space-sm);
}

.pros-cons__col--pro li::marker {
    color: var(--primary);
}

.pros-cons__col--con li::marker {
    color: var(--secondary);
}

/* ============================================
   DISCLOSURES - Native FAQ accordion
   ============================================ */

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

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

.faq-item summary {
    position: relative;
    min-height: 3.6rem;
    padding: var(--space-md) 3.5rem var(--space-md) var(--space-md);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 650;
    line-height: 1.3;
    list-style: none;
    text-transform: uppercase;
    cursor: pointer;
}

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

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: var(--space-md);
    width: 0.8rem;
    height: 0.8rem;
    content: "";
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    transform: translateY(-70%) rotate(45deg);
    transition: transform var(--transition);
}

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

.faq-item summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: -5px;
}

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

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

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

.tldr-box,
.callout,
.checklist,
.stat-highlight,
.pull-quote {
    min-width: 0;
    margin-block: var(--space-xl);
    border-radius: var(--radius-md);
}

.tldr-box {
    padding: var(--space-lg);
    background: var(--muted);
    border: 2px solid var(--accent);
    box-shadow: inset 0.35rem 0 0 var(--accent);
}

.tldr-box__title,
.callout__title,
.checklist__title {
    margin-bottom: var(--space-sm);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
}

.tldr-box ul,
.checklist__list {
    margin-bottom: 0;
}

.tldr-box li + li,
.checklist__list li + li {
    margin-top: var(--space-xs);
}

.callout {
    padding: var(--space-lg);
    background: var(--surface);
    border-left: 0.4rem solid var(--accent);
}

.callout--warning {
    background: var(--muted);
    border-left-color: var(--warning);
}

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

.callout__text:last-child {
    margin-bottom: 0;
}

.checklist {
    padding: var(--space-lg);
    background: var(--surface-raised);
    border: 1px solid var(--border-strong);
}

.checklist__list {
    padding: 0;
    list-style: none;
}

.checklist__list li {
    position: relative;
    padding-left: 2rem;
}

.checklist__list li::before {
    position: absolute;
    top: 0.1em;
    left: 0;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    content: "✓";
    background: var(--primary);
    border-radius: 50%;
    color: var(--primary-foreground);
    font-size: 0.8rem;
    font-weight: 900;
}

.checklist__list--ordered {
    counter-reset: checklist;
}

.checklist__list--ordered li {
    counter-increment: checklist;
}

.checklist__list--ordered li::before {
    content: counter(checklist);
}

.stat-highlight {
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-xl);
    background: var(--primary);
    color: var(--primary-foreground);
    text-align: center;
}

.stat-highlight__value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

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

.stat-highlight__note {
    font-size: var(--text-sm);
}

.pull-quote {
    position: relative;
    padding: var(--space-xl);
    background: var(--surface);
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--accent);
}

.pull-quote::before {
    position: absolute;
    top: -0.25em;
    left: var(--space-md);
    content: "“";
    color: var(--secondary);
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
}

.pull-quote p {
    position: relative;
    max-width: 50ch;
    margin: 0 auto var(--space-md);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    line-height: 1.25;
    text-align: center;
}

.pull-quote cite {
    display: block;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    font-style: normal;
    text-align: center;
}

/* ============================================
   TRUST, PAYMENTS & SOCIAL PROOF - Reusable CRO
   ============================================ */

.payment-row,
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    padding: 0;
    margin: var(--space-xl) 0;
    list-style: none;
}

.payment-row__item,
.trust-badges__item {
    display: flex;
    min-height: 4.5rem;
    padding: var(--space-sm);
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--foreground);
    text-align: center;
}

.payment-row__icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.payment-row__name {
    font-family: var(--font-display);
    font-weight: 650;
    text-transform: uppercase;
}

.social-proof-grid {
    align-items: start;
}

.testimonial-card,
.review-card {
    min-width: 0;
    padding: var(--space-lg);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-top: 0.3rem solid var(--accent);
    border-radius: var(--radius-md);
}

.testimonial-card blockquote,
.review-card blockquote {
    margin-bottom: var(--space-md);
    color: var(--foreground);
    font-size: var(--text-lg);
}

.testimonial-card cite,
.review-card cite {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    font-style: normal;
}

/* ============================================
   CTA BAND - Stadium-style closing conversion area
   ============================================ */

.cta-band {
    position: relative;
    padding-block: var(--space-3xl);
    background:
        radial-gradient(ellipse at 50% 120%, rgba(73, 216, 220, 0.34), transparent 52%),
        var(--surface-soft);
    text-align: center;
}

.cta-band::before,
.cta-band::after {
    position: absolute;
    right: 0;
    left: 0;
    pointer-events: none;
    content: "";
}

.cta-band::before {
    top: 0;
    height: 0.75rem;
    background: var(--primary);
}

.cta-band::after {
    inset: 0;
    background-image: radial-gradient(circle, rgba(73, 216, 220, 0.27) 0 1px, transparent 1.2px);
    background-size: 8px 8px;
    mask-image: linear-gradient(to bottom, transparent, var(--black));
    opacity: 0.45;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-band__heading {
    max-width: 25ch;
    color: var(--primary);
}

.cta-band__text {
    max-width: 65ch;
    color: var(--foreground);
    font-size: var(--text-lg);
}

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

/* ============================================
   FOOTER - Legal, payments and responsible play
   ============================================ */

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

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-lg);
    justify-content: center;
    padding: 0;
    margin: 0 0 var(--space-xl);
    list-style: none;
}

.footer-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 650;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-payments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    max-width: 40rem;
    padding: 0;
    margin: 0 auto var(--space-xl);
    list-style: none;
}

.footer-payments li {
    display: flex;
    min-height: 3.25rem;
    padding: var(--space-xs) var(--space-sm);
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

.footer-payments svg {
    width: 2rem;
    flex: 0 0 auto;
}

.footer-legal {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    max-width: 52rem;
    margin-inline: auto;
    align-items: start;
}

.age-badge {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    background: var(--foreground);
    border-radius: 50%;
    color: var(--background-deep);
    font-family: var(--font-display);
    font-weight: 700;
}

.footer-legal p,
.footer-license,
.footer-copy {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.footer-license,
.footer-copy {
    max-width: 58rem;
    margin-inline: auto;
    text-align: center;
}

.footer-copy {
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 650;
    text-transform: uppercase;
}

/* ============================================
   SLOT TITLE CARDS - Product card with media frame
   ============================================ */

.product-card .media-frame {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-sm);
}

.product-card .media-frame img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.product-card .product-card__title {
    margin-bottom: var(--space-sm);
}

/* ============================================
   SCROLL REVEAL - Progressive enhancement only
   ============================================ */

.reveal-target {
    opacity: 1;
    transform: none;
}

.js-reveal .reveal-target:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.25rem);
}

.js-reveal .reveal-target {
    transition: opacity 520ms ease, transform 520ms ease;
}

/* ============================================
   TABLET - More columns and generous rhythm
   ============================================ */

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

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

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

    .section,
    .content-section {
        padding-block: var(--space-4xl);
    }

    .product-grid,
    .feature-grid,
    .card-grid,
    .social-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .pros-cons,
    .split-layout,
    .media-copy,
    .highlight-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight-panel--reverse .highlight-panel__media {
        order: 2;
    }

    .highlight-panel--reverse .highlight-panel__body {
        order: 1;
    }

    .payment-row,
    .trust-badges,
    .footer-payments {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero,
    .page-hero {
        padding-block: var(--space-3xl);
    }

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

/* ============================================
   DESKTOP - Wide stadium composition and inline nav
   ============================================ */

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

    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: var(--space-xl);
        width: min(100% - 3rem, var(--container-wide));
    }

    .site-brand {
        font-size: clamp(1.8rem, 2.2vw, 2.75rem);
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav,
    .primary-nav.is-open {
        position: static;
        display: block;
        max-width: none;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
    }

    .primary-nav__list {
        flex-direction: row;
        justify-content: center;
        gap: clamp(0.1rem, 0.8vw, 1rem);
    }

    .primary-nav a {
        min-height: 3rem;
        padding: var(--space-sm) clamp(0.4rem, 0.7vw, 0.85rem);
        font-size: clamp(0.85rem, 1.15vw, 1.15rem);
        white-space: nowrap;
    }

    .header-actions {
        gap: var(--space-sm);
    }

    .btn--sm {
        padding-inline: 1rem;
        font-size: 1rem;
    }

    .hero,
    .page-hero {
        min-height: min(58rem, calc(100svh - var(--header-height)));
        padding-block: var(--space-3xl) var(--space-4xl);
    }

    .hero__inner,
    .page-hero__inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
        gap: clamp(2rem, 5vw, 6rem);
    }

    .hero__copy,
    .page-hero__copy {
        padding-block: var(--space-xl);
    }

    .hero__art,
    .page-hero__art {
        min-height: 36rem;
        align-self: end;
    }

    .hero__art::before,
    .page-hero__art::before {
        inset: 6% 2% 0;
        box-shadow: -1rem 1rem 0 var(--accent);
    }

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

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

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

    .section-head {
        margin-bottom: var(--space-3xl);
    }

    .product-card,
    .feature-card,
    .card,
    .info-card {
        padding: var(--space-xl);
    }
}

/* Six-item homepage grid remains balanced: 3 columns x 2 rows. */
@media (min-width: 80rem) {
    .container,
    .prose-container {
        width: min(100% - 4rem, var(--container));
    }

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

    .site-header__inner,
    .hero__inner,
    .page-hero__inner {
        width: min(100% - 4rem, var(--container-wide));
    }
}

/* ============================================
   NARROW MOBILE - Header stays usable at 320px
   ============================================ */

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

    .site-brand {
        font-size: 1.05rem;
    }

    .nav-toggle {
        width: 2.6rem;
        height: 2.6rem;
    }

    .btn--sm {
        min-height: 2.6rem;
        padding-inline: 0.45rem;
        font-size: 0.72rem;
    }
}

/* ============================================
   REDUCED MOTION & PRINT - Accessible fallbacks
   ============================================ */

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

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

    .js-reveal .reveal-target:not(.is-visible) {
        opacity: 1;
        transform: none;
    }
}

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

    body {
        background: var(--white);
        color: var(--black);
    }

    h1,
    h2,
    h3,
    h4,
    p,
    li,
    td,
    th {
        color: var(--black);
    }
}
