/*
 * DudeSpin Casino Design System
 * Fixed dark neon-bowling theme for all public content pages.
 */

:root {
    color-scheme: dark;

    --background: #140b20;
    --background-deep: #0e0818;
    --surface: #1c102a;
    --surface-elevated: #261536;
    --card: #21132f;
    --card-strong: #2d1740;
    --foreground: #f7f1ff;
    --foreground-strong: #fff9ff;
    --muted: #39244d;
    --muted-foreground: #cfc2dc;
    --subtle-foreground: #b7a8c7;
    --border: #54366c;
    --border-strong: #7b4b9d;

    --primary: #ff68b8;
    --primary-hover: #ff8aca;
    --primary-foreground: #250014;
    --secondary: #a67aff;
    --secondary-hover: #bd9cff;
    --secondary-foreground: #18072b;
    --accent: #66f2de;
    --accent-hover: #91f7e8;
    --accent-foreground: #06211d;
    --warning: #ffd76a;
    --warning-foreground: #241800;
    --destructive: #ff7a87;
    --destructive-foreground: #280006;
    --focus: #ffe781;
    --transparent: transparent;

    --neon-pink: #ff3fa4;
    --neon-violet: #9e5cff;
    --neon-cyan: #54efd9;
    --neon-gold: #ffd15c;
    --pin-white: #fff5fb;
    --pin-red: #ff557d;

    --overlay: rgba(8, 3, 14, 0.76);
    --surface-glass: rgba(38, 21, 54, 0.88);
    --primary-soft: rgba(255, 104, 184, 0.13);
    --secondary-soft: rgba(166, 122, 255, 0.14);
    --accent-soft: rgba(102, 242, 222, 0.12);
    --warning-soft: rgba(255, 215, 106, 0.12);
    --destructive-soft: rgba(255, 122, 135, 0.13);
    --line-soft: rgba(255, 255, 255, 0.08);
    --line-medium: rgba(255, 255, 255, 0.14);
    --shadow-color: rgba(0, 0, 0, 0.38);
    --shadow-neon: rgba(255, 63, 164, 0.24);
    --shadow-violet: rgba(158, 92, 255, 0.2);
    --shadow-cyan: rgba(84, 239, 217, 0.15);

    --gradient-page: radial-gradient(circle at 12% 8%, rgba(158, 92, 255, 0.16), transparent 34rem), radial-gradient(circle at 88% 18%, rgba(255, 63, 164, 0.12), transparent 30rem), linear-gradient(180deg, #160c23 0%, #0e0818 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
    --gradient-primary: linear-gradient(135deg, #ff79c2 0%, #ff4aa8 52%, #bf6cff 100%);
    --gradient-secondary: linear-gradient(135deg, #ac83ff 0%, #6e4bd7 100%);
    --gradient-accent: linear-gradient(135deg, #8af7e8 0%, #50dcca 100%);
    --gradient-hero: radial-gradient(circle at 78% 42%, rgba(255, 63, 164, 0.22), transparent 25rem), radial-gradient(circle at 56% 72%, rgba(84, 239, 217, 0.11), transparent 20rem), linear-gradient(145deg, rgba(51, 24, 73, 0.72), rgba(17, 8, 29, 0.42));
    --gradient-cta: radial-gradient(circle at 50% -20%, rgba(255, 209, 92, 0.15), transparent 22rem), linear-gradient(125deg, #311244 0%, #541950 48%, #2a144d 100%);

    --font-display: "Bowlby One SC", "Arial Black", sans-serif;
    --font-body: "Space Grotesk", Arial, sans-serif;

    --text-xs: 0.875rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: clamp(1.5rem, calc(2vw + 0.95rem), 2.15rem);
    --text-3xl: clamp(2rem, calc(4vw + 0.6rem), 3.6rem);
    --text-hero: clamp(2.3rem, calc(7vw + 0.35rem), 5.4rem);

    --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(4rem, calc(6vw + 2rem), 7rem);

    --radius-sm: 0.65rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-pill: 999px;

    --shadow-sm: 0 0.55rem 1.5rem var(--shadow-color);
    --shadow-lg: 0 1.5rem 4rem var(--shadow-color);
    --shadow-glow: 0 0 2rem var(--shadow-neon), 0 0 4rem var(--shadow-violet);

    --container: 75rem;
    --container-narrow: 50rem;
    --header-height: 4.5rem;
    --transition-fast: 160ms ease;
    --transition: 260ms ease;
}

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

html {
    min-width: 20rem;
    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: var(--gradient-page);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    font-style: italic;
}

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

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

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

.table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

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

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

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

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

section {
    position: relative;
    overflow: clip;
}

details {
    height: fit-content;
}

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

/* ============================================
   ACCESSIBILITY - Keyboard and assistive support
   ============================================ */
.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(--focus);
    color: var(--warning-foreground);
    font-weight: 700;
    transform: translateY(-180%);
    transition: transform var(--transition-fast);
}

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

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

/* ============================================
   TYPOGRAPHY - Neon signage with readable prose
   ============================================ */
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote,
figure {
    margin-top: 0;
}

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

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.025em;
}

h1 {
    margin-bottom: var(--space-lg);
    font-size: var(--text-hero);
    line-height: 1.02;
}

h2 {
    margin-bottom: var(--space-lg);
    font-size: var(--text-2xl);
}

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

h4 {
    margin-bottom: var(--space-xs);
    font-size: var(--text-lg);
}

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

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

.lead {
    max-width: 42rem;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
    line-height: 1.75;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 1.7rem;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 0.8rem var(--shadow-cyan);
    content: "";
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article) a:not([class]) {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

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

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.75rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

.text-link span {
    transition: transform var(--transition-fast);
}

.text-link:hover span {
    transform: translateX(0.2rem);
}

/* ============================================
   LAYOUT - Mobile-first containers and rhythm
   ============================================ */
.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

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

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

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

.page-section--surface {
    border-block: 1px solid var(--line-soft);
    background: var(--surface);
}

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

.section-intro__text {
    max-width: 44rem;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

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

.section-intro--center .eyebrow {
    justify-content: center;
}

.section-intro--center .section-intro__text {
    margin-inline: auto;
}

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

.prose {
    max-width: 47rem;
    color: var(--muted-foreground);
}

.prose h2,
.prose h3,
.prose h4 {
    color: var(--foreground-strong);
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

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

.grid-2,
.grid-3,
.grid-4,
.card-grid,
.stats-grid,
.social-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

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

/* ============================================
   HEADER & NAVIGATION - Solid mobile drawer
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--line-soft);
    background: var(--background);
    box-shadow: 0 0.65rem 2rem var(--shadow-color);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-sm);
}

.site-brand {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    color: var(--foreground-strong);
    font-family: var(--font-body);
    font-size: clamp(1rem, calc(2vw + 0.55rem), 1.35rem);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.site-brand__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-brand__text strong {
    color: var(--primary);
}

.site-brand__mark {
    position: relative;
    display: inline-grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    aspect-ratio: 1;
    place-items: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: var(--gradient-secondary);
    box-shadow: 0 0 1.2rem var(--shadow-neon);
    transform: rotate(-12deg);
}

.site-brand__mark::before,
.site-brand__mark::after,
.site-brand__mark span {
    position: absolute;
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 50%;
    background: var(--background-deep);
    content: "";
}

.site-brand__mark::before {
    top: 0.47rem;
    left: 0.72rem;
}

.site-brand__mark::after {
    top: 0.67rem;
    left: 1.15rem;
}

.site-brand__mark span {
    top: 0.97rem;
    left: 0.73rem;
}

.menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    color: var(--foreground);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    position: absolute;
    width: 1.35rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--foreground);
    transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0.95rem;
}

.menu-toggle span:nth-child(2) {
    top: 1.42rem;
}

.menu-toggle span:nth-child(3) {
    top: 1.89rem;
}

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

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

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

.site-drawer {
    display: none;
}

.site-drawer.is-open {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 100vw;
    padding: var(--space-lg) max(var(--space-md), calc((100vw - var(--container)) / 2));
    overflow-y: auto;
    background: var(--background);
}

.primary-nav {
    min-width: 0;
}

.primary-nav ul,
.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
}

.primary-nav li {
    min-width: 0;
}

.primary-nav a,
.header-login {
    display: flex;
    min-height: 3rem;
    align-items: center;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-weight: 600;
    text-decoration: none;
}

.primary-nav a {
    padding: var(--space-sm) var(--space-md);
}

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

.header-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line-soft);
}

.header-login {
    justify-content: center;
    padding-inline: var(--space-md);
    border: 1px solid var(--border);
    background: var(--surface);
}

.header-login:hover {
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* ============================================
   BUTTONS - High-contrast conversion controls
   ============================================ */
.button {
    display: inline-flex;
    min-height: 3rem;
    padding: 0.72rem 1.2rem;
    border: 1px solid var(--transparent);
    border-radius: var(--radius-pill);
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

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

.button--primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: 0 0.8rem 2rem var(--shadow-neon);
}

.button--primary:hover {
    box-shadow: 0 1rem 2.8rem var(--shadow-neon), 0 0 1.5rem var(--shadow-violet);
}

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

.button--outline {
    border-color: var(--border-strong);
    background: var(--surface);
    color: var(--foreground);
}

.button--outline:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.button--small {
    min-height: 2.75rem;
    padding: 0.6rem 1rem;
    font-size: var(--text-sm);
}

.button--large {
    min-height: 3.5rem;
    padding: 0.9rem 1.65rem;
    font-size: var(--text-lg);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.action-note {
    max-width: 38rem;
    color: var(--subtle-foreground);
    font-size: var(--text-sm);
    line-height: 1.55;
}

/* ============================================
   HERO - Integrated mascot and bowling scene
   ============================================ */
.hero {
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    background: var(--gradient-hero);
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: linear-gradient(var(--line-soft) 1px, var(--transparent) 1px), linear-gradient(90deg, var(--line-soft) 1px, var(--transparent) 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: linear-gradient(to bottom, var(--overlay), var(--transparent) 78%);
    content: "";
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: -6rem;
    bottom: -8rem;
    width: min(26rem, 80vw);
    aspect-ratio: 1;
    border: 2.6rem solid var(--primary-soft);
    border-radius: 50%;
    box-shadow: 0 0 5rem var(--shadow-neon), inset 0 0 3rem var(--shadow-violet);
    content: "";
}

.hero__inner {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    padding-block: var(--space-2xl);
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: var(--space-xl);
}

.hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero__copy p:not(.eyebrow):not(.action-note) {
    max-width: 43rem;
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

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

.hero__art::before {
    position: absolute;
    z-index: -1;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary-soft);
    box-shadow: 0 0 5rem var(--shadow-neon), 0 0 8rem var(--shadow-violet);
    content: "";
}

.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.6rem 1.4rem var(--shadow-color));
}

.hero__badge {
    display: inline-flex;
    margin-bottom: var(--space-md);
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-glass);
    color: var(--foreground);
    font-size: var(--text-sm);
    font-weight: 700;
}

.neon-lane {
    position: absolute;
    right: 3%;
    bottom: 8%;
    left: 3%;
    z-index: -1;
    height: 34%;
    border: 1px solid var(--border-strong);
    background: linear-gradient(90deg, var(--transparent), var(--primary-soft), var(--accent-soft), var(--transparent));
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

/* ============================================
   CARDS - Content containers and visual breaks
   ============================================ */
.card,
.info-card,
.feature-card,
.offer-step,
.testimonial-card,
.review-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--gradient-card), var(--card);
    box-shadow: var(--shadow-sm);
}

.card,
.info-card,
.feature-card,
.testimonial-card,
.review-card {
    padding: var(--space-lg);
}

.card--featured,
.info-card--featured {
    border-color: var(--primary);
    background: var(--primary-soft), var(--card-strong);
    box-shadow: 0 0 2.2rem var(--shadow-neon);
}

.card--accent {
    border-color: var(--accent);
    box-shadow: 0 0 1.8rem var(--shadow-cyan);
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: clip;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card::after {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary-soft);
    box-shadow: 0 0 2.5rem var(--shadow-neon);
    content: "";
}

.feature-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg), 0 0 1.5rem var(--shadow-violet);
    transform: translateY(-0.25rem);
}

.feature-card__visual {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--secondary-soft);
    color: var(--secondary-hover);
    place-items: center;
}

.feature-card__visual svg {
    width: 1.65rem;
    height: 1.65rem;
}

.feature-card__text {
    margin-bottom: var(--space-md);
    color: var(--muted-foreground);
}

.feature-card .text-link {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* ============================================
   MEDIA PANELS - Framed editorial image + copy
   ============================================ */
.media-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.media-panel__content,
.media-panel__media {
    min-width: 0;
}

.media-panel__text {
    max-width: 43rem;
    color: var(--muted-foreground);
}

.media-panel__media {
    position: relative;
    margin: 0;
    overflow: clip;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-lg), 0 0 2rem var(--shadow-violet);
}

.media-panel__media::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 2.5rem var(--shadow-color);
    pointer-events: none;
    content: "";
}

