/*!
 * Rankrix Theme — Chrome stylesheet
 * Lifted verbatim from production WPCode snippets (E1) and retinted to nebula-blue (D-custom).
 * Header pill, mega-menu, footer pill, footer panels, mobile drawer.
 * Tokens prefixed --rkx-* (header) and --rkxf-* (footer); they hold identical accent values
 * but stay namespaced per the E1 verbatim mandate.
 */

/* ============================================================================
 * HEADER
 * ============================================================================ */
/* Exclusion removed — this theme owns the chrome (no foreign header to hide). */
/* ============================================================
   TOKENS  (base = xs/sm: <640px → 100%/100%)
   ============================================================ */
:root {
    --rkx-w-def: 100%;
    --rkx-w-exp: 100%;
    --rkx-h:     50px;
    --rkx-top:   10px;
    --rkx-radius: 1px;

    --rkx-bg:         rgba(0,0,0,0.58);
    --rkx-bg-menu:    rgba(0,0,0,0.52);
    --rkx-surface:    rgba(255,255,255,0.04);
    --rkx-border:     rgba(255,255,255,0.10);
    --rkx-text:       #ffffff;
    --rkx-muted:      rgba(255,255,255,0.45);
    --rkx-dim:        rgba(255,255,255,0.26);
    --rkx-ghost-b:    rgba(255,255,255,0.14);
    --rkx-ghost-bg:   rgba(255,255,255,0.06);

    --rkx-accent:     #1D24CA;
    --rkx-accent-h:   #2D35E0;
    --rkx-accent-glow:rgba(29, 36, 202,0.45);
    --rkx-accent-b:   rgba(29, 36, 202,0.55);
    --rkx-accent-tx:  #818CF8;

    --rkx-shadow-hdr: 0 6px 40px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.07) inset;
    --rkx-shadow-mnu: 0 20px 60px rgba(0,0,0,0.65), 0 1px 0 rgba(255,255,255,0.05) inset;

    --rkx-font:       'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    --rkx-ease:       cubic-bezier(0.4,0,0.2,1);
    --rkx-fast:       160ms;
}

/* Scoped reset */
.rkx-header-wrap,
.rkx-header-wrap *,
.rkx-header-wrap *::before,
.rkx-header-wrap *::after,
.rkx-menu-panel,
.rkx-menu-panel *,
.rkx-menu-panel *::before,
.rkx-menu-panel *::after,
.rkx-overlay {
    box-sizing: border-box;
}

/* OVERLAY */
.rkx-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    cursor: pointer;
    background: transparent;
}
.rkx-overlay.is-visible { pointer-events: auto; }

/* HEADER WRAP */
.rkx-header-wrap {
    position: fixed;
    top: var(--rkx-top);
    left: 50%;
    transform: translateX(-50%);
    width: var(--rkx-w-def);
    z-index: 1000;
    display: flex;
    justify-content: center;
    will-change: width;
    font-family: var(--rkx-font);
}

/* HEADER BAR */
.rkx-header {
    width: 100%;
    height: var(--rkx-h);
    background: var(--rkx-bg);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid var(--rkx-border);
    border-radius: var(--rkx-radius);
    box-shadow: var(--rkx-shadow-hdr);
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
    transition: border-bottom-left-radius var(--rkx-fast) var(--rkx-ease),
                border-bottom-right-radius var(--rkx-fast) var(--rkx-ease);
}
.rkx-header.is-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: rgba(255,255,255,0.04);
}

/* 3-COLUMN LAYOUT */
.rkx-col { display: flex; align-items: center; flex-shrink: 0; }
.rkx-col--left   { flex: 1 1 0; justify-content: flex-start; }
.rkx-col--center { flex: 0 0 auto; padding: 0 12px; min-width: 80px; justify-content: center; }
.rkx-col--right  { flex: 1 1 0; justify-content: flex-end; gap: 8px; }

/* LOGO */
.rkx-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    outline-offset: 6px;
    transition: opacity var(--rkx-fast) var(--rkx-ease);
}
.rkx-logo-link:hover { opacity: 0.78; }
.rkx-logo-svg { height: 34px; width: auto; display: block; }

/* HAMBURGER BUTTON */
.rkx-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 10px 8px 2px;
    color: var(--rkx-text);
    font-family: var(--rkx-font);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
    transition: background var(--rkx-fast) var(--rkx-ease);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline-offset: 4px;
}
.rkx-menu-btn:hover         { background: var(--rkx-ghost-bg); }
.rkx-menu-btn:focus-visible { outline: 2px solid var(--rkx-accent); }

.rkx-icon {
    width: 22px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rkx-icon__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 380ms cubic-bezier(0.4,0,0.2,1),
                opacity   180ms cubic-bezier(0.4,0,0.2,1),
                width     380ms cubic-bezier(0.4,0,0.2,1);
    transform-origin: center center;
}
.rkx-menu-btn[aria-expanded="true"] .rkx-icon__bar--top { transform: translateY(7px) rotate(45deg); }
.rkx-menu-btn[aria-expanded="true"] .rkx-icon__bar--mid { opacity: 0; width: 0; }
.rkx-menu-btn[aria-expanded="true"] .rkx-icon__bar--bot { transform: translateY(-7px) rotate(-45deg); }

.rkx-menu-label {
    position: relative;
    height: 1em;
    overflow: hidden;
}
.rkx-menu-label__on,
.rkx-menu-label__off {
    display: block;
    line-height: 1;
    white-space: nowrap;
    transition: transform 300ms var(--rkx-ease);
}
.rkx-menu-label__off {
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--rkx-muted);
}
.rkx-menu-btn[aria-expanded="true"] .rkx-menu-label__on  { transform: translateY(-100%); }
.rkx-menu-btn[aria-expanded="true"] .rkx-menu-label__off { transform: translateY(-100%); }

/* ============================================================
   AUTH BUTTONS — with shimmer on primary
   ============================================================ */
