/* ==========================================================================
   KODA GRID PRODUCTION — LEGAL DOCUMENTATION STYLES
   Aesthetic: 100% Matches Landing Page Blueprint Grid & Frosted Glass
   ========================================================================== */

/* Hide raw voxel canvas so the blueprint background shines through cleanly */
#grid-canvas {
    display: none !important;
}

body {
    background-color: #ffffff !important;
    background-image:
        radial-gradient(ellipse 75% 60% at 64% 42%, rgba(56, 189, 248, 0.32) 0%, rgba(14, 165, 233, 0.16) 32%, rgba(224, 242, 254, 0.40) 56%, transparent 75%),
        radial-gradient(ellipse 85% 70% at 60% 40%, #cbeafd 0%, #e0f2fe 36%, #f0f9ff 62%, #ffffff 86%),
        linear-gradient(rgba(14, 165, 233, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.13) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 38px 38px, 38px 38px !important;
    background-attachment: fixed, fixed, fixed, fixed !important;
    background-repeat: no-repeat, no-repeat, repeat, repeat !important;
    min-height: 100vh !important;
}

/* ── HERO HEADER ── */
.legal-hero-section {
    position: relative;
    z-index: 1;
    padding: 130px 24px 40px;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

/* Let the blueprint gradient color transitions shine through clearly */
.legal-hero-section::before {
    display: none !important;
}

.legal-hero-text,
.legal-badge-strip,
.legal-main-title,
.legal-subtitle,
.legal-switcher,
.legal-meta-row {
    position: relative;
    z-index: 1;
}

.legal-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-badge-strip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4b5563;
    margin-bottom: 20px;
}

.legal-badge-strip i {
    color: var(--accent-cyan);
}

.legal-main-title {
    font-family: var(--font-head);
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 16px;
}

.legal-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.legal-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 32px;
}

.legal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legal-meta-item i {
    font-size: 12px;
    color: var(--accent-indigo);
}

/* ── NAV SWITCHER TABS WITH SLIDING INDICATOR (Pixel-Perfect Symmetric Segmented Control) ── */
.legal-switcher {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    padding: 4px;
    background: rgba(241, 245, 249, 0.94);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
    margin-bottom: 14px;
    user-select: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(14, 165, 233, 0.05);
    isolation: isolate;
    width: 360px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}

.legal-switcher-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    pointer-events: none;
    z-index: 1;
    transform: translateX(0);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-switcher[data-active="privacy-policy"] .legal-switcher-slider {
    transform: translateX(100%);
}

.legal-switch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.25s ease;
    text-decoration: none;
    position: relative;
    z-index: 2;
    background: transparent;
    white-space: nowrap;
    text-align: center;
}

.legal-switch-btn:hover {
    color: #0f172a;
}

.legal-switch-btn.active {
    color: #0f172a;
    background: transparent;
    box-shadow: none;
}

/* Fallback when JS is disabled or before script boots */
.no-js .legal-switch-btn.active,
.legal-switcher:not(:has(.legal-switcher-slider)) .legal-switch-btn.active {
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ── SWIPE TRANSITION WRAPPERS ── */
.legal-swipe-wrap {
    will-change: transform, opacity, filter;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s ease,
                filter 0.28s ease;
}

.legal-swipe-wrap.swipe-out-left {
    transform: translateX(-40px);
    opacity: 0;
    filter: blur(4px);
    pointer-events: none;
}

.legal-swipe-wrap.swipe-out-right {
    transform: translateX(40px);
    opacity: 0;
    filter: blur(4px);
    pointer-events: none;
}

.legal-swipe-wrap.swipe-prep-left {
    transform: translateX(-40px) !important;
    opacity: 0 !important;
    filter: blur(4px) !important;
    transition: none !important;
}

.legal-swipe-wrap.swipe-prep-right {
    transform: translateX(40px) !important;
    opacity: 0 !important;
    filter: blur(4px) !important;
    transition: none !important;
}

.legal-swipe-wrap.swipe-in {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
}

/* ── MAIN LAYOUT GRID ── */
.legal-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* ── STICKY SIDEBAR (TOC) ── */
.legal-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.08);
}

.sidebar-title {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    padding-right: 6px;
}

.legal-toc-list::-webkit-scrollbar {
    width: 4px;
}
.legal-toc-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    line-height: 1.35;
}

.toc-link:hover {
    background: #f8fafc;
    color: var(--black);
    transform: translateX(3px);
}

.toc-link.active {
    background: #090a0f;
    color: #ffffff;
    font-weight: 600;
}

