/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    --nxa-bg: #070c18;
    --nxa-surface: #0f1830;
    --nxa-surface-soft: #151f3b;
    --nxa-line: rgba(255, 255, 255, 0.12);
    --nxa-text: #f3f7ff;
    --nxa-muted: rgba(243, 247, 255, 0.7);
    --nxa-accent: #9f5bff;
    --nxa-accent-2: #15d4c4;
    --nxa-accent-3: #ff6f61;
    --nxa-shell: min(1200px, calc(100vw - 40px));
    --nxa-radius-lg: 32px;
    --nxa-radius-md: 22px;
    --nxa-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);

    --header-h: 74px;
    --header-h-compact: 70px;
    --gnb-item-w: 136px;
    --header-bg: rgba(255, 255, 255, 0.96);
    --header-line: rgba(7, 12, 24, 0.08);
    --header-pill: #ffffff;
    --header-text: #151922;
    --header-muted: rgba(21, 25, 34, 0.72);
    --shadow-header: 0 12px 30px rgba(10, 18, 36, 0.08);
    --shadow-drawer: -18px 0 48px rgba(0, 0, 0, 0.32);
    --z-header: 9998;
    --z-dropdown: 9999;
    --z-drawer: 20000;
}

/* ==========================================================================
   Global Site Surface
   ========================================================================== */
body[data-site="nextaikorea"] {
    font-family: "SUIT Variable", "Pretendard", "Noto Sans KR", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(159, 91, 255, 0.24), transparent 36%),
        radial-gradient(circle at top right, rgba(21, 212, 196, 0.16), transparent 24%),
        linear-gradient(180deg, #07101f 0%, #081322 42%, #0b1120 100%);
    color: var(--nxa-text);
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body[data-site="nextaikorea"] a,
body[data-site="nextaikorea"] a:hover,
body[data-site="nextaikorea"] a:focus,
body[data-site="nextaikorea"] a:active {
    text-decoration: none !important;
}

body,
.wrap,
#wrap {
    background: transparent;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
}

body[data-site="nextaikorea"] .sub-visual,
body[data-site="nextaikorea"] .subhero,
.sub-visual,
.subhero {
    position: relative;
}

body[data-site="nextaikorea"] .container,
body[data-site="nextaikorea"] .inner,
.container,
.inner {
    width: min(1200px, calc(100vw - 40px));
}

.nxa-shell {
    width: var(--nxa-shell);
    margin: 0 auto;
}

/* ==========================================================================
   Shared Section Meta
   ========================================================================== */
