@import url('/assets/css/fonts.css');

/* -- Skip Link (Accessibility) ------------------------------- */
.skip,
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10000;
    background: var(--text, #f5f5f7);
    color: var(--bg, #000000);
    padding: 12px 18px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip:focus,
.skip-link:focus {
    top: 12px;
    outline: 3px solid var(--red, #ff003c);
    outline-offset: 3px;
}

html[data-theme="light"] .skip,
html[data-theme="light"] .skip-link {
    background: var(--text, #1d1d1f);
    color: var(--bg, #f5f5f7);
}

html[data-theme="light"] .skip:focus,
html[data-theme="light"] .skip-link:focus {
    outline-color: var(--red3, #d90033);
}

/* -- Global Focus Ring --------------------------------------- */
:focus-visible {
    outline: 3px solid var(--red, #ff003c);
    outline-offset: 3px;
    border-radius: 2px;
}

html[data-theme="light"] :focus-visible {
    outline-color: var(--red3, #d90033);
}

/* -- Start / Stop CTA Focus Ring ----------------------------- */
#startStopBtn:focus-visible,
.go:focus-visible {
    outline: 3px solid var(--white, #ffffff);
    outline-offset: 6px;
}

html[data-theme="light"] #startStopBtn:focus-visible,
html[data-theme="light"] .go:focus-visible {
    outline: 3px solid var(--red3, #d90033);
    outline-offset: 6px;
}

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

:root {
    --bg-color: var(--canvas);
    --text-color: var(--text-primary);
    --header-bg: rgba(10, 10, 11, 0.95);
    --border-color: var(--border);
    --card-bg: var(--surface-1);
    --card-border: var(--border);
    --meter-bk: #1c1c20;
    --pill-bg: rgba(255, 255, 255, 0.03);
    --pill-border: var(--border);
    --pill-text: var(--text-secondary);
    /* Spacing scale */
    --space-xs: 0.4rem;
    --space-sm: 0.8rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    /* Ad slot reserved heights — cumulative layout shift mitigation */
    --ad-leaderboard-h: 90px;
    --ad-leaderboard-mobile-h: 100px;
    --ad-skyscraper-h: 600px;
    --ad-incontent-h: 280px;
}



html, body {
    overflow-x: hidden;
    width: 100%;
    background: var(--bg, #0b0c10);
    color: var(--text, #f5f5f7);
}
img, video {
    max-width: 100%;
    height: auto;
}
/*
 * VelocityVerify — Shared Header & Neon Effects
 * Loaded globally: neon nav hover, logo glow, sticky frosted header
 */

/* ============================================================
   PRE-ADSENSE: Hide all ad slots until approved.
   TO GO LIVE: Delete the 3 lines below when AdSense is active.
   ============================================================ */
/* [class^="ad-wrapper-"], .ad-container { display: none !important; } */
/* ============================================================ */

/* Cumulative layout shift mitigation: Reserved dimensions reduce layout-shift risk */
.ad-wrapper-leaderboard {
    min-height: var(--ad-leaderboard-h);
    max-width: 970px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-sizing: border-box;
}
.ad-wrapper-sidebar {
    min-height: var(--ad-skyscraper-h);
    width: 160px;
    background: transparent;
    border: none;
}
.ad-wrapper-incontent {
    min-height: var(--ad-incontent-h);
    width: 100%;
    background: transparent;
    border: none;
}

/* Make empty ad containers transparent globally across all pages */
.ad-container,
.ad-wrapper-sidebar,
.ad-wrapper-leaderboard,
.ad-wrapper-incontent,
.ad-slot {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .ad-wrapper-leaderboard {
        min-height: var(--ad-leaderboard-mobile-h);
    }
}

/* Hide diagonal stripe background overlays on empty ads */
.ad-container::before,
.ad-wrapper-sidebar::before,
.ad-wrapper-leaderboard::before,
.ad-wrapper-incontent::before,
.ad-slot::before {
    background: transparent !important;
    display: none !important;
}

/* Hide ad label placeholders globally when ads are empty */
.ad-label,
.ad-slot span {
    display: none !important;
    color: transparent !important;
}

/* ── Single Consolidated Navigation (Apple-Inspired Frosted Glass) ── */
.site-header,
.nav, header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 60px;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    background: rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    transition: background-color .32s ease, border-color .32s ease;
}
.site-header__inner,
.nav-in {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wrap {
    width: min(var(--max, 1180px), calc(100% - 48px));
    margin: auto;
}
.site-brand,
.brand, .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 650;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--text, #f5f5f7);
    transition: color 0.2s ease;
    min-height: 44px;
    min-width: 44px;
}
.site-brand__logo,
.brand-logo, .site-logo-img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 0, 60, 0.6));
    transition: filter 0.3s ease, transform 0.2s ease;
}
.site-brand:hover .site-brand__logo,
.brand:hover .brand-logo, .logo a:hover img {
    filter: drop-shadow(0 0 16px rgba(255, 0, 60, 0.9));
    transform: scale(1.05);
}
.site-navigation,
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-navigation__link,
.nav-links a {
    text-decoration: none;
    color: var(--secondary, #a1a1aa);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
    min-height: 44px;
    min-width: 44px;
    padding: 0 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.site-navigation__link:hover,
.site-navigation__link:focus,
.nav-links a:hover,
.nav-links a:focus {
    color: var(--text, #f5f5f7);
}
.site-navigation__link[aria-current="page"],
.site-navigation__link.active,
.nav-links a[aria-current="page"],
.nav-links a.active {
    color: var(--text, #f5f5f7) !important;
    font-weight: 600;
    position: relative;
}
.site-navigation__link[aria-current="page"]::after,
.site-navigation__link.active::after,
.nav-links a[aria-current="page"]::after,
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--accent, #ff003c);
    border-radius: 1px;
}
.site-navigation__cta,
.nav-cta {
    min-height: 44px !important;
    min-width: 44px !important;
    box-sizing: border-box;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: var(--text, #f5f5f7) !important;
    color: #000000 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease, filter 0.18s ease, background-color 0.2s ease !important;
}
.nav-cta:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}
.nav-cta:active {
    transform: scale(0.98);
}

/* ── Animated Theme Switch ─────────────────────────────────── */
.theme-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.065);
    color: #f5f5f7;
    display: grid;
    place-items: center;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
}
.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
}
.theme-toggle:active {
    transform: scale(0.94);
}
.theme-toggle svg {
    position: absolute;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.theme-moon {
    opacity: 0;
    transform: rotate(-35deg) scale(0.65);
}
.theme-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* ── Mobile Menu Toggle ────────────────────────────────────── */
.site-navigation__toggle,
.menu, .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    box-sizing: border-box;
    border: 0;
    background: transparent;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}
.site-navigation__toggle span,
.menu span, .menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #fff;
    margin: 5px auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Responsive Navigation ─────────────────────────────────── */
@media (max-width: 900px) {
    .site-navigation__link:not(.nav-cta),
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    .site-navigation__toggle,
    .menu, .menu-toggle {
        display: block;
    }
    .site-navigation,
    .nav-links {
        gap: 12px;
    }
    .theme-toggle {
        order: 4;
    }
    .site-navigation__cta,
    .nav-cta {
        order: 5;
    }
    .site-header.nav-open,
    .site-header.open,
    .nav.open, header.nav-open {
        height: auto;
    }
    .site-header.nav-open .site-header__inner,
    .site-header.open .site-header__inner,
    .nav.open .nav-in, header.nav-open .nav-in {
        flex-wrap: wrap;
    }
    .site-header.nav-open .site-navigation,
    .site-header.open .site-navigation,
    .nav.open .nav-links, header.nav-open nav {
        display: flex !important;
        order: 3;
        width: 100%;
        padding: 14px 0 18px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    .site-header.nav-open .site-navigation__link,
    .site-header.open .site-navigation__link,
    .nav.open .nav-links a, header.nav-open nav a {
        display: flex !important;
    }
    .site-header.nav-open .site-navigation__cta,
    .site-header.open .site-navigation__cta,
    .nav.open .nav-cta {
        display: none !important;
    }
    .site-header.nav-open .site-navigation__toggle span:first-child,
    .site-header.open .site-navigation__toggle span:first-child,
    .nav.open .menu span:first-child, header.nav-open .menu-toggle span:first-child {
        transform: translateY(3.25px) rotate(45deg);
    }
    .site-header.nav-open .site-navigation__toggle span:last-child,
    .site-header.open .site-navigation__toggle span:last-child,
    .nav.open .menu span:last-child, header.nav-open .menu-toggle span:last-child {
        transform: translateY(-3.25px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .wrap {
        width: min(100% - 24px, var(--max, 1180px));
    }
    .nav, header {
        height: 56px;
    }
    .brand, .logo a {
        font-size: 15px;
        gap: 8px;
    }
    .brand-logo, .site-logo-img, .site-brand__logo {
        width: auto;
        height: 40px;
        max-width: 85px;
    }
    .theme-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        flex: 0 0 44px;
    }
    .nav-links {
        gap: 6px;
    }
    .nav-cta {
        padding: 0 10px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 380px) {
    .wrap {
        width: min(100% - 16px, var(--max, 1180px));
    }
    .brand, .logo a {
        font-size: 13px;
        gap: 6px;
        letter-spacing: -0.03em;
    }
    .brand-logo, .site-logo-img, .site-brand__logo {
        width: auto;
        height: 36px;
        max-width: 75px;
    }
    .nav-cta {
        padding: 0 8px !important;
        font-size: 11px !important;
    }
}

/* ── Modern Apple-Inspired Footer ──────────────────────────── */
.site-footer,
.footer {
    border-top: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    padding: 48px 0 32px;
    color: var(--secondary, #a1a1aa);
    background: transparent;
    transition: background-color 0.32s ease, border-color 0.32s ease, color 0.32s ease;
}
.site-footer__grid,
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 42px;
}
.site-footer b,
.footer b {
    color: var(--text, #f5f5f7);
    display: block;
    margin-bottom: 13px;
    font-size: 14px;
    font-weight: 600;
}
.site-footer a,
.footer a, .footer-links a, .footer-social a, .footer-powered a {
    text-decoration: none;
    font-size: 13px;
    margin: 4px 0;
    color: var(--secondary, #a1a1aa);
    min-height: 44px;
    min-width: 44px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}
.site-footer a:hover,
.footer a:hover, .footer-links a:hover, .footer-social a:hover, .footer-powered a:hover {
    color: var(--text, #ffffff);
}
.site-footer__bottom,
.footnote {
    border-top: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    margin-top: 36px;
    padding-top: 22px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted, #7a7a82);
}
.footer-powered {
    color: var(--secondary, #a0a0a8) !important;
}

@media (max-width: 900px) {
    .site-footer__grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 600px) {
    .site-footer__grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .site-footer__bottom,
    .footnote {
        display: block;
        line-height: 1.6;
    }
}

/* ── Light Mode Appearance Adaptations ─────────────────────── */
html {
    color-scheme: dark;
}
html[data-theme="light"] {
    color-scheme: light;
}

/* ── Scoped Subpage Theme Transitions (Batch 1) ────────────── */
.content-page,
.site-header,
.site-footer {
    transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

/* ============================================================
   TEMPORARY COMPATIBILITY SHIMS (PRE-EXISTING PR #44 SELECTORS)
   Preserved strictly for backward compatibility with 46 untouched pages
   pending full migration in Batches 2-5. Covered by regression tests.
   ============================================================ */
body, .nav, header, .footer {
    transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

html[data-theme="light"] body {
    background: #f5f5f7;
    color: #1d1d1f;
}
html[data-theme="light"] .site-header {
    background: rgba(250, 250, 252, 0.82);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
/* Legacy Header Compatibility Shim */
html[data-theme="light"] .nav,
html[data-theme="light"] header {
    background: rgba(250, 250, 252, 0.82);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
html[data-theme="light"] .site-brand,
html[data-theme="light"] .brand,
html[data-theme="light"] .logo a,
html[data-theme="light"] .site-navigation__link,
html[data-theme="light"] .nav-links a {
    color: #1d1d1f;
}
html[data-theme="light"] .site-navigation__link:not(.nav-cta),
html[data-theme="light"] .nav-links a:not(.nav-cta) {
    color: #515154;
}
html[data-theme="light"] .site-navigation__link:hover,
html[data-theme="light"] .nav-links a:hover {
    color: #000000;
}
html[data-theme="light"] .site-navigation__link[aria-current="page"],
html[data-theme="light"] .site-navigation__link.active,
html[data-theme="light"] .nav-links a[aria-current="page"],
html[data-theme="light"] .nav-links a.active {
    color: #000000 !important;
    font-weight: 600;
}
html[data-theme="light"] .site-navigation__cta,
html[data-theme="light"] .nav-cta {
    background: #1d1d1f !important;
    color: #ffffff !important;
}
html[data-theme="light"] .site-navigation__toggle span,
html[data-theme="light"] .menu span,
html[data-theme="light"] .menu-toggle span {
    background: #1d1d1f;
}
html[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.13);
    color: #1d1d1f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
html[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .theme-sun {
    opacity: 0;
    transform: rotate(35deg) scale(0.65);
}
html[data-theme="light"] .theme-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}
html[data-theme="light"] .site-brand__logo,
html[data-theme="light"] .brand-logo,
html[data-theme="light"] .site-logo-img {
    filter: drop-shadow(0 0 6px rgba(255, 0, 60, 0.35));
}
html[data-theme="light"] .site-footer,
html[data-theme="light"] .footer,
html[data-theme="light"] .site-footer__bottom,
html[data-theme="light"] .footnote {
    border-color: rgba(0, 0, 0, 0.12);
    color: #4b5563;
}
html[data-theme="light"] .site-footer b,
html[data-theme="light"] .footer b {
    color: #1d1d1f;
}
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .footer a,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-social a,
html[data-theme="light"] .footer-powered a {
    color: #4b5563;
}
html[data-theme="light"] .site-footer a:hover,
html[data-theme="light"] .footer a:hover,
html[data-theme="light"] .footer-links a:hover,
html[data-theme="light"] .footer-social a:hover,
html[data-theme="light"] .footer-powered a:hover {
    color: #000000;
}

/* -- Responsive Tables --------------------------------------- */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 2rem;
    background: var(--surface, #111);
    border-radius: 8px;
    border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
}

/* Gracefully collapse ad containers when unfilled */
.ad-container:empty {
    display: none !important;
}

/* -- Reduced Motion Foundation ------------------------------- */
@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;
    }
    .skip, .skip-link {
        transition: none !important;
    }
    .logo a, .brand-logo, .site-logo-img, .site-brand__logo {
        transition: none !important;
    }
    .theme-toggle svg {
        transition: none !important;
    }
    .menu span, .site-navigation__toggle span {
        transition: none !important;
    }
}

/* ============================================================
   SCOPED SUBPAGE SHELLS & CONTENT DESIGN SYSTEM
   Enforces strict token inheritance without global tag pollution
   ============================================================ */

.content-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg, #000000);
    color: var(--text, #f5f5f7);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

/* ── Document Shell (Legal & Policy Pages) ─────────────────── */
.document-shell {
    width: 100%;
    max-width: 860px;
    margin: 48px auto 96px;
    padding: 0 24px;
    box-sizing: border-box;
    line-height: 1.8;
}
.document-shell h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--text, #f5f5f7);
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.document-shell .updated-date,
.document-shell .meta-tag {
    color: var(--muted, #7a7a82);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.document-shell h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text, #f5f5f7);
    margin-top: 2.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
}
.document-shell h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text, #f5f5f7);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}
.document-shell p,
.document-shell li {
    color: var(--secondary, #a1a1aa);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.document-shell strong,
.document-shell b {
    color: var(--text, #f5f5f7);
    font-weight: 600;
}
.document-shell a {
    color: var(--red, #ff003c);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.document-shell a:hover,
.document-shell a:focus {
    color: #ff3366;
}
html[data-theme="light"] .document-shell a {
    color: var(--red3, #d90033);
}
html[data-theme="light"] .document-shell a:hover,
html[data-theme="light"] .document-shell a:focus {
    color: #b8002b;
}
.document-shell ul,
.document-shell ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.document-shell li {
    margin-bottom: 0.5rem;
}
.document-shell .callout-box,
.document-shell .note {
    background: var(--surface, #141416);
    border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    border-left: 3px solid var(--red, #ff003c);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    color: var(--secondary, #a1a1aa);
}
.document-shell .callout-box strong,
.document-shell .note strong {
    color: var(--text, #f5f5f7);
}

/* ── Author Profile Shell ─────────────────────────────────── */
.author-shell {
    width: 100%;
    max-width: 860px;
    margin: 48px auto 96px;
    padding: 0 24px;
    box-sizing: border-box;
    line-height: 1.8;
}
.author-shell .author-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.author-shell .author-header img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--red, #ff003c);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.2);
    flex-shrink: 0;
}
.author-shell .author-header h1 {
    margin: 0 0 6px;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 750;
    color: var(--text, #f5f5f7);
    letter-spacing: -0.02em;
}
.author-shell .author-header .role {
    color: var(--red, #ff003c);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.author-shell .bio-section {
    margin-bottom: 2.5rem;
}
.author-shell .bio-section h2 {
    font-size: 1.35rem;
    font-weight: 650;
    color: var(--text, #f5f5f7);
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.author-shell .bio-section p {
    color: var(--secondary, #a1a1aa);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.author-shell .note {
    background: var(--surface, #141416);
    border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    border-left: 3px solid var(--red, #ff003c);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    color: var(--secondary, #a1a1aa);
}
.author-shell .note strong {
    color: var(--text, #f5f5f7);
}
.author-shell .articles {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}
.author-shell .articles li {
    background: var(--surface, #141416);
    border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    padding: 1.15rem 1.35rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.author-shell .articles li:hover {
    border-color: var(--strong, rgba(255, 255, 255, 0.2));
    transform: translateY(-1px);
}
.author-shell .articles a {
    color: var(--text, #f5f5f7);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: block;
    transition: color 0.2s ease;
}
.author-shell .articles a:hover {
    color: var(--red, #ff003c);
}
@media (max-width: 640px) {
    .author-shell .author-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .author-shell .author-header img {
        width: 100px;
        height: 100px;
    }
}

/* ── Company Shell (About Us) ─────────────────────────────── */
.company-shell {
    width: 100%;
    max-width: 960px;
    margin: 48px auto 96px;
    padding: 0 24px;
    box-sizing: border-box;
    line-height: 1.8;
}
.company-shell .company-hero {
    margin-bottom: 3rem;
}
.company-shell h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--text, #f5f5f7);
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.company-shell .lead-text {
    font-size: 1.15rem;
    color: var(--secondary, #a1a1aa);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.company-shell h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text, #f5f5f7);
    margin-top: 2.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
}
.company-shell p,
.company-shell li {
    color: var(--secondary, #a1a1aa);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.company-shell strong,
.company-shell b {
    color: var(--text, #f5f5f7);
    font-weight: 600;
}
.company-shell a {
    color: var(--red, #ff003c);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.company-shell a:hover,
.company-shell a:focus {
    color: #ff3366;
}
html[data-theme="light"] .company-shell a {
    color: var(--red3, #d90033);
}
html[data-theme="light"] .company-shell a:hover,
html[data-theme="light"] .company-shell a:focus {
    color: #b8002b;
}
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.content-card {
    background: var(--surface, #141416);
    border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.content-card:hover {
    border-color: var(--strong, rgba(255, 255, 255, 0.2));
}
.content-card h2,
.content-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--text, #f5f5f7);
    font-size: 1.15rem;
    font-weight: 650;
}
.content-card p {
    color: var(--secondary, #a1a1aa);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.vv-cookie-pref-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline;
}
.vv-cookie-pref-btn:hover {
    color: var(--text-primary, #ffffff);
}