.rkx-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--rkx-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0 16px;
    height: 34px;
    border-radius: 1px;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: background   var(--rkx-fast) var(--rkx-ease),
                border-color var(--rkx-fast) var(--rkx-ease),
                box-shadow   var(--rkx-fast) var(--rkx-ease),
                color        var(--rkx-fast) var(--rkx-ease);
    outline-offset: 3px;
}
.rkx-btn:focus-visible { outline: 2px solid var(--rkx-accent); }
.rkx-btn--ghost {
    color: var(--rkx-text);
    background: transparent;
    border: 1px solid var(--rkx-ghost-b);
}
.rkx-btn--ghost:hover {
    background: var(--rkx-ghost-bg);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
}
.rkx-btn--primary {
    color: #fff !important;
    background: var(--rkx-accent);
    border: 1px solid var(--rkx-accent-b);
    font-weight: 600;
}
.rkx-btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%,
        transparent 35%,
        rgba(255,255,255,0.28) 50%,
        transparent 65%,
        transparent 100%);
    transition: left 700ms var(--rkx-ease);
    pointer-events: none;
}
.rkx-btn--primary:hover {
    background: var(--rkx-accent-h);
    box-shadow: 0 0 22px var(--rkx-accent-glow);
    color: #fff !important;
}
.rkx-btn--primary:hover::before { left: 100%; }

/* MENU PANEL */
.rkx-menu-panel {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--rkx-w-exp);
    z-index: 999;
    background: var(--rkx-bg-menu);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid var(--rkx-border);
    border-top: none;
    border-radius: 0 0 1px 1px;
    box-shadow: var(--rkx-shadow-mnu);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    will-change: opacity, transform;
    background-image: radial-gradient(ellipse at 85% 110%, rgba(29, 36, 202,0.09) 0%, transparent 55%);
    font-family: var(--rkx-font);
}
.rkx-menu-panel.is-open { visibility: visible; pointer-events: auto; }

/* MENU GRID */
.rkx-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 36px;
    gap: 0;
}
.rkx-menu-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.rkx-menu-col:not(:last-child) {
    border-right: 1px solid var(--rkx-border);
    padding-right: 36px;
    margin-right: 36px;
}
.rkx-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rkx-dim);
    display: block;
}

/* ============================================================
   NAV LIST + LINKS — with hover animation
   ============================================================ */
.rkx-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.rkx-nav-item { border-bottom: 1px solid var(--rkx-border); }
.rkx-nav-item:last-child { border-bottom: none; }

.rkx-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 18px 13px 0;
    color: var(--rkx-muted);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.1;
    transition: color 220ms var(--rkx-ease),
                padding-left var(--rkx-fast) var(--rkx-ease);
    outline-offset: 4px;
}
.rkx-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--rkx-accent-tx);
    box-shadow: 0 0 8px var(--rkx-accent-glow);
    transition: width 320ms var(--rkx-ease);
    pointer-events: none;
}
.rkx-nav-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(8px, -50%);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    color: var(--rkx-accent-tx);
    font-size: 14px;
    opacity: 0;
    transition: opacity 200ms var(--rkx-ease),
                transform 280ms var(--rkx-ease);
    pointer-events: none;
}
.rkx-nav-link:hover {
    color: #ffffff;
    padding-left: 8px;
}
.rkx-nav-link:hover::before { width: 32px; }
.rkx-nav-link:hover::after  { opacity: 1; transform: translate(0, -50%); }
.rkx-nav-link:focus-visible { outline: 2px solid var(--rkx-accent); }

/* ============================================================
   FEATURED CARD
   ============================================================ */
.rkx-menu-col--feat { gap: 0; }

.rkx-feat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--rkx-border);
    border-radius: 1px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color     450ms cubic-bezier(0.4,0,0.2,1),
                background-color 450ms cubic-bezier(0.4,0,0.2,1),
                box-shadow       500ms cubic-bezier(0.4,0,0.2,1);
}
.rkx-feat-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(29, 36, 202,0.28) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.75;
    transform-origin: top right;
    transition: opacity   600ms cubic-bezier(0.4,0,0.2,1),
                transform 700ms cubic-bezier(0.4,0,0.2,1);
}
.rkx-feat-card:hover {
    border-color: rgba(29, 36, 202,0.45);
    background: rgba(255,255,255,0.055);
    box-shadow:
        0 0 0 1px rgba(29, 36, 202,0.18),
        0 18px 50px -18px rgba(29, 36, 202,0.45);
}
.rkx-feat-card:hover::before { opacity: 1; transform: scale(1.35); }

.rkx-feat-meta { display: flex; align-items: center; gap: 8px; }
.rkx-feat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rkx-dim);
    transition: color 400ms cubic-bezier(0.4,0,0.2,1);
}
.rkx-feat-card:hover .rkx-feat-label { color: rgba(255,255,255,0.5); }

.rkx-feat-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--rkx-text);
    margin: 0;
}

/* CHART BARS */
.rkx-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    flex-shrink: 0;
    margin-top: 2px;
}
.rkx-chart-bar {
    flex: 1;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 1px 1px 0 0;
    transition: height     900ms cubic-bezier(0.22,1,0.36,1),
                box-shadow 500ms cubic-bezier(0.4,0,0.2,1),
                background 500ms cubic-bezier(0.4,0,0.2,1);
    transition-delay: var(--d, 0ms);
}
.rkx-chart-bar--active {
    background: var(--rkx-accent);
    box-shadow: 0 0 12px var(--rkx-accent-glow);
}
.rkx-feat-card:hover .rkx-chart-bar--active {
    background: var(--rkx-accent-h);
    box-shadow: 0 0 22px rgba(29, 36, 202,0.8);
}

