:root {
    --bg: #F3F6F9;
    --surface: #FFFFFF;
    --surface-2: #E8EEF5;
    --title: #0B1220;
    --text: #1E293B;
    --muted: #475569;
    --soft: #64748B;
    --blue: #2563EB;
    --blue-light: #60A5FA;
    --blue-deep: #1D4ED8;
    --lime: #65A30D;
    --slate: #334155;
    --border: rgba(37,99,235,0.16);
    --shadow: 0 14px 36px rgba(11,18,32,0.08);
    --header-h: 120px;
    --radius: 14px;
    --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; }
.signal-line { height: 18px; background: var(--slate); color: #fff; font-size: 11px; line-height: 18px; }
.signal-inner { height: 18px; display: flex; align-items: center; justify-content: space-between; }
.signal-brand { letter-spacing: .05em; font-weight: 700; white-space: nowrap; }
.signal-search { min-width: 44px; height: 18px; padding: 0 6px; border: 0; background: transparent; color: #fff; font-size: 11px; }
.machine-bar { height: 62px; background: #fff; border-bottom: 1px solid var(--border); }
.machine-inner { height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.brand-link { justify-self: start; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 30px; max-width: 150px; object-fit: contain; object-position: left center; }
.brand-word { font-size: 22px; font-weight: 900; letter-spacing: -.03em; color: var(--title); }
.drawer-toggle, .app-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-weight: 800;
}
.drawer-toggle { min-width: 84px; background: var(--surface-2); color: var(--title); }
.app-link { justify-self: end; min-width: 96px; padding: 0 14px; color: #fff; background: linear-gradient(135deg,#60A5FA 0%,#2563EB 52%,#1D4ED8 100%); }
.key-tabs { height: 40px; background: #F7F9FC; border-bottom: 1px solid var(--border); }
.key-tabs-inner { height: 40px; display: flex; align-items: center; gap: 6px; }
.key-tabs a { min-height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--slate); font-weight: 750; font-size: 14px; }
.key-tabs a:hover, .key-tabs a:focus-visible { background: var(--surface-2); color: var(--blue-deep); }
.key-tabs a.is-current { background: var(--blue); color: #fff; }
.site-main { padding-top: calc(var(--header-h) + 28px); min-height: 60vh; }
.section { padding: 34px 0; }
.section.compact { padding: 24px 0; }
.section-title { margin: 0 0 10px; font-size: clamp(24px, 3vw, 31px); line-height: 1.25; color: var(--title); letter-spacing: -.02em; }
.section-lead { margin: 0; max-width: 820px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--blue-deep); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hero-block { padding: 8px 0 34px; }
.hero-media, .wide-media, .card-media, .portrait-media, .media-slot {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-media { width: 100%; max-height: 300px; aspect-ratio: 16 / 9; }
.wide-media { min-height: 220px; max-height: 280px; }
.card-media { height: 200px; box-shadow: none; }
.portrait-media { min-height: 360px; max-height: 420px; }
.hero-media img, .wide-media img, .card-media img, .portrait-media img, .media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-fallback { width: 100%; height: 100%; min-height: inherit; background: linear-gradient(145deg, #EEF3F9, #F9FBFD); position: relative; }
.media-fallback::after { content: "91APP"; position: absolute; inset: 0; display: grid; place-items: center; color: #94A3B8; font-weight: 900; letter-spacing: .12em; }
.hero-copy { padding: 22px 0 0; max-width: 820px; }
.hero-copy h1 { margin: 0 0 12px; color: var(--title); font-size: clamp(28px, 4vw, 32px); line-height: 1.24; }
.hero-copy p { margin: 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 850; }
.btn-primary { background: linear-gradient(135deg,#60A5FA 0%,#2563EB 52%,#1D4ED8 100%); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue-deep); border-color: var(--border); }
.btn:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 2px; }
.key-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.key-card, .content-card, .info-card, .status-card, .number-card, .topic-card, .step-card, .file-row, .faq-item, .policy-block, .note-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.key-card { padding: 18px; min-height: 126px; }
.key-card .dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: var(--blue); margin-right: 6px; }
.key-card:nth-child(2n) .dot { background: var(--lime); }
.key-card h3 { margin: 8px 0 6px; font-size: 18px; color: var(--title); }
.key-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.text-link { color: var(--blue-deep); font-weight: 800; }
.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 22px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.copy-panel { padding: 4px 0; }
.copy-panel p { color: var(--muted); }
.number-list { display: grid; gap: 10px; margin-top: 18px; }
.number-row { display: grid; grid-template-columns: 58px 120px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.number-row b { color: var(--blue); font-size: 24px; letter-spacing: -.04em; }
.number-row strong { color: var(--title); }
.number-row span { color: var(--muted); }
.number-row a { color: var(--blue-deep); font-weight: 850; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.content-card { overflow: hidden; }
.content-card .card-body { padding: 16px; }
.content-card h3 { margin: 0 0 7px; color: var(--title); }
.content-card p { margin: 0; color: var(--muted); font-size: 14px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.four-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.info-card, .topic-card, .note-card { padding: 20px; }
.info-card h3, .topic-card h3, .note-card h3 { margin: 0 0 8px; color: var(--title); }
.info-card p, .topic-card p, .note-card p { margin: 0; color: var(--muted); }
.file-list { display: grid; gap: 10px; }
.file-row { padding: 15px 16px; display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; }
.file-row strong { color: var(--title); }
.file-row span { color: var(--muted); }
.file-row a { color: var(--blue-deep); font-weight: 850; }
.big-numbers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.number-card { padding: 20px 16px; min-height: 180px; }
.number-card b { display: block; color: var(--blue); font-size: 40px; line-height: 1; margin-bottom: 18px; }
.number-card h3 { margin: 0 0 8px; color: var(--title); font-size: 17px; }
.number-card p { margin: 0; color: var(--muted); font-size: 14px; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.status-card { padding: 18px; border-top: 4px solid var(--blue); }
.status-card:nth-child(2) { border-top-color: var(--lime); }
.status-card:nth-child(3) { border-top-color: #64748B; }
.status-card:nth-child(4) { border-top-color: #94A3B8; }
.status-card h3 { margin: 0 0 8px; color: var(--title); }
.status-card p { margin: 0; color: var(--muted); }
.step-list { counter-reset: step; display: grid; gap: 12px; }
.step-card { padding: 18px 18px 18px 72px; position: relative; }
.step-card::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 18px; color: var(--blue); font-size: 24px; font-weight: 900; }
.step-card h3 { margin: 0 0 6px; color: var(--title); }
.step-card p { margin: 0; color: var(--muted); }
.article-shell { max-width: 900px; }
.article-shell h1 { margin: 0 0 14px; font-size: clamp(28px,4vw,32px); color: var(--title); }
.article-shell h2 { margin: 30px 0 10px; font-size: 23px; color: var(--title); }
.article-shell p { color: var(--text); margin: 0 0 15px; }
.article-shell .lede { color: var(--muted); font-size: 17px; }
.editor-tag { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border-radius: 8px; background: var(--surface-2); color: var(--blue-deep); font-weight: 800; font-size: 13px; }
.policy-list { display: grid; gap: 14px; }
.policy-block { padding: 20px; }
.policy-block h2 { margin: 0 0 10px; color: var(--title); font-size: 22px; }
.policy-block p { margin: 0 0 10px; color: var(--muted); }
.policy-block p:last-child { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 18px 20px; }
.faq-item h2 { margin: 0 0 8px; color: var(--title); font-size: 19px; }
.faq-item p { margin: 0; color: var(--muted); }
.app-showcase { display: grid; grid-template-columns: .75fr 1.25fr; gap: 26px; align-items: center; }
.badge-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.badge-media { width: 64px; height: 64px; border: 1px solid var(--border); background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.badge-media img { width: 100%; height: 100%; object-fit: contain; }
.list-clean { margin: 0; padding-left: 20px; color: var(--muted); }
.list-clean li { margin: 7px 0; }
.callout { padding: 18px 20px; border-left: 4px solid var(--blue); background: #fff; border-radius: 0 12px 12px 0; color: var(--muted); }
.brand-footer { background: #0B1220; color: #D6E4FF; margin-top: 44px; padding: 38px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 30px; max-width: 150px; object-fit: contain; object-position: left center; filter: none; }
.footer-brand strong { display: block; color: #fff; font-size: 20px; }
.footer-brand span { display: block; color: #93C5FD; font-size: 12px; letter-spacing: .1em; }
.footer-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.footer-groups h2 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.footer-groups a { display: block; width: fit-content; margin: 5px 0; color: #D6E4FF; font-size: 14px; }
.footer-groups a:hover { color: #fff; }
.footer-note, .footer-copy { margin: 0; color: #AFC7EE; font-size: 13px; }
.page-overlay { position: fixed; z-index: 1200; inset: 0; background: rgba(11,18,32,.42); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.page-overlay.is-active { opacity: 1; pointer-events: auto; }
.machine-drawer { position: fixed; z-index: 1300; top: 0; right: 0; bottom: 0; width: min(390px, 86vw); background: #F3F6F9; border-left: 1px solid var(--border); box-shadow: -18px 0 50px rgba(11,18,32,.18); transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s; display: flex; flex-direction: column; }
.machine-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 70px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-brand img { height: 30px; width: auto; max-width: 130px; object-fit: contain; }
.drawer-brand span { color: var(--title); font-weight: 900; }
.icon-close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--title); font-size: 26px; line-height: 1; }
.drawer-scroll { overflow-y: auto; padding: 14px; }
.drawer-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.drawer-card h2 { margin: 0 0 8px; color: var(--title); font-size: 15px; }
.drawer-card a { display: block; padding: 11px 8px; border-top: 1px solid rgba(37,99,235,.1); }
.drawer-card a:first-of-type { border-top: 0; }
.drawer-card strong { display: block; color: var(--title); font-size: 15px; }
.drawer-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 1300; left: 0; right: 0; top: 80px; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .2s ease, visibility .2s; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.search-card { width: min(calc(100% - 32px), 780px); margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.search-head strong { display: block; color: var(--title); font-size: 20px; }
.search-head span { display: block; color: var(--muted); font-size: 14px; }
.search-box { display: block; margin-top: 16px; }
.search-box span { display: block; margin-bottom: 6px; color: var(--title); font-weight: 800; font-size: 13px; }
.search-box input { width: 100%; height: 46px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; color: var(--title); background: #F8FAFC; }
.preset-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.preset-links a { min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 9px; color: var(--blue-deep); background: #fff; font-weight: 800; }
.mobile-bottom { display: none; }
@media (max-width: 900px) {
    .key-grid, .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .big-numbers { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .status-grid, .four-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .split, .split.reverse, .app-showcase { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    :root { --header-h: 80px; }
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .shell { width: min(calc(100% - 32px), var(--shell)); }
    .key-tabs { display: none; }
    .machine-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .brand-logo { max-width: 112px; height: 28px; }
    .drawer-toggle { min-width: 68px; padding: 0 10px; }
    .app-link { min-width: 0; padding: 0 10px; font-size: 14px; white-space: nowrap; }
    .site-main { padding-top: calc(var(--header-h) + 22px); }
    .section { padding: 28px 0; }
    .hero-block { padding-top: 6px; }
    .hero-media { max-height: 300px; }
    .key-grid, .card-grid, .two-col, .three-col, .four-grid, .status-grid, .big-numbers { grid-template-columns: 1fr; }
    .number-row { grid-template-columns: 48px 84px 1fr; }
    .number-row a { grid-column: 3; }
    .file-row { grid-template-columns: 86px 1fr; }
    .file-row a { grid-column: 2; }
    .card-media { height: 190px; }
    .portrait-media { min-height: 320px; max-height: 420px; }
    .footer-groups { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .brand-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .mobile-bottom { position: fixed; z-index: 1100; display: grid; grid-template-columns: repeat(5, 1fr); left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 22px rgba(11,18,32,.08); }
    .mobile-bottom a { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--slate); }
    .mobile-bottom a.is-current { background: var(--blue); color: #fff; }
    .search-layer { top: 0; bottom: 0; background: #EEF2F6; }
    .search-card { width: 100%; height: 100%; border: 0; border-radius: 0; overflow-y: auto; padding: 24px 16px; box-shadow: none; }
    .machine-drawer { width: min(86vw, 390px); }
}
@media (max-width: 420px) {
    .app-link { font-size: 13px; padding: 0 8px; }
    .brand-word { font-size: 20px; }
    .footer-groups { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
}
