/* =========================================================
   星空赛场 · site.css
   0 重置 / 1 变量 / 2 排版 / 3 布局 / 4 页头 / 5 页脚
   6 按钮 / 7 徽章与标签 / 8 内容组件 / 9 动效 / 10 无障碍
   ========================================================= */

/* ---------- 0. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

ul, ol { padding: 0; list-style: none; }

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

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

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

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

address { font-style: normal; }

hr { border: 0; }

/* ---------- 1. 设计变量 ---------- */
:root {
  --void: #05070F;
  --orbit: #0C1226;
  --hull: #131A33;
  --white: #E8ECF7;
  --dust: #8A93AD;
  --cyan: #00E0FF;
  --nebula: #7B4DFF;
  --orange: #FF6A2B;
  --green: #6BFF9E;
  --amber: #FFC44D;

  --line: rgba(232, 236, 247, 0.12);
  --line-strong: rgba(232, 236, 247, 0.24);
  --cyan-line: rgba(0, 224, 255, 0.38);

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "HarmonyOS Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-1: 12px;
  --fs-2: 14px;
  --fs-3: 16px;
  --fs-4: 20px;
  --fs-5: 25px;
  --fs-6: 32px;
  --fs-7: 40px;
  --fs-8: 50px;
  --fs-9: 64px;

  --safe: 5vw;
  --gap: 24px;
  --maxw: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 18px 40px -30px rgba(0, 0, 0, .95);
}

@media (max-width: 640px) {
  :root { --safe: 20px; --gap: 16px; }
}

/* ---------- 2. 中文排版 ---------- */
body {
  background-color: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, .h1 { font-size: clamp(34px, 5vw, 64px); letter-spacing: .03em; }
h2, .h2 { font-size: clamp(25px, 2.8vw, 36px); }
h3, .h3 { font-size: clamp(20px, 2vw, 25px); }
h4, .h4 { font-size: 20px; }

p { line-height: 1.75; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: .05em;
}

.muted { color: var(--dust); }

.prose {
  max-width: 38em;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose p + p { margin-top: 1.4em; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 224, 255, .42);
}

.prose a:hover { text-decoration-color: var(--cyan); }

.prose strong { color: var(--white); font-weight: 700; }

.lede {
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--dust);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan);
  text-transform: uppercase;
}

/* ---------- 3. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--safe);
}

.section { padding-block: clamp(40px, 6vw, 80px); }
.section--tight { padding-block: clamp(24px, 4vw, 48px); }

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .grid > * { grid-column: span 12; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
}

.divider {
  height: 1px;
  border: 0;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 14px);
  opacity: .55;
  margin-block: clamp(24px, 4vw, 48px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--dust);
}

.breadcrumb__sep { opacity: .5; }
.breadcrumb a { transition: color .18s; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- 4. 页头 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #04121a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  transition: top .18s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(5, 7, 15, .95);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.site-header[data-stuck="true"] {
  border-bottom-color: rgba(0, 224, 255, .22);
  box-shadow: 0 20px 40px -32px rgba(0, 224, 255, .85);
}

.tick-rule {
  height: 8px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, rgba(232, 236, 247, .26) 0 1px, transparent 1px 14px);
  background-size: 14px 8px;
  background-repeat: repeat-x;
  opacity: .55;
  pointer-events: none;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--safe) 12px;
}

.masthead__left {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
}

.masthead__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  letter-spacing: .22em;
  text-indent: .22em;
  color: var(--white);
  text-shadow: 0 0 26px rgba(0, 224, 255, .22);
  transition: text-shadow .25s var(--ease);
}

.brand:hover .brand__mark { text-shadow: 0 0 32px rgba(0, 224, 255, .5); }

.brand__ver {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--dust);
}

/* 状态徽章 */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(19, 26, 51, .72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--dust);
  white-space: nowrap;
  transition: color .2s, border-color .2s, transform .2s var(--ease);
}

.status-badge__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 0 3px rgba(107, 255, 158, .14);
}

.status-badge__text { line-height: 1.4; }

.status-badge[data-status="live"] {
  color: var(--green);
  border-color: rgba(107, 255, 158, .28);
}

.status-badge[data-status="maintenance"] {
  color: var(--amber);
  border-color: rgba(255, 196, 77, .3);
}

.status-badge[data-status="maintenance"] .status-badge__dot {
  background-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 196, 77, .14);
}

.status-badge[data-status="watch"] {
  color: var(--dust);
  border-color: var(--line);
}

.status-badge[data-status="watch"] .status-badge__dot {
  background-color: var(--dust);
  box-shadow: 0 0 0 3px rgba(138, 147, 173, .14);
}

.status-badge--sm {
  font-size: 10px;
  padding: 4px 10px 4px 8px;
}

/* 菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  transition: border-color .2s, background-color .2s;
}

.nav-toggle:hover {
  border-color: var(--cyan-line);
  background-color: rgba(0, 224, 255, .06);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform .22s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-toggle__text { line-height: 1; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* 主导航 */
.site-nav {
  border-top: 1px solid var(--line);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3.2vw, 48px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--safe);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 13px 2px 14px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--dust);
  transition: color .18s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-image: linear-gradient(90deg, var(--cyan), var(--nebula));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}

.site-nav__link:hover { color: var(--white); }
.site-nav__link:hover::after { transform: scaleX(.5); }