.media-panel__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ============================================
   SUMMARY & CALLOUTS - Citation-friendly answers
   ============================================ */
.summary-box {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    max-width: 58rem;
    padding: var(--space-lg);
    overflow: clip;
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    background: var(--accent-soft);
    box-shadow: 0 0 2rem var(--shadow-cyan);
}

.summary-box::after {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 8rem;
    aspect-ratio: 1;
    border: 1rem solid var(--accent-soft);
    border-radius: 50%;
    content: "";
}

.summary-box__icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-foreground);
    place-items: center;
}

.summary-box h2 {
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 700;
}

.summary-box__text,
.summary-box__list {
    color: var(--muted-foreground);
}

.summary-box__list {
    display: grid;
    gap: var(--space-xs);
    margin: var(--space-md) 0 0;
    padding-left: 1.1rem;
}

.callout {
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border-strong);
    border-left: 0.3rem solid var(--primary);
    border-radius: var(--radius-md);
    background: var(--primary-soft);
}

.callout h3 {
    font-size: var(--text-lg);
}

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

.callout--accent {
    border-color: var(--accent);
    background: var(--accent-soft);
}

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

.callout--warning h3 {
    color: var(--warning);
}

.callout--danger {
    border-color: var(--destructive);
    background: var(--destructive-soft);
}

