/* ═══════════════════════════════════════════════════════════════════════
   crashgames.guide - /providers/ catalog hub bespoke styles
   Loaded conditionally on the providers-catalog page from _layout.php.

   Visual identity: license-stack hierarchy + studio map.
   - Cinematic hero with license-code ticker background
   - Vertical 3-tier license ladder with numbered ranks
   - 10 studio cards in 3-col grid with tier badges
   - Coverage matrix as a clean monospace table
   - Audit-lab block with country-coded ID circles
   ═══════════════════════════════════════════════════════════════════════ */
.page--providers-catalog .main { padding-top: 0; }
.page--providers-catalog main > .hero-providers:first-child,
.page--providers-catalog main > section:first-child { margin-top: 0; }


/* ── 1. CINEMATIC HERO with LICENSE-CODE ribbon BG ───────────────── */
.page--providers-catalog main > .hero-providers:first-child { margin-top: 0; }

.hero-providers {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
    background:
        radial-gradient(70% 80% at 50% 0%, rgba(79, 70, 229, 0.10), transparent 70%),
        radial-gradient(50% 60% at 85% 100%, rgba(16, 185, 129, 0.06), transparent 70%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}

.hero-providers__license-ribbon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 60px);
    padding: 0 var(--sp-4);
    pointer-events: none;
    user-select: none;
    font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    color: rgba(79, 70, 229, 0.05);
    letter-spacing: -0.02em;
    overflow: hidden;
    white-space: nowrap;
    z-index: 0;
}
.hero-providers__license-ribbon span {
    flex-shrink: 0;
    transform: rotate(-5deg);
}
.hero-providers__license-ribbon-low {
    color: rgba(249, 115, 22, 0.06);
}

.hero-providers__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
}
.hero-providers__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-2);
}
.hero-providers__title {
    margin: 0;
    font-size: clamp(1.875rem, 4.5vw + 0.5rem, 3.5rem);
    font-weight: var(--fw-black);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text);
    max-width: 920px;
}
.hero-providers__lead {
    margin: 0;
    max-width: 720px;
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}
.hero-providers__topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 3vw, 32px);
    padding: var(--sp-4) clamp(16px, 3vw, 32px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    margin-top: var(--sp-2);
}
.hero-providers__topline-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 72px;
}
.hero-providers__topline-value {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-black);
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.hero-providers__topline-label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: var(--fw-medium);
}
.hero-providers__topline-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}
@media (max-width: 540px) {
    .hero-providers__topline-sep { display: none; }
    .hero-providers__topline { gap: var(--sp-3); }
    .hero-providers__topline-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }
    .hero-providers__topline-value { font-size: 1.5rem; }
    .hero-providers__license-ribbon { font-size: 2rem; }
}

.hero-providers__filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    width: 100%;
}
.hero-providers__filters-label {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2);
    max-width: 720px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.filter-chip:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary-dark);
    transform: translateY(-1px);
}
.filter-chip__label { white-space: nowrap; }
.filter-chip__count {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 2px 7px;
    border-radius: var(--r-sm);
    line-height: 1.4;
}
.filter-chip:hover .filter-chip__count {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
}

.hero-providers__meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2);
    padding: 6px 14px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    margin-top: var(--sp-2);
}
.hero-providers__meta-sep { opacity: 0.5; }

/* ── COMMON: block-eyebrow ──────────────────────────────────────── */
.block-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-50);
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
    padding: 4px 10px;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-3);
}
.block-eyebrow--accent {
    color: var(--accent-dark);
    background: var(--accent-50);
    border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.section-head--centered {
    text-align: center;
    margin-bottom: var(--section-head-mb);
}
.section-head--centered .section-head__title {
    margin: 0 0 var(--sp-2);
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.875rem);
}
.section-head--centered .section-head__subtitle {
    margin: 0 auto;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    max-width: 720px;
}

/* ── 3. LICENSE-TIER LADDER ──────────────────────────────────────── */
.license-tiers-section { background: var(--bg); }
.license-ladder {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    position: relative;
}
.license-ladder::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 50%, var(--alert) 100%);
    opacity: 0.25;
    z-index: 0;
}
@media (max-width: 640px) {
    .license-ladder::before { display: none; }
}
.license-rung {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--sp-5);
    padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
