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

:root {
    --bg: #07111f;
    --bg-soft: #0d1830;
    --card: rgba(15, 23, 42, 0.82);
    --card-2: rgba(22, 39, 66, 0.92);
    --line: rgba(255, 255, 255, 0.09);
    --text: #2c95e1;
    --muted: #2c95e1;
    --primary: #3fe24c;
    --primary-dark: #065e2d;
    --accent: #22d3ee;
    --accent-2: #f472b6;
    --warning: #fbbf24;
    --danger: #fb7185;
    --success: #4ade80;
    --glow: 0 0 0 1px rgba(124, 58, 237, 0.18), 0 18px 45px rgba(34, 211, 238, 0.12);
    --shadow: 0 22px 60px rgba(2, 8, 23, 0.42);
    --shadow-soft: 0 14px 34px rgba(2, 8, 23, 0.28);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.24), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.16), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(244, 114, 182, 0.10), transparent 28%),
        linear-gradient(180deg, #040b16 0%, #07111f 45%, #0a1428 100%);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(6, 12, 24, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent-2));
    background-size: 200% 200%;
    color: #ffffff;
    box-shadow: var(--glow);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    margin-top: 0.12rem;
}


.brand-text-block {
    display: grid;
    gap: 0.12rem;
}

.home-brand-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #dbeafe;
    background: linear-gradient(135deg, rgba(63, 226, 76, 0.18), rgba(34, 211, 238, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-logo-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(6, 12, 24, 0.68);
}

.home-logo-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0 0.95rem;
    flex-wrap: wrap;
}

.home-logo-label {
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-logo-strip {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.home-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 64px;
    padding: 0.55rem 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-soft);
}

.home-logo-item img {
    display: block;
    max-width: 105px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-logo-item-wide img {
    max-width: 160px;
}



.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--muted);
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.12));
}

.hero {
    padding: 4rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
}

.card,
.panel,
.table-wrap,
.alert,
.timeline-item,
.metric,
.price-card,
.faq-item,
.form-shell,
.dashboard-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.card,
.panel,
.dashboard-card,
.form-shell {
    padding: 1.4rem;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.06;
    margin: 0.5rem 0 1rem;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.24);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.15rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-size: 200% 200%;
    color: #111112;
    box-shadow: var(--glow);
    transition: transform 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--line);
}

