/* ============================================
   DESIGN TOKENS - Dark theme only (no toggle)
   Casea Casino: graphite backgrounds, electric
   blue accents, premium minimalist aesthetic
   ============================================ */
:root {
    --background: #0d1117;
    --background-alt: #131820;
    --foreground: #eef1f5;
    --card: #1a1f2b;
    --card-foreground: #eef1f5;
    --popover: #1a1f2b;
    --popover-foreground: #eef1f5;
    --primary: #2563eb;
    --primary-foreground: #ffffff;
    --primary-hover: #1d4ed8;
    --secondary: #334155;
    --secondary-foreground: #eef1f5;
    --muted: #1e242e;
    --muted-foreground: #b0bdd0;
    --accent: #38bdf8;
    --accent-foreground: #0d1117;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a3441;
    --border-light: #3a4555;
    --input: #2a3441;
    --ring: #38bdf8;
    --spotlight: rgba(56, 189, 248, 0.12);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-lg: rgba(0, 0, 0, 0.5);

    /* Layout tokens */
    --header-height: 60px;
    --content-max: 1200px;
    --section-padding-y: 40px;
    --section-padding-x: 24px;
    --component-padding: 24px;
    --radius: 12px;
    --radius-sm: 8px;

    /* Font families */
    --font-heading: "Sora", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY
   Sora for headings, Manrope for body
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--foreground);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }

p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 24px; }
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

.section {
    padding: var(--section-padding-y) var(--section-padding-x);
    max-width: var(--content-max);
    margin: 0 auto;
}

.section-full {
    padding: var(--section-padding-y) 0;
}

@media (min-width: 1024px) {
    :root {
        --header-height: 72px;
        --section-padding-y: 64px;
        --section-padding-x: 32px;
        --component-padding: 32px;
    }
}

#main-content {
    scroll-margin-top: var(--header-height);
    min-height: 60vh;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    border-radius: 8px;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

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

/* ============================================
   MOBILE MENU - Nav drawer, overlay, toggle
   Drawer slides in from left below 768px
   ============================================ */
.primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: 24px var(--section-padding-x);
    transform: translateX(-100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    color: var(--foreground);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
    background: var(--muted);
    color: var(--accent);
}

.nav-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.nav-cta .btn {
    width: 100%;
    text-align: center;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

.mobile-overlay.is-visible {
    display: block;
}

@media (min-width: 768px) {
    .primary-nav {
        position: static;
        transform: none;
        visibility: visible;
        background: transparent;
        z-index: auto;
        overflow: visible;
        padding: 0;
        transition: none;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        flex: 1;
        justify-content: flex-end;
    }

    .nav-list {
        flex-direction: row;
        gap: 28px;
    }

    .nav-list a {
        min-height: auto;
        padding: 8px 0;
        border-radius: 0;
    }

    .nav-list a:hover {
        background: transparent;
    }

    .nav-cta {
        flex-direction: row;
        gap: 12px;
        padding-top: 0;
        border-top: none;
    }

    .nav-cta .btn {
        width: auto;
    }

    .mobile-toggle {
        display: none;
    }

    .mobile-overlay {
        display: none !important;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--background-alt);
    border-top: 1px solid var(--border);
    padding: 48px var(--section-padding-x) 24px;
}

.footer-container {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.footer-text {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-bottom {
    max-width: var(--content-max);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0;
}

.footer-sitemap {
    font-size: 14px;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-sitemap:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 48px;
    line-height: 1.4;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   Full-bleed with spotlight, model image right
   ============================================ */
.hero {
    position: relative;
    padding: 80px var(--section-padding-x) 56px;
    background: var(--background);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70%;
    height: 160%;
    background: radial-gradient(ellipse at 65% 35%, var(--spotlight) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: spotlight-pulse 4s ease-in-out infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero {
        padding: 100px var(--section-padding-x) 72px;
    }

    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .hero h1 {
        font-size: 40px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 120px var(--section-padding-x) 96px;
    }

    .hero h1 {
        font-size: 48px;
    }
}

/* ============================================
   COMPONENT: STAT BLOCK
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.stat-block {
    text-align: center;
    padding: var(--component-padding);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.stat-source {
    display: block;
    font-size: 13px;
    color: var(--muted-foreground);
    margin-top: 8px;
    font-style: italic;
}

@media (min-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .stat-number {
        font-size: 48px;
    }
}

/* ============================================
   COMPONENT: FEATURE CARD GRID
   ============================================ */
.feature-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feature-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px var(--shadow-lg);
    border-color: var(--accent);
}

.feature-card-media {
    width: 100%;
    overflow: hidden;
}

.feature-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.feature-card-icon {
    padding: var(--component-padding) var(--component-padding) 0;
    font-size: 32px;
    color: var(--accent);
}

.feature-card-body {
    padding: var(--component-padding);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-card-description {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 0;
    flex: 1;
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-card-link:hover {
    color: var(--foreground);
}

@media (min-width: 768px) {
    .feature-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-card-grid {
        grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr));
    }
}

/* ============================================
   COMPONENT: FAQ ACCORDION
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: var(--card);
}

.faq-item.is-open {
    border-left: 3px solid var(--accent);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s ease;
    min-height: 48px;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question-text {
    flex: 1;
    min-width: 0;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 24px;
}

.faq-item.is-open .faq-answer-inner {
    padding: 0 24px 24px;
}

.faq-answer-inner p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

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

.faq-answer-inner a {
    color: var(--accent);
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .faq-question {
        font-size: 20px;
    }
}

/* ============================================
   COMPONENT: CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    background: var(--background);
    padding: 56px var(--section-padding-x);
    text-align: center;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--spotlight) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-subtext {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    font-size: 17px;
    padding: 14px 36px;
}

.cta-micro-copy {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: 20px;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .cta-banner {
        padding: 96px var(--section-padding-x);
    }

    .cta-headline {
        font-size: 36px;
    }
}

/* ============================================
   ENGAGEMENT: CALLOUT BOX
   ============================================ */
.callout {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--component-padding);
    margin: 32px 0;
}

.callout-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.callout-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    margin-bottom: 0;
}

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

/* ============================================
   ENGAGEMENT: PULL QUOTE
   ============================================ */
.pull-quote {
    margin: 40px 0;
    padding: 32px;
    border-left: 3px solid var(--accent);
    background: var(--card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pull-quote-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: var(--foreground);
    margin-bottom: 16px;
}

.pull-quote-attribution {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .pull-quote-text {
        font-size: 28px;
    }
}

/* ============================================
   ENGAGEMENT: SUMMARY BOX (TL;DR)
   ============================================ */
.summary-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--component-padding);
    margin: 32px 0;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    padding-left: 24px;
    position: relative;
}

.summary-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   ENGAGEMENT: COMPARISON TABLE
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    margin: 32px 0;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 15px;
    min-width: 480px;
}

