/* ===== 完美体育365 · 共享样式 /assets/site.css ===== */

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

:root {
  --void: #050B18;
  --deck: #0A1630;
  --teal-zone: #0F2A3A;
  --indigo-zone: #221A4A;
  --cyan: #00E5FF;
  --violet: #7B5CFF;
  --green: #52FFB8;
  --rose: #FF4D6D;
  --ice: #E8F1FF;
  --steel: #8FA3C8;
  --hairline: #1E3358;

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

  --shell-w: 1180px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --radius-l: 26px;
  --radius-m: 16px;
  --radius-pill: 999px;
  --shadow-panel: 0 22px 48px -30px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.22, .7, .28, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--hairline) var(--void);
}

body {
  margin: 0;
  background-color: var(--void);
  background-image:
    radial-gradient(1180px 620px at 82% -12%, rgba(0, 229, 255, .10), transparent 62%),
    radial-gradient(920px 540px at 4% 14%, rgba(123, 92, 255, .13), transparent 64%);
  background-repeat: no-repeat;
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(30, 51, 88, .34) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 51, 88, .34) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: .38;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
strong { font-weight: 700; color: var(--ice); }
::selection { background: rgba(0, 229, 255, .3); color: var(--ice); }

:where(a, button, [tabindex], summary, input):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ===== 排版工具 ===== */
.container {
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: clamp(38px, 5.6vw, 84px); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.index-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--steel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: .28em .78em;
}

.display-title {
  margin: 0;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.85;
  color: #B9CAE6;
  max-width: 62ch;
}

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

.divider {
  height: 1px;
  border: 0;
  margin: clamp(20px, 3vw, 34px) 0;
  background: linear-gradient(90deg, rgba(0, 229, 255, .5), rgba(30, 51, 88, .25) 55%, transparent);
}

.list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6em;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .72em 1.35em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.btn--primary {
  background: var(--cyan);
  color: #03151C;
  box-shadow: 0 12px 32px -16px rgba(0, 229, 255, .95);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0, 229, 255, 1); }

.btn--ghost {
  background: rgba(0, 229, 255, .07);
  border-color: rgba(0, 229, 255, .45);
  color: var(--ice);
}
.btn--ghost:hover {
  background: rgba(0, 229, 255, .16);
  border-color: rgba(0, 229, 255, .85);
  transform: translateY(-2px);
}

.btn--quiet {
  background: transparent;
  border-color: var(--hairline);
  color: var(--steel);
}
.btn--quiet:hover { color: var(--ice); border-color: rgba(143, 163, 200, .6); }

/* ===== 网格 ===== */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

/* ===== 面板与数据块 ===== */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(10, 22, 48, .95), rgba(15, 42, 58, .70));
  box-shadow: var(--shadow-panel);
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}
.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, .5);
  box-shadow: 0 26px 62px -34px rgba(0, 229, 255, .55);
}

.panel-title {
  margin: 0 0 .4em;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ice);
}

.panel-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.stat { display: flex; flex-direction: column; gap: .35em; }

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ice);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--steel);
}

/* ===== 状态标签 ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: .32em .75em;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  color: var(--steel);
  background: rgba(10, 22, 48, .8);
}
.tag--cyan { color: #04212B; background: var(--cyan); border-color: transparent; }
.tag--violet { color: #EDE9FF; background: rgba(123, 92, 255, .24); border-color: rgba(123, 92, 255, .55); }
.tag--green { color: #06261A; background: var(--green); border-color: transparent; }
.tag--rose { color: #2A0410; background: var(--rose); border-color: transparent; }

/* ===== 图片容器（页面阶段放置图像或占位） ===== */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  background:
    linear-gradient(150deg, rgba(10, 22, 48, .95), rgba(15, 42, 58, .9)),
    var(--deck);
}
.media-frame > img,
.media-frame > picture,
.media-frame > svg,
.media-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 24, .55) 100%);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-caption {
  margin-top: .7em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
}

/* ===== 章节索引（页内竖排跳转，配合 data-chapter 使用） ===== */
.chapter-link {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .42em .2em .42em .85em;
  border-left: 2px solid transparent;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.chapter-link:hover { color: var(--ice); border-left-color: rgba(0, 229, 255, .5); }
.chapter-link.is-active,
.chapter-link[aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

/* ===== 面包屑 ===== */
.breadcrumb { margin-bottom: clamp(14px, 2vw, 22px); }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}
.breadcrumb-item { display: inline-flex; align-items: center; gap: .5em; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: rgba(143, 163, 200, .45); }
.breadcrumb-link { color: var(--steel); }
.breadcrumb-link:hover { color: var(--cyan); }
.breadcrumb-current { color: var(--ice); }

/* ===== 阅读显现 ===== */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== 跳过链接 ===== */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: .7em 1.15em;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #03151C;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgba(0, 229, 255, .95);
  transform: translateY(-190%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: clamp(10px, 1.6vw, 18px) 0 12px;
  background: linear-gradient(180deg, rgba(5, 11, 24, .97) 0%, rgba(5, 11, 24, .88) 58%, rgba(5, 11, 24, 0) 100%);
}

.progress-rail {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  overflow: hidden;
  background: rgba(30, 51, 88, .55);
}

.progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 70%, var(--green));
  box-shadow: 0 0 14px rgba(0, 229, 255, .8);
}

