/* ============================================================
   博鱼品牌 · 共享样式表 /assets/site.css
   水下透光层视觉体系：深海蓝 × 青碧渐变 × 珊瑚橙 × 浅沙
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
hr { border: 0; border-top: 1px solid rgba(10, 42, 67, .12); }

/* ---------- 2. 设计变量 ---------- */
:root {
  --deep: #0A2A43;
  --night: #06192B;
  --teal: #1F9E9A;
  --teal-soft: #69D5C6;
  --teal-deep: #0F6E6B;
  --coral: #FF6B4A;
  --coral-soft: #FFB59F;
  --coral-deep: #C93F20;
  --sand: #F7F1E6;
  --mist: #FBFDFF;
  --slate: #6B8199;
  --ok: #2FBF9F;

  --ink: #0A2A43;
  --ink-soft: #22415C;
  --ink-mute: #6B8199;
  --on-dark: rgba(247, 241, 230, .78);

  --line: rgba(10, 42, 67, .12);
  --line-dark: rgba(105, 213, 198, .18);

  --grad-teal: linear-gradient(135deg, #1F9E9A 0%, #69D5C6 100%);
  --grad-water: linear-gradient(180deg, rgba(31, 158, 154, .13), rgba(31, 158, 154, 0) 72%);

  --cut: 22px;
  --cut-sm: 18px;
  --shell: 1220px;
  --shell-narrow: 840px;
  --shell-wide: 1440px;

  --shadow-nav: 0 20px 46px -26px rgba(6, 25, 43, .78);
  --shadow-card: 0 24px 48px -34px rgba(6, 25, 43, .72);
  --shadow-coral: 0 16px 34px -18px rgba(255, 107, 74, .78);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--sand);
  color: var(--ink);
  font-family: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--deep);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.62rem); letter-spacing: -.01em; }
h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: 0; }

p { max-width: 70ch; }
strong, b { font-weight: 800; }
small { font-size: .82rem; }

::selection { background: rgba(255, 107, 74, .3); color: var(--night); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 10px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--shadow-coral);
  transition: top .24s var(--ease);
}

.skip-link:focus {
  top: 16px;
  outline-offset: 4px;
}

/* ---------- 5. 容器与节奏 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.shell--narrow { max-width: var(--shell-narrow); }
.shell--wide { max-width: var(--shell-wide); }

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(34px, 4.5vw, 62px) 0; }
.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--deep { background: var(--deep); color: var(--on-dark); }
.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--deep h4 { color: #fff; }

.page-head { padding: clamp(36px, 5vw, 74px) 0 clamp(22px, 3vw, 40px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-title { margin-top: 12px; }
.section-lead { margin-top: 14px; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.85; }
.section--deep .section-lead { color: rgba(247, 241, 230, .7); }

/* ---------- 6. 小注标记 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad-teal);
}

.eyebrow--coral { color: var(--coral); }
.eyebrow--coral::before { background: var(--coral); }
.eyebrow--plain::before { display: none; }

.eyebrow-vertical {
  display: inline-block;
  writing-mode: vertical-rl;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .36em;
  color: var(--ink-mute);
}

/* ---------- 7. 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: var(--mist);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.panel--deep {
  background: var(--deep);
  border-color: var(--line-dark);
  color: var(--on-dark);
}

.panel--deep h3,
.panel--deep h4 { color: #fff; }

.panel--outline { background: transparent; border-color: rgba(10, 42, 67, .18); }

.panel--coral {
  background: linear-gradient(150deg, rgba(255, 107, 74, .15), rgba(255, 181, 159, .06));
  border-color: rgba(255, 107, 74, .3);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--mist);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 74, .42);
  box-shadow: inset 0 0 0 1.5px rgba(255, 107, 74, .48);
}

.card-title { font-size: 1.12rem; font-weight: 800; color: var(--deep); }
.card-text { font-size: .95rem; line-height: 1.85; color: var(--ink-soft); }
.card--deep { background: var(--deep); border-color: var(--line-dark); color: var(--on-dark); }
.card--deep .card-title { color: #fff; }
.card--deep .card-text { color: rgba(247, 241, 230, .72); }

/* ---------- 8. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 158, 154, .26);
  background: rgba(31, 158, 154, .12);
  color: var(--teal-deep);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.tag--coral {
  border-color: rgba(255, 107, 74, .3);
  background: rgba(255, 107, 74, .13);
  color: var(--coral-deep);
}

.tag--mint {
  border-color: rgba(47, 191, 159, .32);
  background: rgba(47, 191, 159, .14);
  color: #106B57;
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-coral);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: #FF7C5F;
  box-shadow: 0 20px 38px -16px rgba(255, 107, 74, .95), 0 0 0 2px rgba(255, 181, 159, .5);
}

.btn--teal {
  background: var(--grad-teal);
  color: #04231F;
}

.btn--teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -18px rgba(31, 158, 154, .95), 0 0 0 2px rgba(105, 213, 198, .5);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(10, 42, 67, .22);
  color: var(--deep);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
  color: var(--coral-deep);
}

.btn--block { width: 100%; }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { margin-bottom: 18px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--slate);
}

.breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; }

.breadcrumb-item a {
  color: var(--slate);
  transition: color .2s var(--ease);
}

.breadcrumb-item a:hover { color: var(--coral); }

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 2px;
  color: rgba(107, 129, 153, .6);
}

.breadcrumb-item[aria-current="page"] { color: var(--deep); font-weight: 700; }

/* ---------- 11. 正文 ---------- */
.prose {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.prose p + p { margin-top: 1.2em; }
.prose h2 { margin: 1.8em 0 .55em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .42em 0; }
.prose a { color: var(--teal-deep); border-bottom: 1px solid rgba(31, 158, 154, .4); }
.prose a:hover { color: var(--coral-deep); border-bottom-color: rgba(255, 107, 74, .6); }
.section--deep .prose { color: var(--on-dark); }

/* ---------- 12. 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.grid--asym-rev { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

/* ---------- 13. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, #0A2A43 0%, #144566 46%, #1F9E9A 100%);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(115deg, rgba(105, 213, 198, .17) 0 2px, transparent 2px 26px);
  opacity: .6;
  pointer-events: none;
}

.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }

.media--cut {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.media__caption {
  margin-top: 10px;
  font-size: .82rem;
  line-height: 1.75;
  color: var(--slate);
}

.section--deep .media__caption { color: rgba(247, 241, 230, .58); }

/* ---------- 14. 分段切换 ---------- */
.tabs { display: block; }

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(10, 42, 67, .08);
  background: rgba(10, 42, 67, .07);
}