.button.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.button.danger {
    background: linear-gradient(135deg, var(--danger), #fda4af);
    color: #111112;
}

.button.small {
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.meta-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.meta-list li {
    display: flex;
    gap: 0.8rem;
    color: var(--muted);
}

.hero-aside {
    display: grid;
    gap: 1rem;
}

.metric-grid,
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1rem;
}

.metric-grid {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.metric {
    padding: 1rem;
}

.metric strong {
    display: block;
    font-size: 1.85rem;
    margin-bottom: 0.35rem;
}

.metric span {
    color: var(--muted);
}

.metric-grid .metric:nth-child(3) strong {
    font-size: 1.55rem;
}

.metric-grid .metric:nth-child(3) span {
    font-size: 0.94rem;
    line-height: 1.35;
}

section.section {
    padding: 1.4rem 0 2.25rem;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-head h2,
.page-header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2.3rem);
}

.section-head p,
.page-header p,
.muted,
small.muted {
    color: var(--muted);
}

.track-card {
    padding: 1.3rem;
    background: linear-gradient(180deg, rgba(124,58,237,0.16), rgba(34,211,238,0.06) 55%, rgba(255,255,255,0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.track-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.list-clean {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
}

.timeline {
    display: grid;
    gap: 0.9rem;
}

.timeline-item {
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.timeline-item strong {
    display: block;
    margin-bottom: 0.2rem;
}

.price-card {
    padding: 1.2rem;
}

.price-card h3 {
    margin-top: 0;
}

.table-wrap {
    overflow: auto;
}

.scroll-panel {
    max-height: min(72vh, 1200px);
    overflow: auto;
    padding-right: 0.2rem;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.scroll-panel.compact-scroll {
    max-height: min(52vh, 520px);
}

.submissions-scroll {
    display: grid;
    gap: 1rem;
}

.submissions-scroll > .panel {
    margin-bottom: 0 !important;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

table.data-table th,
table.data-table td {
    padding: 0.95rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

table.data-table thead th {
    color: var(--text);
    background: rgba(255,255,255,0.03);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.badge.success {
    background: rgba(74, 222, 128, 0.12);
    color: #86efac;
    border-color: rgba(74, 222, 128, 0.22);
}

.badge.warning {
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.25);
}

.badge.danger {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.25);
}

.badge.info {
    background: rgba(96, 165, 250, 0.12);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.25);
}

.badge.muted {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    border-color: var(--line);
}

.alert {
    padding: 0.95rem 1rem;
    margin: 1rem 0;
}

.alert.success {
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, 0.22);
}

.alert.danger {
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.22);
}

.flash-stack:empty {
    display: none;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.helper,
.file-hint {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.kpi-box {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
}

.kpi-box strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
}

.sidebar {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    height: fit-content;
}

.sidebar a {
    display: block;
    padding: 0.82rem 0.9rem;
    border-radius: 14px;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: rgba(0, 0, 0, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.faq-item {
    padding: 1rem 1.2rem;
}

.page-header {
    padding: 2rem 0 1rem;
}

.admin-tools {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.auth-shell {
    min-height: calc(100vh - 170px);
    display: grid;
    place-items: center;
    padding: 2rem 0;
}

.auth-card {
    width: min(560px, 100%);
    padding: 1.5rem;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(96,165,250,0.08), rgba(255,255,255,0.02));
    box-shadow: var(--shadow);
}

.center {
    text-align: center;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 1.1rem 0;
}


/* ===== Enhanced motion ===== */
@keyframes floatGlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBorder {
    0%, 100% { box-shadow: var(--shadow-soft); }
    50% { box-shadow: var(--glow); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-copy,
.hero-aside > *,
.section-head,
.track-card,
.timeline-item,
.price-card,
.faq-item,
.dashboard-card,
.form-shell,
.metric,
.kpi-box,
.table-wrap,
.panel,
.card {
    animation: fadeUp 0.7s ease both;
}

.hero-aside > *:nth-child(2),
.grid-3 > *:nth-child(2),
.grid-4 > *:nth-child(2),
.metric-grid > *:nth-child(2) {
    animation-delay: 0.08s;
}

.hero-aside > *:nth-child(3),
.grid-3 > *:nth-child(3),
.grid-4 > *:nth-child(3),
.metric-grid > *:nth-child(3) {
    animation-delay: 0.16s;
}

.brand-mark,
.button,
.button.accent {
    animation: gradientShift 8s ease infinite;
}

.metric:hover,
.kpi-box:hover,
.track-card:hover,
.price-card:hover,
.faq-item:hover,
.dashboard-card:hover,
.card:hover,
.panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-color: rgba(34, 211, 238, 0.22);
}

.brand-mark {
    animation: gradientShift 8s ease infinite, floatGlow 4s ease-in-out infinite;
}

.site-header {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.hero-copy h1 {
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 35%, #a5f3fc 65%, #f5d0fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.button:hover {
    transform: translateY(-3px) scale(1.01);
}

.button.ghost:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(34, 211, 238, 0.12));
    border-color: rgba(34, 211, 238, 0.2);
}

.badge.info,
.badge.success,
.badge.warning,
.badge.danger {
    animation: pulseBorder 3.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
@media (max-width: 980px) {
    .hero-grid,
    .dashboard-layout,
    .footer-grid,
    .kpi-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .nav-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


body {
    overflow-x: hidden;
}

img,
picture,
svg,
canvas {
    max-width: 100%;
}

main {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.brand {
    min-width: 0;
}

.brand > span:last-child {
    min-width: 0;
}

.brand strong,
.brand small {
    white-space: nowrap;
}

.page-header,
.section,
.hero {
    scroll-margin-top: 92px;
}

.hero-copy,
.panel,
.card,
.track-card,
.price-card,
.faq-item,
.dashboard-card,
.sidebar,
.auth-card,
.form-shell,
.kpi-box,
.metric,
.timeline-item {
    overflow-wrap: anywhere;
}

.hero-copy,
.panel,
.card,
.price-card,
.form-shell,
.dashboard-card,
.auth-card {
    min-width: 0;
}

.inline-actions,
.hero-actions,
.admin-tools {
    align-items: stretch;
}

.inline-actions > *,
.hero-actions > * {
    max-width: 100%;
}

.data-table td strong,
.data-table td small,
.data-table td span {
    word-break: break-word;
}

.table-wrap {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

input,
select,
textarea,
.button {
    max-width: 100%;
}

.button {
    text-align: center;
    white-space: nowrap;
}

.footer-grid > div,
.section-head > div {
    min-width: 0;
}

@media (max-width: 1180px) {
    .container {
        width: min(1180px, calc(100% - 1.5rem));
    }
}

@media (max-width: 980px) {
    .site-header {
        position: sticky;
    }

    .nav-shell {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.25rem 0 0.25rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a,
    .main-nav .button {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-copy p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .timeline-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .badge {
        align-self: flex-start;
    }

    table.data-table {
        min-width: 640px;
    }
}

@media (max-width: 760px) {
    :root {
        --radius: 18px;
    }

    .container {
        width: min(100%, calc(100% - 1rem));
    }

    .site-header {
        backdrop-filter: blur(10px);
    }

    .brand {
        gap: 0.7rem;
        max-width: calc(100% - 60px);
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .brand strong {
        font-size: 0.98rem;
        white-space: normal;
        line-height: 1.15;
    }

    .brand small {
        font-size: 0.78rem;
        white-space: normal;
    }

    .hero {
        padding: 1.35rem 0 1rem;
    }

    .hero-copy,
    .panel,
    .card,
    .dashboard-card,
    .form-shell,
    .auth-card,
    .price-card {
        padding: 1rem;
    }

    .hero-copy h1 {
        margin-top: 0.75rem;
    }

    .eyebrow {
        width: 100%;
        justify-content: center;
        text-align: center;
        line-height: 1.45;
    }

    .hero-actions,
    .inline-actions,
    .admin-tools {
        flex-direction: column;
    }

    .hero-actions .button,
    .inline-actions .button,
    .admin-tools .button,
    .admin-tools a,
    .admin-tools button {
        width: 100%;
    }

    .form-grid,
    .kpi-grid,
    .metric-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .scroll-panel {
        max-height: 68vh;
    }

    .scroll-panel.compact-scroll {
        max-height: 48vh;
    }

    .kpi-box strong,
    .metric strong {
        font-size: 1.6rem;
    }

    .metric-grid .metric:nth-child(3) strong {
        font-size: 1.4rem;
    }

    .metric-grid .metric:nth-child(3) span {
        font-size: 0.9rem;
    }

    .page-header {
        padding-top: 1.35rem;
    }

    .page-header h1,
    .section-head h2 {
        line-height: 1.2;
    }

    table.data-table {
        min-width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    table.data-table thead {
        display: none;
    }

    table.data-table,
    table.data-table tbody,
    table.data-table tr,
    table.data-table td {
        display: block;
        width: 100%;
    }

    table.data-table tr {
        margin-bottom: 0.9rem;
        border: 1px solid var(--line);
        border-radius: 16px;
        overflow: hidden;
        background: rgba(255,255,255,0.02);
    }

    table.data-table tr:last-child {
        margin-bottom: 0;
    }

    table.data-table td {
        min-height: 54px;
        padding: 0.85rem 0.9rem 0.85rem 8.3rem;
        position: relative;
        border-bottom: 1px solid var(--line);
        text-align: left;
    }

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

    table.data-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.9rem;
        top: 0.85rem;
        width: 6.5rem;
        color: var(--muted);
        font-weight: 700;
        font-size: 0.78rem;
        line-height: 1.35;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 15px;
    }

    .button,
    input,
    select,
    textarea {
        font-size: 16px;
    }

    .timeline-item,
    .faq-item,
    .kpi-box,
    .metric {
        padding: 0.9rem;
    }

    table.data-table td {
        padding-left: 0.9rem;
        padding-top: 2.25rem;
    }

    table.data-table td::before {
        position: static;
        display: block;
        width: auto;
        margin-bottom: 0.35rem;
    }
}


:root {
    --bg: #f7fbff;
    --bg-soft: #eef7ff;
    --card: rgba(255, 255, 255, 0.96);
    --card-2: rgba(241, 248, 255, 0.98);
    --line: rgba(74, 144, 226, 0.14);
    --text: #1b3a57;
    --muted: #5f7f9b;
    --primary: #68b8ff;
    --primary-dark: #2f78b7;
    --accent: #8bdcff;
    --accent-2: #cfe9ff;
    --warning: #f59e0b;
    --danger: #ef476f;
    --success: #16a34a;
    --glow: 0 0 0 1px rgba(104, 184, 255, 0.10), 0 18px 42px rgba(139, 220, 255, 0.16);
    --shadow: 0 20px 48px rgba(47, 120, 183, 0.10);
    --shadow-soft: 0 12px 28px rgba(47, 120, 183, 0.08);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at 12% 12%, rgba(139, 220, 255, 0.28), transparent 26%),
        radial-gradient(circle at 88% 4%, rgba(104, 184, 255, 0.18), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(207, 233, 255, 0.32), transparent 30%),
        linear-gradient(180deg, #fbfeff 0%, #f2f9ff 48%, #edf7ff 100%);
}

.site-header {
    background: rgba(246, 251, 255, 0.92);
    border-bottom: 1px solid rgba(104, 184, 255, 0.20);
    box-shadow: 0 10px 28px rgba(47, 120, 183, 0.08);
}

.brand-mark {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,247,255,0.96));
    border: 1px solid rgba(104, 184, 255, 0.20);
    box-shadow: 0 12px 24px rgba(47, 120, 183, 0.10);
    animation: none;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.home-brand-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.3rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(104, 184, 255, 0.14), rgba(139, 220, 255, 0.18));
    border: 1px solid rgba(104, 184, 255, 0.18);
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 700;
}

.main-nav a {
    color: #425975;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(104, 184, 255, 0.12), rgba(139, 220, 255, 0.16));
}

.card,
.panel,
.table-wrap,
.alert,
.timeline-item,
.metric,
.price-card,
.faq-item,
.form-shell,
.dashboard-card,
.sidebar,
.auth-card,
.kpi-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,248,255,0.94));
    border: 1px solid rgba(104, 184, 255, 0.16);
    box-shadow: var(--shadow);
}

.hero-copy h1 {
    background: linear-gradient(135deg, #2a5c86 0%, #68b8ff 48%, #5cb8d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(104, 184, 255, 0.12), rgba(139, 220, 255, 0.16));
    border-color: rgba(104, 184, 255, 0.16);
}

.button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
}

.button.ghost {
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary-dark);
    border: 1px solid rgba(104, 184, 255, 0.18);
}

.button.accent {
    background: linear-gradient(135deg, #7ecbff, #a9e5ff);
    color: #1b3a57;
}

.track-card {
    background: linear-gradient(180deg, rgba(104, 184, 255, 0.08), rgba(139, 220, 255, 0.06) 55%, rgba(255,255,255,0.96));
    border: 1px solid rgba(104, 184, 255, 0.14);
}

table.data-table thead th {
    color: var(--primary-dark);
    background: rgba(104, 184, 255, 0.10);
}

.badge {
    background: rgba(104, 184, 255, 0.12);
    color: var(--primary-dark);
    border-color: rgba(104, 184, 255, 0.16);
}

.badge.muted {
    background: rgba(21, 73, 134, 0.06);
    color: #4a617a;
    border-color: rgba(21, 73, 134, 0.10);
}

.badge.info {
    background: rgba(104, 184, 255, 0.14);
    color: var(--primary-dark);
    border-color: rgba(104, 184, 255, 0.18);
}

.alert.success {
    color: #166534;
    border-color: rgba(22, 163, 74, 0.16);
}

.alert.danger {
    color: #be123c;
    border-color: rgba(239, 71, 111, 0.16);
}

input,
select,
textarea {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,250,255,0.96));
    color: var(--text);
    border: 1px solid rgba(104, 184, 255, 0.18);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(104, 184, 255, 0.18);
    border-color: rgba(104, 184, 255, 0.26);
}

.site-footer {
    background: linear-gradient(180deg, rgba(245,250,255,0.95), rgba(236,246,255,0.96));
}

.section-mini-head {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.partner-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,247,255,0.96));
    border: 1px solid rgba(104, 184, 255, 0.16);
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 22px rgba(47, 120, 183, 0.08);
}

.detail-list li {
    margin-bottom: 0.65rem;
}

.info-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.committee-grid {
    align-items: start;
}

.compact-timeline {
    margin-top: 1rem;
}

.contact-box {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(104, 184, 255, 0.08);
    border: 1px solid rgba(104, 184, 255, 0.16);
}

.hero-copy p,
.section-head p,
.page-header p,
.muted,
small.muted,
.list-clean,
.meta-list li,
.metric span,
.footer-list,
.footer-bottom {
    color: var(--muted);
}

.metric strong,
.section-head h2,
.page-header h1,
.track-card h3,
.price-card h3,
.card h2,
.card h3,
.panel h2,
.panel h3,
.footer-grid h4 {
    color: var(--text);
}

.metric:hover,
.kpi-box:hover,
.track-card:hover,
.price-card:hover,
.faq-item:hover,
.dashboard-card:hover,
.card:hover,
.panel:hover {
    border-color: rgba(104, 184, 255, 0.24);
}

@media (max-width: 980px) {
    .info-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-brand-tag {
        font-size: 0.7rem;
    }

    .logo-chip {
        min-width: 68px;
        padding: 0.6rem 0.85rem;
    }
}


.home-logo-bar {
    border-top: 1px solid rgba(104, 184, 255, 0.16);
    background: linear-gradient(180deg, rgba(234, 246, 255, 0.98), rgba(245, 251, 255, 0.96));
}

.home-logo-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0 1rem;
    flex-wrap: nowrap;
}

.home-logo-label {
    color: var(--primary-dark);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.home-logo-strip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.home-logo-item {
    min-width: 90px;
    min-height: 64px;
    padding: 0.55rem 0.8rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,247,255,0.96));
    border: 1px solid rgba(104, 184, 255, 0.16);
    box-shadow: 0 10px 24px rgba(47, 120, 183, 0.08);
}

.price-card,
.track-card,
.panel,
.card,
.table-wrap,
.form-shell,
.auth-card,
.dashboard-card {
    backdrop-filter: blur(2px);
}

.hero-copy,
.hero-aside .panel,
.price-card,
.track-card,
.faq-item,
.timeline-item,
.metric {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,247,255,0.94));
}

