/* ============================================================
   贝博官网 · 共享样式 /assets/site.css
   深海蓝 · 青绿 · 暖金 · 米白 · 岩灰 · 陶土
   ============================================================ */

:root {
  --bb-deep: #0B2A45;
  --bb-deep-2: #123C5E;
  --bb-teal: #17A398;
  --bb-teal-dark: #0F7A70;
  --bb-teal-soft: #7FD1C1;
  --bb-gold: #E0A94B;
  --bb-gold-soft: #F2CE8A;
  --bb-stone: #4A5459;
  --bb-clay: #C2704F;
  --bb-cream: #F6F2EC;
  --bb-ink: #08161F;
  --bb-surface: #FFFDFA;

  --bb-line: rgba(11, 42, 69, .12);
  --bb-line-soft: rgba(11, 42, 69, .07);

  --bb-font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --bb-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --bb-radius: 22px 6px 22px 6px;
  --bb-radius-sm: 14px 4px 14px 4px;
  --bb-radius-lg: 30px 8px 30px 8px;

  --bb-ease: cubic-bezier(.2, .7, .2, 1);
  --bb-shadow: 0 18px 44px rgba(11, 42, 69, .12);
  --bb-gutter: clamp(18px, 4vw, 44px);
  --bb-max: 1240px;
}

/* ---------------- reset ---------------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

/* ---------------- 中文排版基线 ---------------- */

body {
  font-family: var(--bb-font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--bb-ink);
  background-color: var(--bb-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--bb-ink);
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 1.7vw, 24px); }
h4 { font-size: 18px; font-weight: 800; }

p, li { text-wrap: pretty; }

::selection {
  background: rgba(23, 163, 152, .28);
  color: var(--bb-ink);
}

:focus-visible {
  outline: 3px solid var(--bb-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   页头
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--bb-cream);
  background:
    radial-gradient(120% 200% at 6% -50%, rgba(23, 163, 152, .30), transparent 62%),
    linear-gradient(152deg, #0B2A45 0%, #0F3149 46%, #123C5E 100%);
  border-bottom: 1px solid rgba(127, 209, 193, .2);
  box-shadow: 0 12px 32px rgba(8, 22, 31, .18);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 10px;
  z-index: 120;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #2A1A02;
  background: linear-gradient(135deg, var(--bb-gold-soft), var(--bb-gold));
  transform: translateY(-180%);
  transition: transform .2s var(--bb-ease);
}
.skip-link:focus {
  transform: translateY(0);
}

/* --- 顶部刻度轨 --- */

.header-rail {
  max-height: 46px;
  overflow: hidden;
  background: rgba(8, 22, 31, .55);
  border-bottom: 1px solid rgba(127, 209, 193, .14);
  font-family: var(--bb-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  transition: max-height .3s var(--bb-ease), opacity .24s var(--bb-ease);
}

.header-rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
}

.rail-tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: rgba(127, 209, 193, .82);
}

.rail-tick::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--bb-teal);
  transform: rotate(45deg);
}

.rail-tick--mono {
  color: var(--bb-gold-soft);
  font-weight: 700;
  letter-spacing: .14em;
}
.rail-tick--mono::before { background: var(--bb-gold); }

/* --- 主区 --- */

.header-main {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.3vw, 16px);
  padding-block: clamp(14px, 2.1vw, 22px);
  transition: padding .3s var(--bb-ease), gap .3s var(--bb-ease);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-meta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--bb-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  color: rgba(127, 209, 193, .85);
  white-space: nowrap;
}

.header-meta::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bb-gold);
  box-shadow: 0 0 0 4px rgba(224, 169, 75, .16);
}

/* --- 品牌 --- */

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bb-cream);
  border-radius: 14px;
  transition: opacity .2s var(--bb-ease);
}
.brand:hover { opacity: .88; }