.toc-num {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    opacity: 0.6;
}

.sidebar-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    background: #f9fafb;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-action-btn:hover {
    background: #f3f4f6;
    color: var(--black);
    border-color: rgba(0, 0, 0, 0.15);
}

/* ── ARTICLE CONTENT ── */
.legal-article {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 56px);
    box-shadow: 0 20px 45px -15px rgba(14, 165, 233, 0.08);
}

.sec-block {
    margin-bottom: 48px;
    scroll-margin-top: 110px;
    position: relative;
}

.sec-block:last-child {
    margin-bottom: 0;
}

.sec-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0f172a;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.sec-title {
    font-family: var(--font-head);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
    line-height: 1.25;
}

.sec-body {
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.8;
    color: #374151;
}

.sec-body p {
    margin-bottom: 16px;
}

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

.sec-body strong {
    color: var(--black);
    font-weight: 600;
}

/* ── CALLOUT / HIGHLIGHT BOX ── */
.legal-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.65;
    color: #1e293b;
}

.legal-callout i {
    font-size: 18px;
    color: var(--accent-cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-callout strong {
    color: #0f172a;
}

.legal-callout.warning {
    border-color: rgba(249, 115, 22, 0.25);
    border-left-color: var(--accent-amber);
    background: #fffbf7;
}

.legal-callout.warning i {
    color: var(--accent-amber);
}

/* ── STYLED LISTS ── */
.legal-list {
    list-style: none;
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
}

.legal-list-item i {
    color: var(--accent-indigo);
    font-size: 13px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* ── LEGAL DATA TABLE ── */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.legal-table th {
    background: #f9fafb;
    padding: 12px 18px;
    font-weight: 700;
    font-family: var(--font-head);
    color: var(--black);
    border-bottom: 1px solid var(--border-subtle);
}

.legal-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    color: #4b5563;
    line-height: 1.6;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

/* ── CONTACT BOX ── */
.legal-contact-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 28px;
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contact-card-info h4 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
}

.contact-card-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.contact-pill:hover {
    border-color: var(--black);
    transform: translateY(-2px);
}

/* ── FOOTER LEGAL EXTENSION ── */
.footer-copy-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal-sep {
    opacity: 0.5;
}

.footer-legal-link {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: var(--black);
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 960px) {
    .legal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .legal-sidebar {
        position: sticky;
        top: 76px;
        z-index: 5;
        max-height: calc(100vh - 92px);
        overflow-y: auto;
    }

    .legal-toc-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        max-height: none;
    }
}

@media (max-width: 640px) {
    .legal-hero-section {
        padding-top: 110px;
    }

    .legal-article {
        padding: 24px 20px;
    }

    .legal-toc-list {
        grid-template-columns: 1fr;
    }

    .legal-switcher {
        width: 100%;
        display: flex;
    }

    .legal-switch-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .legal-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── SITE FOOTER (Legal & Documentation Pages) ── */
.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(14, 165, 233, 0.16);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px clamp(20px, 5vw, 80px) 40px;
    margin-top: 80px;
}
.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}
.footer-brand {
    max-width: 380px;
}
.footer-brand .brand {
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 10px;
}
.footer-nav-groups {
    display: flex;
    gap: clamp(30px, 6vw, 80px);
    flex-wrap: wrap;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.footer-link-item {
    font-size: 0.86rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link-item:hover {
    color: #0284c7;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(14, 165, 233, 0.14);
    font-size: 0.76rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}
.footer-bottom b {
    color: var(--black);
}
.footer-copy-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
.footer-legal-sep {
    opacity: 0.5;
}
.footer-legal-link {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.footer-legal-link:hover {
    color: #0284c7;
}
.footer-social-strip {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-social-strip a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}
.footer-social-strip a:hover {
    color: #0284c7;
    transform: translateY(-2px);
}

/* ── PRINT VIEW ── */
@media print {
    #grid-canvas, .topbar, .legal-sidebar, .legal-switcher, .site-footer {
        display: none !important;
    }
    .legal-hero-section {
        padding: 0 0 20px;
    }
    .legal-container {
        display: block;
        padding: 0;
    }
    .legal-article {
        box-shadow: none;
        border: none;
        padding: 0;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* ══════════════════════════════════════════════════════════════════
   LEGAL PAGES — DARK THEME STYLING
   ══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] body {
    background-color: #070b14 !important;
    background-image:
        radial-gradient(ellipse 75% 60% at 64% 42%, rgba(14, 165, 233, 0.16) 0%, rgba(2, 132, 199, 0.08) 32%, rgba(7, 11, 20, 0.8) 56%, transparent 75%),
        radial-gradient(ellipse 85% 70% at 60% 40%, #0c1527 0%, #090e1a 36%, #070b14 62%, #05070e 86%),
        linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .legal-main-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .legal-subtitle {
    color: #94a3b8 !important;
}

[data-theme="dark"] .legal-badge-strip {
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .legal-meta-item {
    color: #94a3b8 !important;
}

[data-theme="dark"] .legal-meta-item i {
    color: #38bdf8 !important;
}

[data-theme="dark"] .legal-switcher {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .legal-switcher-slider {
    background: #0284c7 !important;
}

[data-theme="dark"] .legal-switch-btn {
    color: #94a3b8 !important;
}

[data-theme="dark"] .legal-switch-btn:hover {
    color: #f8fafc !important;
}

[data-theme="dark"] .legal-switch-btn.active {
    color: #ffffff !important;
}

[data-theme="dark"] .legal-sidebar {
    background: rgba(11, 18, 33, 0.92) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .sidebar-title {
    color: #64748b !important;
}

[data-theme="dark"] .toc-link {
    color: #94a3b8 !important;
}

[data-theme="dark"] .toc-link:hover {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .toc-link.active {
    background: #0284c7 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .legal-card,
[data-theme="dark"] .legal-article {
    background: rgba(11, 18, 33, 0.92) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .legal-section-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .legal-paragraph,
[data-theme="dark"] .legal-bullet-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .legal-highlight-box {
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .legal-toc-list::-webkit-scrollbar-thumb {
    background: #334155 !important;
}

[data-theme="dark"] .legal-callout {
    background: rgba(14, 165, 233, 0.08) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
    border-left-color: #38bdf8 !important;
    color: #e2e8f0 !important;
}
[data-theme="dark"] .legal-callout.warning {
    background: rgba(245, 158, 11, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    border-left-color: #f59e0b !important;
    color: #fde68a !important;
}

/* -- Dark Theme Additions: Sidebar Actions, Contact Cards & Footer -- */
[data-theme="dark"] .sidebar-actions {
    border-top-color: rgba(14, 165, 233, 0.18) !important;
}

[data-theme="dark"] .sidebar-action-btn {
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
    color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .sidebar-action-btn:hover {
    background: rgba(14, 165, 233, 0.18) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .sidebar-action-btn i {
    color: #5865F2 !important;
}

[data-theme="dark"] .legal-contact-card {
    background: rgba(15, 23, 42, 0.88) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .contact-card-info h4 {
    color: #f8fafc !important;
}

[data-theme="dark"] .contact-card-info p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .contact-pill {
    background: rgba(11, 18, 33, 0.95) !important;
    border-color: rgba(14, 165, 233, 0.25) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .contact-pill:hover {
    background: rgba(14, 165, 233, 0.18) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    transform: translateY(-2px);
}

[data-theme="dark"] .contact-pill i.fa-discord {
    color: #5865F2 !important;
}

[data-theme="dark"] .contact-pill i.fa-github {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .sec-badge {
    background: rgba(14, 165, 233, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14, 165, 233, 0.25) !important;
}

[data-theme="dark"] .sec-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .sec-body {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .sec-body strong {
    color: #f8fafc !important;
}

[data-theme="dark"] .legal-list-item {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .legal-table-wrapper {
    border-color: rgba(14, 165, 233, 0.22) !important;
}

[data-theme="dark"] .legal-table th {
    background: rgba(15, 23, 42, 0.95) !important;
    color: #f8fafc !important;
    border-bottom-color: rgba(14, 165, 233, 0.22) !important;
}

[data-theme="dark"] .legal-table td {
    color: #cbd5e1 !important;
    border-bottom-color: rgba(14, 165, 233, 0.15) !important;
}

[data-theme="dark"] .site-footer {
    background: rgba(7, 11, 20, 0.95) !important;
    border-top-color: rgba(14, 165, 233, 0.16) !important;
}

[data-theme="dark"] .footer-top {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .footer-tagline {
    color: #64748b !important;
}

[data-theme="dark"] .footer-col-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .footer-link-item {
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-link-item:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(14, 165, 233, 0.18) !important;
    color: #64748b !important;
}

[data-theme="dark"] .footer-bottom b {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .footer-legal-link {
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-legal-link:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .footer-social-strip a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-social-strip a:hover {
    color: #38bdf8 !important;
}