@media (max-width: 920px) {
    .home-logo-shell {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .home-logo-strip {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }
}


html[data-theme="blue"] {
    color-scheme: light;
}

html[data-theme="white"] {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #f8fbff;
    --card: rgba(255, 255, 255, 0.99);
    --card-2: rgba(250, 252, 255, 0.99);
    --line: rgba(104, 184, 255, 0.12);
    --text: #18324d;
    --muted: #657a91;
    --primary: #7ccaff;
    --primary-dark: #2f78b7;
    --accent: #dff4ff;
    --accent-2: #f3f9ff;
    --glow: 0 0 0 1px rgba(104, 184, 255, 0.08), 0 16px 36px rgba(139, 220, 255, 0.10);
    --shadow: 0 16px 36px rgba(47, 120, 183, 0.08);
    --shadow-soft: 0 8px 24px rgba(47, 120, 183, 0.06);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(104, 184, 255, 0.18);
    border-radius: 999px;
    padding: 0.58rem 0.8rem;
    font: inherit;
    font-weight: 700;
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 247, 255, 0.95));
    box-shadow: 0 8px 20px rgba(47, 120, 183, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(47, 120, 183, 0.12);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 202, 255, 0.24), 0 12px 24px rgba(47, 120, 183, 0.14);
}

.theme-toggle-state,
.theme-toggle-icon,
.theme-toggle-icon-sun,
.theme-toggle-icon-moon {
    display: none;
}


