/* ==========================================================================
   球王会赛场 — 共享站点样式 /assets/site.css
   设计语言：框架式导航 · 记分牌数字 · 深墨绿 + 荧光青 + 赛场橙红
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink-950: #02100D;
  --ink-900: #061A15;
  --ink-800: #0B2A22;
  --ink-700: #123B30;
  --line: #1F6F5C;
  --line-soft: rgba(31, 111, 92, 0.42);
  --cyan: #29F2C2;
  --cyan-soft: #A6FFE9;
  --orange: #FF5A36;
  --amber: #FFC24B;
  --paper: #F3FBF7;
  --muted: #9DBDB2;

  --shell: 1320px;
  --gap: 24px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;

  --shadow-card: 0 18px 40px -26px rgba(2, 16, 13, 0.96);
  --shadow-lift: 0 26px 54px -30px rgba(2, 16, 13, 1);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Heiti SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 84% -8%, rgba(41, 242, 194, 0.13), transparent 62%),
    radial-gradient(880px 540px at 2% 4%, rgba(255, 90, 54, 0.08), transparent 66%),
    linear-gradient(rgba(31, 111, 92, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 92, 0.10) 1px, transparent 1px),
    linear-gradient(180deg, #061A15 0%, #08211B 46%, #05130F 100%);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

main { display: block; }

::selection {
  background: var(--cyan);
  color: var(--ink-950);
}

/* ---------- 3. 中文排版基线 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--paper);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 5vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: 18px; letter-spacing: 0.01em; }

p { line-height: 1.68; }

strong { color: var(--paper); font-weight: 800; }

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(44px, 6vw, 88px);
  position: relative;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: rgba(18, 59, 48, 0.55);
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease,
    background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lift);
}

.btn:active { transform: translateY(0); }

.btn--primary {
  color: var(--ink-950);
  border-color: transparent;
  background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan-soft) 100%);
}

.btn--primary:hover { box-shadow: 0 16px 34px -16px rgba(41, 242, 194, 0.62); }

.btn--ghost {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(11, 42, 34, 0.72);
}

.btn--signal {
  color: #1B0703;
  border-color: transparent;
  background: linear-gradient(120deg, var(--orange) 0%, #FF8A63 100%);
}

.btn--signal:hover { box-shadow: 0 16px 34px -16px rgba(255, 90, 54, 0.6); }

/* ---------- 6. 标签 / 数据 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--cyan);
  background: rgba(18, 59, 48, 0.5);
}

.tag--signal {
  color: var(--orange);
  border-color: rgba(255, 90, 54, 0.52);
  background: rgba(255, 90, 54, 0.1);
}

.tag--amber {
  color: var(--amber);
  border-color: rgba(255, 194, 75, 0.45);
  background: rgba(255, 194, 75, 0.09);
}

.score {
  font-family: var(--font-mono);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--paper);
}

/* ---------- 7. 章节标题组 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 24px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--cyan);
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 59, 48, 0.45);
}

.section-title {
  font-size: clamp(24px, 3.2vw, 42px);
  margin: 0;
}

.section-desc {
  max-width: 52ch;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 8. Bento 网格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.bento-card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background:
    linear-gradient(158deg, rgba(11, 42, 34, 0.96) 0%, rgba(6, 26, 21, 0.82) 100%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lift);
}

/* ---------- 9. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(41, 242, 194, 0.22), transparent 60%),
    linear-gradient(150deg, var(--ink-700) 0%, var(--ink-950) 100%);
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 16, 13, 0) 42%, rgba(2, 16, 13, 0.72) 100%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame--tilt {
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--cyan);
  transition: color 0.16s ease;
}

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

.breadcrumbs [aria-current="page"] { color: var(--paper); }

.crumb-sep { color: #3E7F6C; }

/* ---------- 11. 正文块 ---------- */
.prose {
  max-width: 68ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.prose p + p { margin-top: 14px; }

.prose strong { color: var(--paper); }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ---------- 12. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--ink-950);
  font-weight: 800;
  font-size: 14px;
  transition: top 0.18s ease;
}

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

/* ---------- 13. 头部框架导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 26, 21, 0.97) 0%, rgba(8, 32, 26, 0.9) 100%);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header[data-scrolled] {
  box-shadow: 0 16px 36px -24px rgba(2, 16, 13, 0.98);
  background: linear-gradient(180deg, rgba(6, 26, 21, 0.99) 0%, rgba(8, 32, 26, 0.95) 100%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  min-height: 74px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(41, 242, 194, 0.24), rgba(6, 26, 21, 0.28));
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--cyan);
  opacity: 0.72;
  transform: translateX(-0.5px);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand-tagline {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* 主导航 */
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  counter-reset: navnum;
}

.nav-item { display: block; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease,
    background-color 0.16s ease, box-shadow 0.16s ease;
}