.tab {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease);
}

.tab:hover { color: var(--deep); background-color: rgba(255, 255, 255, .75); }

.tab[aria-selected="true"] {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(10, 42, 67, .95), inset 0 -2px 0 0 var(--teal-soft);
}

.tabpanel { padding-top: clamp(20px, 3vw, 30px); }
.tabpanel[hidden] { display: none; }

/* ---------- 15. 显现与滚动进度 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #1F9E9A 0%, #69D5C6 48%, #FF6B4A 100%);
  pointer-events: none;
  will-change: transform;
}

/* ---------- 16. 悬浮胶囊导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 16px clamp(12px, 3vw, 30px) 0;
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 20px);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 9px 10px 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(105, 213, 198, .2);
  background: rgba(10, 42, 67, .94);
  color: var(--sand);
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(13px) saturate(140%);
  -webkit-backdrop-filter: blur(13px) saturate(140%);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  transition: opacity .22s var(--ease);
}

.brand:hover { opacity: .88; }

.brand-emblem {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 13px;
  background: var(--grad-teal);
  box-shadow: 0 8px 18px -10px rgba(105, 213, 198, .9);
}

.brand-emblem svg { width: 21px; height: 21px; }

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  white-space: nowrap;
}

.brand-sub {
  font-size: .6rem;
  letter-spacing: .2em;
  color: rgba(105, 213, 198, .82);
  white-space: nowrap;
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: none;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(105, 213, 198, .34);
  color: var(--sand);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  transition: background-color .24s var(--ease), border-color .24s var(--ease);
}

.nav-toggle:hover {
  background-color: rgba(105, 213, 198, .12);
  border-color: rgba(105, 213, 198, .6);
}

.nav-toggle-icon { display: grid; gap: 3px; width: 15px; flex: none; }

.nav-toggle-icon > span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-soft);
  transition: transform .26s var(--ease), opacity .2s var(--ease), width .26s var(--ease);
}

.nav-toggle-icon > span:nth-child(2) { width: 70%; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; }

/* 栏目路径条 */
.nav-capsule {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-capsule::-webkit-scrollbar { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: max-content;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(247, 241, 230, .76);
  transition: color .24s var(--ease), background-color .24s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-teal);
  transform: translateX(-50%);
  transition: width .3s var(--ease), box-shadow .3s var(--ease);
}

