/* ===================================================================
   site.css — 十博10品牌 · 快速通道  共享外壳样式
   结构：重置 → 变量 → 基础排版 → 通用组件 → 侧轨头部 → 页脚 → 动效
   =================================================================== */

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

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

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-ink: #061915;
  --c-ink-2: #0B2B22;
  --c-ink-3: #14453A;
  --c-cyan: #3BE8C4;
  --c-cyan-soft: #A8F5E4;
  --c-gold: #F2C063;
  --c-violet: #8A5CFF;
  --c-mist: #C9D8D2;
  --c-paper: #F4F8F5;
  --c-amber: #E8A33D;

  --rail-w: 88px;
  --header-h: 64px;
  --shell-max: 1320px;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --shadow-panel: 0 26px 54px -34px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(59, 232, 196, .07);
  --shadow-soft: 0 16px 34px -26px rgba(0, 0, 0, .9);

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

  --font-display: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100dvh;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--c-mist);
  background-color: var(--c-ink);
  background-image:
    radial-gradient(1080px 620px at 84% -10%, rgba(59, 232, 196, .11), transparent 62%),
    radial-gradient(880px 520px at 2% 14%, rgba(138, 92, 255, .10), transparent 64%),
    radial-gradient(1200px 700px at 50% 108%, rgba(11, 43, 34, .9), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

main,
#main-content { position: relative; z-index: 1; }

#main-content { scroll-margin-top: 84px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .02em;
  color: var(--c-paper);
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: .04em;
  line-height: 1.06;
}

h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; }
h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; }

p { max-width: 68ch; }
strong { color: var(--c-paper); font-weight: 600; }
small { font-size: 13px; }

/* ---------- 4. 通用布局组件 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: 16px;
}

.section { padding-block: 56px; }

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.stack { display: grid; gap: 20px; }

/* ---------- 5. 面板 / 按钮 / 徽章 / 图片容器 ---------- */
.panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--c-ink-3);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(59, 232, 196, .07), transparent 58%),
    linear-gradient(180deg, rgba(11, 43, 34, .94), rgba(6, 25, 21, .94));
  box-shadow: var(--shadow-panel);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
  text-align: center;
  transition: filter .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), transform .12s var(--ease);
}

.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-ink);
  border-color: var(--c-gold);
}

.btn--ghost {
  background: rgba(59, 232, 196, .08);
  border-color: var(--c-cyan);
  color: var(--c-cyan-soft);
}

.btn--violet {
  background: rgba(138, 92, 255, .12);
  border-color: var(--c-violet);
  color: var(--c-paper);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(59, 232, 196, .42);
  background: rgba(59, 232, 196, .13);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-ink-3);
  background: rgba(11, 43, 34, .74);
  color: var(--c-mist);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .18s var(--ease), border-color .18s var(--ease),
              background-color .18s var(--ease), transform .12s var(--ease);
}

.chip:hover { color: var(--c-paper); border-color: rgba(59, 232, 196, .55); }
.chip:active { transform: scale(.98); }
.chip[aria-pressed="true"] {
  border-color: var(--c-cyan);
  background: rgba(59, 232, 196, .16);
  color: var(--c-paper);
}

.figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-ink-3);
  background:
    radial-gradient(120% 96% at 18% 0%, rgba(59, 232, 196, .20), transparent 58%),
    radial-gradient(120% 90% at 92% 104%, rgba(138, 92, 255, .24), transparent 62%),
    linear-gradient(170deg, #0B2B22, #061915);
  box-shadow: var(--shadow-soft);
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(135deg,
      rgba(168, 245, 228, .07) 0 1px,
      transparent 1px 15px);
  opacity: .8;
  transition: opacity .3s var(--ease);
}

.figure:has(> img)::after { opacity: 0; }

.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mist);
  opacity: .74;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mist);
  opacity: .8;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb li::after {
  content: "/";
  color: var(--c-ink-3);
}

.breadcrumb li:last-child::after { content: ""; }

.breadcrumb a { color: var(--c-cyan-soft); }
.breadcrumb a:hover { color: var(--c-cyan); }

