:root {
    --page-bg: #EAF2FB;
    --content-bg: #FFFFFF;
    --soft-bg: #F4F8FF;
    --soft-bg-2: #EDF5FF;
    --soft-bg-3: #E1ECF8;
    --primary: #2FA8F7;
    --primary-light: #45C7FF;
    --primary-dark: #137CD8;
    --title: #137CD8;
    --text: #24364F;
    --muted: #5D718A;
    --border: rgba(47, 168, 247, 0.14);
    --footer: #102B46;
    --footer-text: #EAF6FF;
    --shadow: 0 18px 50px rgba(29, 89, 145, 0.10);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--page-bg);
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow-y: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a,
button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

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

button {
    font: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 12000;
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(47,168,247,.12);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.desktop-header {
    height: 100%;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 104px;
    align-items: center;
    gap: 28px;
}

.brand-logo,
.mobile-logo,
.drawer-logo {
    display: inline-flex;
    align-items: center;
}

.brand-logo img {
    width: 156px;
    max-height: 48px;
    object-fit: contain;
}

.core-nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    gap: 10px;
    white-space: nowrap;
}

.core-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 0 14px;
    color: var(--muted);
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}

.core-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width .2s ease;
    pointer-events: none;
}

.core-nav-link:hover,
.core-nav-link.active {
    color: var(--primary-dark);
    background: linear-gradient(180deg, rgba(47,168,247,0), rgba(47,168,247,.07));
}

.core-nav-link:hover::after,
.core-nav-link.active::after {
    width: 34px;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #45C7FF 0%, #2FA8F7 48%, #137CD8 100%);
    box-shadow: 0 12px 26px rgba(19,124,216,0.18);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(19,124,216,.24);
}

.header-register {
    justify-self: end;
    position: relative;
    z-index: 9050;
}

.mobile-header {
    display: none;
}

.channel-bar-wrap {
    position: sticky;
    top: var(--header-height);
    z-index: 7000;
    margin-top: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(244,248,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.channel-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(47,168,247,.25) transparent;
}

.channel-bar::-webkit-scrollbar {
    height: 4px;
}

.channel-bar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(47,168,247,.25);
}

.channel-pill {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.4;
    transition: all .2s ease;
}

.channel-pill:hover,
.channel-pill.active {
    color: #fff;
    border-color: rgba(47,168,247,.28);
    background: var(--primary);
}

.site-main {
    min-height: 60vh;
}

.section {
    padding: 70px 0;
}

.section.compact {
    padding: 48px 0;
}

.section-white {
    background: var(--content-bg);
}

.section-soft {
    background: var(--soft-bg);
}

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

.section-head .eyebrow,
.page-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    margin-bottom: 10px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--soft-bg-2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.section-head h2,
.page-title,
.card-title {
    margin: 0;
    color: var(--title);
    line-height: 1.25;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--primary-dark);
    font-weight: 800;
}

.text-link::after {
    content: " →";
    margin-left: 5px;
}

.text-link:hover {
    color: var(--primary);
}

.banner-slider-wrap {
    padding: 28px 0 48px;
    background: var(--page-bg);
}

.banner-slider {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 10px solid #fff;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow);
}

.banner-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6.15;
    min-height: 280px;
    background: var(--soft-bg-3);
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--soft-bg-3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--primary-dark);
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 24px rgba(19,124,216,.16);
    cursor: pointer;
    transform: translateY(-50%);
}

