/*
 * OnlySpins Casino - Design System
 * Aesthetic: Tropical-storm maximalist. Dark storm-charged canvas,
 * turquoise-gold lightning accents, coral-sunset auras.
 * Fonts: Sora (headings), Manrope (body).
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --background: #f0fdfa;
    --foreground: #0f2b2e;
    --card: #f5ede0;
    --card-foreground: #0f2b2e;
    --popover: #ffffff;
    --popover-foreground: #0f2b2e;
    --primary: #0d7d7d;
    --primary-foreground: #ffffff;
    --secondary: #f5e6cc;
    --secondary-foreground: #0f2b2e;
    --muted: #dbe8ea;
    --muted-foreground: #3f5a5c;
    --accent: #9a6f08;
    --accent-foreground: #ffffff;
    --destructive: #dc2626;
    --destructive-foreground: #ffffff;
    --border: #c3d8da;
    --input: #c3d8da;
    --ring: #0d7d7d;

    /* gold used for large decorative numerals - high-contrast variant */
    --gold-text: #8a6300;

    /* spacing rhythm (8px grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 96px;

    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1200px;
    --header-h: 64px;

    --ease: 250ms ease-out;
    --font-head: "Sora", sans-serif;
    --font-body: "Manrope", sans-serif;
}

.dark {
    --background: #0a1416;
    --foreground: #f0f6f5;
    --card: #122a33;
    --card-foreground: #f0f6f5;
    --popover: #122a33;
    --popover-foreground: #f0f6f5;
    --primary: #2dd4bf;
    --primary-foreground: #04201f;
    --secondary: #1a3540;
    --secondary-foreground: #f0f6f5;
    --muted: #1e3a42;
    --muted-foreground: #a9c6ca;
    --accent: #f5b942;
    --accent-foreground: #1a1200;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #2a4a52;
    --input: #1e3a42;
    --ring: #2dd4bf;

    --gold-text: #f5b942;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

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

[class*="grid"] > *, [class*="flex"] > * { 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; }

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

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

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

section { overflow: clip; }

/* ============================================
   BASE / TYPOGRAPHY
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    overflow-x: hidden;
}

/* subtle storm texture on dark canvas */
.dark body {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(45,212,191,0.08), transparent 45%),
        radial-gradient(ellipse at 90% 10%, rgba(245,185,66,0.07), transparent 40%),
        radial-gradient(ellipse at 60% 100%, rgba(244,114,91,0.06), transparent 50%),
        var(--background);
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}

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

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.4em; }
li { margin-bottom: var(--space-xs); }

@media (min-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    body { font-size: 17px; }
}

/* accessibility helpers */
.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; left: 8px; top: -60px; z-index: 1100;
    background: var(--primary); color: var(--primary-foreground);
    padding: 10px 16px; border-radius: var(--radius-sm); transition: top var(--ease);
}
.skip-link:focus { top: 8px; }

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

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.wrap, .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-md); }

.section { padding-block: var(--space-lg); }
@media (min-width: 1024px) { .section { padding-block: var(--space-xl); } }

.section__head { max-width: 760px; margin-bottom: var(--space-lg); }
.section__eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--primary); margin-bottom: var(--space-xs);
}
.lead { font-size: 19px; color: var(--muted-foreground); }