.nav-link:hover { color: #fff; background-color: rgba(105, 213, 198, .1); }
.nav-link:hover::after { width: 40%; }

.nav-link[aria-current="page"] {
  color: #fff;
  font-weight: 700;
  background-color: rgba(105, 213, 198, .14);
}

.nav-link[aria-current="page"]::after {
  width: 46%;
  box-shadow: 0 0 14px rgba(105, 213, 198, .95), 0 0 4px rgba(105, 213, 198, 1);
}

.nav-cta { display: none; }

/* 注册入口 */
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: var(--shadow-coral);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
}

.cta-pill::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform .22s var(--ease);
}

.cta-pill:hover {
  transform: translateY(-2px);
  background: #FF7C5F;
  box-shadow: 0 20px 38px -16px rgba(255, 107, 74, .95), 0 0 0 2px rgba(255, 181, 159, .5);
}

.cta-pill:hover::after { transform: rotate(45deg) translate(1px, -1px); }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 9vw, 132px);
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 74px);
  color: var(--sand);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(46px, 5.5vw, 78px) clamp(20px, 4vw, 40px) 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr .9fr .9fr 1.5fr;
  gap: clamp(26px, 3.6vw, 54px);
}

.footer-brand-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
}

.footer-brand-line {
  margin-top: 12px;
  max-width: 26ch;
  font-size: .94rem;
  line-height: 1.85;
  color: rgba(247, 241, 230, .62);
}

.footer-brand-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  border-radius: 3px;
  background: var(--grad-teal);
}

.footer-brand-meta {
  margin-top: 16px;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--teal-soft);
}

.footer-col-title {
  margin-bottom: 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.footer-links { display: grid; gap: 3px; }

.footer-link {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  font-size: .94rem;
  color: rgba(247, 241, 230, .68);
  transition: color .22s var(--ease);
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--coral-soft);
  transform: translateX(-50%);
  transition: width .28s var(--ease);
}

.footer-link:hover { color: #fff; }
.footer-link:hover::after { width: 100%; }

.footer-contact { display: grid; gap: 2px; }

.contact-item {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(105, 213, 198, .16);
}

.contact-item:first-child { padding-top: 0; }

.contact-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(105, 213, 198, .85);
}

.contact-value {
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(247, 241, 230, .9);
  word-break: break-word;
}

.contact-value--mono {
  font-family: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .03em;
}

.footer-note {
  margin-top: 34px;
  padding: 16px 20px;
  max-width: none;
  border-left: 3px solid var(--coral);
  background: rgba(255, 107, 74, .09);
  font-size: .86rem;
  line-height: 1.8;
  color: rgba(247, 241, 230, .72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(105, 213, 198, .16);
  font-size: .8rem;
  color: rgba(247, 241, 230, .46);
}

.footer-copy { max-width: none; }

.footer-icp {
  font-family: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1040px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--asym,
  .grid--asym-rev { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

@media (max-width: 920px) {
  .site-header { padding: 10px 12px 0; }

  .header-shell {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 26px;
  }

  .brand { margin-right: auto; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }

  .nav-capsule {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .34s var(--ease), opacity .24s var(--ease);
  }

  .nav-capsule[data-open] {
    max-height: 560px;
    opacity: 1;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    min-width: 0;
    padding: 6px 0 2px;
    white-space: normal;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: .98rem;
  }

  .nav-link::after { display: none; }
  .nav-link:hover { background-color: rgba(105, 213, 198, .09); }

  .nav-link[aria-current="page"] {
    background-color: rgba(105, 213, 198, .16);
    box-shadow: inset 3px 0 0 0 var(--teal-soft);
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 13px 18px;
    border-radius: 16px;
    background: var(--coral);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-coral);
  }

  .grid--asym,
  .grid--asym-rev { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .tablist { width: 100%; justify-content: flex-start; border-radius: 18px; }
  .tab { flex: 1 1 auto; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .94rem; }
  .brand-emblem { width: 32px; height: 32px; border-radius: 11px; }
  .brand-emblem svg { width: 19px; height: 19px; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .cta-pill { padding: 11px 16px; font-size: .86rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .panel { --cut: 16px; }
}

/* ---------- 19. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover,
  .btn:hover,
  .cta-pill:hover { transform: none; }
  .nav-link[aria-current="page"]::after { box-shadow: none; }
}