.theme-toggle-text-wrap {
    display: grid;
    gap: 0.08rem;
    text-align: left;
}

.theme-toggle-text {
    white-space: nowrap;
    font-size: 0.92rem;
    line-height: 1.1;
}

.theme-toggle-subtext {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.05;
}

.theme-toggle-slider {
    display: inline-flex;
    align-items: center;
    margin-left: 0.1rem;
}

.theme-toggle-slider-track {
    position: relative;
    width: 46px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 202, 255, 0.34), rgba(223, 244, 255, 0.96));
    border: 1px solid rgba(104, 184, 255, 0.18);
    box-shadow: inset 0 1px 2px rgba(24, 50, 77, 0.08);
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7ccaff, #ffffff);
    box-shadow: 0 2px 6px rgba(47, 120, 183, 0.22);
    transition: transform 0.22s ease, background 0.22s ease;
}

.theme-toggle[data-theme-mode="white"] .theme-toggle-thumb {
    transform: translateX(22px);
    background: linear-gradient(135deg, #ffffff, #dff4ff);
}

html[data-theme="white"] body {
    color: var(--text);
    background:
        radial-gradient(circle at 14% 14%, rgba(226, 242, 255, 0.72), transparent 24%),
        radial-gradient(circle at 88% 6%, rgba(240, 248, 255, 0.86), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 55%, #f7fbff 100%);
}

html[data-theme="white"] .site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(104, 184, 255, 0.14);
    box-shadow: 0 8px 22px rgba(47, 120, 183, 0.06);
}

html[data-theme="white"] .brand-mark,
html[data-theme="white"] .card,
html[data-theme="white"] .panel,
html[data-theme="white"] .table-wrap,
html[data-theme="white"] .alert,
html[data-theme="white"] .timeline-item,
html[data-theme="white"] .metric,
html[data-theme="white"] .price-card,
html[data-theme="white"] .faq-item,
html[data-theme="white"] .form-shell,
html[data-theme="white"] .dashboard-card,
html[data-theme="white"] .sidebar,
html[data-theme="white"] .auth-card,
html[data-theme="white"] .kpi-box,
html[data-theme="white"] .track-card,
html[data-theme="white"] .home-logo-item,
html[data-theme="white"] .logo-chip {
    background: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(248,251,255,0.99));
    border-color: rgba(104, 184, 255, 0.12);
    box-shadow: 0 10px 24px rgba(47, 120, 183, 0.06);
}

html[data-theme="white"] .home-logo-bar,
html[data-theme="white"] .site-footer {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
    border-top-color: rgba(104, 184, 255, 0.12);
}

html[data-theme="white"] .main-nav a {
    color: #5f7288;
}

html[data-theme="white"] .main-nav a:hover,
html[data-theme="white"] .main-nav a.active,
html[data-theme="white"] .home-brand-tag,
html[data-theme="white"] .eyebrow,
html[data-theme="white"] .badge,
html[data-theme="white"] table.data-table thead th,
html[data-theme="white"] .badge.info {
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(124, 202, 255, 0.10), rgba(223, 244, 255, 0.72));
    border-color: rgba(104, 184, 255, 0.14);
}

html[data-theme="white"] .button.ghost {
    background: rgba(255, 255, 255, 0.98);
}

html[data-theme="white"] input,
html[data-theme="white"] select,
html[data-theme="white"] textarea {
    background: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(250,252,255,0.995));
}

html[data-theme="white"] .hero-copy,
html[data-theme="white"] .hero-aside .panel,
html[data-theme="white"] .price-card,
html[data-theme="white"] .track-card,
html[data-theme="white"] .faq-item,
html[data-theme="white"] .timeline-item,
html[data-theme="white"] .metric {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(249,252,255,0.99));
}

@media (max-width: 980px) {
    .theme-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .theme-toggle-text-wrap {
        flex: 1;
    }
}


/* --- Custom update: blue + light blue modes and NIA logo placement --- */
:root {
    --bg: #061a33;
    --bg-soft: #0b2342;
    --card: rgba(12, 31, 58, 0.88);
    --card-2: rgba(15, 38, 70, 0.94);
    --line: rgba(148, 197, 255, 0.16);
    --text: #eef6ff;
    --muted: #bfd6f0;
    --primary: #60a5fa;
    --primary-dark: #1d4ed8;
    --accent: #93c5fd;
    --accent-2: #38bdf8;
    --warning: #fbbf24;
    --danger: #fb7185;
    --success: #4ade80;
    --glow: 0 0 0 1px rgba(96, 165, 250, 0.18), 0 18px 45px rgba(56, 189, 248, 0.16);
    --shadow: 0 22px 60px rgba(2, 8, 23, 0.42);
    --shadow-soft: 0 14px 34px rgba(2, 8, 23, 0.28);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.22), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(125, 211, 252, 0.18), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(180deg, #041224 0%, #061a33 45%, #0a2346 100%);
}

.site-header {
    background: rgba(4, 18, 36, 0.82);
    border-bottom: 1px solid rgba(147, 197, 253, 0.14);
}

.brand-mark {
    background: linear-gradient(135deg, #2563eb, #60a5fa, #7dd3fc);
}

.home-brand-tag {
    color: #eff6ff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(125, 211, 252, 0.24));
}

.main-nav a:hover,
.main-nav a.active,
.eyebrow {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(125, 211, 252, 0.16));
    border-color: rgba(147, 197, 253, 0.18);
}

.button {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #f8fbff;
}

.home-logo-bar {
    border-top: 1px solid rgba(147, 197, 253, 0.18);
    background: linear-gradient(180deg, rgba(6, 26, 51, 0.98), rgba(10, 35, 70, 0.96));
}

.home-logo-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0 1rem;
    flex-wrap: nowrap;
}

.home-logo-nia {
    flex: 0 0 auto;
}

.home-logo-label {
    order: 3;
    margin-left: auto;
    text-align: right;
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-logo-strip {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    flex: 1 1 auto;
    margin-left: 0;
}

.home-logo-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.96));
    border: 1px solid rgba(147, 197, 253, 0.2);
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.18);
}

