:root {
    --page: #F3FBFA;
    --deep-page: #E4F4F1;
    --paper: #FFFFFF;
    --mint: #D4EFEC;
    --ink: #0D2E2B;
    --body: #163834;
    --muted: #4A706C;
    --soft: #6A8E89;
    --brand: #0E9A88;
    --bright: #1EC8B6;
    --deep: #0A6B5E;
    --porcelain: #F7FFFE;
    --line: rgba(14,154,136,0.16);
    --line-strong: rgba(14,154,136,0.42);
    --shadow: 0 12px 28px rgba(10,107,94,0.08);
    --radius: 12px;
    --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    transform: translateY(-160%);
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--paper);
    color: var(--deep);
    box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
.topline {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    height: 22px;
    background: var(--deep);
    color: #fff;
    font-size: 12px;
}
.topline-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topline-search {
    min-width: 44px;
    height: 22px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.site-header {
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    z-index: 79;
    height: 60px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line);
}
.mainbar {
    height: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}
.brand-link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.brand-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-text { color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.drawer-trigger, .app-link, .close-btn {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--deep);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    cursor: pointer;
}
.drawer-trigger { justify-self: center; }
.app-link { justify-self: end; }
.drawer-trigger:hover, .app-link:hover, .close-btn:hover { background: var(--porcelain); border-color: var(--brand); }

