:root {
    --bg: #E7F4F8;
    --bg-deep: #D7ECF2;
    --surface: #F3FAFC;
    --surface-soft: #EAF6F9;
    --title: #163038;
    --text: #1F3C44;
    --muted: #4A6E78;
    --quiet: #6A8C96;
    --blue: #7EB8E0;
    --cyan: #6EC9D4;
    --bay: #1A3A44;
    --white: #F3FAFC;
    --seaweed: #5A8A6A;
    --line: rgba(26, 58, 68, 0.14);
    --line-strong: rgba(110, 201, 212, 0.50);
    --shadow: 0 12px 28px rgba(22, 48, 56, 0.08);
    --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
body.layer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.skip-link {
    position: fixed; left: 12px; top: -80px; z-index: 400;
    background: var(--white); color: var(--bay); border: 1px solid var(--bay);
    padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 200; box-shadow: 0 4px 18px rgba(22,48,56,.06); }
.tide-brow { height: 20px; background: var(--bay); color: var(--white); font-size: 12px; line-height: 20px; }
.top-inner, .brand-inner, .shore-inner, .footer-inner, .page-shell {
    width: min(1000px, calc(100% - 32px)); margin: 0 auto;
}
.top-inner { height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-action { min-height: 20px; padding: 0; border: 0; background: transparent; color: var(--white); font-size: 12px; }
.bay-brand { height: 54px; background: var(--blue); border-bottom: 1px solid var(--line-strong); }
.brand-inner { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-link { display: inline-flex; min-height: 44px; align-items: center; max-width: 45%; }
.brand-logo, .menu-logo, .footer-logo { height: 24px; width: auto; max-width: 180px; object-fit: contain; object-position: center; }
.brand-fallback { font-size: 16px; font-weight: 800; letter-spacing: .04em; color: var(--bay); }
.brand-actions { display: flex; align-items: center; gap: 8px; }
.app-link, .menu-button, .close-button {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 15px; border-radius: 9px; border: 1px solid var(--bay); background: var(--white); color: var(--bay); font-size: 14px; font-weight: 700;
}
.menu-button { background: var(--bay); color: var(--white); }
.shore-points { height: 44px; background: var(--white); border-bottom: 1px solid var(--line); }
.shore-inner { height: 44px; display: flex; align-items: stretch; justify-content: center; }
.shore-item { min-width: 120px; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 13px; }
.shore-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.shore-item.is-active { color: var(--bay); font-weight: 700; }
.shore-item.is-active .shore-dot { background: var(--bay); }
.site-main { min-height: 70vh; padding: 146px 0 72px; }
.page-shell { display: block; }
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; }
.eyebrow { color: var(--seaweed); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.lead { color: var(--muted); font-size: 16px; }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-head p { max-width: 620px; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
    min-height: 42px; padding: 0 17px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; border: 1px solid var(--bay); white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg,#7EB8E0 0%,#6EC9D4 100%); color: var(--title); border-color: var(--line-strong); }
.btn-secondary { background: var(--white); color: var(--bay); }
a:hover, button:hover { opacity: .86; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(90,138,106,.35); outline-offset: 2px; }

/* 首页 */
.home-intro { border-left: 3px solid var(--cyan); padding: 24px 0 24px 24px; max-width: 820px; }
.home-intro h1 { margin-top: 6px; }
.home-intro .hero-line { margin-top: 10px; font-size: 19px; font-weight: 800; color: var(--bay); }
.home-intro .lead { margin-top: 9px; max-width: 760px; }
.media-slot { width: 100%; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.strip-cover { height: 188px; }
.slot-short { height: 180px; }
.slot-medium { height: 220px; }
.slot-banner { height: 200px; }
.slot-app { height: 300px; }
.alternate-stack { display: grid; gap: 18px; }
.alt-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.alt-copy { padding: 22px; }
.alt-copy p { margin-top: 9px; color: var(--muted); }
.note-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.note-card { min-width: 0; background: var(--surface); border-top: 3px solid var(--cyan); padding: 18px; border-radius: 8px; box-shadow: var(--shadow); }
.note-card p { margin-top: 8px; color: var(--muted); }
.note-card .media-slot { margin: 12px 0; height: 150px; }
.center-cards { max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.center-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.center-card p { margin-top: 8px; color: var(--muted); }
.center-card .media-slot { margin: 0 auto 16px; height: 160px; }
.three-phase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.phase { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 9px; padding: 18px; }
.phase p { margin-top: 7px; color: var(--muted); }
.status-list { display: grid; gap: 10px; }
.status-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 14px 16px; }
.status-pill { border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 800; color: var(--bay); background: var(--bg-deep); white-space: nowrap; }
.product-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr); gap: 24px; align-items: center; background: var(--bay); color: var(--white); border-radius: 12px; padding: 26px; }
.product-band h2, .product-band h3 { color: var(--white); }
.product-band p { margin-top: 10px; color: #DDEFF3; }
.product-band .btn-secondary { border-color: var(--white); }
.app-visual { display: grid; gap: 12px; justify-items: center; }
.app-icon-slot { width: 72px; height: 72px; }
.read-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.read-point { background: var(--surface); border-left: 3px solid var(--seaweed); padding: 17px 18px; border-radius: 8px; }
.read-point p { margin-top: 6px; color: var(--muted); }
.faq-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-mini article { background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: 9px; }
.faq-mini p { margin-top: 6px; color: var(--muted); }
.brand-story { background: linear-gradient(135deg, var(--surface) 0%, var(--bg-deep) 100%); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.brand-story p { margin-top: 9px; }

/* 内页通用排版，但每页主体结构独立 */
.page-intro { margin-bottom: 24px; }
.page-intro h1 { margin-top: 7px; }
.page-intro p { margin-top: 10px; max-width: 820px; color: var(--muted); }
.left-line-intro { border-left: 3px solid var(--cyan); padding: 18px 22px; background: var(--surface); border-radius: 0 10px 10px 0; }
.short-cover-page .media-slot { margin: 18px 0 22px; height: 188px; }
.staggered-page { display: grid; gap: 20px; }
.staggered-unit { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.staggered-unit:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.staggered-unit:nth-child(even) .staggered-media { order: 2; }
.staggered-unit p { margin-top: 8px; color: var(--muted); }
.vertical-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.vertical-note { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 18px; }
.vertical-note:nth-child(2) { margin-top: 28px; }
.vertical-note:nth-child(3) { margin-top: 56px; }
.vertical-note p { margin-top: 8px; color: var(--muted); }
.journal-stream { display: grid; gap: 14px; }
.journal-entry { background: var(--surface); border-bottom: 2px solid var(--line-strong); padding: 20px 22px; border-radius: 9px; }
.journal-entry p { margin-top: 8px; color: var(--muted); }
.memo-checklist { display: grid; gap: 12px; counter-reset: memo; }
.memo-item { counter-increment: memo; display: grid; grid-template-columns: 42px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 16px; }
.memo-item::before { content: counter(memo); width: 36px; height: 36px; border-radius: 50%; background: var(--bg-deep); color: var(--bay); display: grid; place-items: center; font-weight: 800; }
.memo-item p { margin-top: 6px; color: var(--muted); }
.method-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.method-card { background: var(--surface); border: 1px solid var(--line); padding: 20px; border-radius: 10px; }
.method-card p { margin-top: 7px; color: var(--muted); }
.topic-list { display: grid; gap: 12px; }
.topic-item { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.topic-label { color: var(--bay); font-weight: 900; font-size: 17px; }
.topic-item p { color: var(--muted); }
.center-guide { max-width: 820px; margin: 0 auto; text-align: center; }
.center-guide .center-card { text-align: left; margin-top: 14px; }
.clause-stack { display: grid; gap: 14px; }
.clause { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.clause p, .clause li { color: var(--muted); }
.clause p { margin-top: 7px; }
.clause ul { margin: 10px 0 0; padding-left: 20px; }
.install-steps { display: grid; gap: 0; border-left: 2px solid var(--cyan); margin-left: 14px; }
.install-step { position: relative; padding: 0 0 24px 26px; }
.install-step::before { content: ''; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; background: var(--surface); border: 2px solid var(--cyan); border-radius: 50%; }
.install-step p { margin-top: 7px; color: var(--muted); }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.help-block { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 19px; }
.help-block p { margin-top: 7px; color: var(--muted); }
.qa-list { display: grid; gap: 12px; }
.qa-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.qa-item p { margin-top: 8px; color: var(--muted); }
.contact-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-card { background: var(--surface); border-top: 3px solid var(--cyan); border-radius: 9px; padding: 20px; }
.contact-card p { margin-top: 7px; color: var(--muted); }
.about-banner { height: 200px; margin-bottom: 22px; }
.about-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.about-aside { background: var(--bay); color: var(--white); border-radius: 10px; padding: 22px; align-self: start; }
.about-aside h2 { color: var(--white); }
.about-aside p { margin-top: 9px; color: #DDEFF3; }
.about-copy { display: grid; gap: 14px; }
.about-copy article { background: var(--surface); border: 1px solid var(--line); padding: 19px; border-radius: 10px; }
.about-copy p { margin-top: 7px; color: var(--muted); }

/* 页脚 */
.site-footer { background: #143038; color: #E7F4F8; border-top: 1px solid var(--cyan); padding: 34px 0 76px; font-size: 13px; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand-row strong { font-size: 16px; }
.footer-brand p { margin-top: 10px; max-width: 760px; color: #CFE4E9; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.footer-links div { display: grid; gap: 6px; align-content: start; }
.footer-links strong { color: var(--white); margin-bottom: 3px; }
.footer-links a { color: #CFE4E9; min-height: 30px; display: inline-flex; align-items: center; }
.footer-bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(110,201,212,.28); color: #CFE4E9; }

/* 面板与搜索 */
.page-overlay { position: fixed; inset: 0; z-index: 240; background: rgba(20,48,56,.38); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease; }
.page-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.bay-menu {
    position: fixed; z-index: 260; left: 0; right: 0; top: 0; height: 58vh; max-height: 720px; background: var(--surface);
    border-bottom: 2px solid var(--cyan); box-shadow: var(--shadow); transform: translateY(-104%); visibility: hidden; pointer-events: none;
    transition: transform .24s ease, visibility .24s ease; overflow-y: auto; padding: 18px max(16px, calc((100vw - 1000px) / 2));
}
.bay-menu.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu-brand { display: flex; align-items: center; gap: 10px; color: var(--bay); }
.menu-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px; padding-bottom: 18px; }
.menu-group { min-width: 0; }
.menu-group h2 { font-size: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.menu-group a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); }
.menu-group b { display: block; color: var(--bay); }
.menu-group span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 270; left: 0; right: 0; top: 74px; visibility: hidden; pointer-events: none; transform: translateY(-16px); opacity: 0; transition: .2s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(760px, calc(100% - 32px)); margin: 0 auto; background: var(--white); border: 1px solid var(--line-strong); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.search-head p { color: var(--muted); font-size: 13px; }
.search-label { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
.search-input { width: 100%; min-height: 44px; margin-top: 6px; padding: 0 12px; background: #fff; color: var(--bay); border: 1px solid var(--line); border-radius: 8px; }
.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 13px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; color: var(--bay); }
.search-empty { margin-top: 12px; color: var(--muted); }
.mobile-bottom { display: none; }

@media (max-width: 760px) {
    .top-inner, .brand-inner, .footer-inner, .page-shell { width: calc(100% - 32px); }
    .shore-points { display: none; }
    .site-main { padding-top: 104px; padding-bottom: 78px; }
    .brand-actions { gap: 6px; }
    .app-link, .menu-button { padding: 0 11px; }
    .brand-link { max-width: 38%; }
    .note-columns, .three-phase, .vertical-notes, .footer-links, .help-grid, .contact-paths, .read-points, .faq-mini { grid-template-columns: 1fr; }
    .vertical-note:nth-child(2), .vertical-note:nth-child(3) { margin-top: 0; }
    .center-cards { grid-template-columns: 1fr; }
    .product-band { grid-template-columns: 1fr; padding: 22px; }
    .staggered-unit, .staggered-unit:nth-child(even), .about-body { grid-template-columns: 1fr; }
    .staggered-unit:nth-child(even) .staggered-media { order: initial; }
    .topic-item { grid-template-columns: 1fr; gap: 6px; }
    .status-row { grid-template-columns: 1fr; gap: 6px; }
    .slot-app { height: 280px; }
    .bay-menu { height: 58vh; padding: 16px; }
    .menu-groups { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
    .search-layer { top: 0; bottom: 0; background: var(--bay); color: var(--white); }
    .search-card { width: 100%; min-height: 100%; border: 0; border-radius: 0; background: var(--bay); box-shadow: none; color: var(--white); padding: 26px 16px 84px; }
    .search-head strong, .search-head p, .search-label { color: var(--white); }
    .search-layer .close-button { border-color: var(--white); color: var(--white); background: transparent; }
    .search-presets a { background: rgba(243,250,252,.1); color: var(--white); border-color: rgba(243,250,252,.24); }
    .search-empty { color: #DDEFF3; }
    .mobile-bottom {
        position: fixed; z-index: 220; 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(4, 1fr); background: var(--white); border-top: 1px solid var(--line-strong);
    }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
    .mobile-bottom a.is-active { background: var(--cyan); color: var(--bay); font-weight: 800; }
    .site-footer { padding-bottom: 92px; }
}

@media (max-width: 420px) {
    .brand-logo { max-width: 120px; }
    .brand-fallback { font-size: 15px; }
    .app-link, .menu-button { font-size: 13px; padding: 0 9px; }
    .menu-groups { grid-template-columns: 1fr; }
    .home-intro { padding-left: 18px; }
}

/* 辅助布局 */
.center-buttons { justify-content: center; }
.mt-14 { margin-top: 14px; }
.app-eyebrow { color: #B9E8EA; }
.product-title { color: #F3FAFC; }
.about-extra-media { margin-top: 18px; }