.callout--danger h3 {
    color: var(--destructive);
}

/* ============================================
   OFFERS & PROCESSES - Bonus and KYC sequences
   ============================================ */
.offer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}

.offer-step {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
    overflow: clip;
}

.offer-step__number,
.process-step__number {
    display: grid;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    font-weight: 800;
    place-items: center;
}

.offer-step__number {
    width: 2.75rem;
    height: 2.75rem;
    font-size: var(--text-lg);
}

.offer-step__text {
    color: var(--muted-foreground);
}

.fact-list {
    display: grid;
    gap: var(--space-xs);
    margin: var(--space-md) 0 0;
}

.fact-list > div {
    display: grid;
    grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1fr);
    gap: var(--space-sm);
    padding-top: var(--space-xs);
    border-top: 1px solid var(--line-soft);
}

.fact-list dt {
    color: var(--subtle-foreground);
    font-size: var(--text-sm);
}

.fact-list dd {
    margin: 0;
    color: var(--foreground);
    font-weight: 600;
}

.process-list {
    display: grid;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.process-step:not(:last-child)::after {
    position: absolute;
    bottom: -1.1rem;
    left: calc(var(--space-lg) + 1.25rem);
    width: 2px;
    height: 1.2rem;
    background: var(--border-strong);
    content: "";
}

.process-step__number {
    width: 2.5rem;
    height: 2.5rem;
}

.process-step div > div {
    color: var(--muted-foreground);
}

.checklist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-sm);
    min-width: 0;
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
}

