:root {
    --tenx-oxford: #0B1F3A;
    --tenx-oxford-hover: #08172C;
    --tenx-accent: #2563EB;
    --tenx-body: #1E293B;
    --tenx-border: #E2E8F0;
    --tenx-white: #FFFFFF;
}

nav.tenx-nav {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 1000 !important;
    height: 74px !important;
    padding: 0 !important;
    background: rgba(2, 18, 56, 0.94) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tenx-nav-container {
    width: min(1260px, calc(100% - 48px));
    max-width: none !important;
    height: 74px !important;
    min-height: 74px !important;
    margin: 0 auto;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px;
}

.tenx-logo {
    flex: 0 0 auto;
    text-decoration: none !important;
}

.tenx-logo img,
.footer-logo img {
    display: block;
    width: 181px;
    height: auto;
}

.tenx-nav-links {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(20px, 2.4vw, 36px) !important;
}

.tenx-nav-links a {
    position: relative;
    padding: 27px 0;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    font-weight: 550 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 200ms ease;
}

.tenx-nav-links a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 1px;
    background: #74b2ff;
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.tenx-nav-links a:hover,
.tenx-nav-links a[aria-current="page"] { color: var(--tenx-white) !important; }
.tenx-nav-links a:hover::after,
.tenx-nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.tenx-nav-cta {
    flex: 0 0 auto;
    min-height: 42px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 999px !important;
    background: var(--tenx-white) !important;
    color: #021238 !important;
    -webkit-text-fill-color: #021238 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.tenx-nav-cta:hover {
    background: #d9ecff !important;
    border-color: #d9ecff !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px);
}

.tenx-logo:focus-visible,
.tenx-nav-links a:focus-visible,
.tenx-nav-cta:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.42) !important;
    outline-offset: 4px !important;
}

@media (max-width: 1100px) {
    .tenx-nav-links { gap: 18px !important; }
    .tenx-nav-links a { font-size: 14px !important; }
    .tenx-nav-cta { padding: 0 17px !important; }
}

@media (max-width: 1080px) {
    .tenx-nav-links { display: none !important; }
}

@media (max-width: 600px) {
    nav.tenx-nav,
    .tenx-nav-container { height: 67px !important; min-height: 67px !important; }
    .tenx-nav-container { width: calc(100% - 30px); gap: 12px !important; }
    .tenx-nav-cta { min-height: 38px !important; padding: 0 13px !important; font-size: 12px !important; }
    .tenx-nav-cta span { display: none; }
}

@media (max-width: 390px) {
    .tenx-nav-cta { padding: 0 11px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .tenx-nav-cta { transition: none !important; }
}
