/*
 * Iris Casino Design System
 * Sweet noir minimalism: near-black product surfaces, thin iris-blue lines,
 * candy-pink reward accents and readable German editorial structure.
 */

:root {
    --background: #0b0f17;
    --foreground: #f5f3ff;
    --card: #17111f;
    --card-foreground: #f8f5ff;
    --popover: #111827;
    --popover-foreground: #f8f5ff;
    --primary: #38bdf8;
    --primary-foreground: #06111d;
    --secondary: #1a1225;
    --secondary-foreground: #f6edff;
    --muted: #2b3340;
    --muted-foreground: #bac6d6;
    --accent: #f03d98;
    --accent-foreground: #000000;
    --destructive: #ef4444;
    --destructive-foreground: #000000;
    --border: #334155;
    --input: #111827;
    --ring: #38bdf8;

    --bg-deep: #0a0e16;
    --bg-soft: #101624;
    --card-strong: #1d1428;
    --border-soft: rgba(174, 183, 197, 0.22);
    --glow-blue: rgba(56, 189, 248, 0.28);
    --glow-pink: rgba(240, 61, 152, 0.24);

    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Source Sans 3", sans-serif;

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 4rem;
    --space-4xl: 4.5rem;

    --radius-sm: 0.625rem;
    --radius-md: 1rem;
    --radius-lg: 1.4rem;
    --radius-xl: 2rem;

    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 0 1px rgba(56, 189, 248, 0.18), 0 18px 50px rgba(240, 61, 152, 0.08);

    --header-height: 72px;
    --container: 1180px;
}

.dark {
    --background: #0b0f17;
    --foreground: #f5f3ff;
    --card: #17111f;
    --card-foreground: #f8f5ff;
    --popover: #111827;
    --popover-foreground: #f8f5ff;
    --primary: #38bdf8;
    --primary-foreground: #06111d;
    --secondary: #1a1225;
    --secondary-foreground: #f6edff;
    --muted: #2b3340;
    --muted-foreground: #bac6d6;
    --accent: #f03d98;
    --accent-foreground: #000000;
    --destructive: #ef4444;
    --destructive-foreground: #000000;
    --border: #334155;
    --input: #111827;
    --ring: #38bdf8;
}

/* ============================================
   RESET & OVERFLOW SAFETY
   Predictable sizing, no horizontal scroll, resilient media and tables.
   ============================================ */

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

html {
    min-width: 320px;
    background: var(--background);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background:
        radial-gradient(circle at 14% 8%, rgba(56, 189, 248, 0.11), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(240, 61, 152, 0.10), transparent 24rem),
        linear-gradient(180deg, var(--background), #0d1018 45%, #090d14);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

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

[class*="grid"] > *,
[class*="flex"] > *,
.card,
.info-card,
.proof-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-"] {
    max-width: 100%;
    overflow-x: auto;
}

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

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

a:hover {
    color: #8bdcff;
}

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

input,
textarea,
select,
button {
    font: inherit;
}

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

section,
.hero,
.cta-banner {
    overflow: clip;
}

::selection {
    background: rgba(240, 61, 152, 0.42);
    color: var(--foreground);
}

/* ============================================
   ACCESSIBILITY
   Skip links, screen-reader utility and visible focus states.
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    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;
    transform: translateY(-160%);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 700;
}

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

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

/* ============================================
   TYPOGRAPHY
   Space Grotesk headlines and Source Sans 3 body copy.
   ============================================ */

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--space-md);
    color: var(--foreground);
    font-family: var(--font-heading);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(1.875rem, calc(1.1rem + 3.2vw), 2.75rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.625rem, calc(1.1rem + 2vw), 2.125rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.3125rem, calc(1rem + 0.9vw), 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

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

.lead,
.section-intro {
    max-width: 70ch;
    color: var(--muted-foreground);
    font-size: 1.0625rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid var(--accent);
    border-radius: 999px;
    box-shadow: 0 0 20px var(--glow-pink);
}

.microcopy,
.caption,
small {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.45;
}

/* ============================================
   LAYOUT PRIMITIVES
   Containers, sections, grids and editorial wrappers.
   ============================================ */

main {
    min-height: 60vh;
}

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

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

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

.content-narrow {
    max-width: 820px;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
}

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

.hero {
    position: relative;
    padding-block: 3rem;
}

.hero::before,
.cta-banner::before {
    content: "";
    position: absolute;
    inset: auto -4rem -8rem auto;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(56, 189, 248, 0.26);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(240, 61, 152, 0.12) inset;
    pointer-events: none;
}

/* ============================================
   HEADER & NAVIGATION
   Sticky glass-dark header with mobile fixed drawer below 72px.
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--border-soft);
    background: rgba(11, 15, 23, 0.98);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    width: min(100% - 1rem, var(--container));
    min-height: var(--header-height);
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    gap: var(--space-sm);
    min-width: 0;
    min-height: 48px;
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.logo {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 50%, #191827 0 36%, transparent 37%),
        conic-gradient(from 120deg, var(--primary), var(--accent), var(--primary));
    box-shadow: 0 0 28px var(--glow-blue);
    object-fit: cover;
}

.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;
    overflow-y: auto;
    padding: var(--space-lg);
    background: var(--background);
    border-top: 1px solid var(--border-soft);
}

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

.primary-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--foreground);
    font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    border-color: var(--border-soft);
    background: var(--secondary);
    color: var(--foreground);
}

.mobile-menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--card);
    color: var(--foreground);
    cursor: pointer;
}

.mobile-menu-toggle__line {
    display: block;
    width: 21px;
    height: 2px;
    margin-inline: auto;
    border-radius: 999px;
    background: var(--foreground);
    transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-of-type(3) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: var(--space-xs);
}

.header-actions__login {
    display: none;
}

.header-actions__register {
    padding-inline: 0.85rem;
}

/* ============================================
   BUTTONS & LINKS
   High-contrast conversion controls with subtle CandyCoin glow.
   ============================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

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

.button--primary {
    background: linear-gradient(135deg, var(--primary), #5ee7ff);
    color: var(--primary-foreground);
    box-shadow: 0 0 0 1px rgba(240, 61, 152, 0.28), 0 12px 28px rgba(56, 189, 248, 0.22);
}

.button--primary:hover {
    color: var(--primary-foreground);
    box-shadow: 0 0 0 1px rgba(240, 61, 152, 0.6), 0 16px 36px rgba(56, 189, 248, 0.32);
}

.button--ghost {
    border-color: var(--border-soft);
    background: rgba(255, 255, 255, 0.03);
    color: var(--foreground);
}

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

.button--large {
    min-height: 52px;
    padding-inline: 1.35rem;
}

/* ============================================
   CARDS - Content containers
   Reusable surfaces for commercial proof, editorial content and CRO blocks.
   ============================================ */

.card,
.info-card,
.summary-box,
.callout-box,
.stat-highlight,
.social-proof-card {
    min-width: 0;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(29, 20, 40, 0.96), rgba(16, 22, 36, 0.96));
    box-shadow: var(--shadow-soft);
}

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