/* AXIS */
.rkx-fc-axis {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-top: -6px;
}
.rkx-fc-axis-label {
    text-align: center;
    font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
    font-size: 9px;
    font-weight: 500;
    color: var(--rkx-dim);
    letter-spacing: 0.04em;
    transition: color 400ms cubic-bezier(0.4,0,0.2,1);
}
.rkx-feat-card:hover .rkx-fc-axis-label { color: var(--rkx-muted); }

/* METRICS ROW */
.rkx-fc-metrics {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px 4px 4px;
    border-top: 1px solid var(--rkx-border);
    transition: border-color 400ms cubic-bezier(0.4,0,0.2,1);
}
.rkx-feat-card:hover .rkx-fc-metrics { border-top-color: rgba(255,255,255,0.18); }
.rkx-fc-metric-divider {
    width: 1px;
    height: 28px;
    background: var(--rkx-border);
    transition: background 400ms cubic-bezier(0.4,0,0.2,1);
}
.rkx-feat-card:hover .rkx-fc-metric-divider { background: rgba(255,255,255,0.18); }
.rkx-fc-metric-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--rkx-text);
    letter-spacing: -0.02em;
    font-feature-settings: 'tnum';
    line-height: 1;
}
.rkx-fc-metric-num--accent { color: #818CF8; }
.rkx-fc-metric-lbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rkx-dim);
    margin-top: 4px;
}

/* ============================================================
   FEAT CTA — with shimmer
   ============================================================ */
.rkx-feat-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rkx-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 1px;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    border: 1px solid var(--rkx-accent-b);
    transition: background var(--rkx-fast) var(--rkx-ease),
                box-shadow var(--rkx-fast) var(--rkx-ease),
                gap        var(--rkx-fast) var(--rkx-ease),
                color      var(--rkx-fast) var(--rkx-ease);
    outline-offset: 3px;
}
.rkx-feat-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%,
        transparent 35%,
        rgba(255,255,255,0.28) 50%,
        transparent 65%,
        transparent 100%);
    transition: left 700ms var(--rkx-ease);
    pointer-events: none;
}
.rkx-feat-cta:hover {
    background: var(--rkx-accent-h);
    box-shadow: 0 0 22px var(--rkx-accent-glow);
    gap: 12px;
    color: #fff !important;
}
.rkx-feat-cta:hover::before { left: 100%; }
.rkx-feat-cta svg { transition: transform var(--rkx-fast) var(--rkx-ease); position: relative; z-index: 1; }
.rkx-feat-cta:hover svg { transform: translateX(2px); }
.rkx-feat-cta > span,
.rkx-feat-cta > * { position: relative; z-index: 1; }

/* SOCIAL ICONS */
.rkx-social { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.rkx-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 1px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rkx-border);
    color: var(--rkx-muted);
    text-decoration: none;
    transition: background var(--rkx-fast) var(--rkx-ease),
                color      var(--rkx-fast) var(--rkx-ease),
                transform  var(--rkx-fast) var(--rkx-ease);
    outline-offset: 3px;
}
.rkx-social-btn:hover {
    background: var(--rkx-ghost-bg);
    color: var(--rkx-text);
    transform: translateY(-2px);
}

/* BADGES */
.rkx-badge {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: 1px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    line-height: 1;
    flex-shrink: 0;
}
.rkx-badge--blue {
    background: rgba(29, 36, 202,0.18);
    color: #818CF8;
    border-color: rgba(29, 36, 202,0.4);
}

/* ACCORDION (DESKTOP) */
.rkx-accordion-item { display: flex; flex-direction: column; }
.rkx-accordion-trigger {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rkx-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2px 0;
    transition: color var(--rkx-fast) var(--rkx-ease);
    outline-offset: 4px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.rkx-accordion-trigger:focus-visible { outline: 2px solid var(--rkx-accent); }
.rkx-accordion-trigger:hover                       { color: var(--rkx-muted); }
.rkx-accordion-item.is-open .rkx-accordion-trigger { color: var(--rkx-muted); }
.rkx-accordion-chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    flex-shrink: 0;
    transition: transform 0.34s cubic-bezier(0.4,0,0.2,1);
}
.rkx-accordion-item.is-open .rkx-accordion-chevron {
    transform: rotate(-135deg) translateY(-1px);
}
.rkx-accordion-body  { display: block; }
.rkx-accordion-inner { overflow: hidden; min-height: 0; }
.rkx-accordion-trigger-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.rkx-acc-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--rkx-dim);
    transition: color var(--rkx-fast) var(--rkx-ease),
                transform 0.3s var(--rkx-ease);
}
.rkx-accordion-trigger:hover .rkx-acc-icon,
.rkx-accordion-item.is-open  .rkx-acc-icon   { color: var(--rkx-text); }
.rkx-accordion-item.is-open  .rkx-acc-icon   { transform: scale(1.1); }

/* ============================================================
   RESPONSIVE — width-parity tokens, matched to footer
   ============================================================ */

/* xs & sm: <640px → 100% / 100% (no expand) */
@media (max-width: 639px) {
    .rkx-logo-svg { height: 24px; }
    .rkx-col--center { padding: 0 8px; min-width: 0; }
    .rkx-menu-label  { display: none; }
    .rkx-menu-btn    { padding: 8px 4px; gap: 0; }
    .rkx-btn         { padding: 0 12px; height: 32px; font-size: 12px; }
    .rkx-btn--ghost  { display: none; }
    .rkx-menu-inner  { grid-template-columns: 1fr; padding: 24px 20px; }
    .rkx-menu-col:not(:last-child) {
        border-right: none !important;
        border-bottom: 1px solid var(--rkx-border);
        padding-right: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 22px;
    }
    .rkx-nav-link   { font-size: 16px; }
    .rkx-acc-icon   { width: 15px; height: 15px; }
    .rkx-social-btn { width: 34px; height: 34px; }
}