.comparison-table thead {
    background: var(--secondary);
}

.comparison-table th {
    padding: 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
    border-bottom: 2px solid var(--accent);
    white-space: nowrap;
}

.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    vertical-align: top;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--card);
}

.comparison-table tbody tr:hover {
    background: var(--muted);
}

/* ============================================
   ENGAGEMENT: TRUST BADGES
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin: 32px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.trust-badge-icon {
    color: var(--accent);
    font-size: 18px;
}

@media (min-width: 768px) {
    .trust-badges {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .trust-badge {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ============================================
   ENGAGEMENT: PAYMENT LOGOS STRIP
   ============================================ */
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 32px 0;
}

.payment-logo {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.payment-logo:hover {
    border-color: var(--accent);
    color: var(--foreground);
}

/* ============================================
   UTILITY: SPLIT LAYOUT
   Two-column layout for text + visual
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

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

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

.split-visual img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* ============================================
   UTILITY: PROSE (long-form text)
   ============================================ */
.prose {
    max-width: 720px;
    line-height: 1.6;
    color: var(--foreground);
}

.prose p {
    margin-bottom: 20px;
    color: var(--foreground);
}

.prose h2 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.prose h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.prose ul, .prose ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
    margin-bottom: 8px;
    color: var(--foreground);
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
}

.prose strong {
    font-weight: 600;
    color: var(--foreground);
}

.prose blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 3px solid var(--accent);
    background: var(--card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--foreground);
}

/* ============================================
   UTILITY: PAGE HEADER (non-hero pages)
   ============================================ */
.page-header {
    padding: 56px var(--section-padding-x) 32px;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .page-header {
        padding: 72px var(--section-padding-x) 40px;
    }

    .page-header h1 {
        font-size: 40px;
    }
}

/* ============================================
   SECTION HEADER
   Centered title + subtitle for section intros
   ============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 17px;
}

/* ============================================
   TRUST FEATURES GRID
   Two-column grid of trust/licensing items
   ============================================ */
.trust-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.trust-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: var(--component-padding);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.25s ease;
}

.trust-feature:hover {
    border-color: var(--accent);
}

.trust-feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.trust-feature-text {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.trust-feature-text strong {
    display: block;
    color: var(--foreground);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .trust-features {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ============================================
   PROVIDER GRID
   ============================================ */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.provider-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.provider-card:hover {
    transform: scale(1.04);
    border-color: var(--accent);
    color: var(--foreground);
}

@media (min-width: 768px) {
    .provider-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .provider-card {
        font-size: 18px;
        padding: 24px 16px;
    }
}

@media (min-width: 1024px) {
    .provider-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sitemap-entry {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.sitemap-entry:last-child {
    border-bottom: none;
}

.sitemap-entry h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.sitemap-entry h2 a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sitemap-entry h2 a:hover {
    color: var(--accent);
}

.sitemap-entry p {
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.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: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 10px 20px;
    z-index: 2000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: var(--primary-foreground);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes spotlight-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1.0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0ms);
}

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

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

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

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