.card-featured {
    border-color: rgba(56, 189, 248, 0.46);
    box-shadow: var(--shadow-glow);
}

.card:hover,
.info-card:hover,
.proof-card:hover,
.social-proof-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.5);
}

.card,
.info-card,
.proof-card,
.social-proof-card {
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* ============================================
   COMPONENT: PROOF CARD GRID
   Compact, scan-friendly stats for bonus, games, payments and trust.
   ============================================ */

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

.proof-card {
    position: relative;
    padding: var(--space-lg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(240, 61, 152, 0.10), transparent 40%),
        linear-gradient(180deg, #1b1425, #111827);
}

.proof-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(56, 189, 248, 0.38);
    border-radius: 999px;
    color: var(--accent);
    box-shadow: 0 0 22px var(--glow-pink);
}

.proof-card__number {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, calc(1.2rem + 1.6vw), 2.35rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.proof-card__label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--primary);
    font-weight: 700;
}

.proof-card p {
    margin-bottom: 0;
    color: var(--muted-foreground);
}

/* ============================================
   COMPONENT: FAQ / DETAILS
   Native details-based accordion with strong focus and plus marker.
   ============================================ */

.faq-block {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    padding: var(--space-xl);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    background: rgba(15, 18, 29, 0.88);
}

.faq-list {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

details,
.faq-item {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
}

summary {
    position: relative;
    min-height: 52px;
    padding: var(--space-md) 3rem var(--space-md) var(--space-md);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: var(--space-md);
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 200ms ease;
}

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

.faq-item__content,
details > :not(summary) {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
}

.faq-item__content p:last-child,
details > p:last-child {
    margin-bottom: 0;
}

/* ============================================
   COMPONENT: CTA BANNER
   Full-width conversion band with CandyCoin orbit artwork.
   ============================================ */

.cta-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    width: min(100% - 2rem, var(--container));
    margin: var(--space-2xl) auto;
    padding: var(--space-xl);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 84% 30%, rgba(240, 61, 152, 0.16), transparent 24rem),
        linear-gradient(135deg, #17111f, #0f172a 58%, #0a0e16);
    box-shadow: var(--shadow-glow);
}

.cta-banner__content {
    position: relative;
    z-index: 1;
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0 var(--space-sm);
}

.cta-banner__visual {
    position: relative;
    min-height: 180px;
}

.candy-orbit {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(56, 189, 248, 0.26);
    border-radius: 999px;
}

.candy-orbit__coin {
    position: absolute;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fff1fb, var(--accent) 42%, #5b1138);
    box-shadow: 0 0 28px var(--glow-pink);
}