.brand-mark {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 14px 5px 14px 5px;
  background: linear-gradient(140deg, var(--bb-teal) 0%, var(--bb-teal-dark) 44%, var(--bb-gold) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(246, 242, 236, .35),
    0 8px 20px rgba(23, 163, 152, .3);
  transition: width .28s var(--bb-ease), height .28s var(--bb-ease), border-radius .28s var(--bb-ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: rgba(8, 22, 31, .58);
  transition: inset .28s var(--bb-ease);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.brand-name {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .02em;
  transition: font-size .28s var(--bb-ease);
}

.brand-line {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;
  white-space: nowrap;
  color: rgba(127, 209, 193, .86);
}

/* --- 快捷入口 --- */

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  color: rgba(246, 242, 236, .88);
  background: rgba(127, 209, 193, .08);
  border: 1px solid rgba(127, 209, 193, .28);
  transition:
    background .2s var(--bb-ease),
    color .2s var(--bb-ease),
    border-color .2s var(--bb-ease),
    transform .2s var(--bb-ease);
}
.action-link:hover {
  color: #FFFFFF;
  background: rgba(127, 209, 193, .22);
  border-color: rgba(127, 209, 193, .6);
  transform: translateY(-2px);
}

.action-link--gold {
  color: #301E03;
  background: linear-gradient(135deg, var(--bb-gold-soft), var(--bb-gold));
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(224, 169, 75, .28);
}
.action-link--gold:hover {
  color: #301E03;
  background: linear-gradient(135deg, #FADFA8, var(--bb-gold-soft));
}

/* --- 移动导航按钮 --- */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--bb-cream);
  background: rgba(127, 209, 193, .08);
  border: 1px solid rgba(127, 209, 193, .32);
  transition:
    background .2s var(--bb-ease),
    color .2s var(--bb-ease),
    border-color .2s var(--bb-ease);
}
.nav-toggle:hover { background: rgba(127, 209, 193, .22); }
.nav-toggle[aria-expanded="true"] {
  color: var(--bb-ink);
  background: var(--bb-teal);
  border-color: transparent;
}

.nav-toggle-icon {
  flex: none;
  width: 18px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 5px / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 10px / 100% 2px no-repeat;
}

.nav-toggle-label { line-height: 1; }

/* --- 胶囊栏目 --- */

.site-nav { position: relative; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li { flex: 0 0 auto; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 17px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  color: rgba(246, 242, 236, .74);
  background: rgba(127, 209, 193, .05);
  border: 1px solid rgba(127, 209, 193, .16);
  transition:
    background .2s var(--bb-ease),
    color .2s var(--bb-ease),
    border-color .2s var(--bb-ease),
    transform .2s var(--bb-ease);
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(127, 209, 193, .18);
  border-color: rgba(127, 209, 193, .5);
  transform: translateY(-2px);
}
.nav-link[aria-current="page"] {
  color: var(--bb-ink);
  background: linear-gradient(135deg, var(--bb-teal-soft), var(--bb-teal));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(23, 163, 152, .32);
}

/* --- 滚动进度 --- */

.header-progress {
  height: 3px;
  width: 100%;
  transform: scaleX(var(--bb-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--bb-teal) 0%, var(--bb-gold) 72%, var(--bb-gold-soft) 100%);
  transition: transform .12s linear;
}

/* --- 收拢态 --- */

.site-header[data-condensed="true"] .header-rail {
  max-height: 0;
  opacity: 0;
}
.site-header[data-condensed="true"] .header-main {
  padding-block: 9px;
  gap: 7px;
}
.site-header[data-condensed="true"] .brand-line { display: none; }
.site-header[data-condensed="true"] .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px 4px 10px 4px;
}
.site-header[data-condensed="true"] .brand-mark::after { inset: 7px; }
.site-header[data-condensed="true"] .brand-name { font-size: 19px; }

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding-top: clamp(26px, 4vw, 48px);
  color: rgba(246, 242, 236, .78);
  background: linear-gradient(180deg, #0B2A45 0%, #08161F 58%, #08161F 100%);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 74% at 10% 4%, rgba(23, 163, 152, .24), transparent 64%),
    radial-gradient(46% 62% at 92% 10%, rgba(224, 169, 75, .14), transparent 62%),
    repeating-linear-gradient(118deg, rgba(127, 209, 193, .055) 0 1.5px, transparent 1.5px 16px);
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.2fr);
  gap: clamp(28px, 4vw, 68px);
  padding-top: clamp(34px, 5vw, 68px);
  padding-bottom: clamp(36px, 4.6vw, 58px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand--footer { justify-self: start; }
.brand--footer .brand-line { color: rgba(127, 209, 193, .75); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--bb-gold-soft);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  display: inline-block;
  font-size: 15px;
  color: rgba(246, 242, 236, .72);
  transition: color .2s var(--bb-ease), transform .2s var(--bb-ease);
}
.footer-list a:hover {
  color: var(--bb-teal-soft);
  transform: translateX(3px);
}

.footer-list--contact { gap: 12px; }

.footer-address {
  display: block;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 242, 236, .6);
}