.checklist__mark {
    position: relative;
    display: block;
    width: 1.45rem;
    height: 1.45rem;
    margin-top: 0.1rem;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--accent-soft);
}

.checklist__mark::after {
    position: absolute;
    top: 0.28rem;
    left: 0.27rem;
    width: 0.7rem;
    height: 0.36rem;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    content: "";
    transform: rotate(-45deg);
}

.checklist strong,
.checklist span {
    display: block;
}

.checklist li div > span {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   TAGS & TRUST BADGES - Compact qualification
   ============================================ */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 0.42rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface-elevated);
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    font-weight: 600;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: stretch;
}

.trust-badge {
    display: flex;
    flex: 1 1 9rem;
    min-width: 0;
    min-height: 4.6rem;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--muted-foreground);
    flex-direction: column;
    justify-content: center;
}

.trust-badge strong {
    color: var(--foreground-strong);
    font-size: var(--text-lg);
}

.trust-badge span {
    color: var(--foreground);
    font-weight: 700;
}

.trust-badge small {
    color: var(--subtle-foreground);
    font-size: var(--text-xs);
}

.trust-badges--compact .trust-badge {
    flex-basis: 7.5rem;
    min-height: 4rem;
}

/* ============================================
   STATS & QUOTES - Evidence-backed highlights
   ============================================ */