/* md: 640–767 → 88% / 96% */
@media (min-width: 640px) and (max-width: 767px) {
    :root {
        --rkx-w-def: 88%;
        --rkx-w-exp: 96%;
        --rkx-h: 54px;
        --rkx-top: 14px;
    }
    .rkx-logo-svg   { height: 28px; }
    .rkx-menu-label { display: none; }
    .rkx-btn--ghost { display: none; }
    .rkx-menu-inner { grid-template-columns: 1fr 1fr; padding: 30px; }
    .rkx-menu-col--feat { display: none; }
    .rkx-menu-col:nth-child(2) {
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .rkx-nav-link { font-size: 15px; }
    .rkx-acc-icon { width: 16px; height: 16px; }
}

/* lg: 768–1023 → 80% / 92% */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --rkx-w-def: 80%;
        --rkx-w-exp: 92%;
        --rkx-h: 56px;
        --rkx-top: 16px;
    }
    .rkx-logo-svg   { height: 32px; }
    .rkx-menu-label { display: none; }
    .rkx-menu-inner { grid-template-columns: 1fr 1fr; }
    .rkx-menu-col--feat { display: none; }
    .rkx-menu-col:nth-child(2) {
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .rkx-nav-link { font-size: 15px; }
    .rkx-acc-icon { width: 16px; height: 16px; }
}

/* xl: 1024–1279 → 70% / 88% */
@media (min-width: 1024px) and (max-width: 1279px) {
    :root {
        --rkx-w-def: 70%;
        --rkx-w-exp: 88%;
        --rkx-h: 58px;
        --rkx-top: 20px;
    }
    .rkx-logo-svg    { height: 36px; }
    .rkx-feat-card   { padding: 18px; gap: 12px; }
    .rkx-feat-title  { font-size: 17px; }
    .rkx-chart-bars  { height: 54px; }
    .rkx-fc-metric-num { font-size: 16px; }
    .rkx-feat-cta    { font-size: 12px; padding: 9px 14px; }
}

/* 2xl: 1280–1535 → 65% / 85% (BASELINE) */
@media (min-width: 1280px) and (max-width: 1535px) {
    :root {
        --rkx-w-def: 65%;
        --rkx-w-exp: 85%;
        --rkx-h: 58px;
        --rkx-top: 20px;
    }
    .rkx-logo-svg { height: 38px; }
}

/* 3xl: 1536–1919 → 62% / 82% */
@media (min-width: 1536px) and (max-width: 1919px) {
    :root {
        --rkx-w-def: 62%;
        --rkx-w-exp: 82%;
        --rkx-h: 60px;
        --rkx-top: 22px;
    }
    .rkx-logo-svg { height: 40px; }
}

/* 4xl: 1920–2559 → 58% / 78% */
@media (min-width: 1920px) and (max-width: 2559px) {
    :root {
        --rkx-w-def: 58%;
        --rkx-w-exp: 78%;
        --rkx-h: 64px;
        --rkx-top: 24px;
    }
    .rkx-logo-svg { height: 44px; }
    .rkx-btn      { height: 38px; font-size: 14px; padding: 0 18px; }
    .rkx-nav-link { font-size: 18px; }
}

/* 5xl: 2560–3839 → 55% / 75% */
@media (min-width: 2560px) and (max-width: 3839px) {
    :root {
        --rkx-w-def: 55%;
        --rkx-w-exp: 75%;
        --rkx-h: 76px;
        --rkx-top: 32px;
    }
    .rkx-logo-svg { height: 54px; }
    .rkx-btn      { height: 46px; font-size: 16px; padding: 0 24px; }
    .rkx-nav-link { font-size: 22px; }
    .rkx-accordion-trigger { font-size: 13px; }
    .rkx-acc-icon { width: 24px; height: 24px; }
    .rkx-social-btn { width: 44px; height: 44px; }
    .rkx-social-btn svg { width: 20px; height: 20px; }
    .rkx-menu-inner { padding: 42px; }
    .rkx-feat-title { font-size: 22px; }
    .rkx-menu-btn   { font-size: 16px; }
    .rkx-feat-card     { padding: 28px; gap: 18px; }
    .rkx-chart-bars    { height: 80px; }
    .rkx-fc-axis-label { font-size: 11px; }
    .rkx-fc-metric-num { font-size: 22px; }
    .rkx-fc-metric-lbl { font-size: 11px; }
    .rkx-feat-cta      { font-size: 15px; padding: 12px 20px; }
}

/* 6xl (4K): ≥3840 → 52% / 72% */
@media (min-width: 3840px) {
    :root {
        --rkx-w-def: 52%;
        --rkx-w-exp: 72%;
        --rkx-h: 92px;
        --rkx-top: 40px;
    }
    .rkx-logo-svg { height: 68px; }
    .rkx-btn      { height: 56px; font-size: 19px; padding: 0 30px; }
    .rkx-nav-link { font-size: 28px; }
    .rkx-accordion-trigger { font-size: 15px; }
    .rkx-acc-icon { width: 30px; height: 30px; }
    .rkx-social-btn { width: 54px; height: 54px; }
    .rkx-social-btn svg { width: 24px; height: 24px; }
    .rkx-menu-inner { padding: 56px; gap: 0; }
    .rkx-menu-col:not(:last-child) { padding-right: 48px; margin-right: 48px; }
    .rkx-feat-title { font-size: 26px; }
    .rkx-feat-card  { padding: 36px; gap: 22px; }
    .rkx-chart-bars    { height: 100px; }
    .rkx-fc-axis-label { font-size: 14px; }
    .rkx-fc-metric-num { font-size: 30px; }
    .rkx-fc-metric-lbl { font-size: 14px; }
    .rkx-feat-cta      { font-size: 18px; padding: 15px 26px; }
    .rkx-menu-btn   { font-size: 19px; gap: 14px; }
    .rkx-icon       { width: 28px; height: 20px; }
}

/* ============================================================
   ACCORDION HEADINGS — MOBILE + TABLET
   ============================================================ */
