:root {
    --bg: #F3FBFA;
    --bg-deep: #E4F4F1;
    --surface: #FFFFFF;
    --surface-soft: #D4EFEC;
    --ink: #0D2E2B;
    --text: #163834;
    --muted: #4A706C;
    --subtle: #6A8E89;
    --brand: #0E9A88;
    --brand-bright: #1EC8B6;
    --brand-deep: #0A6B5E;
    --porcelain: #F7FFFE;
    --border: rgba(14,154,136,0.16);
    --border-strong: rgba(14,154,136,0.42);
    --shadow: 0 12px 28px rgba(10,107,94,0.08);
    --radius: 12px;
    --content: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 500; background: #fff; color: var(--brand-deep); border: 1px solid var(--border-strong); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.top-strip { position: fixed; inset: 0 0 auto 0; height: 22px; z-index: 200; background: var(--brand-deep); color: #fff; }
.top-strip-inner { max-width: var(--content); height: 22px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; line-height: 1; }
.text-button { border: 0; background: transparent; color: #fff; min-width: 44px; min-height: 22px; padding: 0 6px; cursor: pointer; }
.masthead { position: fixed; inset: 22px 0 auto 0; height: 60px; z-index: 190; background: #fff; border-bottom: 1px solid var(--border); }
.masthead-inner { max-width: var(--content); height: 60px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 16px; }
.brand-image-slot--logo { display: inline-flex; min-width: 92px; align-items: center; min-height: 28px; }
.brand-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.menu-trigger, .app-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; }
.menu-trigger { min-width: 76px; padding: 0 18px; border: 1px solid var(--border-strong); background: var(--porcelain); color: var(--brand-deep); cursor: pointer; }
.app-link { justify-self: end; min-width: 84px; padding: 0 16px; background: linear-gradient(135deg,#1EC8B6 0%,#0E9A88 55%,#0A6B5E 100%); color: #fff; }
.quick-tabs { position: fixed; inset: 82px 0 auto 0; height: 40px; z-index: 180; background: var(--porcelain); border-bottom: 1px solid var(--border); }
.quick-tabs-inner { max-width: var(--content); height: 40px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 16px; }
.quick-tabs a { min-height: 32px; padding: 5px 14px; display: inline-flex; align-items: center; border-radius: 8px; color: var(--brand-deep); font-size: 13px; }
.quick-tabs a.is-active { background: var(--brand); color: #fff; }
.site-main { padding-top: 122px; min-height: 60vh; }
.container { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; }
.page-hero { padding: 34px 0 22px; }
.eyebrow { margin: 0 0 8px; color: var(--brand-deep); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.3; }
h1 { margin-bottom: 14px; font-size: 24px; }
h2 { margin-bottom: 12px; font-size: 20px; }
h3 { margin-bottom: 8px; font-size: 16px; }
p { margin: 0 0 14px; }
.lead { max-width: 780px; color: var(--muted); }
.section { padding: 28px 0; }
.section--soft { background: var(--bg-deep); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-head p { margin: 0; max-width: 640px; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card, .content-card, .note-card, .legal-block, .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 18px; }
.card p:last-child, .content-card p:last-child, .note-card p:last-child, .legal-block p:last-child { margin-bottom: 0; }
.media-slot { width: 100%; background: var(--porcelain); border: 1px solid var(--border); border-radius: 12px; display: grid; place-items: 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 { height: 340px; }
.media-slot--brand { height: 220px; }
.hero-copy { max-width: 820px; margin: 18px auto 0; text-align: center; }
.hero-copy p { text-align: left; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.btn { min-height: 42px; 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,#1EC8B6 0%,#0E9A88 55%,#0A6B5E 100%); }
.btn-secondary { background: #fff; color: var(--brand-deep); border: 1px solid var(--border-strong); }
.btn:hover, .menu-trigger:hover, .app-link:hover, .quick-tabs a:hover, .footer-grid a:hover, .sheet-group a:hover, .mobile-bottom a:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(30,200,182,.32); outline-offset: 2px; }
.number-list { display: grid; gap: 10px; }
.number-row { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--border); }
.number-row:first-child { border-top: 0; }
.number { color: var(--brand); font-weight: 800; font-size: 20px; letter-spacing: .05em; }
.shelf { display: grid; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.shelf-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--border); }
.shelf-row:first-child { border-top: 0; }
.shelf-row strong { color: var(--ink); }
.shelf-row span { color: var(--muted); }
.shelf-row a { color: var(--brand-deep); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.timeline { position: relative; margin-left: 9px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding: 0 0 24px; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--bg-deep); }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--brand-deep); font-size: 12px; font-weight: 700; }
.split-app { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: center; }
.icon-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.app-icon { width: 48px; height: 48px; object-fit: contain; object-position: center; border-radius: 10px; background: #fff; border: 1px solid var(--border); }
.content-stack { display: grid; gap: 16px; }
.content-card { padding: 22px; }
.daily-list, .directory-grid, .lesson-grid, .method-grid, .discovery-index { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.daily-item, .directory-item, .lesson-item, .method-item, .discovery-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.daily-item .number, .big-number { display: block; margin-bottom: 10px; }
.documentary-log { display: grid; gap: 14px; }
.log-entry { background: #fff; border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; box-shadow: var(--shadow); }
.lesson-item ul, .legal-block ul, .note-card ul { margin: 10px 0 0; padding-left: 20px; }
.big-number-list { display: grid; gap: 12px; }
.big-number-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.big-number { font-size: 30px; color: var(--brand); font-weight: 800; line-height: 1; }
.notebook { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.note-card { padding: 20px; }
.legal-sections { display: grid; gap: 16px; }
.legal-block { padding: 22px; }
.notice { padding: 16px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--porcelain); color: var(--brand-deep); }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 20px; }
.faq-item h2 { font-size: 16px; }
.link-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.link-card { min-height: 130px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; }
.link-card span { color: var(--muted); }
.link-card strong { color: var(--brand-deep); }
.site-footer { background: var(--brand-deep); color: var(--surface-soft); border-top: 1px solid rgba(247,255,254,.35); }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 34px 16px 82px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-brand-mark { min-width: 92px; min-height: 28px; display: flex; align-items: center; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; }
.footer-brand span { display: block; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.footer-grid h2 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.footer-grid a { display: block; min-height: 30px; font-size: 13px; }
.footer-note, .copyright { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(247,255,254,.18); font-size: 13px; }
.copyright { margin-top: 12px; padding-top: 0; border-top: 0; }
.overlay { position: fixed; inset: 0; z-index: 290; background: rgba(7,44,40,.48); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-sheet { position: fixed; left: 50%; bottom: 0; width: min(720px,100%); max-height: 70vh; z-index: 310; transform: translate(-50%, 105%); visibility: hidden; pointer-events: none; background: var(--porcelain); color: var(--text); border: 1px solid var(--border); border-radius: 16px 16px 0 0; box-shadow: 0 -16px 40px rgba(10,107,94,.16); transition: transform .25s ease, visibility .25s ease; }
.menu-sheet.is-open { transform: translate(-50%,0); visibility: visible; pointer-events: auto; }
.sheet-head { height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.sheet-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.close-button { min-width: 56px; min-height: 44px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; color: var(--brand-deep); cursor: pointer; }
.sheet-scroll { max-height: calc(70vh - 58px); overflow-y: auto; padding: 16px; }
.sheet-group { margin-bottom: 18px; }
.sheet-group h2 { font-size: 13px; color: var(--subtle); margin-bottom: 8px; }
.sheet-group a { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--border); }
.sheet-group a:first-of-type { border-top: 0; }
.sheet-group strong { color: var(--ink); }
.sheet-group span { color: var(--muted); font-size: 13px; }
.search-layer { position: fixed; top: 82px; left: 50%; width: min(720px, calc(100% - 32px)); z-index: 320; transform: translate(-50%, -18px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.search-layer.is-open { transform: translate(-50%, 12px); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--ink); }
.search-card label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.search-card input { width: 100%; min-height: 44px; padding: 9px 12px; color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; background: var(--porcelain); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-presets a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 9px; background: var(--surface-soft); color: var(--brand-deep); }
.mobile-bottom { display: none; }
@media (max-width: 820px) {
    .card-grid { grid-template-columns: 1fr; }
    .daily-list, .directory-grid, .lesson-grid, .method-grid, .discovery-index, .notebook { grid-template-columns: 1fr; }
    .link-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split-app { grid-template-columns: 1fr; }
    .media-slot--app { height: 320px; }
}
@media (max-width: 640px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .quick-tabs { display: none; }
    .site-main { padding-top: 82px; }
    .masthead-inner { gap: 6px; }
    .brand-image-slot--logo { min-width: 76px; }
    .menu-trigger { min-width: 68px; padding: 0 12px; }
    .app-link { min-width: 72px; padding: 0 10px; }
    .page-hero { padding-top: 26px; }
    .section { padding: 22px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .media-slot--banner { height: 220px; }
    .media-slot--tile { height: 170px; }
    .media-slot--feature { height: 190px; }
    .shelf-row { grid-template-columns: 1fr; gap: 6px; }
    .big-number-item { grid-template-columns: 56px 1fr; gap: 12px; }
    .big-number { font-size: 25px; }
    .link-grid { grid-template-columns: 1fr; }
    .footer-inner { padding-bottom: 78px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .menu-sheet { max-height: 78vh; }
    .sheet-scroll { max-height: calc(78vh - 58px); }
    .sheet-group a { grid-template-columns: 92px 1fr; }
    .search-layer { inset: 0; width: 100%; transform: none; background: var(--brand-deep); color: #fff; }
    .search-layer.is-open { transform: none; }
    .search-card { min-height: 100%; border: 0; border-radius: 0; background: var(--brand-deep); color: #fff; padding: calc(24px + env(safe-area-inset-top)) 16px 72px; box-shadow: none; }
    .search-head, .search-card label { color: #fff; }
    .search-card input { background: #fff; color: var(--text); }
    .search-presets a { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
    .search-card .close-button { color: var(--brand-deep); }
    .mobile-bottom { position: fixed; z-index: 260; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: #fff; 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(--brand-deep); font-size: 13px; }
    .mobile-bottom a.is-active { background: var(--brand); color: #fff; }
}
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.button-row--start { justify-content: flex-start; }
.tight-title { margin-bottom: 2px; }
.text-button { position: relative; }
.text-button::after { content: ""; position: absolute; left: -6px; right: -6px; top: -11px; bottom: -11px; }