.stat-highlight {
    display: flex;
    min-width: 0;
    padding: var(--space-lg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--secondary-soft);
    flex-direction: column;
}

.stat-highlight__number {
    color: var(--primary-hover);
    font-family: var(--font-display);
    font-size: clamp(2rem, calc(4vw + 1rem), 4rem);
    font-weight: 400;
    line-height: 1;
}

.stat-highlight__label {
    margin-top: var(--space-sm);
    color: var(--foreground);
    font-weight: 700;
}

.stat-highlight__source {
    margin-top: var(--space-xs);
    color: var(--subtle-foreground);
    font-size: var(--text-xs);
}

.pull-quote {
    position: relative;
    max-width: 54rem;
    margin: var(--space-2xl) auto;
    padding: var(--space-xl) var(--space-lg);
    border-block: 1px solid var(--border-strong);
    text-align: center;
}

.pull-quote::before {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 0.6;
    content: "“";
}

.pull-quote blockquote {
    margin-bottom: var(--space-md);
    color: var(--foreground-strong);
    font-size: clamp(1.3rem, calc(2vw + 0.8rem), 2.15rem);
    font-weight: 600;
    line-height: 1.4;
}

.pull-quote figcaption {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   TABLES - Scrollable comparison presentation
   ============================================ */
.table-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    min-width: 40rem;
    max-width: none;
    border-collapse: collapse;
    overflow: visible;
    color: var(--foreground);
}

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

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

.comparison-table th {
    background: var(--surface-elevated);
    color: var(--foreground-strong);
    font-size: var(--text-sm);
}

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

.comparison-table .is-recommended {
    border-inline: 1px solid var(--primary);
    background: var(--primary-soft);
}

.comparison-table th.is-recommended {
    color: var(--primary-hover);
}

/* ============================================
   FAQ ACCORDION - Native accessible disclosure
   ============================================ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.faq-item {
    align-self: start;
    min-width: 0;
    overflow: clip;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    background: var(--card-strong);
    box-shadow: 0 0 1.7rem var(--shadow-neon);
}

.faq-item summary {
    display: flex;
    min-height: 4rem;
    padding: var(--space-md) var(--space-lg);
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    color: var(--foreground-strong);
    font-size: var(--text-lg);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

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

.faq-item__toggle {
    position: relative;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-soft);
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    position: absolute;
    top: calc(50% - 1px);
    left: 0.55rem;
    width: 0.9rem;
    height: 2px;
    background: var(--primary-hover);
    content: "";
    transition: transform var(--transition);
}

.faq-item__toggle::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-item__toggle::after {
    transform: rotate(0deg);
}

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

/* ============================================
   CTA BAND - Full-width conversion finish
   ============================================ */
.cta-band {
    isolation: isolate;
    margin-block: var(--space-3xl);
    padding: var(--space-2xl) var(--space-lg);
    border-block: 1px solid var(--border-strong);
    background: var(--gradient-cta);
    text-align: center;
}

.cta-band__glow {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(34rem, 90vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary-soft);
    box-shadow: 0 0 5rem var(--shadow-neon), 0 0 8rem var(--shadow-violet);
    transform: translate(-50%, -50%);
}

.cta-band__content {
    max-width: 48rem;
    margin-inline: auto;
}

.cta-band h2 {
    margin-bottom: var(--space-md);
}

.cta-band__text {
    margin-bottom: var(--space-lg);
    color: var(--muted-foreground);
    font-size: var(--text-lg);
}

.cta-band__note {
    max-width: 42rem;
    margin: var(--space-md) auto 0;
    color: var(--subtle-foreground);
    font-size: var(--text-sm);
}

/* ============================================
   SOCIAL PROOF - Evidence-only review layouts
   ============================================ */
.social-proof {
    align-items: stretch;
}

.testimonial-card,
.review-card {
    display: flex;
    flex-direction: column;
}

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

.testimonial-card footer,
.review-card__author {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--line-soft);
    color: var(--foreground);
    font-size: var(--text-sm);
    font-weight: 700;
}

.review-stars {
    display: flex;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
    color: var(--warning);
}

.review-stars svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