@media (max-width: 1023px) {
    .rkx-accordion-trigger {
        position: relative;
        overflow: hidden;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.06em;
        padding: 15px 44px 15px 18px;
        min-height: 54px;
        color: var(--rkx-text);
        background: linear-gradient(135deg,
            rgba(255,255,255,0.04) 0%,
            rgba(255,255,255,0.02) 100%);
        border: 1px solid var(--rkx-border);
        border-radius: 2px;
        margin: 4px 0 3px;
        transition: background   320ms cubic-bezier(0.4,0,0.2,1),
                    border-color 320ms cubic-bezier(0.4,0,0.2,1),
                    color        320ms cubic-bezier(0.4,0,0.2,1),
                    transform    140ms cubic-bezier(0.4,0,0.2,1);
    }
    .rkx-accordion-trigger::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 3px;
        background: var(--rkx-accent);
        border-radius: 1px;
        box-shadow: 0 0 10px var(--rkx-accent-glow);
        transform: scaleY(0);
        transform-origin: center;
        transition: transform 420ms cubic-bezier(0.4,0,0.2,1);
    }
    .rkx-accordion-trigger::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(29, 36, 202,0.18) 50%,
            transparent 100%);
        transition: left 700ms cubic-bezier(0.4,0,0.2,1);
        pointer-events: none;
    }
    .rkx-accordion-trigger:hover::after,
    .rkx-accordion-trigger:focus-visible::after { left: 100%; }
    .rkx-accordion-trigger:hover {
        border-color: rgba(29, 36, 202,0.4);
        background: linear-gradient(135deg,
            rgba(29, 36, 202,0.08) 0%,
            rgba(255,255,255,0.03) 100%);
        color: #fff;
    }
    .rkx-accordion-trigger:active { transform: scale(0.985); }
    .rkx-accordion-item.is-open .rkx-accordion-trigger {
        background: linear-gradient(135deg,
            rgba(29, 36, 202,0.22) 0%,
            rgba(29, 36, 202,0.05) 100%);
        border-color: rgba(29, 36, 202,0.45);
        color: #fff;
    }
    .rkx-accordion-item.is-open .rkx-accordion-trigger::before { transform: scaleY(1); }
    .rkx-accordion-trigger-inner { gap: 12px; }
    .rkx-acc-icon {
        width: 20px;
        height: 20px;
        color: var(--rkx-muted);
        transition: color 300ms cubic-bezier(0.4,0,0.2,1);
    }
    .rkx-accordion-item.is-open .rkx-acc-icon { color: var(--rkx-accent-tx); }
    .rkx-accordion-chevron {
        width: 11px;
        height: 11px;
        border-right-width: 2.5px;
        border-bottom-width: 2.5px;
        margin-right: 4px;
        color: var(--rkx-muted);
        transform: rotate(45deg) translateY(-1.5px);
        transition: transform 420ms cubic-bezier(0.4,0,0.2,1),
                    color     300ms cubic-bezier(0.4,0,0.2,1);
    }
    .rkx-accordion-item.is-open .rkx-accordion-chevron {
        color: var(--rkx-accent-tx);
        transform: rotate(-135deg) translateY(-1.5px);
    }
    .rkx-accordion-trigger:hover .rkx-accordion-chevron { color: var(--rkx-text); }
    .rkx-nav-list { padding-left: 12px; padding-top: 8px; padding-bottom: 4px; }
    .rkx-nav-link { font-size: 16px; padding: 13px 18px 13px 0; font-weight: 500; }
    .rkx-nav-link:hover { padding-left: 8px; }
    #rkxAccGraphic { margin-top: 10px; }
    .rkx-social { margin-top: 14px; }
}