.home-logo-item-nia {
    min-width: 96px;
    padding: 0.45rem 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-logo-item-nia img {
    max-width: 82px;
    max-height: 52px;
}

html[data-theme="light-blue"] {
    color-scheme: light;
    --bg: #eaf6ff;
    --bg-soft: #d9efff;
    --card: rgba(255, 255, 255, 0.98);
    --card-2: rgba(245, 251, 255, 0.98);
    --line: rgba(96, 165, 250, 0.16);
    --text: #17314f;
    --muted: #5f7b99;
    --primary: #60a5fa;
    --primary-dark: #1d4ed8;
    --accent: #bae6fd;
    --accent-2: #7dd3fc;
    --glow: 0 0 0 1px rgba(96, 165, 250, 0.08), 0 16px 36px rgba(125, 211, 252, 0.16);
    --shadow: 0 16px 36px rgba(29, 78, 216, 0.08);
    --shadow-soft: 0 8px 24px rgba(29, 78, 216, 0.06);
}

.theme-toggle[data-theme-mode="light-blue"] .theme-toggle-icon-sun {
    opacity: 1;
    transform: scale(1.05);
}

.theme-toggle[data-theme-mode="light-blue"] .theme-toggle-icon-moon {
    opacity: 0.5;
}

.theme-toggle[data-theme-mode="light-blue"] .theme-toggle-thumb {
    transform: translateX(22px);
    background: linear-gradient(135deg, #ffffff, #d9efff);
}

.theme-toggle[data-theme-mode="blue"] .theme-toggle-icon-moon {
    opacity: 1;
    transform: scale(1.05);
}

html[data-theme="light-blue"] body {
    color: var(--text);
    background:
        radial-gradient(circle at 14% 14%, rgba(219, 234, 254, 0.85), transparent 24%),
        radial-gradient(circle at 88% 6%, rgba(186, 230, 253, 0.62), transparent 24%),
        linear-gradient(180deg, #f6fbff 0%, #edf7ff 55%, #e8f4ff 100%);
}

html[data-theme="light-blue"] .site-header {
    background: rgba(246, 251, 255, 0.95);
    border-bottom: 1px solid rgba(96, 165, 250, 0.14);
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.06);
}

html[data-theme="light-blue"] .brand-mark,
html[data-theme="light-blue"] .card,
html[data-theme="light-blue"] .panel,
html[data-theme="light-blue"] .table-wrap,
html[data-theme="light-blue"] .alert,
html[data-theme="light-blue"] .timeline-item,
html[data-theme="light-blue"] .metric,
html[data-theme="light-blue"] .price-card,
html[data-theme="light-blue"] .faq-item,
html[data-theme="light-blue"] .form-shell,
html[data-theme="light-blue"] .dashboard-card,
html[data-theme="light-blue"] .sidebar,
html[data-theme="light-blue"] .auth-card,
html[data-theme="light-blue"] .kpi-box,
html[data-theme="light-blue"] .track-card,
html[data-theme="light-blue"] .home-logo-item,
html[data-theme="light-blue"] .logo-chip {
    background: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(240,249,255,0.99));
    border-color: rgba(96, 165, 250, 0.14);
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.06);
}

html[data-theme="light-blue"] .home-logo-bar,
html[data-theme="light-blue"] .site-footer {
    background: linear-gradient(180deg, rgba(239,247,255,0.98), rgba(231,243,255,0.98));
    border-top-color: rgba(96, 165, 250, 0.14);
}

html[data-theme="light-blue"] .main-nav a {
    color: #5f7288;
}

html[data-theme="light-blue"] .main-nav a:hover,
html[data-theme="light-blue"] .main-nav a.active,
html[data-theme="light-blue"] .home-brand-tag,
html[data-theme="light-blue"] .eyebrow,
html[data-theme="light-blue"] .badge,
html[data-theme="light-blue"] table.data-table thead th,
html[data-theme="light-blue"] .badge.info {
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(191, 219, 254, 0.76));
    border-color: rgba(96, 165, 250, 0.14);
}

html[data-theme="light-blue"] .button {
    color: #f8fbff;
}

html[data-theme="light-blue"] .button.ghost {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
}

html[data-theme="light-blue"] input,
html[data-theme="light-blue"] select,
html[data-theme="light-blue"] textarea {
    background: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(247,251,255,0.995));
}

html[data-theme="light-blue"] .hero-copy,
html[data-theme="light-blue"] .hero-aside .panel,
html[data-theme="light-blue"] .price-card,
html[data-theme="light-blue"] .track-card,
html[data-theme="light-blue"] .faq-item,
html[data-theme="light-blue"] .timeline-item,
html[data-theme="light-blue"] .metric {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(244,250,255,0.99));
}