@media (max-width: 640px) {
    .license-rung { grid-template-columns: 1fr; padding: var(--sp-4); }
}
.license-rung--primary { border-left: 4px solid var(--primary); }
.license-rung--accent  { border-left: 4px solid var(--accent); }
.license-rung--alert   { border-left: 4px solid var(--alert); }

.license-rung__head {
    display: contents;
}
@media (max-width: 640px) {
    .license-rung__head {
        display: flex;
        gap: var(--sp-3);
        align-items: center;
        margin-bottom: var(--sp-3);
    }
}
.license-rung__rank {
    background: var(--bg-alt);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    min-height: 100%;
}
@media (max-width: 640px) {
    .license-rung__rank {
        flex-direction: row;
        gap: var(--sp-2);
        padding: 0;
        background: transparent;
        border-right: 0;
        min-height: auto;
    }
}
.license-rung__rank-num {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--fw-black);
    color: var(--primary);
    line-height: 1;
}
.license-rung--accent .license-rung__rank-num { color: var(--accent-dark); }
.license-rung--alert  .license-rung__rank-num { color: var(--alert); }
.license-rung__rank-label {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 4px;
}
.license-rung__title-wrap {
    padding: var(--sp-2) 0;
}
.license-rung__title {
    margin: 0 0 var(--sp-2);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: var(--lh-snug);
}
.license-rung__lead {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}
.license-rung__studios {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-2);
}
@media (min-width: 768px) {
    .license-rung__studios { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .license-rung__studios { grid-template-columns: repeat(3, 1fr); }
}
.rung-studio {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    background: var(--bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.rung-studio:hover {
    border-color: var(--primary);
    background: var(--primary-50);
}
.rung-studio__name {
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--text);
    flex-shrink: 0;
}
.rung-studio__flagship {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-left: auto;
    margin-right: var(--sp-1);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rung-studio__arrow {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: var(--fs-md);
    transition: transform var(--t-fast);
}
.rung-studio:hover .rung-studio__arrow { transform: translateX(3px); }

/* ── 4. STUDIO MAP (10 cards) ────────────────────────────────────── */
.studio-map-section { background: var(--bg-alt); }
.studio-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}
@media (min-width: 640px) {
    .studio-map { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .studio-map { grid-template-columns: repeat(3, 1fr); }
}
.studio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    overflow: hidden;
}
.studio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0.4;
    transition: opacity var(--t-fast);
}
.studio-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.studio-card:hover::before { opacity: 1; }
.studio-card--tier-1::before { background: var(--grad-primary); }
.studio-card--tier-2::before { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
.studio-card--tier-3::before { background: var(--grad-crash); }

.studio-card__head {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.studio-card__logo {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--primary-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.studio-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.studio-card__logo-text {
    font-family: var(--font-mono);
    font-size: var(--fs-xl);
    font-weight: var(--fw-black);
    color: var(--primary);
}
.studio-card__title-wrap {
    flex: 1;
    min-width: 0;
}
.studio-card__name {
    margin: 0 0 2px;
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: var(--lh-snug);
}
.studio-card__country {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.studio-card__tier-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-black);
    color: #FFFFFF;
}
.studio-card__tier-badge--1 { background: var(--primary); }
.studio-card__tier-badge--2 { background: var(--accent-dark); }
.studio-card__tier-badge--3 { background: var(--alert); }
.studio-card__highlight {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text);
    line-height: var(--lh-snug);
    padding: var(--sp-2) var(--sp-3);
    background: var(--bg-alt);
    border-radius: var(--r-sm);
    border-left: 2px solid var(--primary);
}
.studio-card--tier-2 .studio-card__highlight { border-left-color: var(--accent); }
.studio-card--tier-3 .studio-card__highlight { border-left-color: var(--alert); }
.studio-card__meta {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2) var(--sp-3);
}
.studio-card__meta-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--fs-xs);
}
.studio-card__meta-row dt {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: var(--fw-medium);
}
.studio-card__meta-row dd {
    margin: 0;
    color: var(--text);
    font-weight: var(--fw-semibold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.studio-card__cta {
    margin-top: auto;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--primary);
    transition: transform var(--t-fast);
    align-self: flex-start;
}
.studio-card:hover .studio-card__cta {
    transform: translateX(4px);
}

/* ── 5. BODY (hub-section-card wrappers, body-aside) ─────────────── */
.catalog-body-section { background: var(--bg); }
.hub-body h2 {
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-subtle);
}
.hub-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.hub-body p { margin-bottom: var(--sp-4); line-height: var(--lh-relaxed); }
.hub-body .answer-box {
    background: var(--primary-50);
    border-left: 3px solid var(--primary);
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-5);
    margin: var(--sp-5) 0;
}
.hub-body .answer-box__label {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 6px;
}
.hub-body .answer-box__text { margin: 0; font-size: var(--fs-md); line-height: var(--lh-relaxed); }
.hub-body .review-pullquote {
    margin: var(--sp-8) 0;
    padding: var(--sp-5) var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--r-lg);
}
.hub-body .review-pullquote blockquote {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    line-height: var(--lh-snug);
    color: var(--text);
    font-style: italic;
}
.hub-body .review-pullquote figcaption {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Body aside cards - break wall-of-text into accent blocks */
.hub-body .body-aside {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    margin: var(--sp-6) 0;
    padding: var(--sp-4) var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xs);
}
.hub-body .body-aside--exclude {
    border-left-color: var(--alert);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.025), transparent 60%), var(--surface);
}
.hub-body .body-aside--stats {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.025), transparent 60%), var(--surface);
}
.hub-body .body-aside--ethics {
    border-left-color: var(--success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.025), transparent 60%), var(--surface);
}
.hub-body .body-aside__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    background: var(--primary-50);
    color: var(--primary);
}
.hub-body .body-aside--exclude .body-aside__icon { background: var(--alert-50);   color: var(--alert); }
.hub-body .body-aside--stats   .body-aside__icon { background: var(--accent-50);  color: var(--accent-dark); }
.hub-body .body-aside--ethics  .body-aside__icon { background: var(--success-50); color: var(--success); }
.hub-body .body-aside__body { flex: 1; min-width: 0; }
.hub-body .body-aside__title {
    margin: 0 0 var(--sp-2);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: var(--lh-snug);
}
.hub-body .body-aside p {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text);
    line-height: var(--lh-relaxed);
}
@media (max-width: 540px) {
    .hub-body .body-aside { flex-direction: column; gap: var(--sp-3); }
}