@media (max-width: 639px) {
    .rkx-accordion-trigger {
        padding: 13px 40px 13px 16px;
        font-size: 12.5px;
        min-height: 50px;
    }
    .rkx-acc-icon { width: 18px; height: 18px; }
    .rkx-accordion-chevron {
        width: 10px;
        height: 10px;
        border-right-width: 2.5px;
        border-bottom-width: 2.5px;
    }
    .rkx-nav-link { font-size: 15px; padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rkx-accordion-trigger::after { display: none; }
    .rkx-accordion-trigger::before { transition: none; }
    .rkx-nav-link::before,
    .rkx-nav-link::after,
    .rkx-btn--primary::before,
    .rkx-feat-cta::before {
        transition: none !important;
    }
}

/* REDUCED MOTION (full) */
@media (prefers-reduced-motion: reduce) {
    .rkx-header-wrap *,
    .rkx-header-wrap *::before,
    .rkx-header-wrap *::after,
    .rkx-menu-panel *,
    .rkx-menu-panel *::before,
    .rkx-menu-panel *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .rkx-menu-panel.is-open { opacity: 1; }
}

/* ============================================================================
 * FOOTER
 * ============================================================================ */
:root {
    --rkxf-w-def: 100%;
    --rkxf-w-exp: 100%;
    --rkxf-h: 50px;
    --rkxf-bot: 10px;
    --rkxf-bg: rgba(0, 0, 0, 0.58);
    --rkxf-bg-menu: rgba(0, 0, 0, 0.52);
    --rkxf-border: rgba(255, 255, 255, 0.10);
    --rkxf-muted: rgba(255, 255, 255, 0.45);
    --rkxf-dim: rgba(255, 255, 255, 0.26);
    --rkxf-ghost-b: rgba(255, 255, 255, 0.14);
    --rkxf-ghost-bg: rgba(255, 255, 255, 0.06);
    --rkxf-accent: #1D24CA;
    --rkxf-accent-h: #2D35E0;
    --rkxf-accent-glow: rgba(29, 36, 202, 0.45);
    --rkxf-accent-b: rgba(29, 36, 202, 0.55);
    --rkxf-accent-tx: #818CF8;
    --rkxf-radius: 1px;
    --rkxf-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rkxf-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
    --rkxf-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --rkxf-fast: 160ms;
}

.rkx-footer-wrap, .rkx-footer-wrap *, .rkx-footer-wrap *::before, .rkx-footer-wrap *::after,
.rkx-drawer, .rkx-drawer *, .rkx-drawer-backdrop {
    box-sizing: border-box;
}

body { padding-bottom: 80px; }

.rkx-footer-wrap {
    position: fixed;
    bottom: var(--rkxf-bot);
    left: 50%;
    transform: translateX(-50%);
    width: var(--rkxf-w-def);
    max-width: calc(100% - 16px);
    z-index: 998;
    font-family: var(--rkxf-font);
    pointer-events: none;
    opacity: 0;
    will-change: width, opacity, transform;
    transition: width 500ms var(--rkxf-ease);
}
.rkx-footer-wrap.is-visible { pointer-events: auto; }
.rkx-footer-wrap.is-open    { width: var(--rkxf-w-exp); }

.rkx-foot-panel {
    width: 100%;
    position: absolute;
    bottom: calc(100% - 1px);
    left: 0;
    background: var(--rkxf-bg-menu);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid var(--rkxf-border);
    border-bottom: none;
    border-radius: var(--rkxf-radius) var(--rkxf-radius) 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    pointer-events: none;
    overflow: hidden;
    background-image: radial-gradient(ellipse at 85% -10%, rgba(29, 36, 202, 0.09) 0%, transparent 55%);
    will-change: opacity, transform;
    transform-origin: bottom center;
}
.rkx-foot-panel.is-open { pointer-events: auto; }

.rkx-foot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    padding: 26px 28px;
    gap: 24px;
}
.rkx-pane {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    will-change: opacity, transform;
}
.rkx-pane:not(.rkx-pane-cta) {
    border-right: 1px solid var(--rkxf-border);
    padding-right: 24px;
}
.rkx-pane-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--rkxf-dim);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rkx-pane-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px 10px 0;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.015em;
    border-bottom: 1px solid var(--rkxf-border);
    transition: color 220ms var(--rkxf-ease),
                padding-left var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-pane-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--rkxf-accent-tx);
    box-shadow: 0 0 8px var(--rkxf-accent-glow);
    transition: width 320ms var(--rkxf-ease);
    pointer-events: none;
}
.rkx-pane-link:last-child { border-bottom: none; }
.rkx-pane-link:hover { color: #ffffff; padding-left: 6px; }
.rkx-pane-link:hover::before { width: 28px; }
.rkx-pane-link span:last-child {
    font-family: var(--rkxf-mono);
    color: var(--rkxf-dim);
    font-size: 12px;
    transition: color 200ms var(--rkxf-ease),
                transform 280ms var(--rkxf-ease);
}
.rkx-pane-link:hover span:last-child {
    color: var(--rkxf-accent-tx);
    transform: translateX(3px);
}

/* PANE CTA (Featured) */
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 {
    position: relative !important;
    overflow: hidden !important;
    padding: 22px !important;
    border-radius: var(--rkxf-radius) !important;
    background:
        linear-gradient(135deg,
            rgba(29, 36, 202, 0.18) 0%,
            rgba(255, 255, 255, 0.05) 55%,
            rgba(29, 36, 202, 0.14) 100%) !important;
    border: 1px solid rgba(29, 36, 202, 0.4) !important;
    box-shadow:
        0 0 0 1px rgba(29, 36, 202, 0.10) inset,
        0 12px 30px -12px rgba(29, 36, 202, 0.3) !important;
    transition: border-color 450ms var(--rkxf-ease),
                background 450ms var(--rkxf-ease),
                box-shadow 500ms var(--rkxf-ease),
                transform 450ms var(--rkxf-ease) !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 180px !important;
    height: 180px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.65) 0%,
        rgba(29, 36, 202, 0.22) 35%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.9 !important;
    transform-origin: top right !important;
    transition: opacity 600ms var(--rkxf-ease),
                transform 700ms var(--rkxf-ease) !important;
    z-index: 0 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -50px !important;
    left: -50px !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.32) 0%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.65 !important;
    transform-origin: bottom left !important;
    transition: opacity 600ms var(--rkxf-ease),
                transform 700ms var(--rkxf-ease) !important;
    z-index: 0 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2:hover {
    border-color: rgba(29, 36, 202, 0.7) !important;
    background:
        linear-gradient(135deg,
            rgba(29, 36, 202, 0.28) 0%,
            rgba(255, 255, 255, 0.07) 55%,
            rgba(29, 36, 202, 0.20) 100%) !important;
    box-shadow:
        0 0 0 1px rgba(29, 36, 202, 0.30) inset,
        0 24px 60px -18px rgba(29, 36, 202, 0.6),
        0 0 0 1px rgba(29, 36, 202, 0.15) !important;
    transform: translateY(-3px) !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2:hover::before { opacity: 1 !important; transform: scale(1.35) !important; }
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2:hover::after { opacity: 0.9 !important; transform: scale(1.25) !important; }

.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-eyebrow {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--rkxf-accent-tx) !important;
    margin-bottom: 12px !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-eyebrow::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--rkxf-accent-tx) !important;
    box-shadow: 0 0 8px var(--rkxf-accent-glow) !important;
    animation: rkxf-pulse 2.4s var(--rkxf-ease) infinite !important;
}
@keyframes rkxf-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-title {
    position: relative !important;
    z-index: 2 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-desc {
    position: relative !important;
    z-index: 2 !important;
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 16px !important;
    background: var(--rkxf-accent) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border: 1px solid var(--rkxf-accent-b) !important;
    border-radius: var(--rkxf-radius) !important;
    text-decoration: none !important;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease),
                gap        var(--rkxf-fast) var(--rkxf-ease) !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.32) 50%,
        transparent 65%, transparent 100%) !important;
    transition: left 700ms var(--rkxf-ease) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn > * { position: relative !important; z-index: 2 !important; }
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn:hover {
    background: var(--rkxf-accent-h) !important;
    box-shadow: 0 0 22px var(--rkxf-accent-glow),
                0 6px 18px -4px rgba(29, 36, 202, 0.5) !important;
    gap: 10px !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn:hover::before { left: 100% !important; }

/* PILL */
.rkx-foot-pill {
    width: 100%;
    height: var(--rkxf-h);
    background: var(--rkxf-bg);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid var(--rkxf-border);
    border-radius: var(--rkxf-radius);
    box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.07) inset;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    transition: border-top-left-radius var(--rkxf-fast) var(--rkxf-ease),
                border-top-right-radius var(--rkxf-fast) var(--rkxf-ease),
                border-top-color var(--rkxf-fast) var(--rkxf-ease);
}
.is-open .rkx-foot-pill {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-color: rgba(255, 255, 255, 0.04);
}