/* ---------- 6. 侧轨头部 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-160%);
  padding: 12px 22px;
  border-radius: 0 0 var(--r-md) 0;
  background: var(--c-cyan);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: transform .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
}

.header-rail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  padding: 0 16px;
  background: rgba(6, 25, 21, .965);
  border-bottom: 1px solid var(--c-ink-3);
  box-shadow: 0 16px 36px -28px #000;
}

/* 品牌字标 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  flex: none;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-paper);
}

.brand-dot { color: var(--c-cyan); }

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--c-mist);
  opacity: .68;
  white-space: nowrap;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px 9px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-ink-3);
  background: linear-gradient(180deg, rgba(59, 232, 196, .16), rgba(59, 232, 196, .04));
  color: var(--c-cyan-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              transform .12s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(59, 232, 196, .55);
  background: linear-gradient(180deg, rgba(59, 232, 196, .26), rgba(59, 232, 196, .08));
}

.nav-toggle:active { transform: scale(.98); }

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

.nav-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .18s var(--ease);
}

.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); }

/* 抽屉导航 */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 96;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(86vw, 330px);
  padding: 78px 18px 24px;
  overflow-y: auto;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(59, 232, 196, .13), transparent 60%),
    linear-gradient(180deg, #0B2B22, #061915 72%);
  border-right: 1px solid var(--c-ink-3);
  box-shadow: 34px 0 70px -48px #000;
  transform: translateX(-103%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s var(--ease);
}

.site-header[data-open] .site-nav {
  transform: translateX(0);
  visibility: visible;
}

.nav-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c-cyan);
  padding: 0 8px 12px;
  border-bottom: 1px dashed var(--c-ink-3);
  max-width: none;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--c-mist);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-link:hover {
  color: var(--c-paper);
  background: rgba(59, 232, 196, .08);
}

.nav-glyph {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--c-cyan);
  filter: drop-shadow(0 0 6px rgba(59, 232, 196, .28));
}

.nav-glyph svg { width: 22px; height: 22px; }

.nav-label { display: block; }

.nav-link[aria-current="page"] {
  color: var(--c-paper);
  background: rgba(59, 232, 196, .13);
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 3px;
  height: 62%;
  transform: translateY(-50%);
  border-radius: 3px;
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(59, 232, 196, .75);
}

.nav-tail {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 16px 8px 0;
  border-top: 1px dashed var(--c-ink-3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--c-gold);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: filter .18s var(--ease), transform .12s var(--ease);
}

.nav-cta:hover { filter: brightness(1.08); }
.nav-cta:active { transform: scale(.98); }

.nav-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--c-mist);
  opacity: .7;
  text-align: center;
  max-width: none;
}

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(3, 12, 10, .66);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.site-header[data-open] .nav-scrim {
  opacity: 1;
  visibility: visible;
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(20, 69, 58, .5);
}

.scroll-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  will-change: transform;
}

/* 返回顶部 */
.rail-utils {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 92;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s var(--ease);
}

.rail-utils[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-ink-3);
  background: linear-gradient(160deg, rgba(59, 232, 196, .22), rgba(11, 43, 34, .97));
  color: var(--c-cyan);
  box-shadow: 0 18px 34px -22px #000;
  transition: border-color .2s var(--ease), transform .14s var(--ease);
}

.to-top:hover { border-color: var(--c-cyan); }
.to-top:active { transform: scale(.94); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  padding: 52px 16px 26px;
  overflow: hidden;
  border-top: 1px solid var(--c-ink-3);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(59, 232, 196, .09), transparent 62%),
    radial-gradient(760px 400px at 88% 8%, rgba(138, 92, 255, .09), transparent 64%),
    linear-gradient(180deg, #061915, #04120F 60%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 232, 196, .55), rgba(138, 92, 255, .45), transparent);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.footer-brand { display: grid; gap: 10px; align-content: start; }

.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  color: var(--c-paper);
}

.footer-logo span { color: var(--c-cyan); }

.footer-tagline {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-mist);
  opacity: .86;
}

.footer-version {
  justify-self: start;
  margin-top: 4px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-ink-3);
  background: rgba(59, 232, 196, .07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--c-cyan-soft);
  max-width: none;
}