.header-shell {
  position: relative;
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.6vw, 20px);
  padding: 7px 9px 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(10, 22, 48, .93), rgba(15, 42, 58, .90));
  box-shadow: 0 18px 42px -26px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(232, 241, 255, .06);
  transition: padding .28s var(--ease), background .28s var(--ease),
              border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.site-header[data-condensed="true"] .header-shell {
  padding-block: 4px;
  background: linear-gradient(120deg, rgba(6, 14, 32, .97), rgba(12, 34, 48, .96));
  border-color: rgba(0, 229, 255, .3);
  box-shadow: 0 16px 38px -26px rgba(0, 0, 0, .98), 0 0 0 1px rgba(0, 229, 255, .08),
              inset 0 1px 0 rgba(232, 241, 255, .06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ice);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(0, 229, 255, .95), rgba(123, 92, 255, .95));
  box-shadow: 0 0 0 1px rgba(232, 241, 255, .16), 0 8px 22px -10px rgba(0, 229, 255, .9);
  transition: transform .28s var(--ease);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(5, 11, 24, .85);
  border-radius: 3px;
  transform: rotate(45deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--void);
}

.site-header[data-condensed="true"] .brand-mark { transform: scale(.92); }

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

.brand-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ice);
}

.brand-desc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--steel);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5em;
  padding: .5em .82em;
  border: 1px solid rgba(0, 229, 255, .32);
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, .08);
  color: var(--ice);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { background: rgba(0, 229, 255, .16); border-color: rgba(0, 229, 255, .6); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: flex; justify-content: center; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: .5em .9em;
  border-radius: var(--radius-pill);
  color: var(--steel);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-link:hover { color: var(--ice); background: rgba(0, 229, 255, .1); }
.nav-link[aria-current="page"] {
  color: #03151C;
  background: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 22px -6px rgba(0, 229, 255, .95);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .58em 1.05em;
  border: 1px solid rgba(0, 229, 255, .45);
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(0, 229, 255, .16), rgba(123, 92, 255, .2));
  color: var(--ice);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.header-cta::after { content: "→"; font-size: 13px; line-height: 1; }
.header-cta:hover {
  background: var(--cyan);
  border-color: transparent;
  color: #03151C;
  box-shadow: 0 12px 28px -14px rgba(0, 229, 255, .95);
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(36px, 5vw, 72px) 0 clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(123, 92, 255, .42);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  background:
    radial-gradient(880px 380px at 88% 0%, rgba(123, 92, 255, .3), transparent 66%),
    radial-gradient(720px 340px at 6% 8%, rgba(0, 229, 255, .12), transparent 68%),
    linear-gradient(180deg, #1B1640 0%, #12102E 44%, var(--void) 100%);
  color: var(--ice);
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 88%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cyan) 26%, var(--violet) 74%, transparent);
  box-shadow: 0 0 26px rgba(0, 229, 255, .75);
}

.footer-shell {
  position: relative;
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid rgba(143, 163, 200, .18);
}

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

.footer-brand-name {
  display: inline-block;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ice);
  text-decoration: none;
}
.footer-brand-name:hover { color: var(--cyan); }

.footer-tagline {
  margin: .7em 0 1.5em;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  align-content: start;
}

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

.footer-col-title {
  margin: 0 0 .9em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }

.footer-link {
  display: inline-block;
  color: #C6D6F0;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-link:hover { color: var(--cyan); transform: translateX(3px); }

.footer-contact { padding-block: clamp(22px, 3vw, 34px); }

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-item {
  padding: 12px 16px;
  border: 1px solid rgba(30, 51, 88, .95);
  border-radius: var(--radius-m);
  background: rgba(10, 22, 48, .66);
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-value {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ice);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid rgba(143, 163, 200, .16);
  font-size: 13px;
  color: var(--steel);
}

.footer-legal {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

.footer-closing { margin: 0; color: rgba(232, 241, 255, .74); }

.footer-year {
  margin: 0 0 0 auto;
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

/* ===== 平板 ===== */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-tagline { max-width: 48ch; }
}

/* ===== 移动端 ===== */
@media (max-width: 900px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 6px 8px 6px 10px;
  }

  .brand { order: 1; }
  .header-cta { order: 2; }
  .nav-toggle { order: 3; display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    z-index: 5;
    padding: 12px;
    max-height: min(70vh, 460px);
    overflow-y: auto;
    border: 1px solid var(--hairline);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(10, 22, 48, .99), rgba(15, 42, 58, .97));
    box-shadow: 0 32px 64px -30px rgba(0, 0, 0, .98);
  }

  .site-nav[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: .72em 1em;
    font-size: 15px;
    text-align: left;
  }

  .grid--2,
  .grid--3,
  .grid--aside { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 620px) {
  .brand-desc { display: none; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
  .brand-mark::before { width: 11px; height: 11px; }
  .header-cta { font-size: 12.5px; padding: .5em .8em; }
  .header-cta::after { content: none; }
  .nav-toggle-label { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-year { margin-left: 0; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-list { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 无障碍与减弱动效 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .has-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .panel:hover { transform: none; }
  .btn:hover { transform: none; }
  .footer-link:hover { transform: none; }
  .brand-mark { transition: none; }
}