.slider-arrow:hover {
    color: #fff;
    background: var(--primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(19,124,216,.34);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    cursor: pointer;
}

.slider-dot.active {
    width: 30px;
    border-radius: 999px;
    background: var(--primary);
}

.page-hero {
    padding: 72px 0 54px;
    background:
        radial-gradient(circle at 85% 18%, rgba(69,199,255,.23), transparent 26%),
        linear-gradient(135deg, #F8FBFF 0%, #EDF6FF 48%, #E1EEFB 100%);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr);
    align-items: center;
    gap: 48px;
}

.page-title {
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: -.035em;
}

.page-lead {
    max-width: 690px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid rgba(19,124,216,.22);
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(255,255,255,.82);
    font-weight: 800;
}

.secondary-btn:hover {
    border-color: var(--primary);
    background: #fff;
}

.hero-media,
.content-media {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

.hero-media {
    padding: 16px;
}

.hero-media img {
    width: 100%;
    height: clamp(270px, 32vw, 430px);
    object-fit: contain;
    border-radius: calc(var(--radius-lg) - 8px);
    background: var(--soft-bg-2);
}

.intro-grid,
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    align-items: center;
    gap: 46px;
}

.intro-copy p,
.rich-copy p {
    margin: 0 0 16px;
    color: var(--muted);
}

.content-media img {
    width: 100%;
    min-height: 300px;
    max-height: 470px;
    object-fit: contain;
    background: var(--soft-bg-2);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.quick-card,
.info-card,
.feature-card,
.review-card,
.faq-item,
.notice-card,
.support-card,
.stat-card,
.article-card {
    border: 1px solid var(--border);
    background: var(--content-bg);
    box-shadow: 0 10px 34px rgba(29,89,145,.07);
}

.quick-card {
    min-height: 208px;
    padding: 25px;
    border-radius: var(--radius-md);
    transition: transform .2s ease, box-shadow .2s ease;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(29,89,145,.12);
}

.quick-card .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    font-weight: 900;
}

.quick-card h3,
.info-card h3,
.feature-card h3,
.review-card h3,
.support-card h3,
.stat-card h3,
.article-card h3 {
    margin: 0 0 10px;
    color: var(--title);
    line-height: 1.35;
}

.quick-card p,
.info-card p,
.feature-card p,
.review-card p,
.support-card p,
.stat-card p,
.article-card p {
    margin: 0;
    color: var(--muted);
}

.quick-card .text-link {
    margin-top: 14px;
}

.platform-strip {
    padding: 24px 28px;
    border: 1px solid rgba(47,168,247,.2);
    border-radius: var(--radius-md);
    color: var(--text);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(237,245,255,.96));
    box-shadow: 0 12px 30px rgba(29,89,145,.07);
}

.platform-strip p {
    margin: 0;
}

.info-grid,
.feature-grid,
.review-grid,
.stats-grid,
.article-grid {
    display: grid;
    gap: 18px;
}

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

.feature-grid,
.review-grid,
.article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.feature-card,
.review-card,
.support-card,
.stat-card,
.article-card {
    padding: 24px;
    border-radius: var(--radius-md);
}

.info-card::before,
.feature-card::before,
.stat-card::before {
    content: "";
    display: block;
    width: 44px;
    height: 5px;
    margin-bottom: 17px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.media-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 14px 40px rgba(29,89,145,.08);
}

.media-card.reverse {
    grid-template-columns: minmax(0, 1fr) 190px;
}

.media-card-image {
    min-height: 300px;
    background: var(--soft-bg-2);
}

.media-card-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: contain;
}

.media-card-body {
    padding: 30px;
}

.media-card-body h3 {
    margin: 0 0 12px;
    color: var(--title);
    font-size: 28px;
}

.media-card-body p {
    margin: 0 0 14px;
    color: var(--muted);
}

.point-list,
.check-list {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 18px 0;
    list-style: none;
}

.point-list li,
.check-list li {
    position: relative;
    padding-left: 25px;
    color: var(--text);
}

.point-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(47,168,247,.12);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 12px 36px rgba(29,89,145,.08);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--soft-bg-2);
}

.category-card-body {
    padding: 24px;
}

.category-card-body h3 {
    margin: 0 0 10px;
    color: var(--title);
}

.category-card-body p {
    margin: 0;
    color: var(--muted);
}

.category-card-body .text-link {
    margin-top: 13px;
}

.notice-list,
.faq-list,
.timeline-list {
    display: grid;
    gap: 14px;
}

.notice-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
}

.notice-card .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--soft-bg-2);
    font-size: 14px;
    font-weight: 800;
}

.notice-card h3 {
    margin: 0 0 4px;
    color: var(--title);
}

.notice-card p {
    margin: 0;
    color: var(--muted);
}

.review-card {
    position: relative;
    padding-top: 54px;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: 8px;
    left: 22px;
    color: rgba(47,168,247,.28);
    font-family: Georgia, serif;
    font-size: 66px;
    line-height: 1;
    pointer-events: none;
}

.review-card .review-meta {
    display: block;
    margin-top: 16px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
}