.rkx-foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--rkxf-border);
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-foot-brand:hover { opacity: 0.78; }
.rkx-foot-logo { height: 22px; width: auto; display: block; }
.rkx-foot-copy {
    font-family: var(--rkxf-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--rkxf-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.rkx-foot-item {
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--rkxf-radius);
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: all var(--rkxf-fast) var(--rkxf-ease);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.rkx-foot-item:hover { color: #fff; background: var(--rkxf-ghost-bg); }
.rkx-foot-item.is-active {
    color: #fff;
    background: rgba(29, 36, 202, 0.18);
    border-color: var(--rkxf-accent-b);
}

.rkx-foot-explore {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: var(--rkxf-ghost-bg);
    border: 1px solid var(--rkxf-ghost-b);
    border-radius: var(--rkxf-radius);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--rkxf-fast) var(--rkxf-ease);
    -webkit-tap-highlight-color: transparent;
}
.rkx-foot-explore:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}
.rkx-foot-explore-arrow {
    font-family: var(--rkxf-mono);
    font-size: 11px;
    line-height: 1;
    transition: transform 280ms var(--rkxf-ease);
}
.rkx-foot-explore.is-open .rkx-foot-explore-arrow { transform: rotate(180deg); }

.rkx-foot-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.rkx-foot-social {
    position: relative;
    overflow: hidden;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border-radius: var(--rkxf-radius);
    border: 1px solid transparent;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                border-color var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease),
                transform var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-foot-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.32) 50%,
        transparent 65%, transparent 100%);
    transition: left 600ms var(--rkxf-ease);
    pointer-events: none;
    z-index: 1;
}
.rkx-foot-social svg { width: 14px; height: 14px; position: relative; z-index: 2; }
.rkx-foot-social:hover {
    background: rgba(29, 36, 202, 0.55);
    border-color: rgba(29, 36, 202, 0.55);
    box-shadow: 0 0 14px rgba(29, 36, 202, 0.45);
    transform: translateY(-2px);
}
.rkx-foot-social:hover::before { left: 120%; }

.rkx-foot-cta {
    position: relative;
    overflow: hidden;
    margin-left: 6px;
    height: 34px;
    padding: 0 14px;
    background: var(--rkxf-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--rkxf-radius);
    border: 1px solid var(--rkxf-accent-b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-foot-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.28) 50%,
        transparent 65%, transparent 100%);
    transition: left 700ms var(--rkxf-ease);
    pointer-events: none;
}
.rkx-foot-cta > * { position: relative; z-index: 1; }
.rkx-foot-cta:hover {
    background: var(--rkxf-accent-h);
    box-shadow: 0 0 18px var(--rkxf-accent-glow);
    color: #fff !important;
}
.rkx-foot-cta:hover::before { left: 100%; }

/* MOBILE DRAWER */
.rkx-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}
.rkx-drawer-backdrop.is-open { pointer-events: auto; }

.rkx-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--rkxf-bg-menu);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border-top: 1px solid var(--rkxf-border);
    border-radius: var(--rkxf-radius) var(--rkxf-radius) 0 0;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--rkxf-font);
    transform: translateY(100%);
    will-change: transform;
}
.rkx-drawer-handle {
    padding: 10px 0 6px;
    display: flex;
    justify-content: center;
    cursor: grab;
    touch-action: none;
}
.rkx-drawer-handle-bar { width: 36px; height: 4px; background: rgba(255, 255, 255, 0.22); border-radius: 2px; }
.rkx-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 14px;
    border-bottom: 1px solid var(--rkxf-border);
}
.rkx-drawer-title {
    font-family: var(--rkxf-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--rkxf-accent-tx);
    text-transform: uppercase;
}
.rkx-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
    background: var(--rkxf-ghost-bg);
    border: 1px solid var(--rkxf-ghost-b);
    border-radius: var(--rkxf-radius);
    cursor: pointer;
    transition: all var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}
.rkx-drawer-close svg { width: 16px; height: 16px; }
.rkx-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 24px;
}
.rkx-drawer-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rkx-drawer-section:last-of-type { border-bottom: none; margin-bottom: 16px; }
.rkx-drawer-section-label {
    font-family: var(--rkxf-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rkx-drawer-section-label::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.06); }
.rkx-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color var(--rkxf-fast) var(--rkxf-ease),
                padding-left var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-link:last-child { border-bottom: none; }