/* Hub-section card - wraps each H2 with table/cards inside */
.hub-body .hub-section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-6) var(--sp-6);
    margin: var(--sp-8) 0;
    box-shadow: var(--shadow-xs);
}
.hub-body .hub-section-card > h2:first-child,
.hub-body .hub-section-card > h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* ── 6. METHODOLOGY 2×2 GRID ─────────────────────────────────────── */
.methodology-section { background: var(--bg-alt); }
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}
@media (min-width: 640px) {
    .methodology-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
}
.meth-card {
    position: relative;
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.meth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity var(--t-fast);
}
.meth-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.meth-card:hover::before { opacity: 1; }
.meth-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--primary-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
}
.meth-card:nth-child(2) .meth-card__icon { background: var(--accent-50); }
.meth-card:nth-child(3) .meth-card__icon { background: #FEF3C7; }
.meth-card:nth-child(4) .meth-card__icon { background: var(--success-50); }
.meth-card__title {
    margin: 0;
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: var(--lh-snug);
}
.meth-card__body {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}

/* ── 7. COVERAGE MATRIX TABLE ──────────────────────────────────── */
.coverage-matrix-section { background: var(--bg); }
.coverage-matrix-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(16px, 2.5vw, 28px);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}
.coverage-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}
.coverage-matrix th,
.coverage-matrix td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}
.coverage-matrix__col-head,
.coverage-matrix__row-head {
    text-align: left !important;
    font-weight: var(--fw-semibold);
    color: var(--text);
}
.coverage-matrix thead th {
    background: var(--bg-alt);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    position: sticky;
    top: 0;
    z-index: 1;
}
.coverage-matrix tbody tr:hover {
    background: var(--bg-alt);
}
.coverage-matrix tbody tr:last-child td,
.coverage-matrix tbody tr:last-child th {
    border-bottom: 0;
}
.coverage-matrix__cell {
    font-family: var(--font-mono);
    font-weight: var(--fw-bold);
}
.coverage-matrix__cell--has {
    color: var(--primary);
    background: var(--primary-50);
}
.coverage-matrix__cell--none {
    color: var(--text-dim);
}

