:root {
    --bg: #F5FAFE;
    --bg-deep: #E7F2FA;
    --surface: #FFFFFF;
    --surface-2: #D7EAF6;
    --title: #16324A;
    --text: #2A4156;
    --muted: #4E6A80;
    --soft: #6E8899;
    --brand: #4AA3E0;
    --brand-light: #6BB8EC;
    --deep: #1B4A6E;
    --mist: #EAF5FC;
    --border: rgba(74,163,224,.16);
    --border-strong: rgba(74,163,224,.42);
    --shadow: 0 12px 28px rgba(27,74,110,.08);
    --radius: 12px;
    --shell: 1120px;
    --top-offset: 122px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
body.ui-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 200;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--deep);
}
.skip-link:focus { top: 8px; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; }
.topline { height: 22px; background: var(--deep); color: #fff; font-size: 12px; }
.topline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topline-brand { white-space: nowrap; }
.topline-search {
    min-width: 54px;
    height: 22px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.masthead { height: 60px; background: var(--surface); border-bottom: 1px solid var(--border); }
.masthead-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.mast-logo { justify-self: start; display: inline-flex; min-width: 56px; height: 44px; align-items: center; color: var(--title); font-weight: 800; font-size: 20px; }
.mast-logo img, .drawer-brand img, .footer-logo img { height: 28px; width: auto; object-fit: contain; object-position: center; }
.drawer-open {
    min-width: 80px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--mist);
    color: var(--deep);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.app-entry { justify-self: end; min-width: 82px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--deep); font-size: 14px; font-weight: 700; }
.tabbar { height: 40px; background: var(--mist); border-bottom: 1px solid var(--border); }
.tabbar-inner { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tab-link { min-width: 84px; height: 32px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--deep); font-size: 13px; }
.tab-link.is-current { background: var(--brand); color: #fff; }
.site-main { padding-top: calc(var(--top-offset) + 26px); min-height: 70vh; }
.page { padding-bottom: 72px; }
.page-head { margin-bottom: 28px; }
.eyebrow { margin: 0 0 6px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { margin: 0; color: var(--title); line-height: 1.3; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 14px; }
.lead { max-width: 780px; margin-top: 14px; color: var(--muted); }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head p { margin: 0; color: var(--soft); font-size: 13px; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card-pad { padding: 22px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card h2, .card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.media-slot { min-height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border); background: var(--mist); border-radius: var(--radius); }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.banner { height: 260px; }
.media-slot.medium { height: 200px; }
.media-slot.small { height: 180px; }
.media-slot.app-portrait { height: min(360px, 64vw); max-height: 360px; }
.media-placeholder { width: 100%; height: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mist), var(--bg-deep)); color: var(--deep); font-weight: 800; letter-spacing: .16em; }
.hero-copy { padding: 22px 4px 0; }
.hero-copy .brand-line { display: inline-flex; align-items: center; gap: 8px; color: var(--deep); font-size: 13px; font-weight: 700; }
.hero-copy h1 { margin-top: 8px; }
.hero-copy .lead { max-width: 860px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.btn-primary { color: #fff; background: linear-gradient(135deg,#6BB8EC 0%,#4AA3E0 55%,#1B4A6E 100%); border: 1px solid transparent; }
.btn-secondary { color: var(--deep); background: var(--surface); border: 1px solid var(--border-strong); }
.btn:hover, .tab-link:hover, .drawer-open:hover, .app-entry:hover, .drawer-item:hover, .mobile-nav-item:hover, .footer-links a:hover, .text-link:hover { filter: brightness(.97); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(74,163,224,.34); outline-offset: 2px; }
.feature-card { overflow: hidden; }
.feature-card .card-body { padding: 18px; }
.feature-card .kicker { color: var(--brand); font-size: 12px; font-weight: 800; }
.number-list { display: grid; gap: 10px; }
.number-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.number-item:first-child { border-top: 0; }
.number-item strong { color: var(--brand); font-size: 18px; }
.shelf { display: grid; gap: 10px; }
.shelf-item { display: grid; grid-template-columns: minmax(120px, .45fr) 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.shelf-item strong { color: var(--title); }
.shelf-item span { color: var(--muted); }
.shelf-item a { color: var(--deep); font-weight: 700; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 0 0 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: relative; z-index: 1; width: 31px; height: 31px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--brand); font-size: 12px; font-weight: 800; }
.status { display: inline-flex; min-height: 28px; padding: 0 10px; align-items: center; border-radius: 999px; background: var(--mist); color: var(--deep); font-size: 12px; font-weight: 700; }
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.prose h2 { margin-top: 26px; margin-bottom: 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 20px; margin-bottom: 8px; }
.prose ul, .prose ol { margin: 10px 0 18px; padding-left: 1.35em; }
.prose li { margin: 7px 0; }
.note-box { padding: 18px; background: var(--mist); border: 1px solid var(--border); border-radius: 10px; color: var(--deep); }
.index-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.index-link { min-height: 88px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.index-link strong { color: var(--title); }
.index-link small { color: var(--soft); font-size: 12px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 18px; align-items: start; }
.app-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .5fr); gap: 20px; align-items: center; padding: 22px; }
.icon-row { display: flex; gap: 12px; align-items: center; }
.icon-slot { width: 48px; height: 48px; display: flex; flex: 0 0 48px; align-items: center; justify-content: center; border-radius: 12px; overflow: hidden; background: var(--mist); border: 1px solid var(--border); }
.icon-slot img { width: 48px; height: 48px; object-fit: contain; object-position: center; }
.icon-fallback { color: var(--deep); font-weight: 900; }
.text-link { color: var(--deep); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { margin-top: 26px; background: var(--deep); color: #E7F2FA; border-top: 1px solid rgba(234,245,252,.22); font-size: 13px; }
.footer-top { padding: 32px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.footer-logo { min-width: 70px; height: 44px; display: inline-flex; align-items: center; color: #fff; font-size: 20px; font-weight: 900; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand span { color: #E7F2FA; }
.footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.footer-group h2 { margin-bottom: 10px; color: #fff; font-size: 13px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: #E7F2FA; }
.footer-notice { max-width: 850px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(234,245,252,.18); color: #E7F2FA; }
.footer-copy { margin-bottom: 0; color: #E7F2FA; }
.ui-overlay { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; opacity: 0; background: rgba(22,50,74,.34); transition: opacity .22s ease, visibility .22s ease; }
.ui-overlay.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(400px, 86vw); visibility: hidden; pointer-events: none; transform: translateX(102%); background: var(--surface); box-shadow: -18px 0 42px rgba(27,74,110,.16); transition: transform .24s ease, visibility .24s ease; }
.drawer.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
.drawer-head { height: 72px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--title); font-weight: 900; }
.icon-close { min-width: 58px; height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--deep); cursor: pointer; }
.drawer-body { height: calc(100% - 72px); overflow-y: auto; padding: 18px; }
.drawer-group { margin-bottom: 22px; }
.drawer-group h2 { margin-bottom: 8px; color: var(--soft); font-size: 12px; letter-spacing: .08em; }
.drawer-item { display: block; padding: 12px; border-radius: 10px; border: 1px solid transparent; }
.drawer-item span { display: block; color: var(--title); font-weight: 800; }
.drawer-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.drawer-item.is-current { background: var(--brand); border-color: var(--brand); }
.drawer-item.is-current span, .drawer-item.is-current small { color: #fff; }
.search-panel { position: fixed; left: 0; right: 0; top: 82px; z-index: 95; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.search-panel.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(calc(100% - 32px), 760px); margin: 12px auto 0; padding: 20px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); }
.search-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.search-head strong { color: var(--title); font-size: 18px; }
.search-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.search-field { display: grid; gap: 7px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.search-field input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg); color: var(--text); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.search-presets a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--mist); color: var(--deep); font-weight: 700; }
.search-empty { color: var(--muted); }
.mobile-nav { display: none; }
@media (max-width: 860px) {
    :root { --top-offset: 82px; }
    .shell { width: min(calc(100% - 32px), var(--shell)); }
    .tabbar { display: none; }
    .site-main { padding-top: calc(var(--top-offset) + 22px); }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split, .app-card { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        height: calc(48px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        background: var(--surface);
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 22px rgba(27,74,110,.08);
    }
    .mobile-nav-item { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: 12px; font-weight: 700; }
    .mobile-nav-item.is-current { background: var(--brand); color: #fff; }
    .site-footer { padding-bottom: 48px; }
    .search-panel { inset: 0; top: 0; background: var(--deep); transform: none; }
    .search-panel.is-open { transform: none; }
    .search-card { width: min(calc(100% - 32px), 680px); margin: max(20px, env(safe-area-inset-top)) auto 0; background: var(--deep); border-color: rgba(255,255,255,.22); box-shadow: none; }
    .search-head strong, .search-head p, .search-field, .search-card .text-link { color: #fff; }
    .search-field input { background: var(--surface); color: var(--text); }
    .search-presets a { background: #fff; color: var(--deep); }
    .search-empty { color: #E7F2FA; }
    .search-card .icon-close { border-color: rgba(255,255,255,.38); background: transparent; color: #fff; }
}
@media (max-width: 640px) {
    .masthead-inner { gap: 6px; }
    .mast-logo { min-width: 64px; }
    .drawer-open { min-width: 70px; }
    .app-entry { min-width: 70px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .index-links { grid-template-columns: 1fr 1fr; }
    .footer-groups { grid-template-columns: 1fr 1fr; }
    .shelf-item { grid-template-columns: 1fr; gap: 6px; }
    .page { padding-bottom: 54px; }
    .card-pad, .prose { padding: 18px; }
    .media-slot.banner { height: 260px; }
    .media-slot.medium { height: 200px; }
    .media-slot.small { height: 180px; }
}
@media (max-width: 420px) {
    .index-links { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: 1fr; }
    .topline-search { min-width: 48px; }
    .mast-logo img { max-width: 86px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
