/*
 * OnlySpins Casino - Design System
 * Tropical night-party maximalism. Sora display + Manrope body.
 * Turquoise-gold palette with coral accents on near-black teal.
 */

:root {
    --background: #f4fbfa;
    --foreground: #0f2e2c;
    --card: #ffffff;
    --card-foreground: #0f2e2c;
    --popover: #ffffff;
    --popover-foreground: #0f2e2c;
    --primary: #067285;
    --primary-foreground: #ffffff;
    --secondary: #c94530;
    --secondary-foreground: #ffffff;
    --muted: #e5eae9;
    --muted-foreground: #4c5c5a;
    --accent: #8a6608;
    --accent-foreground: #ffffff;
    --destructive: #dc2626;
    --destructive-foreground: #ffffff;
    --border: #d4dcda;
    --input: #d4dcda;
    --ring: #067285;

    --callout-bg: #fbeae7;

    /* Hero text colors (always over dark image overlay) */
    --hero-fg: #f0ede4;
    --hero-fg-muted: #d6e4e1;

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

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --maxw: 1200px;
    --header-h: 68px;

    --font-display: "Sora", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;

    --grad-turquoise-gold: linear-gradient(120deg, var(--primary), var(--accent));
    --grad-turquoise-coral: linear-gradient(120deg, var(--primary), var(--secondary));
    --shadow-coral: 0 12px 40px -12px rgba(201, 69, 48, 0.45);
    --shadow-card: 0 8px 28px -12px rgba(6, 22, 21, 0.18);
}

.dark {
    --background: #061615;
    --foreground: #f0ede4;
    --card: #0d2321;
    --card-foreground: #f0ede4;
    --popover: #0d2321;
    --popover-foreground: #f0ede4;
    --primary: #2dd4bf;
    --primary-foreground: #04201d;
    --secondary: #ff6f5e;
    --secondary-foreground: #2a0d09;
    --muted: #1a3532;
    --muted-foreground: #a7c2be;
    --accent: #f5c542;
    --accent-foreground: #2a2205;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #1f4340;
    --input: #1a3532;
    --ring: #2dd4bf;

    --callout-bg: #2a1613;

    --grad-turquoise-gold: linear-gradient(120deg, var(--primary), var(--accent));
    --grad-turquoise-coral: linear-gradient(120deg, var(--primary), var(--secondary));
    --shadow-coral: 0 12px 44px -10px rgba(255, 111, 94, 0.4);
    --shadow-card: 0 12px 36px -16px rgba(0, 0, 0, 0.6);
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    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; }

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

p { margin: 0 0 var(--space-md); max-width: 68ch; }

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

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

.gradient-text {
    background: var(--grad-turquoise-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.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: -999px; top: 0; z-index: 2000;
    background: var(--primary); color: var(--primary-foreground);
    padding: var(--space-xs) var(--space-md); border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* Layout container */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-sm); }
.max-w-1200 { max-width: var(--maxw); }
.mx-auto { margin-inline: auto; }
.dark-teal-bg { background: var(--background); }

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

.section__lead { max-width: 68ch; margin-bottom: var(--space-lg); color: var(--muted-foreground); }
.eyebrow {
    display: inline-block; font-family: var(--font-display); font-weight: 700;
    font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--primary); margin-bottom: var(--space-xs);
}

/* ============================================
   BUTTONS
   .btn base · --primary turquoise · --ghost outline · --lg large
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
    font-family: var(--font-display); font-weight: 700; font-size: 16px;
    min-height: 48px; padding: 0 var(--space-lg);
    border-radius: var(--radius-pill); border: 2px solid transparent;
    cursor: pointer; text-decoration: none; text-align: center;
    transition: transform .25s ease-out, box-shadow .25s ease-out, background .25s ease-out, filter .25s ease-out;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--primary); color: var(--primary-foreground);
    box-shadow: var(--shadow-coral);
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

.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; font-size: 18px; padding: 0 var(--space-xl); }

/* ============================================
   HEADER / NAV
   ============================================ */
.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: 1024px) {
    .site-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.site-header__inner {
    max-width: var(--maxw); margin-inline: auto;
    min-height: var(--header-h); padding-inline: var(--space-sm);
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
}

.site-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 800; font-size: 20px;
    color: var(--foreground); text-decoration: none;
}
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--grad-turquoise-gold); color: #04201d;
    font-weight: 800; font-size: 20px;
}
.site-brand__text { letter-spacing: -0.03em; }

.primary-nav { display: none; }
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-md); }
.primary-nav__list a {
    font-family: var(--font-display); font-weight: 600; font-size: 16px;
    color: var(--foreground); padding: 10px 4px; display: inline-flex; min-height: 44px; align-items: center;
}
.primary-nav__list a:hover { color: var(--primary); text-decoration: none; }
.primary-nav__actions { display: flex; gap: var(--space-xs); }

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

.theme-toggle {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--card);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle__icon {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--grad-turquoise-gold);
    box-shadow: inset -5px -3px 0 0 var(--card);
}
.dark .theme-toggle__icon { box-shadow: none; background: var(--accent); }