/* ============================================
   BUTTONS
   .btn--primary  turquoise CTA with gold sheen sweep
   .btn--ghost    outlined
   .btn--lg       larger conversion button
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px;
    font-family: var(--font-head); font-weight: 700; font-size: 16px;
    border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; text-align: center; text-decoration: none;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
    position: relative; overflow: hidden;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--primary); color: var(--primary-foreground);
    box-shadow: 0 8px 24px -8px rgba(13,125,125,0.6);
}
.dark .btn--primary { box-shadow: 0 8px 26px -6px rgba(45,212,191,0.5); }
.btn--primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(245,185,66,0.55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 600ms ease;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(120%); }

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

.btn--lg { min-height: 56px; padding: 16px 40px; font-size: 18px; }

/* ============================================
   HEADER / NAV
   z-index: header 1000, toggle 1001, drawer 999
   ============================================ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: color-mix(in srgb, var(--background) 92%, transparent);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
    .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.site-header__inner {
    max-width: var(--maxw); margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-md); padding: 10px var(--space-md); min-height: var(--header-h);
}

.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand:hover { text-decoration: none; }
.site-brand__mark { display: inline-flex; }
.site-brand__text {
    font-family: var(--font-head); font-weight: 800; font-size: 22px;
    letter-spacing: -0.02em; color: var(--foreground);
}

.primary-nav { display: none; }
.primary-nav__list {
    list-style: none; display: flex; align-items: center; gap: var(--space-md);
    margin: 0; padding: 0;
}
.primary-nav__list a {
    font-family: var(--font-head); font-weight: 600; color: var(--foreground);
    padding: 8px 4px; border-bottom: 2px solid transparent;
}
.primary-nav__list a:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }
.primary-nav__actions { display: flex; align-items: center; gap: var(--space-sm); }

.nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 12px; z-index: 1001;
    background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block; height: 2px; width: 100%; background: var(--foreground);
    border-radius: 2px; transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* theme toggle button - visible at every breakpoint */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex-direction: row;
    flex-shrink: 0;
}
.theme-toggle svg { display: block; }

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: flex; align-items: center; gap: var(--space-lg);
    }
}

/* mobile drawer */
@media (max-width: 767px) {
    .primary-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        z-index: 999; display: none; flex-direction: column; align-items: stretch;
        gap: var(--space-lg); padding: var(--space-lg) var(--space-md);
        background: var(--background); overflow-y: auto;
        transform: translateX(100%); transition: transform var(--ease);
        visibility: hidden;
    }
    .primary-nav.is-open { display: flex; transform: translateX(0); visibility: visible; }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .primary-nav__list a {
        display: flex; align-items: center; min-height: 48px;
        border-bottom: 1px solid var(--border); font-size: 18px;
    }
    .primary-nav__actions { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
    .primary-nav__actions .btn { width: 100%; }
}

/* keep the theme toggle visible on desktop even though .nav-toggle is hidden */
@media (min-width: 768px) {
    .theme-toggle.nav-toggle { display: inline-flex; }
}

/* ============================================
   HERO - full-bleed storm banner
   ============================================ */
.hero {
    position: relative; overflow: clip;
    padding-block: var(--space-xl); color: #f5faf9;
    background: #08110f;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(6,15,15,0.92) 0%, rgba(6,15,15,0.55) 55%, rgba(6,15,15,0.25) 100%),
        radial-gradient(circle at 80% 30%, rgba(244,114,91,0.28), transparent 45%);
}
/* diagonal lightning streak */
.hero__overlay::after {
    content: ""; position: absolute; top: -10%; left: 40%; width: 3px; height: 130%;
    background: linear-gradient(180deg, #2dd4bf, #f5b942);
    transform: rotate(18deg); filter: blur(1px);
    box-shadow: 0 0 24px 4px rgba(45,212,191,0.6);
    opacity: 0.7; animation: lightning 5s ease-in-out infinite;
}
@keyframes lightning {
    0%, 92%, 100% { opacity: 0.5; }
    94% { opacity: 1; }
    96% { opacity: 0.3; }
}
.hero__inner {
    position: relative; z-index: 2;
    max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-md);
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #2dd4bf; margin-bottom: var(--space-sm);
}
.hero h1 { color: #ffffff; font-size: 30px; }
.hero__sub { font-size: 18px; color: #d5e6e4; margin-bottom: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__badges {
    display: flex; flex-wrap: wrap; gap: var(--space-sm);
    margin-top: var(--space-lg);
}
.hero__badges span {
    font-size: 14px; font-weight: 600; color: #eafaf8;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(45,212,191,0.4);
    padding: 6px 14px; border-radius: 999px;
}
@media (min-width: 1024px) {
    .hero { padding-block: var(--space-2xl); }
    .hero h1 { font-size: 44px; }
}

/* ============================================
   INFO CARDS - .card-grid + .info-card
   ============================================ */
.card-grid {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md);
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.info-card {
    min-width: 0; display: flex; flex-direction: column;
    background: var(--card); color: var(--card-foreground);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform var(--ease), box-shadow var(--ease);
}
.info-card:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px -16px rgba(13,125,125,0.5);
}
.dark .info-card:hover { box-shadow: 0 16px 44px -14px rgba(45,212,191,0.4); }
.info-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }
.info-card__icon { font-size: 40px; padding: var(--space-md) var(--space-md) 0; }
.info-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: 10px; }
.info-card__tag {
    align-self: flex-start; font-family: var(--font-head); font-weight: 700;
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent-foreground); background: var(--accent);
    padding: 4px 10px; border-radius: 999px;
}
.info-card__title { margin: 0; }
.info-card__price {
    font-family: var(--font-head); font-weight: 800; font-size: 24px;
    color: var(--gold-text); margin: 0;
}
.info-card__desc { margin: 0; color: var(--muted-foreground); }
.info-card__link {
    margin-top: auto; font-weight: 700; color: var(--primary);
    display: inline-flex; align-items: center; gap: 6px;
}
.info-card__link::after { content: "→"; transition: transform var(--ease); }
.info-card__link:hover::after { transform: translateX(4px); }