@media (max-width: 980px) {
    .home-logo-shell {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .home-logo-nia {
        order: 1;
    }

    .home-logo-strip {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .home-logo-label {
        order: 2;
        margin-left: 0;
        text-align: left;
        white-space: normal;
    }
}


/* --- 2026-04-18 theme update: light-blue mode + white mode, simplified NIA mark --- */
:root {
    --bg: #dceefe;
    --bg-soft: #cfe6fb;
    --card: rgba(255, 255, 255, 0.97);
    --card-2: rgba(241, 248, 255, 0.98);
    --line: rgba(88, 149, 214, 0.16);
    --text: #17314f;
    --muted: #5b7797;
    --primary: #5fa9f6;
    --primary-dark: #2c6fb3;
    --accent: #8cc4fb;
    --accent-2: #bfe0ff;
    --glow: 0 0 0 1px rgba(95, 169, 246, 0.10), 0 18px 40px rgba(140, 196, 251, 0.16);
    --shadow: 0 18px 40px rgba(44, 111, 179, 0.10);
    --shadow-soft: 0 10px 24px rgba(44, 111, 179, 0.08);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(138, 191, 246, 0.28), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(191, 224, 255, 0.36), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(95, 169, 246, 0.10), transparent 28%),
        linear-gradient(180deg, #eef7ff 0%, #deefff 50%, #d4e9fb 100%);
}

.site-header {
    background: rgba(239, 247, 255, 0.92);
}

.brand-mark,
.card,
.panel,
.table-wrap,
.alert,
.timeline-item,
.metric,
.price-card,
.faq-item,
.form-shell,
.dashboard-card,
.sidebar,
.auth-card,
.kpi-box,
.track-card,
.home-logo-item,
.logo-chip {
    background: linear-gradient(180deg, rgba(255,255,255,0.985), rgba(244,249,255,0.965));
}

.brand-mark {
    background: linear-gradient(135deg, #4f97e8, #7bbcf7, #d9eeff);
}

.home-brand-tag {
    color: #1d4f83;
    background: linear-gradient(135deg, rgba(95, 169, 246, 0.14), rgba(191, 224, 255, 0.72));
}

.main-nav a:hover,
.main-nav a.active,
.eyebrow {
    background: linear-gradient(135deg, rgba(95, 169, 246, 0.12), rgba(191, 224, 255, 0.70));
    border-color: rgba(95, 169, 246, 0.16);
}

.button {
    background: linear-gradient(135deg, #4f97e8, #8cc4fb);
    color: #f8fbff;
}

.home-logo-bar {
    border-top: 1px solid rgba(95, 169, 246, 0.16);
    background: linear-gradient(180deg, rgba(231, 243, 255, 0.98), rgba(219, 236, 250, 0.98));
}

.home-logo-label {
    color: #2b5f94;
}

.home-logo-item {
    border: 1px solid rgba(95, 169, 246, 0.16);
    box-shadow: 0 10px 24px rgba(44, 111, 179, 0.10);
}

.home-logo-item-nia {
    min-width: 88px;
}

.home-logo-item-nia img {
    max-width: 48px;
    max-height: 48px;
}

.theme-toggle[data-theme-mode="white"] .theme-toggle-thumb {
    transform: translateX(22px);
    background: linear-gradient(135deg, #ffffff, #dff4ff);
}

html[data-theme="white"] {
    color-scheme: light;
}

html[data-theme="white"] body {
    color: var(--text);
    background:
        radial-gradient(circle at 14% 14%, rgba(226, 242, 255, 0.72), transparent 24%),
        radial-gradient(circle at 88% 6%, rgba(240, 248, 255, 0.86), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 55%, #f7fbff 100%);
}

html[data-theme="white"] .site-header {
    background: rgba(255, 255, 255, 0.95);
}

html[data-theme="white"] .main-nav a {
    color: #5f7288;
}

html[data-theme="white"] .main-nav a:hover,
html[data-theme="white"] .main-nav a.active,
html[data-theme="white"] .home-brand-tag,
html[data-theme="white"] .eyebrow,
html[data-theme="white"] .badge,
html[data-theme="white"] table.data-table thead th,
html[data-theme="white"] .badge.info {
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(124, 202, 255, 0.10), rgba(223, 244, 255, 0.72));
    border-color: rgba(104, 184, 255, 0.14);
}

html[data-theme="white"] .button.ghost {
    background: rgba(255, 255, 255, 0.98);
}


/* --- 2026-04-18 final update: light blue + navy theme and site loader --- */
html[data-theme="light-blue"] {
    color-scheme: light;
    --bg: #dbeeff;
    --bg-soft: #cfe7fb;
    --card: rgba(255, 255, 255, 0.98);
    --card-2: rgba(242, 248, 255, 0.99);
    --line: rgba(90, 151, 214, 0.16);
    --text: #17314f;
    --muted: #5f7d9c;
    --primary: #6aaef2;
    --primary-dark: #2f6ea9;
    --accent: #9fd0ff;
    --accent-2: #d9eeff;
    --glow: 0 0 0 1px rgba(106, 174, 242, 0.10), 0 18px 40px rgba(159, 208, 255, 0.18);
    --shadow: 0 18px 40px rgba(47, 110, 169, 0.10);
    --shadow-soft: 0 10px 24px rgba(47, 110, 169, 0.08);
}

html[data-theme="light-blue"] body {
    color: var(--text);
    background:
        radial-gradient(circle at 15% 18%, rgba(156, 204, 249, 0.32), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(217, 238, 255, 0.60), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(106, 174, 242, 0.14), transparent 28%),
        linear-gradient(180deg, #f4faff 0%, #e5f2ff 50%, #d9ebfb 100%);
}

html[data-theme="light-blue"] .site-header {
    background: rgba(242, 248, 255, 0.94);
    border-bottom: 1px solid rgba(90, 151, 214, 0.14);
    box-shadow: 0 8px 24px rgba(47, 110, 169, 0.06);
}

html[data-theme="light-blue"] .brand-mark,
html[data-theme="light-blue"] .card,
html[data-theme="light-blue"] .panel,
html[data-theme="light-blue"] .table-wrap,
html[data-theme="light-blue"] .alert,
html[data-theme="light-blue"] .timeline-item,
html[data-theme="light-blue"] .metric,
html[data-theme="light-blue"] .price-card,
html[data-theme="light-blue"] .faq-item,
html[data-theme="light-blue"] .form-shell,
html[data-theme="light-blue"] .dashboard-card,
html[data-theme="light-blue"] .sidebar,
html[data-theme="light-blue"] .auth-card,
html[data-theme="light-blue"] .kpi-box,
html[data-theme="light-blue"] .track-card,
html[data-theme="light-blue"] .home-logo-item,
html[data-theme="light-blue"] .logo-chip {
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(243,248,255,0.97));
    border-color: rgba(90, 151, 214, 0.14);
    box-shadow: 0 10px 24px rgba(47, 110, 169, 0.08);
}

html[data-theme="light-blue"] .brand-mark {
    background: linear-gradient(135deg, #4f98e8, #88c2fb, #dff2ff);
}

html[data-theme="light-blue"] .home-logo-bar,
html[data-theme="light-blue"] .site-footer {
    background: linear-gradient(180deg, rgba(232, 243, 255, 0.98), rgba(220, 236, 250, 0.98));
    border-top-color: rgba(90, 151, 214, 0.16);
}

html[data-theme="light-blue"] .main-nav a {
    color: #56728f;
}

html[data-theme="light-blue"] .main-nav a:hover,
html[data-theme="light-blue"] .main-nav a.active,
html[data-theme="light-blue"] .home-brand-tag,
html[data-theme="light-blue"] .eyebrow,
html[data-theme="light-blue"] .badge,
html[data-theme="light-blue"] table.data-table thead th,
html[data-theme="light-blue"] .badge.info {
    color: #24598b;
    background: linear-gradient(135deg, rgba(106, 174, 242, 0.14), rgba(217, 238, 255, 0.78));
    border-color: rgba(90, 151, 214, 0.16);
}

html[data-theme="light-blue"] .button {
    background: linear-gradient(135deg, #4f98e8, #8bc7ff);
    color: #f8fbff;
}

html[data-theme="light-blue"] .button.ghost {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
}

html[data-theme="light-blue"] input,
html[data-theme="light-blue"] select,
html[data-theme="light-blue"] textarea {
    background: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(246,250,255,0.995));
}

html[data-theme="light-blue"] .hero-copy,
html[data-theme="light-blue"] .hero-aside .panel,
html[data-theme="light-blue"] .price-card,
html[data-theme="light-blue"] .track-card,
html[data-theme="light-blue"] .faq-item,
html[data-theme="light-blue"] .timeline-item,
html[data-theme="light-blue"] .metric {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(244,249,255,0.99));
}

html[data-theme="navy"] {
    color-scheme: dark;
    --bg: #061a32;
    --bg-soft: #0a2241;
    --card: rgba(11, 29, 56, 0.90);
    --card-2: rgba(13, 35, 68, 0.94);
    --line: rgba(144, 193, 255, 0.14);
    --text: #eef5ff;
    --muted: #b8cde7;
    --primary: #67b3ff;
    --primary-dark: #2c6fd6;
    --accent: #8fd1ff;
    --accent-2: #4fb3ff;
    --glow: 0 0 0 1px rgba(103, 179, 255, 0.14), 0 18px 45px rgba(79, 179, 255, 0.16);
    --shadow: 0 22px 60px rgba(2, 8, 23, 0.42);
    --shadow-soft: 0 14px 34px rgba(2, 8, 23, 0.28);
}

html[data-theme="navy"] body {
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(68, 130, 220, 0.24), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(106, 174, 242, 0.18), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(79, 179, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #03101f 0%, #061a32 45%, #0b2749 100%);
}

html[data-theme="navy"] .site-header {
    background: rgba(4, 16, 32, 0.84);
    border-bottom: 1px solid rgba(144, 193, 255, 0.12);
}

html[data-theme="navy"] .brand-mark,
html[data-theme="navy"] .card,
html[data-theme="navy"] .panel,
html[data-theme="navy"] .table-wrap,
html[data-theme="navy"] .alert,
html[data-theme="navy"] .timeline-item,
html[data-theme="navy"] .metric,
html[data-theme="navy"] .price-card,
html[data-theme="navy"] .faq-item,
html[data-theme="navy"] .form-shell,
html[data-theme="navy"] .dashboard-card,
html[data-theme="navy"] .sidebar,
html[data-theme="navy"] .auth-card,
html[data-theme="navy"] .kpi-box,
html[data-theme="navy"] .track-card,
html[data-theme="navy"] .home-logo-item,
html[data-theme="navy"] .logo-chip {
    background: linear-gradient(180deg, rgba(10,28,52,0.92), rgba(12,34,64,0.88));
    border-color: rgba(144, 193, 255, 0.12);
}

html[data-theme="navy"] .brand-mark {
    background: linear-gradient(135deg, #1d4ed8, #4fa4ff, #8fd1ff);
}

html[data-theme="navy"] .home-logo-bar,
html[data-theme="navy"] .site-footer {
    background: linear-gradient(180deg, rgba(6, 26, 50, 0.98), rgba(9, 34, 65, 0.98));
    border-top-color: rgba(144, 193, 255, 0.14);
}

html[data-theme="navy"] .main-nav a:hover,
html[data-theme="navy"] .main-nav a.active,
html[data-theme="navy"] .home-brand-tag,
html[data-theme="navy"] .eyebrow,
html[data-theme="navy"] .badge,
html[data-theme="navy"] table.data-table thead th,
html[data-theme="navy"] .badge.info {
    color: #eff6ff;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.28), rgba(79, 179, 255, 0.18));
    border-color: rgba(144, 193, 255, 0.16);
}

html[data-theme="navy"] .button {
    background: linear-gradient(135deg, #1d4ed8, #53a8ff);
    color: #f8fbff;
}

html[data-theme="navy"] .button.ghost {
    background: rgba(10, 28, 52, 0.88);
    color: #eff6ff;
    border-color: rgba(144, 193, 255, 0.14);
}

html[data-theme="navy"] input,
html[data-theme="navy"] select,
html[data-theme="navy"] textarea {
    background: linear-gradient(180deg, rgba(9,27,51,0.96), rgba(12,31,58,0.94));
    color: #eef5ff;
}

.theme-toggle {
    border: 1px solid rgba(90, 151, 214, 0.20);
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 255, 0.95));
}

html[data-theme="navy"] .theme-toggle {
    border-color: rgba(144, 193, 255, 0.18);
    color: #eff6ff;
    background: linear-gradient(135deg, rgba(11, 29, 56, 0.96), rgba(15, 38, 70, 0.95));
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.22);
}

html[data-theme="navy"] .theme-toggle-subtext {
    color: #b8cde7;
}

.theme-toggle-state {
    background: rgba(106, 174, 242, 0.14);
}

html[data-theme="navy"] .theme-toggle-state {
    background: rgba(103, 179, 255, 0.14);
}

.theme-toggle-slider-track {
    background: linear-gradient(135deg, rgba(106, 174, 242, 0.34), rgba(223, 244, 255, 0.96));
}

html[data-theme="navy"] .theme-toggle-slider-track {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.44), rgba(103, 179, 255, 0.28));
    border-color: rgba(144, 193, 255, 0.18);
}

.theme-toggle-thumb {
    background: linear-gradient(135deg, #6aaef2, #ffffff);
}

.theme-toggle[data-theme-mode="navy"] .theme-toggle-thumb {
    transform: translateX(22px);
    background: linear-gradient(135deg, #8fd1ff, #dceeff);
}

.home-logo-item-nia {
    min-width: 88px;
}

.home-logo-item-nia img {
    max-width: 50px;
    max-height: 50px;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(106, 174, 242, 0.18), transparent 26%),
        radial-gradient(circle at 80% 0%, rgba(79, 179, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(244, 250, 255, 0.98), rgba(220, 236, 250, 0.98));
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

html[data-theme="navy"] .site-loader {
    background:
        radial-gradient(circle at 20% 20%, rgba(103, 179, 255, 0.18), transparent 26%),
        radial-gradient(circle at 80% 0%, rgba(79, 179, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(4, 16, 32, 0.98), rgba(8, 28, 54, 0.98));
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader-box {
    width: min(420px, 100%);
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,248,255,0.96));
    border: 1px solid rgba(90, 151, 214, 0.16);
    box-shadow: 0 24px 60px rgba(47, 110, 169, 0.14);
}

html[data-theme="navy"] .site-loader-box {
    background: linear-gradient(180deg, rgba(10,28,52,0.96), rgba(12,34,64,0.94));
    border-color: rgba(144, 193, 255, 0.14);
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.28);
}

.site-loader-mark {
    width: 82px;
    height: 82px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #4f98e8, #8bc7ff, #dff2ff);
    box-shadow: 0 18px 36px rgba(79, 152, 232, 0.22);
}

html[data-theme="navy"] .site-loader-mark {
    background: linear-gradient(135deg, #1d4ed8, #53a8ff, #8fd1ff);
    box-shadow: 0 18px 36px rgba(29, 78, 216, 0.24);
}

.site-loader-mark img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.site-loader-spinner {
    width: 44px;
    height: 44px;
    margin: 0.4rem auto 1rem;
    border-radius: 50%;
    border: 3px solid rgba(106, 174, 242, 0.18);
    border-top-color: #4f98e8;
    animation: niaSpin 0.9s linear infinite;
}

html[data-theme="navy"] .site-loader-spinner {
    border-color: rgba(143, 209, 255, 0.18);
    border-top-color: #67b3ff;
}

.site-loader-title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: #17314f;
}

html[data-theme="navy"] .site-loader-title {
    color: #eef5ff;
}

.site-loader-subtitle {
    margin: 0.5rem 0 0;
    color: #5f7d9c;
    line-height: 1.6;
}

html[data-theme="navy"] .site-loader-subtitle {
    color: #b8cde7;
}

@keyframes niaSpin {
    to {
        transform: rotate(360deg);
    }
}


/* --- Navbar logo tidy update --- */
.brand {
    gap: 0.85rem;
}

.brand-mark-navbar {
    width: 156px;
    height: 54px;
    padding: 0.42rem 0.7rem;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,248,255,0.96));
    border: 1px solid rgba(104, 184, 255, 0.18);
    box-shadow: 0 10px 22px rgba(47, 120, 183, 0.10);
}

.brand-mark-navbar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

html[data-theme="navy"] .brand-mark-navbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,247,255,0.96));
    border-color: rgba(147, 197, 253, 0.18);
    box-shadow: 0 12px 24px rgba(2, 8, 23, 0.22);
}