.nxa-kicker {
    margin: 0 0 12px;
    color: var(--nxa-accent-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nxa-marked {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nxa-marked::after {
    content: none;
}

.nxa-marked__icon {
    display: block;
    width: 16px;
    height: 13px;
    flex: 0 0 auto;
    margin-top: 0;
    align-self: center;
}

.nxa-sectionTitle {
    margin: 0;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

/* ==========================================================================
   Header Shell
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: var(--z-header);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--header-line);
    transition:
        height 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.site-header.is-scrolled {
    height: var(--header-h-compact);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-header);
}

.header-spacer {
    height: var(--header-h);
}

.site-header.is-scrolled + .header-spacer {
    height: var(--header-h-compact);
}

.header-wrap {
    width: min(1280px, calc(100vw - 48px));
    height: 100%;
    margin: 0 auto;
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    height: 100%;
}

.brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    color: var(--header-text);
}

.brand-logo {
    display: block;
    height: 28px;
    width: auto;
}

.brand-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.main-nav {
    width: 100%;
    position: relative;
    grid-column: 2;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item {
    position: relative;
    display: flex;
    justify-content: center;
    width: var(--gnb-item-w);
}

.nav-item.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 10px;
    color: var(--header-text);
    font-family: "Rajdhani", "Pretendard", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-item.has-sub:hover > .nav-link,
.nav-item.has-sub:focus-within > .nav-link {
    color: #000;
    background: transparent;
}

.nav-toggle {
    display: none;
}

/* ==========================================================================
   Desktop Dropdown Navigation
   ========================================================================== */
.sub {
    list-style: none;
    margin: 0;
    padding: 16px 0 12px;
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: max-content;
    max-width: min(272px, calc(100vw - 32px));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(7, 12, 24, 0.08);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(10, 18, 36, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: var(--z-dropdown);
}

.sub::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(7, 12, 24, 0.08);
    border-top: 1px solid rgba(7, 12, 24, 0.08);
    transform: translateX(-50%) rotate(45deg);
}

.sub-item {
    list-style: none;
}

.sub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #252a36;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
    word-break: keep-all;
}

.sub-link:hover {
    color: #000;
    background: rgba(17, 20, 29, 0.04);
}

.nav-item.has-sub:hover > .sub,
.nav-item.has-sub:focus-within > .sub,
.nav-item.has-sub > .sub:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

header,
.header,
.header-inner,
.main-header {
    overflow: visible;
    position: relative;
    z-index: var(--z-dropdown);
}

/* ==========================================================================
   Social / Language Actions
   ========================================================================== */
.header-sns {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    border-radius: 999px;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

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

.sns-lang {
    min-width: 48px;
    padding: 0 12px;
    color: var(--header-text);
    border: 1px solid rgba(17, 20, 29, 0.12);
    background: #fff;
    font-family: "Rajdhani", "Pretendard", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.sns-icon {
    width: 28px;
    border: 0;
    background: transparent;
}

.sns-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.sns-ticket {
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--nxa-accent), var(--nxa-accent-3));
    font-size: 13px;
    font-weight: 800;
}

.m-nav-btn {
    grid-column: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.m-nav-ico {
    position: relative;
    display: block;
    width: 26px;
    height: 2px;
    background: #151922;
    border-radius: 999px;
}

.m-nav-ico::before,
.m-nav-ico::after {
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: #151922;
    border-radius: 999px;
}

.m-nav-ico::before {
    top: -8px;
}

.m-nav-ico::after {
    top: 8px;
}

.m-nav-overlay,
.m-nav-drawer {
    display: none;
}

.m-nav-btn,
.m-nav-overlay,
.m-nav-drawer {
    display: none !important;
}

/* ==========================================================================
   Quick Menu
   ========================================================================== */
.quick-menu {
    position: fixed;
    top: 168px;
    right: max(14px, calc((100vw - 1200px) / 2 - 174px));
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quick-item {
    width: 112px;
    min-height: 112px;
    padding: 14px 10px 12px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    white-space: normal;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 36px rgba(7, 12, 24, 0.18);
    backdrop-filter: blur(16px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 52px rgba(7, 12, 24, 0.16);
}

.quick-item:focus-visible {
    outline: 0;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 18px 36px rgba(7, 12, 24, 0.18);
}

.quick-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.quick-ico img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.quick-txt {
    flex: 0 0 auto;
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    word-break: keep-all;
    color: #fff;
}

.quick-top,
.quick-bottom {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.25;
}

.quick-top {
    font-size: 14px;
    font-weight: 900;
}

.quick-bottom {
    font-size: 13px;
    font-weight: 800;
}

.qm-primary {
    background: linear-gradient(180deg, rgba(191, 87, 255, 0.96), rgba(255, 118, 118, 0.94));
}

.qm-secondary {
    background: linear-gradient(180deg, rgba(34, 52, 92, 0.97), rgba(21, 34, 63, 0.95));
}

.qm-accent {
    background: linear-gradient(180deg, rgba(37, 212, 234, 0.96), rgba(39, 114, 255, 0.94));
}

.qm-smatof {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(14, 23, 48, 0.08);
    color: #0b1226;
}

.qm-smatof .quick-top,
.qm-smatof .quick-bottom,
.qm-smatof .quick-txt {
    color: #0b1226;
}

.qm-smatof .quick-ico {
    width: 82px;
    height: 32px;
}

.qm-smatof .quick-ico img {
    width: 82px;
    height: 32px;
    object-fit: contain;
    filter: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background:
        radial-gradient(circle at top left, rgba(159, 91, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #0a1020 0%, #0c1326 100%);
    color: #fff;
    padding: 100px 0 88px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .sec-container {
    width: min(1200px, calc(100vw - 40px));
    margin: 0 auto;
}

.site-footer .footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 42px;
}

.site-footer .footer-info {
    max-width: 900px;
}

.site-footer .footer-title {
    margin: 0 0 22px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.site-footer .footer-meta {
    display: grid;
    gap: 10px;
}

.site-footer .footer-meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.9;
    word-break: keep-all;
}

.site-footer .footer-meta a {
    color: var(--nxa-accent-2);
    text-decoration: none;
}

.site-footer .btn-top {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.14em;
    cursor: pointer;
    box-shadow: var(--shadow-header);
}

@media (max-width: 1240px) {
    .quick-menu {
        right: 10px;
    }
}

/* ==========================================================================
   Sub Hero
   ========================================================================== */
:root {
    --subhero-h: 404px;
    --subhero-h-md: 286px;
}

.subhero--visual {
    position: relative;
    margin-top: calc(-1 * var(--header-h));
    padding-top: var(--header-h);
    min-height: var(--subhero-h);
    background-image: var(--subhero-bgimg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.subhero--visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 24, 0.12), rgba(10, 14, 24, 0.22)),
        linear-gradient(90deg, rgba(10, 14, 24, 0.1), rgba(10, 14, 24, 0.08));
}

.subhero__inner {
    position: relative;
    z-index: 1;
    min-height: calc(var(--subhero-h) - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
}

.subhero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 980px;
    padding: 40px 0 18px;
    text-align: center;
    color: #fff;
    text-shadow: 0 6px 18px rgba(7, 12, 24, 0.24);
    transform: translateY(18px);
}

.subhero__title {
    width: min(70vw, 560px);
    aspect-ratio: 1031 / 122;
    margin: 0;
    background: url("/assets/nextaikorea/img/home/ai_x_smatof_white.png") no-repeat center center;
    background-size: contain;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
    text-shadow: none;
}

.subhero__subtitle {
    display: none;
}

.subhero__badge {
    margin-top: 16px;
}

.subhero__badge > span {
    display: inline-block;
    min-width: min(92vw, 610px);
    padding: 12px 38px 13px;
    border-radius: 999px;
    background: #000;
    border: 0;
    color: #fff;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.04em;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.subhero-bar {
    display: none;
}

.subhero-tabs {
    position: relative;
    background: #fff;
    border-bottom: 1px solid rgba(7, 12, 24, 0.08);
}

.subhero-tabs__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0 24px;
    min-height: 66px;
}

.subhero-tabs__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    min-height: 66px;
    padding: 13px 10px 11px;
    color: #151925;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
}

.subhero-tabs__link:hover,
.subhero-tabs__link.is-active {
    color: #243c8f;
    font-weight: 700;
}

.subhero-tabs__link:hover::after,
.subhero-tabs__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--nxa-accent), var(--nxa-accent-2));
    transform: translateX(-50%);
}

.m-subnav {
    display: none;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1040px) {
    :root {
        --m-drawer-w: min(86vw, 360px);
        --m-drawer-z: var(--z-drawer);
        --m-drawer-bg: #0b1226;
        --m-drawer-sub-bg: #141d35;
        --m-drawer-line: rgba(255, 255, 255, 0.12);
        --m-drawer-pad: 26px;
    }

    .site-header .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 12px;
    }

    .site-header .header-inner > .main-nav,
    .site-header .header-inner > .header-sns {
        display: none;
    }

    .m-nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        padding: 0;
        cursor: pointer;
    }

    .m-nav-ico {
        position: relative;
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    .m-nav-ico::before,
    .m-nav-ico::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    .m-nav-ico::before {
        top: -7px;
    }

    .m-nav-ico::after {
        top: 7px;
    }

    .m-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: var(--m-drawer-z);
        background: rgba(0, 0, 0, 0.32);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease;
    }

    .m-nav-drawer {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: var(--m-drawer-w);
        height: 100vh;
        z-index: calc(var(--m-drawer-z) + 1);
        transform: translateX(102%);
        transition: transform 0.22s ease;
        box-shadow: var(--shadow-drawer);
        overflow: hidden;
    }

    body.m-nav-open .m-nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.m-nav-open .m-nav-drawer {
        transform: translateX(0);
    }

    body.m-nav-open {
        overflow: hidden;
    }

    .m-nav-drawer .m-drawer {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: var(--m-drawer-bg);
        color: #fff;
    }

    .m-nav-drawer .m-drawer__top {
        position: relative;
        padding: 14px var(--m-drawer-pad) 12px;
    }

    .m-nav-drawer .m-drawer__logo {
        display: block;
        width: min(168px, calc(100% - 62px));
        max-height: 50px;
        height: auto;
    }

    .m-nav-drawer .m-drawer__title {
        font-size: 28px;
        font-weight: 900;
        letter-spacing: -0.03em;
    }

    .m-nav-drawer .m-drawer__top::after {
        content: "";
        display: block;
        height: 1px;
        margin-top: 12px;
        background: rgba(255, 255, 255, 0.16);
    }

    .m-nav-drawer .m-drawer__close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
    }

    .m-nav-drawer .m-drawer__body {
        flex: 1;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .m-nav-drawer .m-drawer__bottom {
        padding: 22px var(--m-drawer-pad) var(--m-drawer-pad);
    }

    .m-nav-drawer .main-nav,
    .m-nav-drawer .nav-list {
        display: block;
        width: 100%;
    }

    .m-nav-drawer .nav-item {
        width: 100%;
        display: block;
        position: relative;
    }

    .m-nav-drawer .nav-item::after {
        content: "";
        display: block;
        height: 1px;
        margin: 0 var(--m-drawer-pad);
        background: var(--m-drawer-line);
    }

    .m-nav-drawer .nav-item:last-child::after {
        display: none;
    }

    .m-nav-drawer .nav-link {
        display: block;
        min-height: 0;
        padding: 18px calc(var(--m-drawer-pad) + 24px) 18px var(--m-drawer-pad);
        color: #fff;
        font-size: 18px;
        font-weight: 900;
        text-align: left;
        background: transparent;
        border-radius: 0;
    }

    .m-nav-drawer .nav-toggle {
        display: block;
        position: absolute;
        top: 8px;
        right: 12px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .m-nav-drawer .nav-toggle::before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        margin: 0 auto;
        border-right: 2px solid rgba(255, 255, 255, 0.85);
        border-bottom: 2px solid rgba(255, 255, 255, 0.85);
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .m-nav-drawer .nav-item.is-open > .nav-toggle::before {
        transform: rotate(-135deg);
    }

    .m-nav-drawer .sub {
        display: none;
        position: static;
        transform: none;
        width: 100%;
        margin: 0;
        padding: 10px 0 14px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: var(--m-drawer-sub-bg);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .m-nav-drawer .sub::before {
        display: none;
    }

    .m-nav-drawer .nav-item.is-open > .sub {
        display: block;
    }

    .m-nav-drawer .sub-link {
        display: block;
        padding: 10px var(--m-drawer-pad);
        color: rgba(255, 255, 255, 0.82);
        text-align: left;
        font-size: 15px;
        font-weight: 700;
    }

    .m-nav-drawer .sub-link::before {
        content: "- ";
        margin-right: 6px;
    }

    .m-nav-drawer .m-drawer__bottom .header-sns {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .m-nav-drawer .m-drawer__bottom .sns-lang {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.28);
    }

    .m-nav-drawer .m-drawer__bottom .sns-icon {
        background: rgba(255, 255, 255, 0.12);
    }

    .quick-menu {
        display: none;
    }

    .subhero--visual {
        min-height: var(--subhero-h-md);
    }

    .subhero__inner {
        min-height: calc(var(--subhero-h-md) - var(--header-h));
    }

    .subhero__title {
        width: min(82vw, 460px);
    }

    .subhero__badge > span {
        min-width: 0;
        padding: 12px 18px;
        font-size: 16px;
        line-height: 1.3;
    }

    .subhero-tabs {
        display: none;
    }

    .m-subnav {
        display: block;
        position: relative;
        z-index: 20;
        background: #fff;
        border-bottom: 1px solid rgba(7, 12, 24, 0.08);
    }

    .m-subnav .site-container {
        width: min(1200px, calc(100vw - 28px));
        margin: 0 auto;
    }

    .m-subnav__bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 0;
    }

    .m-subnav__btn {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 14px;
        border: 1px solid rgba(7, 12, 24, 0.08);
        border-radius: 16px;
        background: #fff;
    }

    .m-subnav__text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #0b1226;
        font-size: 14px;
        font-weight: 700;
    }

    .m-subnav__chev {
        width: 9px;
        height: 9px;
        border-right: 2px solid rgba(7, 12, 24, 0.6);
        border-bottom: 2px solid rgba(7, 12, 24, 0.6);
        transform: rotate(45deg);
        transition: transform 0.18s ease;
    }

    .m-subnav__btn[aria-expanded="true"] .m-subnav__chev {
        transform: rotate(-135deg);
    }

    .m-subnav__panel {
        display: none;
        padding: 0 0 12px;
    }

    .m-subnav__panel.is-open {
        display: block;
    }

    .m-subnav__list {
        margin: 0;
        padding: 0;
        list-style: none;
        border: 1px solid rgba(7, 12, 24, 0.08);
        border-radius: 18px;
        overflow: hidden;
        background: #fff;
    }

    .m-subnav__item + .m-subnav__item {
        border-top: 1px solid rgba(7, 12, 24, 0.06);
    }

    .m-subnav__link {
        display: block;
        padding: 12px 14px;
        color: rgba(7, 12, 24, 0.78);
        font-size: 14px;
        font-weight: 600;
    }

    .m-subnav__link.is-active {
        color: #0b1226;
        background: rgba(159, 91, 255, 0.08);
    }

    .site-footer {
        padding: 72px 0 64px;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer .btn-top {
        width: auto;
        height: auto;
        padding: 12px 18px;
    }
}

@media (min-width: 1041px) {
    .m-nav-btn,
    .m-nav-overlay,
    .m-nav-drawer {
        display: none !important;
    }

    body.m-nav-open {
        overflow: auto;
    }
}