/* provider / payment logo strip cards */
.logo-strip {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-sm);
}
@media (min-width: 768px) { .logo-strip { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .logo-strip { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.logo-strip__item {
    display: flex; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: var(--space-sm); min-height: 72px;
}
.logo-strip__item img { max-height: 56px; width: auto; }

/* ============================================
   STAT HIGHLIGHT - .stat-row + .stat-block
   ============================================ */
.stat-row {
    display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-md);
    text-align: center;
}
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.stat-block {
    padding: var(--space-md); border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--border);
}
.stat-block__number {
    display: block; font-family: var(--font-head); font-weight: 800;
    font-size: 48px; line-height: 1.05; color: var(--gold-text);
    text-shadow: 0 0 24px rgba(245,185,66,0.25);
}
.stat-block__label { display: block; font-weight: 600; color: var(--foreground); margin-top: 6px; }
.stat-block__note { display: block; font-size: 14px; color: var(--muted-foreground); margin-top: 4px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative; overflow: clip; text-align: center;
    padding-block: var(--space-xl); color: #f5faf9; background: #08110f;
}
@media (min-width: 1024px) { .cta-banner { padding-block: var(--space-2xl); } }
.cta-banner__aura {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(45,212,191,0.18), transparent 45%),
        radial-gradient(circle at 80% 40%, rgba(244,114,91,0.16), transparent 45%);
}
.cta-banner__aura::after {
    content: ""; position: absolute; top: -10%; left: 55%; width: 3px; height: 130%;
    background: linear-gradient(180deg, #2dd4bf, #f5b942);
    transform: rotate(-16deg); filter: blur(1px);
    box-shadow: 0 0 24px 4px rgba(245,185,66,0.5);
    animation: lightning 6s ease-in-out infinite;
}
.cta-banner__inner {
    position: relative; z-index: 1; max-width: 720px;
    margin-inline: auto; padding-inline: var(--space-md);
}
.cta-banner__heading { color: #ffffff; }
.cta-banner__text { color: #cfe3e1; font-size: 18px; margin-bottom: var(--space-lg); }
.cta-banner__micro { font-size: 14px; color: #9fc0bd; margin: var(--space-sm) 0 0; }

/* ============================================
   FAQ ACCORDION (native details)
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 860px; }
.faq-item {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    border-left: 3px solid transparent;
}
.faq-item[open] { border-left-color: var(--primary); }
.faq-item__q {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    padding: var(--space-md); cursor: pointer; list-style: none;
    font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--foreground);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
    position: relative; flex-shrink: 0; width: 22px; height: 22px;
}
.faq-item__icon::before, .faq-item__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold-text);
    transform: translate(-50%, -50%); transition: transform var(--ease);
}
.faq-item__icon::before { width: 14px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__a { padding: 0 var(--space-md) var(--space-md); }
.faq-item__a p { margin: 0; color: var(--muted-foreground); }

/* ============================================
   HOW-TO STEPS
   ============================================ */
.how-to {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-md);
    counter-reset: step;
}
@media (min-width: 1024px) { .how-to { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-lg); } }
.how-to__step {
    position: relative; display: flex; gap: var(--space-md); align-items: flex-start;
    padding: var(--space-md); background: var(--card);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.how-to__num {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    font-family: var(--font-head); font-weight: 800; font-size: 22px;
    background: var(--secondary); color: var(--gold-text);
    border: 2px solid var(--gold-text);
}
.how-to__title { margin: 0 0 6px; }
.how-to__text { margin: 0; color: var(--muted-foreground); }

/* ============================================
   CALLOUT / TL;DR / PULL QUOTE / TABLE
   ============================================ */
.callout {
    border-left: 4px solid var(--primary); background: var(--secondary);
    color: var(--secondary-foreground); border-radius: var(--radius-sm);
    padding: var(--space-md); margin-block: var(--space-md);
}
.callout--warn { border-left-color: var(--accent); }
.callout__title { font-family: var(--font-head); font-weight: 700; margin-bottom: 6px; }

.tldr {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: var(--space-md); margin-bottom: var(--space-lg);
}
.tldr__label {
    font-family: var(--font-head); font-weight: 700; font-size: 13px;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
}

.pull-quote {
    font-family: var(--font-head); font-size: 24px; font-weight: 600; line-height: 1.3;
    color: var(--foreground); border-left: 4px solid var(--gold-text);
    padding-left: var(--space-md); margin-block: var(--space-lg);
}
.pull-quote cite { display: block; font-family: var(--font-body); font-size: 15px;
    font-weight: 500; color: var(--muted-foreground); font-style: normal; margin-top: 8px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.data-table th, .data-table td {
    text-align: left; padding: 12px var(--space-sm); border-bottom: 1px solid var(--border);
}
.data-table thead th {
    font-family: var(--font-head); background: var(--secondary);
    color: var(--secondary-foreground);
}
.data-table tbody tr:hover { background: var(--muted); }

/* code / promo chips */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.promo-chip {
    font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em;
    background: var(--secondary); color: var(--gold-text);
    border: 1px dashed var(--gold-text); border-radius: var(--radius-sm);
    padding: 10px 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--card); color: var(--card-foreground);
    border-top: 1px solid var(--border); margin-top: var(--space-xl);
}
.site-footer__inner {
    max-width: var(--maxw); margin-inline: auto; padding: var(--space-xl) var(--space-md);
    display: grid; grid-template-columns: minmax(0,1fr); gap: var(--space-lg);
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-tagline { color: var(--muted-foreground); font-size: 15px; }
.site-brand--footer { margin-bottom: var(--space-sm); }
.footer-heading {
    font-family: var(--font-head); font-size: 16px; font-weight: 700;
    margin: 0 0 var(--space-sm);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted-foreground); }
.footer-links a:hover { color: var(--primary); }
.payment-row, .footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges { margin-top: var(--space-sm); }
.pay-badge, .lic-badge {
    font-size: 13px; font-weight: 600; color: var(--foreground);
    background: var(--muted); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 6px 12px;
}
.lic-badge--age { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding: var(--space-md); max-width: var(--maxw); margin-inline: auto;
}
.site-footer__bottom p { font-size: 13px; color: var(--muted-foreground); margin: 0 0 6px; text-align: center; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0; transform: translateY(24px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
    transition-delay: calc(var(--stagger, 0) * 80ms);
}
.animate-on-scroll.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* content prose spacing inside sections */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-lg); }
.prose h3 { margin-top: var(--space-md); }

/* 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;
}