@media (max-width: 991px) {
    .brand-mark-navbar {
        width: 142px;
        height: 50px;
        border-radius: 14px;
    }
}

@media (max-width: 767px) {
    .brand-mark-navbar {
        width: 124px;
        height: 46px;
        padding: 0.32rem 0.55rem;
        border-radius: 12px;
    }

    .brand {
        max-width: calc(100% - 62px);
    }
}


/* --- Navbar logo full-visibility refinement --- */
.brand {
    gap: 0.9rem;
}

.brand-mark-navbar {
    width: 132px;
    height: auto;
    min-height: 78px;
    padding: 0.35rem;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(244,249,255,0.97));
    border: 1px solid rgba(104, 184, 255, 0.18);
    box-shadow: 0 10px 22px rgba(47, 120, 183, 0.10);
}

.brand-mark-navbar img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
}

html[data-theme="navy"] .brand-mark-navbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(241,247,255,0.97));
    border-color: rgba(147, 197, 253, 0.18);
    box-shadow: 0 12px 24px rgba(2, 8, 23, 0.22);
}

@media (max-width: 991px) {
    .brand-mark-navbar {
        width: 120px;
        min-height: 72px;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .brand-mark-navbar {
        width: 104px;
        min-height: 64px;
        padding: 0.28rem;
        border-radius: 14px;
    }

    .brand {
        max-width: calc(100% - 62px);
    }
}


/* --- 2026-04-20 navbar logo update --- */
.brand {
    gap: 0;
}

.brand-mark-navbar {
    width: 200px;
    padding: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    display: block;
    line-height: 0;
    background: transparent;
    box-shadow: none;
}

.brand-mark-navbar img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.brand-text-block {
    display: none !important;
}

html[data-theme="navy"] .brand-mark-navbar,
html[data-theme="light-blue"] .brand-mark-navbar,
html[data-theme="white"] .brand-mark-navbar {
    background: transparent;
    border: 0;
    box-shadow: none;
}

@media (max-width: 1199px) {
    .brand-mark-navbar {
        width: 180px;
    }
}

@media (max-width: 980px) {
    .brand-mark-navbar {
        width: 165px;
    }
}

@media (max-width: 760px) {
    .brand-mark-navbar {
        width: 148px;
    }

    .brand {
        max-width: calc(100% - 62px);
    }
}

/* --- 2026-04-20 navbar single-row alignment update --- */
.site-header > .container.nav-shell {
    width: min(1380px, calc(100% - 2rem));
}

.nav-shell {
    gap: 0.8rem;
}

.main-nav {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.38rem;
    flex-wrap: nowrap;
}

.main-nav a,
.main-nav .button {
    white-space: nowrap;
    padding: 0.62rem 0.82rem;
    font-size: 0.94rem;
}

.main-nav .button.small,
.main-nav .button.ghost.small,
.main-nav .button.accent.small {
    padding: 0.62rem 0.9rem;
}

.theme-toggle {
    flex: 0 0 auto;
    white-space: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0.72rem;
    margin-left: 0.15rem;
}

.theme-toggle-text-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    white-space: nowrap;
}

