:root {
    --bg: #0D0D0D;
    --bg-deep: #070707;
    --surface: #171717;
    --surface-2: #222222;
    --title: #F2F2F2;
    --text: #C8C8C8;
    --muted: #9A9A9A;
    --faint: #6E6E6E;
    --silver: #C8C8C8;
    --silver-bright: #E8E8E8;
    --ink: #1A1A1A;
    --red-mist: #B85A5A;
    --border: rgba(232, 232, 232, 0.12);
    --border-strong: rgba(232, 232, 232, 0.36);
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    --radius: 12px;
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; }
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 800; box-shadow: 0 1px 0 rgba(255,255,255,.04); }
.ink-line { height: 22px; background: var(--bg-deep); border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12px; color: var(--silver); }
.ink-line__inner { height: 22px; display: flex; align-items: center; justify-content: space-between; }
.text-control, .icon-control, .drawer-trigger { border: 0; background: transparent; cursor: pointer; }
.text-control { height: 22px; padding: 0 4px; color: var(--silver-bright); }
.material-bar { height: 60px; background: var(--ink); border-bottom: 1px solid var(--border); }
.material-bar__inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-mark { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; color: var(--title); font-weight: 800; letter-spacing: .08em; }
.brand-mark img { width: auto; height: 28px; object-fit: contain; }
.drawer-trigger { min-width: 72px; height: 44px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: 999px; background: #111; color: var(--silver-bright); font-weight: 700; }
.app-link { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg,#E8E8E8 0%,#C8C8C8 55%,#8A8A8A 100%); color: #0D0D0D; font-size: 14px; font-weight: 800; }
.case-tabs { height: 40px; background: #101010; border-bottom: 1px solid var(--border); }
.case-tabs__inner { height: 40px; display: flex; align-items: stretch; justify-content: center; gap: 4px; }
.case-tabs a { min-width: 110px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; font-size: 13px; color: var(--muted); }
.case-tabs a:hover, .case-tabs a:focus-visible { color: var(--title); background: #191919; }
.case-tabs a.is-current { background: var(--silver); color: #0D0D0D; font-weight: 800; }
.site-main { padding-top: 122px; min-height: 70vh; }
.page-hero { padding: 54px 0 28px; border-bottom: 1px solid var(--border); }
.page-hero.compact { padding-bottom: 22px; }
.eyebrow { display: inline-block; margin-bottom: 8px; color: var(--red-mist); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--title); line-height: 1.3; }
h1 { font-size: 24px; letter-spacing: -.02em; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
.lead { max-width: 820px; margin-top: 14px; color: var(--text); font-size: 16px; }
.meta-row { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.meta-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; background: #121212; }
.section { padding: 42px 0; }
.section + .section { border-top: 1px solid rgba(232,232,232,.07); }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 20px; }
.section-head p { max-width: 620px; margin: 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text); }
.card p:last-child { margin-bottom: 0; }
.card .small, .small { color: var(--muted); font-size: 13px; }
.number-card { position: relative; padding-top: 52px; }
.number-card::before { content: attr(data-no); position: absolute; top: 16px; left: 20px; color: var(--silver-bright); font-size: 26px; font-weight: 800; letter-spacing: .06em; }
.media-slot { width: 100%; min-height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--ink); }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.is-empty { background: linear-gradient(145deg,#121212,#1d1d1d); }
.media-slot.hero-media { height: 260px; border-radius: 0 0 14px 14px; }
.media-slot.feature-media { height: 180px; }
.media-slot.section-media { height: 200px; }
.media-slot.app-media { height: min(360px, 52vw); min-height: 260px; }
.cover-wrap { padding-top: 24px; }
.cover-copy { max-width: 820px; padding: 24px 0 14px; }
.cover-copy h1 { font-size: 28px; margin-bottom: 6px; }
.cover-tagline { color: var(--silver-bright); font-size: 18px; font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#E8E8E8 0%,#C8C8C8 55%,#8A8A8A 100%); color: #0D0D0D; }
.btn-secondary { background: #111; border-color: var(--border-strong); color: var(--silver-bright); }
.btn:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--silver-bright); outline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 22px; align-items: start; }
.stack { display: grid; gap: 14px; }
.list-card { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.list-card:first-child { padding-top: 0; }
.list-card:last-child { border-bottom: 0; }
.list-no { color: var(--silver-bright); font-size: 22px; font-weight: 800; }
.list-card h3 { margin-bottom: 5px; }
.timeline { position: relative; margin-top: 10px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding: 0 0 24px 14px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -26px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--silver-bright); box-shadow: 0 0 0 5px #171717; }
.timeline-item h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 1px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 400; }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.shelf-item { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(180deg,#1c1c1c,#111); }
.shelf-code { color: var(--faint); font-size: 12px; letter-spacing: .12em; }
.shelf-item h3 { margin: 16px 0 8px; }
.shelf-item p { margin: 0; color: var(--muted); font-size: 13px; }
.note-box { padding: 18px 20px; border-left: 3px solid var(--red-mist); border-radius: 0 10px 10px 0; background: rgba(184,90,90,.08); }
.note-box strong { color: var(--title); }
.policy-list { display: grid; gap: 12px; }
.policy-item { padding: 18px 20px; border: 1px solid var(--border); border-radius: 10px; background: #121212; }
.policy-item h2, .policy-item h3 { margin-bottom: 7px; }
.policy-item p:last-child { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.faq-item p:last-child { margin-bottom: 0; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--silver); background: #111; }
.article-copy { max-width: 860px; }
.article-copy h2 { margin: 32px 0 10px; }
.article-copy h3 { margin: 24px 0 8px; }
.article-copy p { color: var(--text); }
.article-copy ul { margin: 10px 0 0; padding-left: 20px; }
.article-copy li { margin-bottom: 7px; }
.site-footer { margin-top: 28px; padding: 36px 0 18px; background: var(--bg-deep); border-top: 1px solid var(--border); color: var(--text); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 24px; }
.footer-logo img { width: auto; height: 28px; object-fit: contain; }
.footer-brand-name { margin: 10px 0 8px; color: var(--title); font-weight: 800; }
.footer-brand-name span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.footer-brand p:last-child { color: var(--muted); }
.footer-col h2 { margin-bottom: 10px; color: var(--silver-bright); font-size: 13px; }
.footer-col a { display: block; min-height: 30px; color: var(--muted); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--title); }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--faint); }
.material-drawer { position: fixed; z-index: 1200; left: 0; top: 0; bottom: 0; width: min(400px, 86vw); transform: translateX(-102%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; background: #101010; border-right: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.material-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-brand img { width: auto; height: 28px; object-fit: contain; }
.drawer-brand div { display: grid; line-height: 1.2; }
.drawer-brand strong { color: var(--title); }
.drawer-brand span { color: var(--faint); font-size: 10px; letter-spacing: .09em; }
.icon-control { min-height: 44px; padding: 0 10px; color: var(--silver); }
.drawer-scroll { height: calc(100% - 74px); overflow-y: auto; padding: 16px 18px 28px; }
.drawer-group + .drawer-group { margin-top: 20px; }
.drawer-group h2 { margin-bottom: 8px; color: var(--faint); font-size: 12px; letter-spacing: .12em; }
.drawer-group a { display: grid; gap: 2px; min-height: 54px; padding: 8px 10px; border-radius: 10px; }
.drawer-group a:hover, .drawer-group a:focus-visible { background: var(--surface-2); }
.drawer-group strong { color: var(--silver-bright); font-size: 14px; }
.drawer-group span { color: var(--muted); font-size: 12px; }
.ui-mask { position: fixed; z-index: 1050; inset: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; background: rgba(0,0,0,.66); }
.ui-mask.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }
.search-layer { position: fixed; z-index: 1250; top: 82px; left: 0; right: 0; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.search-layer.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.search-card { width: min(calc(100% - 32px), 760px); margin: 0 auto; padding: 22px; border: 1px solid var(--border-strong); border-radius: 0 0 14px 14px; background: #151515; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.search-label { display: block; margin: 14px 0 7px; color: var(--muted); font-size: 13px; }
.search-input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: #0e0e0e; color: var(--title); }
.search-presets { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.search-presets a { min-height: 66px; display: grid; align-content: center; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #1b1b1b; }
.search-presets a:hover, .search-presets a:focus-visible { border-color: var(--border-strong); background: #222; }
.search-presets strong { color: var(--title); }
.search-presets span { color: var(--muted); font-size: 12px; }
.search-note { margin: 12px 0 0; color: var(--faint); font-size: 12px; }
.mobile-bottom { display: none; }
@media (max-width: 900px) {
    .card-grid.four, .shelf { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .shell { width: calc(100% - 32px); }
    .case-tabs { display: none; }
    .site-main { padding-top: 82px; }
    .material-bar__inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; }
    .brand-mark { min-width: 0; }
    .brand-mark img { max-width: 128px; }
    .drawer-trigger { min-width: 64px; padding: 0 12px; }
    .app-link { padding: 0 12px; }
    .page-hero { padding-top: 38px; }
    .cover-wrap { padding-top: 16px; }
    .media-slot.hero-media { height: 260px; }
    .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; }
    .shelf { grid-template-columns: 1fr; }
    .section { padding: 32px 0; }
    .section-head { display: block; }
    .section-head p { margin-top: 8px; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
    .footer-brand { grid-column: 1 / -1; }
    .search-layer { inset: 0; transform: none; background: #0b0b0b; overflow-y: auto; }
    .search-layer.is-open { transform: none; }
    .search-card { width: 100%; min-height: 100%; margin: 0; padding: calc(22px + env(safe-area-inset-top)) 16px calc(70px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; box-shadow: none; background: #0b0b0b; }
    .search-presets { grid-template-columns: 1fr; }
    .mobile-bottom { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); background: #090909; border-top: 1px solid var(--border); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
    .mobile-bottom a.is-current { background: var(--silver); color: #0D0D0D; font-weight: 800; }
    .footer-bottom { padding-bottom: 10px; }
}
@media (max-width: 420px) {
    .brand-mark img { max-width: 105px; }
    .app-link, .drawer-trigger { font-size: 13px; }
    .cover-copy h1 { font-size: 25px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