.footer-col { display: grid; gap: 14px; align-content: start; }

.footer-col-title {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--c-paper);
}

.footer-col-title::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 9px rgba(59, 232, 196, .7);
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-links li {
  color: var(--c-mist);
  word-break: break-word;
}

.footer-links a {
  display: inline-block;
  color: var(--c-mist);
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer-links a:hover {
  color: var(--c-cyan);
  transform: translateX(3px);
}

.footer-label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--c-cyan);
  opacity: .78;
}

.footer-base {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--c-ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-mist);
}

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

.footer-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--c-gold);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: filter .18s var(--ease), transform .12s var(--ease);
}

.footer-home:hover { filter: brightness(1.08); }
.footer-home:active { transform: scale(.98); }

/* ---------- 8. 显现动效 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 9. 响应式：平板 ---------- */
@media (min-width: 768px) {
  .container { padding-inline: 24px; }
  .section { padding-block: 72px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding: 62px 24px 30px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .footer-base { flex-direction: row; align-items: center; justify-content: space-between; }
  .panel { padding: 30px; }
}

/* ---------- 10. 响应式：桌面侧轨 ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 0px; }

  body { padding-left: var(--rail-w); }

  .skip-link { border-radius: 0 0 var(--r-md) 0; }

  .site-header {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
  }

  .header-rail {
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: 100%;
    padding: 22px 0 12px;
    border-bottom: 0;
    border-right: 1px solid var(--c-ink-3);
    box-shadow: 16px 0 40px -34px #000;
    background: linear-gradient(180deg, rgba(11, 43, 34, .98), rgba(6, 25, 21, .99));
  }

  .brand {
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-bottom: 16px;
    flex: none;
  }

  .brand-mark { font-size: 14px; letter-spacing: .08em; }

  .brand-sub {
    display: block;
    max-height: 120px;
    font-size: 10px;
    letter-spacing: .16em;
    line-height: 1.25;
    white-space: normal;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    opacity: .55;
  }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    z-index: auto;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0;
    padding: 8px 0 6px;
    overflow-x: hidden;
    overflow-y: auto;
    transform: none;
    visibility: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    scrollbar-width: none;
  }

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

  .nav-eyebrow { display: none; }

  .nav-list { gap: 2px; padding: 0 8px; }

  .nav-link {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 11px 2px;
    border-radius: 14px;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .01em;
    text-align: center;
    white-space: nowrap;
  }

  .nav-glyph { width: 22px; height: 22px; }
  .nav-glyph svg { width: 20px; height: 20px; }

  .nav-link[aria-current="page"]::before {
    left: -2px;
    width: 3px;
    height: 30px;
  }

  .nav-tail { display: none; }
  .nav-scrim { display: none; }

  .scroll-progress {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .scroll-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--c-cyan), var(--c-violet));
    transform: scaleY(var(--progress, 0));
    transform-origin: center top;
  }

  .rail-utils {
    position: static;
    display: grid;
    place-items: center;
    padding: 10px 0 8px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity .24s var(--ease), visibility .24s var(--ease);
  }

  .rail-utils[data-visible] { opacity: 1; visibility: visible; }

  .to-top { width: 42px; height: 42px; }

  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding-block: 96px; }
  .site-footer { margin-top: 96px; padding: 72px 32px 32px; }
}

/* ---------- 11. 响应式：大屏 ---------- */
@media (min-width: 1200px) {
  .container { padding-inline: 32px; }

  .footer-grid {
    grid-template-columns: 1.25fr .8fr 1fr .8fr;
    gap: 48px 32px;
  }
}

/* ---------- 12. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-property: opacity, color, background-color, border-color, visibility !important;
    transition-duration: 120ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal],
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .site-nav { transform: translateX(-103%); }
  .site-header[data-open] .site-nav { transform: translateX(0); }
  .skip-link { transform: translateY(-160%); }
  .skip-link:focus,
  .skip-link:focus-visible { transform: translateY(0); }
  .rail-utils,
  .rail-utils[data-visible] { transform: none !important; }
}