.copy-btn {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 1px;
  font-family: var(--bb-font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: left;
  word-break: break-all;
  color: rgba(246, 242, 236, .82);
  border-bottom: 1px dashed rgba(127, 209, 193, .5);
  transition: color .2s var(--bb-ease), border-color .2s var(--bb-ease);
}
.copy-btn:hover {
  color: var(--bb-teal-soft);
  border-color: var(--bb-teal-soft);
}
.copy-btn[data-copied="true"] {
  color: var(--bb-gold-soft);
  border-color: var(--bb-gold-soft);
}

.footer-legal {
  position: relative;
  border-top: 1px solid rgba(127, 209, 193, .16);
  background: rgba(4, 12, 18, .5);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-block: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(246, 242, 236, .5);
}

.legal-mono {
  font-family: var(--bb-font-mono);
  letter-spacing: .04em;
  color: rgba(127, 209, 193, .8);
}

.legal-service { flex: 1 1 320px; }

/* ============================================================
   通用容器与排版
   ============================================================ */

.bb-shell {
  width: 100%;
  max-width: var(--bb-max);
  margin-inline: auto;
  padding-inline: var(--bb-gutter);
}

.bb-section {
  position: relative;
  padding-block: clamp(52px, 7vw, 104px);
}

.bb-section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 64ch;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.bb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--bb-teal-dark);
}
.bb-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bb-teal), var(--bb-gold));
}

.bb-lede {
  max-width: 62ch;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.7;
  color: var(--bb-stone);
}

.bb-prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--bb-ink);
}
.bb-prose > * + * { margin-top: 1.05em; }
.bb-prose h2 { margin-top: 1.6em; }
.bb-prose h3 { margin-top: 1.4em; }
.bb-prose a {
  color: var(--bb-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(23, 163, 152, .35);
}
.bb-prose a:hover { text-decoration-color: var(--bb-teal); }
.bb-prose ul li {
  position: relative;
  padding-left: 22px;
}
.bb-prose ul li + li { margin-top: .5em; }
.bb-prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--bb-teal);
  transform: rotate(45deg);
}

/* ============================================================
   基础组件
   ============================================================ */

/* --- 按钮 --- */

.bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--bb-cream);
  background: var(--bb-deep);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform .2s var(--bb-ease),
    background .2s var(--bb-ease),
    color .2s var(--bb-ease),
    border-color .2s var(--bb-ease),
    box-shadow .2s var(--bb-ease);
}
.bb-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(11, 42, 69, .22);
}

.bb-btn--gold {
  color: #2A1A02;
  background: linear-gradient(135deg, var(--bb-gold-soft), var(--bb-gold));
  box-shadow: 0 8px 20px rgba(224, 169, 75, .28);
}
.bb-btn--gold:hover {
  color: #2A1A02;
  background: linear-gradient(135deg, #FADFA8, var(--bb-gold-soft));
}

.bb-btn--light {
  color: var(--bb-deep);
  background: var(--bb-cream);
}
.bb-btn--light:hover {
  color: var(--bb-deep);
  background: #FFFFFF;
}

.bb-btn--ghost {
  color: var(--bb-deep);
  background: transparent;
  border-color: rgba(11, 42, 69, .25);
}
.bb-btn--ghost:hover {
  background: rgba(127, 209, 193, .2);
  border-color: var(--bb-teal);
}

/* --- 面包屑 --- */

.bb-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--bb-font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--bb-stone);
}
.bb-crumbs a { color: var(--bb-teal-dark); }
.bb-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bb-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(74, 84, 89, .45);
}

/* --- 网格 --- */

.bb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.bb-span-4 { grid-column: span 4; }
.bb-span-6 { grid-column: span 6; }
.bb-span-8 { grid-column: span 8; }
.bb-span-12 { grid-column: span 12; }

/* --- 左右分屏 --- */

.bb-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.bb-split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* --- 卡片 --- */

.bb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.3vw, 30px);
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  overflow: hidden;
  transition:
    transform .24s var(--bb-ease),
    background .24s var(--bb-ease),
    border-color .24s var(--bb-ease),
    box-shadow .24s var(--bb-ease);
}
.bb-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bb-teal), var(--bb-gold));
  opacity: .55;
  transition: opacity .24s var(--bb-ease);
}
.bb-card:hover {
  transform: translateY(-4px);
  background: #EDF7F4;
  border-color: rgba(23, 163, 152, .38);
  box-shadow: var(--bb-shadow);
}
.bb-card:hover::before { opacity: 1; }

.bb-card__title {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 900;
  line-height: 1.25;
}

.bb-card__text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--bb-stone);
}

/* --- 标签 --- */

.bb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--bb-teal-dark);
  background: rgba(23, 163, 152, .12);
  border: 1px solid rgba(23, 163, 152, .26);
}
.bb-tag--gold {
  color: #7E5306;
  background: rgba(224, 169, 75, .18);
  border-color: rgba(224, 169, 75, .42);
}
.bb-tag--clay {
  color: #8C4527;
  background: rgba(194, 112, 79, .15);
  border-color: rgba(194, 112, 79, .36);
}
.bb-tag--deep {
  color: var(--bb-teal-soft);
  background: rgba(11, 42, 69, .55);
  border-color: rgba(127, 209, 193, .3);
}

/* --- 折叠面板 --- */