/* ── 8. AUDIT LABS BLOCK ───────────────────────────────────────── */
.audit-labs-section { background: var(--bg-alt); }
.audit-labs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}
@media (min-width: 768px) {
    .audit-labs-grid { grid-template-columns: repeat(3, 1fr); }
}
.lab-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    transition: border-color var(--t-fast), transform var(--t-fast);
}
.lab-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.lab-card__head {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}
.lab-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: var(--accent-50);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: var(--fw-black);
}
.lab-card__title-wrap {
    flex: 1;
    min-width: 0;
}
.lab-card__name {
    margin: 0 0 2px;
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: var(--lh-snug);
}
.lab-card__meta {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.lab-card__count {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--accent-dark);
    background: var(--accent-50);
    padding: 4px 8px;
    border-radius: var(--r-sm);
    white-space: nowrap;
}
.lab-card__lead {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}
.lab-card__studios {
    list-style: none;
    margin: 0;
    padding: var(--sp-2) 0 0;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.lab-card__studios li {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--text);
    background: var(--bg-alt);
    padding: 3px 8px;
    border-radius: var(--r-sm);
}
.audit-labs-section__footnote {
    text-align: center;
    margin: 0;
    padding-top: var(--sp-3);
    border-top: 1px dashed var(--border);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}

/* ── 9. FEATURED STUDIOS (3 verdict cards) ─────────────────────── */
.featured-studios-section { background: var(--bg); }
.featured-studios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}
@media (min-width: 768px) {
    .featured-studios-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
}
.featured-studio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    overflow: hidden;
}
.featured-studio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-primary);
}
.featured-studio-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.featured-studio-card__badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    background: var(--grad-primary);
    padding: 4px 10px;
    border-radius: var(--r-full);
}
.featured-studio-card__name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--fw-black);
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.featured-studio-card__tier {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.featured-studio-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
    padding: var(--sp-3);
    background: var(--bg-alt);
    border-radius: var(--r-md);
    margin: 0;
}
.featured-studio-card__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}
.featured-studio-card__stat dt {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: var(--fw-medium);
}
.featured-studio-card__stat dd {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--primary);
}
.featured-studio-card__summary {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text);
    line-height: var(--lh-relaxed);
    flex: 1;
}
.featured-studio-card__cta {
    margin-top: auto;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--primary);
    transition: transform var(--t-fast);
}
.featured-studio-card:hover .featured-studio-card__cta {
    transform: translateX(4px);
}

/* ── 10. GLOSSARY 5-TILE GRID ────────────────────────────────── */
.glossary-section { background: var(--bg); }
.glossary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
}
@media (min-width: 640px) {
    .glossary-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}
@media (min-width: 1024px) {
    .glossary-grid { grid-template-columns: repeat(3, 1fr); }
    .glossary-grid .glossary-tile:nth-child(4) { grid-column: 1 / 3; }
    .glossary-grid .glossary-tile:nth-child(5) { grid-column: 3 / 4; }
}
.glossary-tile {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    transition: border-color var(--t-fast), background var(--t-fast);
}
.glossary-tile:hover {
    border-color: var(--accent);
    background: var(--accent-50);
}
.glossary-tile__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: var(--accent-50);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--fs-md);
    font-weight: var(--fw-black);
}
.glossary-tile__body { flex: 1; min-width: 0; }
.glossary-tile__term {
    margin: 0 0 4px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--text);
}
.glossary-tile__def {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}