.nav-link::before {
  counter-increment: navnum;
  content: counter(navnum, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #3E7F6C;
  transition: color 0.16s ease;
}

.nav-link:hover {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(18, 59, 48, 0.62);
}

.nav-link:hover::before { color: var(--cyan); }

.nav-link[aria-current="page"] {
  color: var(--ink-950);
  border-color: var(--cyan);
  background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan-soft) 100%);
  box-shadow: 0 12px 26px -16px rgba(41, 242, 194, 0.85);
}

.nav-link[aria-current="page"]::before { color: rgba(2, 16, 13, 0.62); }

/* 头部行动区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink-950);
  background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan-soft) 100%);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.header-cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(41, 242, 194, 0.72);
}

.header-cta:active { transform: translateY(0); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: rgba(18, 59, 48, 0.62);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  background: rgba(41, 242, 194, 0.14);
}

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

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* 滚动进度轨 */
.header-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(31, 111, 92, 0.3);
  overflow: hidden;
}

.header-rail-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-soft) 100%);
  box-shadow: 0 0 12px rgba(41, 242, 194, 0.6);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #08211B 0%, #03100C 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: min(520px, 72%);
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(41, 242, 194, 0) 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.75fr) minmax(0, 1.05fr);
  grid-template-areas:
    "brand nav contact"
    "bottom bottom bottom";
  gap: clamp(28px, 4vw, 52px);
  padding-block: clamp(44px, 6vw, 76px) 24px;
}

.footer-brand-block { grid-area: brand; }

.footer-brand-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -0.01em;
  line-height: 1.36;
  color: var(--paper);
}

.footer-pitch {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 14px;
  color: var(--muted);
}

.footer-brand-block .btn { margin-top: 18px; }

.footer-nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
}

.footer-col-index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.16s ease;
}

.footer-list a::before {
  content: "";
  display: block;
  width: 8px;
  height: 1px;
  background: var(--line);
  transition: width 0.16s ease, background-color 0.16s ease;
}

.footer-list a:hover { color: var(--paper); }

.footer-list a:hover::before {
  width: 18px;
  background: var(--cyan);
}

.footer-contact {
  grid-area: contact;
  min-width: 0;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 14px;
}

.contact-label {
  flex: 0 0 100%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contact-value {
  color: var(--paper);
  word-break: break-word;
  line-height: 1.5;
}

.copy-btn {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(18, 59, 48, 0.6);
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.copy-btn:hover {
  border-color: var(--cyan);
  background: rgba(41, 242, 194, 0.16);
}

.copy-btn[data-copied] {
  color: var(--ink-950);
  border-color: var(--cyan);
  background: var(--cyan);
}

.footer-bottom {
  grid-area: bottom;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 111, 92, 0.28);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.footer-copy { margin-right: auto; }

.footer-icp { color: #6E9689; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.16s ease;
}

.footer-legal a:hover { color: var(--cyan); }

.footer-sep { color: #3E7F6C; }

/* ---------- 15. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: var(--cyan);
  background: rgba(11, 42, 34, 0.94);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease,
    visibility 0.18s ease, border-color 0.16s ease, background-color 0.16s ease;
}

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

.to-top:hover {
  border-color: var(--cyan);
  background: rgba(41, 242, 194, 0.16);
}

/* ---------- 16. 焦点可见 ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 10px; font-size: 14px; }
  .header-cta { padding: 10px 15px; font-size: 13.5px; }
}

@media (max-width: 1040px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand contact"
      "nav nav"
      "bottom bottom";
  }
}

@media (max-width: 960px) {
  .header-inner { min-height: 66px; }

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

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    display: block;
    padding: 8px clamp(16px, 4vw, 40px) 22px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0B2A22 0%, #07231B 100%);
    box-shadow: 0 26px 46px -30px rgba(2, 16, 13, 1);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 10px;
    border: 0;
    border-bottom: 1px solid rgba(31, 111, 92, 0.3);
    border-radius: 0;
    font-size: 15.5px;
  }

  .nav-link:hover { background: rgba(41, 242, 194, 0.08); }

  .nav-link[aria-current="page"] {
    border-radius: 10px;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .header-actions { margin-left: auto; }
}

@media (max-width: 900px) {
  .section-desc { margin-left: 0; }
}

@media (max-width: 720px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .bento > * { grid-column: span 4 / span 4; }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "contact"
      "nav"
      "bottom";
  }

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

  .header-cta { padding: 9px 14px; font-size: 13px; }
  .header-cta::after { display: none; }

  .footer-bottom { font-size: 11px; }
}

@media (max-width: 520px) {
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-name { font-size: 15.5px; }
  .brand-tagline { display: none; }
  .nav-toggle { padding: 8px 12px; font-size: 12px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .to-top { width: 42px; height: 42px; }
}

/* ---------- 18. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .bento-card:hover,
  .btn:hover,
  .header-cta:hover,
  .to-top[data-visible] {
    transform: none;
  }
}