.rkx-drawer-link:hover { color: #fff; padding-left: 4px; }
.rkx-drawer-link span:last-child {
    font-family: var(--rkxf-mono);
    color: var(--rkxf-dim);
    font-size: 12px;
    transition: transform 280ms var(--rkxf-ease),
                color var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-link:hover span:last-child { color: var(--rkxf-accent-tx); transform: translateX(3px); }

.rkx-drawer .rkx-drawer-cta {
    position: relative !important;
    overflow: hidden !important;
    padding: 22px !important;
    border-radius: var(--rkxf-radius) !important;
    background:
        linear-gradient(135deg,
            rgba(29, 36, 202, 0.22) 0%,
            rgba(255, 255, 255, 0.06) 55%,
            rgba(29, 36, 202, 0.16) 100%) !important;
    border: 1px solid rgba(29, 36, 202, 0.45) !important;
    box-shadow:
        0 0 0 1px rgba(29, 36, 202, 0.12) inset,
        0 12px 30px -12px rgba(29, 36, 202, 0.35) !important;
    margin-bottom: 22px !important;
}
.rkx-drawer .rkx-drawer-cta::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 180px !important;
    height: 180px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.6) 0%,
        rgba(29, 36, 202, 0.2) 35%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.9 !important;
    z-index: 0 !important;
}
.rkx-drawer .rkx-drawer-cta::after {
    content: '' !important;
    position: absolute !important;
    bottom: -50px !important;
    left: -50px !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.32) 0%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.65 !important;
    z-index: 0 !important;
}
.rkx-drawer .rkx-drawer-cta-title {
    position: relative !important;
    z-index: 2 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #fff !important;
    margin-bottom: 6px !important;
}
.rkx-drawer .rkx-drawer-cta-desc {
    position: relative !important;
    z-index: 2 !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
}
.rkx-drawer .rkx-drawer-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 12px !important;
    background: var(--rkxf-accent) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid var(--rkxf-accent-b) !important;
    border-radius: var(--rkxf-radius) !important;
    text-decoration: none !important;
}

.rkx-drawer-socials { display: flex; gap: 8px; padding-top: 8px; }

.rkx-drawer-social {
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rkxf-radius);
    text-decoration: none;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                border-color var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease),
                transform var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.32) 50%,
        transparent 65%, transparent 100%);
    transition: left 600ms var(--rkxf-ease);
    pointer-events: none;
    z-index: 1;
}
.rkx-drawer-social svg { width: 18px; height: 18px; position: relative; z-index: 2; }
.rkx-drawer-social:hover {
    background: rgba(29, 36, 202, 0.55);
    border-color: rgba(29, 36, 202, 0.55);
    box-shadow: 0 0 14px rgba(29, 36, 202, 0.45);
    transform: translateY(-2px);
}
.rkx-drawer-social:hover::before { left: 120%; }

body.rkx-drawer-active { overflow: hidden; touch-action: none; }

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 640px) and (max-width: 767px)  { :root { --rkxf-w-def: 88%; --rkxf-w-exp: 96%; --rkxf-h: 54px; --rkxf-bot: 14px; } }
@media (min-width: 768px) and (max-width: 1023px) { :root { --rkxf-w-def: 80%; --rkxf-w-exp: 92%; --rkxf-h: 56px; --rkxf-bot: 16px; } }
@media (min-width: 1024px) and (max-width: 1279px) { :root { --rkxf-w-def: 70%; --rkxf-w-exp: 88%; --rkxf-h: 58px; --rkxf-bot: 20px; } }
@media (min-width: 1280px) and (max-width: 1535px) { :root { --rkxf-w-def: 65%; --rkxf-w-exp: 85%; --rkxf-h: 58px; --rkxf-bot: 20px; } }
@media (min-width: 1536px) and (max-width: 1919px) { :root { --rkxf-w-def: 62%; --rkxf-w-exp: 82%; --rkxf-h: 60px; --rkxf-bot: 22px; } }
@media (min-width: 1920px) and (max-width: 2559px) {
    :root { --rkxf-w-def: 58%; --rkxf-w-exp: 78%; --rkxf-h: 64px; --rkxf-bot: 24px; }
    .rkx-foot-cta { height: 38px; font-size: 14px; padding: 0 16px; }
    .rkx-foot-logo { height: 26px; }
}
@media (min-width: 2560px) and (max-width: 3839px) {
    :root { --rkxf-w-def: 55%; --rkxf-w-exp: 75%; --rkxf-h: 76px; --rkxf-bot: 32px; }
    .rkx-foot-logo { height: 32px; }
    .rkx-foot-cta { height: 46px; font-size: 16px; padding: 0 22px; }
    .rkx-foot-item { font-size: 16px; padding: 9px 16px; }
    .rkx-foot-grid { padding: 36px 40px; }
    .rkx-pane-link { font-size: 17px; padding: 14px 20px 14px 0; }
}
@media (min-width: 3840px) {
    :root { --rkxf-w-def: 52%; --rkxf-w-exp: 72%; --rkxf-h: 92px; --rkxf-bot: 40px; }
    .rkx-foot-logo { height: 40px; }
    .rkx-foot-cta { height: 56px; font-size: 19px; padding: 0 28px; }
    .rkx-foot-item { font-size: 19px; padding: 12px 20px; }
    .rkx-foot-grid { padding: 50px 56px; }
    .rkx-pane-link { font-size: 21px; padding: 16px 24px 16px 0; }
}

@media (max-width: 1023px) {
    .rkx-foot-item { display: none !important; }
    .rkx-foot-panel { display: none !important; }
    .rkx-foot-explore { display: inline-flex; }
    .rkx-foot-right .rkx-foot-social { display: none; }
}

@media (max-width: 639px) {
    body { padding-bottom: 90px; }
    .rkx-foot-pill {
        padding: 0 10px;
        gap: 6px;
        backdrop-filter: blur(12px) saturate(1.3);
        -webkit-backdrop-filter: blur(12px) saturate(1.3);
    }
    .rkx-foot-copy { display: none; }
    .rkx-foot-cta { margin-left: 0; padding: 0 10px; font-size: 12px; }
    .rkx-foot-explore { padding: 9px 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .rkx-footer-wrap, .rkx-foot-cta::before, .rkx-pane-link::before,
    .rkx-foot-social::before, .rkx-drawer-social::before,
    .rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-eyebrow::before {
        transition: none !important;
        animation: none !important;
    }
}