.bb-panel {
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  overflow: hidden;
}
.bb-panel + .bb-panel { margin-top: 12px; }

.bb-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  color: var(--bb-ink);
  transition: background .2s var(--bb-ease);
}
.bb-panel__head:hover { background: rgba(127, 209, 193, .12); }
.bb-panel__head::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--bb-teal-dark);
  border-bottom: 2px solid var(--bb-teal-dark);
  transform: rotate(45deg);
  transition: transform .24s var(--bb-ease);
}
.bb-panel__head[aria-expanded="true"]::after { transform: rotate(-135deg); }

.bb-panel__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--bb-ease);
}
.bb-panel__body > div { overflow: hidden; }
.bb-panel__body p {
  padding: 0 20px 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--bb-stone);
}
.bb-panel[data-open="true"] .bb-panel__body { grid-template-rows: 1fr; }

/* --- 图片容器（低多边形占位底） --- */

.bb-figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--bb-radius-lg);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(38% 52% at 20% 16%, rgba(23, 163, 152, .58), transparent 68%),
    radial-gradient(32% 44% at 84% 78%, rgba(224, 169, 75, .42), transparent 70%),
    linear-gradient(140deg, #0B2A45 0%, #123C5E 48%, #0F7A70 100%);
}

.bb-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(8, 22, 31, .18) 0 1.5px, transparent 1.5px 13px);
}

.bb-figure > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-figure--wide { aspect-ratio: 21 / 9; }
.bb-figure--tall { aspect-ratio: 3 / 4; }
.bb-figure--square { aspect-ratio: 1 / 1; }

.bb-figure__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--bb-stone);
}

/* --- 时间轴 --- */

.bb-timeline {
  position: relative;
  padding-left: 32px;
}
.bb-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--bb-teal), rgba(224, 169, 75, .7));
}

.bb-timeline__item {
  position: relative;
  padding-bottom: clamp(22px, 3vw, 36px);
}
.bb-timeline__item:last-child { padding-bottom: 0; }

.bb-timeline__dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bb-cream);
  border: 3px solid var(--bb-teal);
  box-shadow: 0 0 0 4px rgba(23, 163, 152, .14);
}
.bb-timeline__dot--clay {
  border-color: var(--bb-clay);
  box-shadow: 0 0 0 4px rgba(194, 112, 79, .14);
}

/* --- 等宽数字 --- */

.bb-num {
  font-family: var(--bb-font-mono);
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* --- 行动提示带 --- */

.bb-callout {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--bb-radius-lg);
  color: var(--bb-cream);
  background: linear-gradient(118deg, #0B2A45 0%, #123C5E 52%, #0F7A70 100%);
}
.bb-callout::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -14%;
  width: 58%;
  height: 220%;
  transform: rotate(18deg);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(242, 206, 138, .24), transparent);
}

.bb-callout__title {
  position: relative;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--bb-cream);
}

.bb-callout__text {
  position: relative;
  max-width: 56ch;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(246, 242, 236, .82);
}

.bb-callout__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* --- 滚动显现 --- */

.bb-reveal { transition-delay: var(--bb-delay, 0ms); }

.bb-js .bb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .52s var(--bb-ease),
    transform .52s var(--bb-ease);
  transition-delay: var(--bb-delay, 0ms);
  will-change: opacity, transform;
}
.bb-js .bb-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 860px) {
  .header-rail-inner { justify-content: center; }
  .rail-tick { display: none; }
  .rail-tick--mono { display: inline-flex; }

  .masthead {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header-meta { display: none; }
  .brand {
    justify-self: auto;
    margin-right: auto;
    gap: 9px;
  }
  .brand-line { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark::after { inset: 8px; }

  .header-actions { gap: 6px; }
  .action-link { padding: 7px 11px; font-size: 12.5px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition:
      max-height .34s var(--bb-ease),
      opacity .22s var(--bb-ease),
      visibility .34s var(--bb-ease);
  }
  .site-nav[data-open="true"] {
    max-height: min(70vh, 460px);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 8px 0 4px;
    overflow: visible;
  }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 16px;
  }
  .nav-link[aria-current="page"] { box-shadow: none; }

  .bb-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bb-span-4,
  .bb-span-6,
  .bb-span-8 { grid-column: span 6; }

  .bb-split,
  .bb-split--rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }

  .site-footer {
    clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%);
    padding-top: 22px;
  }

  .bb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-span-4,
  .bb-span-6,
  .bb-span-8,
  .bb-span-12 { grid-column: span 2; }

  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; }

  .bb-callout__actions .bb-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   动效降级
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .bb-js .bb-reveal,
  .bb-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bb-card:hover,
  .bb-btn:hover,
  .nav-link:hover,
  .action-link:hover,
  .footer-list a:hover { transform: none; }

  .header-progress { transition: none; }
}