.faq-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.faq-question {
    width: 100%;
    min-height: 56px;
    padding: 17px 22px;
    border: 0;
    color: var(--title);
    background: #fff;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    background: var(--soft-bg);
}

.faq-answer {
    padding: 0 22px 20px;
    color: var(--muted);
    background: #fff;
}

.faq-answer p {
    margin: 0;
}

.faq-item.collapsible .faq-answer {
    display: none;
}

.faq-item.collapsible.is-open .faq-answer {
    display: block;
}

.rich-panel {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

.rich-panel h2,
.rich-panel h3 {
    color: var(--title);
}

.rich-panel h2 {
    margin: 0 0 18px;
    font-size: 34px;
}

.rich-panel h3 {
    margin: 28px 0 12px;
}

.rich-panel p {
    color: var(--muted);
}

.two-column-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 30px;
}

.side-nav {
    position: sticky;
    top: 154px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 12px 36px rgba(29,89,145,.08);
}

.side-nav h2 {
    margin: 0 0 14px;
    color: var(--title);
    font-size: 20px;
}

.side-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--muted);
}

.side-nav a:hover {
    color: var(--primary-dark);
    background: var(--soft-bg-2);
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(29,89,145,.07);
}

.timeline-item strong {
    color: var(--primary-dark);
}

.timeline-item h3 {
    margin: 0 0 6px;
    color: var(--title);
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 36px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(135deg, #45C7FF 0%, #2FA8F7 48%, #137CD8 100%);
    box-shadow: 0 18px 46px rgba(19,124,216,.22);
}

.cta-panel h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 32px;
}

.cta-panel p {
    margin: 0;
    color: rgba(255,255,255,.9);
}

.cta-panel .main-btn {
    color: var(--primary-dark);
    background: #fff;
    box-shadow: 0 12px 28px rgba(16,43,70,.16);
}

.floating-service {
    position: fixed;
    top: 50%;
    right: 20px;
    z-index: 8000;
    display: grid;
    gap: 8px;
    width: 116px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 16px 40px rgba(29,89,145,.14);
    transform: translateY(-50%);
}

.floating-service a,
.floating-service button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 9px;
    border: 0;
    border-radius: 10px;
    color: var(--primary-dark);
    background: var(--soft-bg);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.floating-service a:hover,
.floating-service button:hover {
    background: var(--soft-bg-3);
}

.floating-service .float-register {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.site-footer {
    padding: 64px 0 26px;
    color: var(--footer-text);
    background: var(--footer);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, .72fr));
    gap: 46px;
}

.footer-brand img {
    width: 156px;
    max-height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 450px;
    color: rgba(234,246,255,.72);
}

.footer-app-link {
    display: inline-flex;
    color: #fff;
    font-weight: 800;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
}

.footer-grid > div:not(.footer-brand) a {
    display: block;
    margin: 9px 0;
    color: rgba(234,246,255,.72);
}

.footer-grid a:hover {
    color: var(--primary-light);
}

.footer-note {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 24px;
    margin-top: 40px;
    border-top: 1px solid rgba(234,246,255,.12);
}

.footer-note p {
    margin: 0;
    color: rgba(234,246,255,.64);
    font-size: 13px;
}

.footer-note p:first-child {
    max-width: 820px;
}

.mobile-drawer,
.drawer-mask,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1320px) {
    .floating-service {
        right: 8px;
        width: 104px;
    }
}