.signature-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 78;
    height: 40px;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
}
.signature-inner { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.signature-inner a {
    height: 30px;
    padding: 0 16px;
    border-radius: 8px;
    color: var(--deep);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.signature-inner a:hover { background: var(--mint); }
.signature-inner a.is-current { background: var(--brand); color: #fff; }

.site-main { padding-top: 122px; min-height: 70vh; }
.section { padding: 42px 0; }
.section-tight { padding: 30px 0; }
.section-alt { background: var(--deep-page); }
.section-paper { background: var(--paper); }
.eyebrow {
    margin: 0 0 8px;
    color: var(--deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}
h1, h2, h3 { color: var(--ink); margin-top: 0; }
h1 { margin-bottom: 16px; font-size: 24px; line-height: 1.3; }
h2 { margin-bottom: 14px; font-size: 20px; line-height: 1.4; }
h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.45; }
p { margin: 0 0 14px; }
.lead { max-width: 820px; color: var(--muted); font-size: 15px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head p { max-width: 620px; margin: 0; color: var(--muted); }

.hero { padding: 26px 0 42px; }
.hero-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-copy { padding: 24px; }
.hero-copy p { max-width: 820px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid var(--line-strong);
}
.btn-primary { background: linear-gradient(135deg,#1EC8B6 0%,#0E9A88 55%,#0A6B5E 100%); color: #fff; border-color: transparent; }
.btn-secondary { background: #fff; color: var(--deep); }
.btn:hover { transform: translateY(-1px); }

.media-slot {
    width: 100%;
    min-height: 160px;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.banner { height: 260px; }
.media-slot.tile { height: 180px; }
.media-slot.feature { height: 200px; }
.media-slot.app-visual { height: min(360px, 55vw); border: 1px solid var(--line); border-radius: 12px; }
.media-slot.inline-visual { height: 220px; border: 1px solid var(--line); border-radius: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card-body { padding: 20px; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--deep); font-weight: 800; }
.card-link:hover { color: var(--brand); }

.number-list { display: grid; gap: 10px; }
.number-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}
.number { color: var(--brand); font-size: 24px; font-weight: 900; line-height: 1; }
.number-item p { margin: 4px 0 0; color: var(--muted); }

.shelf { border-top: 1px solid var(--line); }
.shelf-row {
    display: grid;
    grid-template-columns: minmax(160px, .7fr) minmax(0, 2fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.shelf-row p { margin: 0; color: var(--muted); }
.shelf-tag { color: var(--deep); font-size: 13px; font-weight: 800; background: var(--mint); border-radius: 999px; padding: 6px 10px; }

.timeline { position: relative; margin-left: 10px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline-item { position: relative; margin-bottom: 18px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.timeline-item::before { content: ""; position: absolute; left: -26px; top: 25px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--page); }
.status { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--mint); color: var(--deep); font-size: 12px; font-weight: 800; }

.article-shell { width: min(calc(100% - 32px), 900px); margin: 0 auto; }
.page-head { padding: 34px 0 26px; }
.page-head .lead { max-width: 760px; }
.content-block {
    margin-bottom: 18px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.content-block p:last-child { margin-bottom: 0; }
.content-block ul { margin: 0; padding-left: 1.2em; }
.content-block li + li { margin-top: 6px; }
.content-block .note { color: var(--muted); }

.index-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.index-links a { min-height: 96px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.index-links strong { display: block; color: var(--ink); margin-bottom: 6px; }
.index-links span { color: var(--muted); font-size: 13px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq-item h2, .faq-item h3 { margin-bottom: 10px; }
.faq-item p { margin: 0; color: var(--muted); }

.notice {
    padding: 18px 20px;
    border-left: 4px solid var(--brand);
    background: var(--porcelain);
    border-radius: 0 10px 10px 0;
    color: var(--muted);
}

.app-panel { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.app-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.app-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--mint);
    overflow: hidden;
}
.app-icon img { width: 48px; height: 48px; object-fit: contain; }

.site-footer { background: var(--deep); color: var(--mint); border-top: 1px solid rgba(247,255,254,.28); padding: 34px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand img { height: 28px; width: auto; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-grid h2 { color: #fff; font-size: 13px; margin-bottom: 10px; }
.footer-grid a { display: block; min-height: 30px; color: var(--mint); }
.footer-grid a:hover { color: #fff; }
.footer-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(247,255,254,.2); }
.footer-note p { margin: 0 0 8px; }

.screen-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(7,50,44,.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.screen-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.site-drawer {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 110;
    width: min(720px, 100%);
    max-height: 70vh;
    background: var(--paper);
    color: var(--body);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -18px 44px rgba(10,107,94,.18);
    transform: translate(-50%, 105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
    display: flex;
    flex-direction: column;
}
.site-drawer.is-open { transform: translate(-50%, 0); visibility: visible; pointer-events: auto; }
.drawer-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.drawer-brand img { height: 28px; width: auto; object-fit: contain; }
.drawer-body { overflow-y: auto; padding: 16px; }
.drawer-group + .drawer-group { margin-top: 18px; }
.drawer-group h2 { font-size: 13px; color: var(--soft); margin-bottom: 8px; }
.drawer-group a { display: grid; grid-template-columns: 120px 1fr; gap: 12px; min-height: 54px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.drawer-group a:hover { background: var(--porcelain); }
.drawer-group strong { color: var(--ink); }
.drawer-group span { color: var(--muted); font-size: 13px; }

.search-layer {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 111;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease, visibility .18s ease;
}
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.search-card { width: min(calc(100% - 32px), 720px); margin: 12px auto 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-head strong { color: var(--ink); font-size: 18px; }
.search-head p { margin: 2px 0 0; color: var(--muted); }
.search-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.search-presets a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; background: var(--porcelain); border: 1px solid var(--line); color: var(--deep); font-weight: 800; }

.mobile-bottom { display: none; }

:focus-visible { outline: 3px solid rgba(30,200,182,.45); outline-offset: 2px; }

@media (max-width: 820px) {
    .signature-nav { display: none; }
    .site-main { padding-top: 82px; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .mainbar { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .brand-link, .drawer-trigger, .app-link { min-width: 0; }
    .brand-link { overflow: hidden; }
    .brand-logo { max-width: 120px; }
    .drawer-trigger, .app-link { padding: 0 12px; }
    .grid-3, .grid-2, .app-panel { grid-template-columns: 1fr; }
    .index-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .site-drawer { left: 0; width: 100%; max-height: 78vh; transform: translateY(105%); border-left: 0; border-right: 0; }
    .site-drawer.is-open { transform: translateY(0); }
    .drawer-group a { grid-template-columns: 100px 1fr; }
    .search-layer { inset: 22px 0 0 0; top: 22px; background: var(--deep); color: #fff; }
    .search-card { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; background: var(--deep); box-shadow: none; padding: 22px 16px; }
    .search-head strong, .search-head p { color: #fff; }
    .search-card .close-btn { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
    .search-presets a { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
    .mobile-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        height: calc(48px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: rgba(255,255,255,.98);
        border-top: 1px solid var(--line);
    }
    .mobile-bottom a { min-width: 0; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: 13px; font-weight: 800; }
    .mobile-bottom a.is-current { background: var(--brand); color: #fff; }
    .screen-overlay { z-index: 100; }
    .site-drawer, .search-layer { z-index: 110; }
    .site-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .shelf-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
    .shell, .article-shell { width: calc(100% - 32px); }
    .section { padding: 34px 0; }
    .hero { padding: 18px 0 32px; }
    .hero-copy { padding: 18px; }
    .media-slot.banner { height: 260px; }
    .media-slot.tile { height: 180px; }
    .media-slot.feature { height: 200px; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .index-links { grid-template-columns: 1fr; }
    .number-item { grid-template-columns: 44px 1fr; padding: 14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .drawer-group a { grid-template-columns: 1fr; gap: 2px; padding: 10px; }
    .topline-inner { width: calc(100% - 24px); }
    .mainbar { width: calc(100% - 24px); }
    .brand-text { font-size: 15px; }
}
.index-detail { margin-top: 16px; }