/* ============================================
   FORMS - Consistent account-adjacent controls
   ============================================ */
.form-group {
    display: grid;
    gap: var(--space-xs);
}

.form-group label {
    color: var(--foreground);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--foreground);
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--subtle-foreground);
}

/* ============================================
   FOOTER - Navigation, trust and legal context
   ============================================ */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--background-deep);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xl);
    padding-block: var(--space-2xl);
}

.site-brand--footer {
    margin-bottom: var(--space-md);
}

.site-footer__brand p {
    max-width: 35rem;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
}

.footer-nav h2,
.footer-trust h2 {
    margin-bottom: var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-nav ul {
    display: grid;
    gap: var(--space-xs);
}

.footer-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--muted-foreground);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

.site-footer__bottom {
    display: flex;
    padding-block: var(--space-lg);
    border-top: 1px solid var(--line-soft);
    color: var(--subtle-foreground);
    font-size: var(--text-xs);
    flex-direction: column;
    gap: var(--space-xs);
}

.site-footer__bottom p {
    margin: 0;
}

/* ============================================
   REVEAL ENHANCEMENT - Visible without JavaScript
   ============================================ */
html.has-reveal .reveal-pending {
    opacity: 0;
    transform: translateY(1.25rem);
}

html.has-reveal .reveal-pending.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 620ms ease, transform 620ms ease;
}

/* ============================================
   TABLET - Two-column content and inline header
   ============================================ */
@media (min-width: 48rem) {
    :root {
        --header-height: 5rem;
    }

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

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

    .menu-toggle {
        display: none;
    }

    .site-header__inner {
        gap: var(--space-md);
    }

    .site-drawer,
    .site-drawer.is-open {
        position: static;
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        height: auto;
        padding: 0;
        overflow: visible;
        background: var(--transparent);
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-md);
    }

    .primary-nav {
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--border-strong) var(--surface);
    }

    .primary-nav ul {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xs);
    }

    .primary-nav li,
    .primary-nav a {
        flex-shrink: 0;
    }

    .primary-nav a {
        padding-inline: var(--space-sm);
        font-size: var(--text-sm);
        white-space: nowrap;
    }

    .header-actions {
        flex: 0 0 auto;
        padding: 0;
        border: 0;
        flex-direction: row;
        align-items: center;
        gap: var(--space-xs);
    }

    .header-login {
        min-height: 2.75rem;
        padding-inline: var(--space-sm);
        border-color: var(--transparent);
        background: var(--transparent);
        font-size: var(--text-sm);
    }

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

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

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

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

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

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

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

    .site-footer__grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
    }

    .footer-trust {
        grid-column: 1 / -1;
    }
}

/* ============================================
   DESKTOP - Hero split and denser content grids
   ============================================ */
@media (min-width: 64rem) {
    .site-brand {
        flex: 0 0 auto;
    }

    .primary-nav a {
        padding-inline: var(--space-md);
        font-size: var(--text-base);
    }

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

    .header-login {
        padding-inline: var(--space-md);
        font-size: var(--text-base);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.02fr) minmax(25rem, 0.98fr);
        gap: var(--space-lg);
    }

    .hero__art {
        min-height: 36rem;
    }

    .hero__art img[data-visual-role="hero-foreground"] {
        max-height: 43rem;
    }

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

    .grid-3 > :last-child:nth-child(odd),
    .card-grid > :last-child:nth-child(odd) {
        width: auto;
        grid-column: auto;
        justify-self: stretch;
    }

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

    .media-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-3xl);
    }

    .media-panel--reverse .media-panel__content {
        order: 2;
    }

    .media-panel--reverse .media-panel__media {
        order: 1;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.65fr) minmax(18rem, 1fr);
    }

    .footer-trust {
        grid-column: auto;
    }

    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--space-xl);
    }
}

/* ============================================
   WIDE SCREENS - Preserve readable line lengths
   ============================================ */
@media (min-width: 80rem) {
    .container {
        width: min(100% - 4rem, var(--container));
    }
}

/* ============================================
   REDUCED MOTION - No hidden or moving content
   ============================================ */
@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;
    }

    html.has-reveal .reveal-pending,
    html.has-reveal .reveal-pending.is-visible {
        opacity: 1;
        transform: none;
    }

    .button:hover,
    .feature-card:hover,
    .text-link:hover span {
        transform: none;
    }
}