/* ── 12. PROVIDERS FAQ ─────────────────────────────────────────── */
.providers-faq-section { background: var(--bg-alt); }
.providers-faq-section .faq-head {
    text-align: center;
    margin-bottom: var(--sp-6);
}
.providers-faq-section .faq-head__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-50);
    padding: 4px 10px;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-2);
}
.providers-faq-section .faq-head__title { margin: 0 0 var(--sp-2); }
.providers-faq-section .faq-head__lead {
    margin: 0 auto;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    max-width: 640px;
}
.providers-faq-section .faq-list--home {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-3);
    box-shadow: var(--shadow-sm);
}
.providers-faq-section .faq-item {
    border-radius: var(--r-md);
    background: var(--bg);
    border: 1px solid var(--border-subtle);
    transition: border-color var(--t-fast);
}
.providers-faq-section .faq-item[open] { border-color: var(--primary); }
.providers-faq-section .faq-item__q {
    cursor: pointer;
    list-style: none;
    padding: var(--sp-3) var(--sp-4);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-md);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}
.providers-faq-section .faq-item__q::-webkit-details-marker { display: none; }
.providers-faq-section .faq-item__q::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: var(--fs-lg);
    color: var(--primary);
    transition: transform var(--t-fast);
}
.providers-faq-section .faq-item[open] .faq-item__q::after { content: '−'; }
.providers-faq-section .faq-item__a {
    padding: 0 var(--sp-4) var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--text);
    line-height: var(--lh-relaxed);
}
.providers-faq-section .faq-item__a p { margin: 0 0 var(--sp-3); }
.providers-faq-section .faq-item__a p:last-child { margin: 0; }

/* ── 13. CROSS-HUB LINKS (5 cards w/ SVG icons) ─────────────────── */
.cross-hubs-section { background: var(--bg); }
.cross-hubs {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
}
@media (min-width: 640px) {
    .cross-hubs { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}
@media (min-width: 1024px) {
    .cross-hubs { grid-template-columns: repeat(5, 1fr); }
}
.cross-hub {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-decoration: none;
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}
.cross-hub::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0.6;
    transition: opacity var(--t-fast), height var(--t-fast);
}
.cross-hub:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.cross-hub:hover::before { opacity: 1; height: 4px; }
.cross-hub__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-lg);
    background: var(--primary-50);
    color: var(--primary);
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.cross-hub__icon svg { width: 32px; height: 32px; }
.cross-hub:hover .cross-hub__icon { transform: scale(1.05) rotate(-3deg); }

.cross-hub--home    .cross-hub__icon { background: var(--primary-50); color: var(--primary-dark); }
.cross-hub--home::before              { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.cross-hub--games   .cross-hub__icon { background: var(--accent-50);  color: var(--accent-dark); }
.cross-hub--games::before             { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
.cross-hub--versus  .cross-hub__icon { background: #FEF3C7;           color: #B45309; }
.cross-hub--versus::before            { background: linear-gradient(135deg, #F59E0B, #FB923C); }
.cross-hub--tools   .cross-hub__icon { background: var(--success-50); color: var(--success); }
.cross-hub--tools::before             { background: linear-gradient(135deg, #10B981, #06B6D4); }
.cross-hub--blog    .cross-hub__icon { background: var(--alert-50);   color: var(--alert); }
.cross-hub--blog::before              { background: var(--grad-crash); }

.cross-hub__title {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: var(--lh-snug);
}
.cross-hub__lead {
    flex: 1;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin: 0;
}
.cross-hub__arrow {
    align-self: flex-end;
    font-family: var(--font-mono);
    font-size: var(--fs-xl);
    color: var(--primary);
    line-height: 1;
    transition: transform var(--t-fast);
}
.cross-hub:hover .cross-hub__arrow { transform: translateX(4px); }
.cross-hub--home    .cross-hub__arrow { color: var(--primary); }
.cross-hub--games   .cross-hub__arrow { color: var(--accent-dark); }
.cross-hub--versus  .cross-hub__arrow { color: #B45309; }
.cross-hub--tools   .cross-hub__arrow { color: var(--success); }
.cross-hub--blog    .cross-hub__arrow { color: var(--alert); }

/* ── AUTHOR BYLINE ─────────────────────────────────────────────── */
.author-byline {
    display: flex;
    justify-content: center;
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border-subtle);
}
.author-byline__inner {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    flex-wrap: wrap;
    justify-content: center;
}
.author-byline__label { font-weight: var(--fw-medium); }
.author-byline__name {
    color: var(--primary);
    font-weight: var(--fw-semibold);
}
.author-byline__sep { opacity: 0.4; }
.author-byline__date { font-family: var(--font-mono); font-size: var(--fs-xs); }