.candy-orbit__coin--one {
    top: 12%;
    left: 18%;
}

.candy-orbit__coin--two {
    right: 16%;
    top: 34%;
    background: radial-gradient(circle at 35% 28%, #effbff, var(--primary) 45%, #0d3b56);
}

.candy-orbit__coin--three {
    bottom: 14%;
    left: 42%;
}

.cta-banner__chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.cta-banner__chips span {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(10, 14, 22, 0.78);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ============================================
   ENGAGEMENT PATTERNS
   Summary boxes, callouts, stat highlights, quotes and testimonials.
   ============================================ */

.summary-box,
.callout-box {
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.summary-box {
    border-color: rgba(56, 189, 248, 0.38);
}

.summary-box h2,
.summary-box h3,
.callout-box h2,
.callout-box h3 {
    margin-bottom: var(--space-sm);
}

.callout-box {
    border-left: 4px solid var(--accent);
}

.stat-highlight {
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-lg);
    text-align: center;
}

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

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

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

.pull-quote,
blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.06);
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, calc(1rem + 1vw), 1.65rem);
    line-height: 1.35;
}

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

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

.social-proof-card {
    padding: var(--space-lg);
}

.rating {
    display: inline-flex;
    gap: 0.12rem;
    color: var(--accent);
}

/* ============================================
   TRUST BADGES & PAYMENT STRIPS
   Muted logo-style rows for payment, licence and security proof.
   ============================================ */

.trust-row,
.payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-row li,
.payment-list li,
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ============================================
   TABLES - Comparison and data clarity
   Recommended columns/rows can use .is-recommended.
   ============================================ */

.table-wrapper {
    margin: var(--space-xl) 0;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: rgba(15, 18, 29, 0.8);
}

table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

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

th {
    color: var(--foreground);
    font-family: var(--font-heading);
    font-weight: 700;
}

td {
    color: var(--muted-foreground);
}

tr:last-child td {
    border-bottom: 0;
}

.is-recommended,
td.is-recommended,
th.is-recommended {
    background: rgba(56, 189, 248, 0.09);
    color: var(--foreground);
}

/* ============================================
   FORMS
   Accessible inputs for future account/help blocks.
   ============================================ */

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

label {
    display: grid;
    gap: var(--space-xs);
    color: var(--foreground);
    font-weight: 700;
}

input,
textarea,
select {
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--input);
    color: var(--foreground);
}

::placeholder {
    color: #c3cedd;
}

/* ============================================
   FOOTER
   Structured internal links, payments, licence and responsible gambling.
   ============================================ */

.site-footer {
    margin-top: var(--space-3xl);
    border-top: 1px solid var(--border-soft);
    background: #090d14;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    padding-block: var(--space-2xl);
}

.site-footer__brand p,
.site-footer__col p {
    color: var(--muted-foreground);
}

.site-footer__heading {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.site-footer__links {
    display: grid;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    color: var(--muted-foreground);
}

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

.age-badge {
    display: inline-flex;
    margin-top: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(240, 61, 152, 0.42);
    border-radius: 999px;
    color: var(--foreground);
    font-weight: 700;
}

.site-footer__bottom {
    border-top: 1px solid var(--border-soft);
    padding: var(--space-md);
    text-align: center;
}

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

/* ============================================
   ANIMATION
   Subtle fade-up reveal; content remains visible when JS is unavailable.
   ============================================ */

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

.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

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

/* ============================================
   TABLET ENHANCEMENTS
   768px: two-column cards, richer CTA and footer layout.
   ============================================ */

@media (min-width: 768px) {
    body {
        font-size: 17px;
    }

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

    .hero {
        padding-block: var(--space-4xl);
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

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

    .cta-banner {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        padding: var(--space-2xl);
    }

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

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

/* ============================================
   DESKTOP NAVIGATION
   1024px: inline nav, no mobile drawer, expanded action buttons.
   ============================================ */

@media (min-width: 1024px) {
    .site-header {
        background: rgba(11, 15, 23, 0.86);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

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

    .mobile-menu-toggle {
        display: none;
    }

    .primary-nav {
        display: block;
        position: static;
        overflow: visible;
        flex: 1;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--space-xs);
    }

    .primary-nav a {
        min-height: 44px;
        padding-inline: var(--space-sm);
    }

    .header-actions__login {
        display: inline-flex;
    }

    .header-actions__register {
        padding-inline: 1rem;
    }

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

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

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

/* ============================================
   WIDE SCREENS
   Keeps immersive sections capped and readable.
   ============================================ */

@media (min-width: 1280px) {
    .site-header__inner,
    .container,
    .section-inner,
    .site-footer__inner,
    .cta-banner,
    .faq-block {
        width: min(100% - 3rem, var(--container));
    }
}