.menu-toggle {
    width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--card); cursor: pointer; z-index: 1001;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px; border-radius: 2px;
    background: var(--foreground); transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 1023px) {
    .primary-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
        background: var(--background);
        display: none; flex-direction: column; gap: var(--space-lg);
        padding: var(--space-lg) var(--space-md);
        overflow-y: auto;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .primary-nav__list li { border-bottom: 1px solid var(--border); }
    .primary-nav__list a { min-height: 52px; font-size: 19px; width: 100%; }
    .primary-nav__actions { flex-direction: column; margin-top: var(--space-md); }
    .primary-nav__actions .btn { width: 100%; }
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--card); border-top: 1px solid var(--border);
    margin-top: var(--space-2xl); color: var(--foreground);
}
.site-footer__inner {
    max-width: var(--maxw); margin-inline: auto;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    display: grid; grid-template-columns: 1fr; gap: var(--space-lg);
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.site-brand--footer { margin-bottom: var(--space-sm); }
.site-footer__tagline { color: var(--muted-foreground); font-size: 15px; max-width: 40ch; }
.site-footer__title {
    font-family: var(--font-display); font-size: 16px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-sm);
    color: var(--foreground);
}
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { color: var(--muted-foreground); font-size: 15px; }
.site-footer__links a:hover { color: var(--primary); }

.payment-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.payment-brands li {
    font-family: var(--font-display); font-weight: 600; font-size: 13px;
    padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--foreground); background: var(--muted);
}

.site-footer__license { color: var(--muted-foreground); font-size: 14px; }
.site-footer__age { color: var(--muted-foreground); font-size: 14px; display: flex; gap: var(--space-xs); align-items: flex-start; }
.age-badge {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--secondary); color: var(--secondary-foreground);
    font-family: var(--font-display); font-weight: 800; font-size: 13px;
}
.site-footer__bottom {
    border-top: 1px solid var(--border); text-align: center;
    padding: var(--space-md); color: var(--muted-foreground); font-size: 14px;
}
.site-footer__bottom p { margin: 0; max-width: none; }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; overflow: clip; padding-block: var(--space-xl); }
@media (min-width: 1024px) { .hero { padding-block: var(--space-2xl); } }
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(6,22,21,.55) 0%, rgba(6,22,21,.82) 100%);
}
.hero__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-md); color: var(--hero-fg); }
.hero__content { max-width: 640px; }
.hero h1 { color: var(--hero-fg); }
.hero h2 { color: var(--hero-fg); font-size: 20px; font-weight: 600; }
@media (min-width: 768px) { .hero h2 { font-size: 24px; } }
.hero__lead { color: var(--hero-fg-muted); font-size: 18px; margin-bottom: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero .btn--ghost { color: var(--hero-fg); border-color: rgba(240, 237, 228, 0.5); }
.hero .btn--ghost:hover { border-color: var(--hero-fg); color: var(--hero-fg); }

/* String-light garland */
.garland {
    position: relative; height: 24px; overflow: clip;
    background:
        radial-gradient(circle at 10% 60%, var(--accent) 0 4px, transparent 5px),
        radial-gradient(circle at 25% 40%, var(--primary) 0 4px, transparent 5px),
        radial-gradient(circle at 40% 60%, var(--secondary) 0 4px, transparent 5px),
        radial-gradient(circle at 55% 40%, var(--accent) 0 4px, transparent 5px),
        radial-gradient(circle at 70% 60%, var(--primary) 0 4px, transparent 5px),
        radial-gradient(circle at 85% 40%, var(--secondary) 0 4px, transparent 5px);
    opacity: .85;
}

/* ============================================
   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)); }
    .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.info-card {
    min-width: 0;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.info-card:hover { transform: scale(1.03); box-shadow: var(--shadow-coral); }
.info-card__media { position: relative; 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; line-height: 1;
}
.info-card__badge {
    position: absolute; top: var(--space-sm); left: var(--space-sm);
    background: var(--accent); color: var(--accent-foreground);
    font-family: var(--font-display); font-weight: 700; font-size: 13px;
    padding: 6px 12px; border-radius: var(--radius-pill);
}
.info-card__badge--inline { position: static; display: inline-block; margin: var(--space-md) var(--space-md) 0; }
.info-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.info-card__title { margin: 0; }
.info-card__text { margin: 0; color: var(--muted-foreground); }
.info-card__text strong { color: var(--foreground); }
.info-card__extra { color: var(--muted-foreground); }
.info-card__extra ul { margin: 0; }
.info-card__link {
    margin-top: auto; font-family: var(--font-display); font-weight: 700;
    color: var(--primary); align-self: flex-start;
}

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight { text-align: center; }
.stat-highlight__heading { margin-bottom: var(--space-lg); }
.stat-highlight__grid {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md);
}
@media (min-width: 768px) { .stat-highlight__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stat-highlight__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-block {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: var(--space-md);
    display: flex; flex-direction: column; gap: 6px;
}
.stat-block__number {
    font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1;
    background: var(--grad-turquoise-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-block__label { color: var(--foreground); font-weight: 600; font-size: 15px; }
.stat-block__note { color: var(--muted-foreground); font-size: 13px; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion__heading { margin-bottom: var(--space-md); }
.faq-accordion__list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__question {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    padding: var(--space-md) 0; min-height: 48px;
    font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--foreground);
}
.faq-item__question::-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; background: var(--primary); border-radius: 2px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 16px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 16px; transition: transform .3s ease; }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__answer {
    padding: 0 0 var(--space-md) var(--space-md);
    border-left: 3px solid var(--secondary);
}
.faq-item__answer p { margin: 0; color: var(--muted-foreground); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative; overflow: clip; text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--card); border-block: 1px solid var(--border);
    margin-block: var(--space-xl);
}
@media (min-width: 1024px) { .cta-banner { padding-block: var(--space-xl); } }
.dark .cta-banner { background: #04201d; }
.cta-banner__garland {
    position: absolute; top: 0; left: -5%; right: -5%; height: 22px;
    background:
        radial-gradient(circle at 8% 60%, var(--accent) 0 4px, transparent 5px),
        radial-gradient(circle at 24% 40%, var(--primary) 0 4px, transparent 5px),
        radial-gradient(circle at 40% 60%, var(--secondary) 0 4px, transparent 5px),
        radial-gradient(circle at 56% 40%, var(--accent) 0 4px, transparent 5px),
        radial-gradient(circle at 72% 60%, var(--primary) 0 4px, transparent 5px),
        radial-gradient(circle at 88% 40%, var(--secondary) 0 4px, transparent 5px);
    opacity: .8;
}
.cta-banner__orb {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4; z-index: 0;
    pointer-events: none;
}
.cta-banner__orb--one { width: 300px; height: 300px; background: var(--primary); top: -80px; left: -60px; }
.cta-banner__orb--two { width: 260px; height: 260px; background: var(--secondary); bottom: -80px; right: -40px; }
.cta-banner__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-banner__title { margin-bottom: var(--space-sm); }
.cta-banner__subtitle { color: var(--muted-foreground); font-size: 18px; margin-inline: auto; }
.cta-banner__btn { margin-top: var(--space-md); }
.cta-banner__micro { margin: var(--space-md) auto 0; color: var(--muted-foreground); font-size: 14px; }

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */
.tldr-box {
    background: var(--muted); border: 1px solid var(--border); border-left: 4px solid var(--primary);
    border-radius: var(--radius); padding: var(--space-md); margin-bottom: var(--space-lg);
}
.tldr-box__title {
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: var(--space-xs);
}
.tldr-box p:last-child { margin-bottom: 0; }

.callout {
    background: var(--callout-bg);
    border: 1px solid var(--border); border-left: 4px solid var(--secondary);
    border-radius: var(--radius); padding: var(--space-md); margin-block: var(--space-lg);
}
.callout__title { font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-xs); }
.callout p:last-child { margin-bottom: 0; }