@media (max-width: 1100px) {
    .desktop-header {
        grid-template-columns: 160px minmax(0, 1fr) 90px;
        gap: 14px;
    }

    .core-nav {
        gap: 2px;
    }

    .core-nav-link {
        min-width: 74px;
        padding-inline: 9px;
        font-size: 14px;
    }

    .floating-service {
        display: none;
    }

    .quick-grid,
    .feature-grid,
    .review-grid,
    .article-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .card-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 28px;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 64px;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .shell {
        width: min(100% - 28px, 680px);
    }

    .desktop-header,
    .channel-bar-wrap,
    .floating-service {
        display: none;
    }

    .site-header {
        height: var(--header-height);
    }

    .mobile-header {
        position: relative;
        z-index: 9000;
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr) 78px;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0 12px;
    }

    .menu-toggle {
        justify-self: start;
        display: grid;
        place-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: var(--soft-bg-2);
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 999px;
        background: var(--primary-dark);
    }

    .mobile-logo {
        justify-self: center;
        max-width: 142px;
        height: 46px;
    }

    .mobile-logo img {
        width: 138px;
        max-height: 42px;
        object-fit: contain;
    }

    .mobile-register {
        position: relative;
        z-index: 9050;
        justify-self: end;
        min-width: 70px;
        min-height: 44px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .site-main {
        padding-top: var(--header-height);
    }

    .drawer-mask {
        position: fixed;
        inset: 0;
        z-index: 9990;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(16,43,70,.46);
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .drawer-mask[hidden] {
        display: none;
    }

    .drawer-mask.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 10000;
        display: block;
        width: min(86vw, 360px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: 20px 0 50px rgba(16,43,70,.22);
        transform: translateX(-105%);
        transition: transform .26s ease;
    }

    .mobile-drawer.is-open {
        transform: translateX(0);
    }

    .drawer-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(10px);
    }

    .drawer-logo img {
        width: 150px;
        max-height: 44px;
        object-fit: contain;
    }

    .drawer-close {
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        color: var(--primary-dark);
        background: var(--soft-bg-2);
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    .drawer-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 16px 14px 32px;
    }

    .drawer-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 10px 13px;
        border: 1px solid transparent;
        border-radius: 12px;
        color: var(--muted);
        background: var(--soft-bg);
        font-size: 14px;
        font-weight: 700;
    }

    .drawer-link:hover,
    .drawer-link.active {
        color: var(--primary-dark);
        border-color: rgba(47,168,247,.18);
        background: var(--soft-bg-3);
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 8500;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--border);
        background: rgba(255,255,255,.96);
        box-shadow: 0 -10px 30px rgba(29,89,145,.10);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        border-radius: 12px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
    }

    .mobile-bottom-nav a span {
        display: block;
        min-width: 28px;
        height: 24px;
        margin-bottom: 1px;
        color: inherit;
        font-size: 15px;
        font-weight: 900;
        line-height: 24px;
        text-align: center;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a.active {
        color: var(--primary-dark);
        background: var(--soft-bg-2);
    }

    .banner-slider-wrap {
        padding: 18px 0 32px;
    }

    .banner-slider {
        border-width: 6px;
        border-radius: 20px;
    }

    .banner-track {
        min-height: 180px;
        aspect-ratio: 16 / 8.5;
    }

    .slider-arrow {
        width: 44px;
        height: 44px;
    }

    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }

    .slider-dots {
        bottom: 10px;
    }

    .page-hero {
        padding: 50px 0 42px;
    }

    .page-hero-grid,
    .intro-grid,
    .split-grid,
    .two-column-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .page-lead {
        font-size: 16px;
    }

    .hero-media img {
        height: min(80vw, 390px);
    }

    .section {
        padding: 54px 0;
    }

    .section.compact {
        padding: 38px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .section-head h2 {
        font-size: 30px;
    }

    .quick-grid,
    .feature-grid,
    .review-grid,
    .article-grid,
    .category-grid,
    .info-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .media-card,
    .media-card.reverse {
        grid-template-columns: 1fr;
    }

    .media-card-image,
    .media-card-image img {
        min-height: 250px;
    }

    .media-card.reverse .media-card-image {
        order: -1;
    }

    .notice-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .notice-card .text-link {
        justify-self: start;
    }

    .side-nav {
        position: static;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cta-panel {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-note {
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .shell {
        width: calc(100% - 22px);
    }

    .mobile-header {
        grid-template-columns: 64px minmax(0, 1fr) 70px;
        padding-inline: 8px;
    }

    .mobile-logo img {
        width: min(132px, 38vw);
    }

    .drawer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        padding-inline: 10px;
    }

    .drawer-link {
        padding-inline: 10px;
        font-size: 13px;
    }

    .banner-track {
        min-height: 150px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .page-hero {
        padding-top: 42px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions .main-btn,
    .hero-actions .secondary-btn {
        width: 100%;
    }

    .quick-card,
    .info-card,
    .feature-card,
    .review-card,
    .support-card,
    .stat-card,
    .article-card,
    .rich-panel {
        padding: 22px;
    }

    .media-card-body {
        padding: 23px;
    }

    .media-card-body h3 {
        font-size: 24px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