.theme-toggle-text {
    font-size: 0.84rem;
    line-height: 1;
}

.theme-toggle-subtext {
    font-size: 0.72rem;
    line-height: 1;
}

.theme-toggle-slider-track {
    width: 42px;
    height: 22px;
}

.theme-toggle-thumb {
    width: 16px;
    height: 16px;
}

.theme-toggle[data-theme-mode="navy"] .theme-toggle-thumb,
.theme-toggle[data-theme-mode="white"] .theme-toggle-thumb {
    transform: translateX(20px);
}

@media (max-width: 1180px) {
    .site-header > .container.nav-shell {
        width: min(1280px, calc(100% - 1.5rem));
    }

    .brand-text-block small,
    .home-brand-tag {
        display: none;
    }

    .main-nav {
        gap: 0.28rem;
    }

    .main-nav a,
    .main-nav .button {
        padding: 0.58rem 0.72rem;
        font-size: 0.9rem;
    }

    .theme-toggle {
        padding: 0.46rem 0.62rem;
    }

    .theme-toggle-text {
        font-size: 0.8rem;
    }

    .theme-toggle-subtext {
        font-size: 0.68rem;
    }
}

@media (max-width: 980px) {
    .site-header > .container.nav-shell {
        width: min(1180px, calc(100% - 1rem));
    }

    .brand-text-block small,
    .home-brand-tag {
        display: inline-flex;
    }

    .main-nav {
        flex: initial;
        justify-content: initial;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .theme-toggle {
        width: 100%;
        margin-left: 0;
    }

    .theme-toggle-text-wrap {
        display: grid;
        gap: 0.08rem;
    }

    .theme-toggle-text,
    .theme-toggle-subtext {
        font-size: inherit;
        line-height: inherit;
    }

    .theme-toggle[data-theme-mode="navy"] .theme-toggle-thumb,
    .theme-toggle[data-theme-mode="white"] .theme-toggle-thumb {
        transform: translateX(22px);
    }
}