.site-nav__link[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 899px) {
  .site-nav { display: none; }

  .site-nav[data-open="true"] {
    display: block;
    background-color: var(--orbit);
    border-bottom: 1px solid var(--line);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: var(--safe);
    padding-block: 4px;
  }

  .site-nav__item + .site-nav__item { border-top: 1px solid var(--line); }

  .site-nav__link {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    letter-spacing: .04em;
    color: var(--white);
  }

  .site-nav__link::after { display: none; }
  .site-nav__link:hover::after { display: none; }

  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    padding-left: 16px;
  }

  .site-nav__link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--cyan);
    transform: translateY(-50%);
  }
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--cyan), var(--nebula) 62%, var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 5. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background-color: var(--void);
  isolation: isolate;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(90% 60% at 82% 0%, rgba(0, 224, 255, .07), transparent 65%),
    radial-gradient(70% 50% at 6% 100%, rgba(123, 77, 255, .09), transparent 70%);
}

.site-footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) var(--safe) 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 640px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

.foot-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .18em;
  color: var(--white);
}

.foot-tag {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dust);
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--dust);
}

.foot-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--dust);
}

.foot-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.foot-list a {
  color: var(--white);
  opacity: .82;
  transition: color .18s, opacity .18s, padding-left .18s var(--ease);
}

.foot-list a:hover {
  color: var(--cyan);
  opacity: 1;
  padding-left: 4px;
}

.foot-contact {
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--dust);
  word-break: break-word;
}

.foot-contact__line .mono {
  font-size: 12.5px;
  color: var(--white);
  opacity: .9;
}

.foot-note {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--dust);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--dust);
}

.foot-bottom p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  line-height: 1.6;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--white);
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}

.to-top::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid currentColor;
}

.to-top:hover {
  border-color: var(--cyan-line);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease), transform .2s var(--ease);
}

.btn--primary {
  background-color: var(--cyan);
  color: #04121a;
}

.btn--primary:hover {
  background-color: #5BEBFF;
  box-shadow: 0 10px 28px -12px rgba(0, 224, 255, .8);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--cyan-line);
  background-color: rgba(0, 224, 255, .06);
  color: var(--cyan);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  background-color: rgba(0, 224, 255, .14);
}

.btn--quiet {
  border-color: var(--line);
  background-color: var(--hull);
  color: var(--white);
}

.btn--quiet:hover {
  border-color: var(--line-strong);
  background-color: #1A2242;
}

.btn--sm {
  padding: 9px 14px;
  font-size: 12.5px;
  letter-spacing: .08em;
}

/* ---------- 7. 徽章与标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--dust);
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan); border-color: rgba(0, 224, 255, .35); }
.tag--orange { color: var(--orange); border-color: rgba(255, 106, 43, .35); }
.tag--green { color: var(--green); border-color: rgba(107, 255, 158, .32); }
.tag--amber { color: var(--amber); border-color: rgba(255, 196, 77, .32); }
.tag--nebula { color: #B49BFF; border-color: rgba(123, 77, 255, .45); }

/* ---------- 8. 内容组件 ---------- */
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--hull);
  box-shadow: var(--shadow);
}

.panel--flat {
  background-color: var(--orbit);
  box-shadow: none;
}

details.panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
}

details.panel > summary::-webkit-details-marker { display: none; }

details.panel > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform .22s var(--ease);
}

details.panel[open] > summary::after { transform: rotate(-135deg); }

.band {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-block: 4px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--hull) transparent;
}

.band > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.band::-webkit-scrollbar { height: 6px; }
.band::-webkit-scrollbar-track { background-color: transparent; }
.band::-webkit-scrollbar-thumb { background-color: var(--hull); border-radius: 99px; }

.timeline {
  position: relative;
  display: grid;
  gap: 32px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.timeline__item { position: relative; }

.timeline__node {
  position: absolute;
  left: -31px;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background-color: var(--void);
  box-shadow: 0 0 0 4px rgba(0, 224, 255, .1);
}

.timeline__meta {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dust);
}

.figure {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--orbit);
  background-image: radial-gradient(120% 90% at 18% 0%, rgba(123, 77, 255, .16), transparent 60%);
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, transparent 55%, rgba(5, 7, 15, .55));
}

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

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

.figure__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--dust);
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(232, 236, 247, .5), transparent 60%),
    radial-gradient(1px 1px at 38% 68%, rgba(232, 236, 247, .32), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 32%, rgba(0, 224, 255, .6), transparent 60%),
    radial-gradient(1px 1px at 84% 74%, rgba(232, 236, 247, .38), transparent 60%),
    radial-gradient(1px 1px at 52% 12%, rgba(255, 106, 43, .45), transparent 60%),
    radial-gradient(1px 1px at 26% 86%, rgba(123, 77, 255, .55), transparent 60%);
}

.figure__cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--dust);
}

.stat {
  display: grid;
  gap: 4px;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--white);
}

.stat__label {
  font-size: 13px;
  color: var(--dust);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--dust);
  transition: color .2s, border-color .2s, transform .2s var(--ease);
}

.copy-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan-line);
}

.copy-btn[data-copied="true"] {
  color: var(--green);
  border-color: rgba(107, 255, 158, .4);
  transform: scale(1.05);
}

/* ---------- 9. 动效 ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}

.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 1px;
}

main:focus,
main[tabindex="-1"]:focus {
  outline: none;
}

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

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

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity .12s linear;
  }

  .btn--primary:hover,
  .to-top:hover {
    transform: none;
  }
}