.pull-quote {
    font-family: var(--font-display); font-style: italic; font-size: 24px; font-weight: 600;
    line-height: 1.4; padding-left: var(--space-md); border-left: 4px solid var(--secondary);
    margin-block: var(--space-lg); color: var(--foreground);
}
.pull-quote cite { display: block; font-size: 15px; font-style: normal; color: var(--muted-foreground); margin-top: var(--space-xs); }

/* Trust badges row */
.trust-row {
    display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: center;
    padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--card);
}
.trust-badge {
    display: flex; align-items: center; gap: var(--space-xs);
    font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--foreground);
}
.trust-badge__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--muted); color: var(--primary); font-size: 20px; flex-shrink: 0;
}

/* Comparison table */
.table-wrapper { margin-block: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.comparison-table th, .comparison-table td {
    padding: var(--space-sm) var(--space-md); text-align: left;
    border-bottom: 1px solid var(--border); font-size: 15px;
}
.comparison-table thead th {
    font-family: var(--font-display); background: var(--muted); color: var(--foreground); font-weight: 700;
}
.comparison-table td { color: var(--muted-foreground); }
.comparison-table .is-highlight { background: color-mix(in srgb, var(--primary) 10%, var(--card)); }

/* Content prose helper */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-lg); }

/* Breadcrumb */
.breadcrumb { padding: var(--space-md) 0 0; font-size: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { color: var(--muted-foreground); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--muted-foreground); }

/* Logo / image strips (transparent PNG assets) */
.logo-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-md);
    padding: var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.logo-strip img { max-height: 56px; width: auto; }

/* Sitemap listing */
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li { padding: var(--space-md) 0; border-bottom: 1px solid var(--border); }
.sitemap-list h3 { margin-bottom: 6px; }
.sitemap-list p { color: var(--muted-foreground); margin: 0; }

/* Two-column split */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
@media (min-width: 768px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split img { border-radius: var(--radius-lg); width: 100%; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }
.card-grid > .animate-on-scroll.is-visible:nth-child(2) { transition-delay: .08s; }
.card-grid > .animate-on-scroll.is-visible:nth-child(3) { transition-delay: .16s; }
.card-grid > .animate-on-scroll.is-visible:nth-child(4) { transition-delay: .24s; }

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

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