/* ==========================================================================
   飞亚体育入口 · 共享样式表 /assets/site.css
   ========================================================================== */

/* ---------- 1. 重置与变量 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --grass: #0E7A4A;
  --grass-deep: #064B30;
  --sky: #168BC4;
  --ink-blue: #0B2E45;
  --orange: #FF6A1A;
  --orange-deep: #C44F0D;
  --orange-shadow: #8F3A08;
  --yellow: #FFD23F;
  --mist: #E6F4FA;
  --field: #E8F4EC;
  --paper: #FAF8F2;
  --ink: #121A1F;
  --fog: #CBD5DB;
  --coral: #D94F3D;

  --hairline: rgba(11, 46, 69, 0.14);
  --shadow-hard: 6px 6px 0 0 var(--ink-blue);
  --shadow-hard-sm: 3px 3px 0 0 var(--ink-blue);
  --radius-s: 4px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-space: 96px;

  --font-sans: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-space) + 14px);
}

body {
  margin: 0;
  padding-top: var(--header-space);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 46, 69, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 46, 69, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.55em;
  color: var(--ink-blue);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.35; }

p { margin: 0 0 1em; }
ul,
ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: 0; }
figure { margin: 0; }

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

a {
  color: var(--sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { border-radius: 0; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

.site-footer :focus-visible { outline-color: var(--yellow); }

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

/* ---------- 2. 通用工具 ---------- */
.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

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

.surface-mist { background: var(--mist); }
.surface-field { background: var(--field); }
.surface-ink { background: var(--ink-blue); color: #fff; }
.surface-ink :is(h2, h3) { color: #fff; }

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius-s);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

/* ---------- 3. 章节标签 / 标签 / 按钮 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--grass);
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-label__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--fog);
  border-radius: var(--radius-s);
  background: var(--mist);
  color: var(--ink-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.tag--live {
  background: var(--orange);
  border-color: var(--orange-deep);
  color: var(--ink);
}

.tag--field {
  background: var(--field);
  border-color: rgba(14, 122, 74, 0.42);
  color: var(--grass-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn--primary {
  background: var(--grass);
  border-color: var(--grass-deep);
  color: #fff;
  box-shadow: 0 4px 0 var(--grass-deep);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--grass-deep); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--grass-deep); }

.btn--accent {
  background: var(--orange);
  border-color: var(--orange-deep);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--orange-shadow);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-shadow); }
.btn--accent:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-shadow); }

.btn--outline {
  background: transparent;
  border-color: var(--ink-blue);
  color: var(--ink-blue);
  box-shadow: 0 4px 0 rgba(11, 46, 69, 0.18);
}
.btn--outline:hover { transform: translateY(-2px); background: var(--mist); }

.btn--ghost {
  background: var(--paper);
  border-color: var(--ink-blue);
  color: var(--ink-blue);
}

.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- 4. 网格 / 卡片 / 图片容器 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: 1fr;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--ink-blue);
}

.card--field { background: var(--field); }
.card--mist { background: var(--mist); }

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, var(--mist) 0%, var(--field) 100%);
  box-shadow: var(--shadow-hard);
}

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

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* ---------- 5. 面包屑 / 正文 ---------- */
.breadcrumbs {
  padding-block: 18px 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #56666f;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumbs__list li + li::before {
  content: "/";
  color: var(--fog);
  font-family: var(--font-mono);
}

.breadcrumbs a {
  color: var(--ink-blue);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--fog);
}

.breadcrumbs a:hover {
  color: var(--grass);
  border-bottom-color: var(--grass);
}

.breadcrumbs [aria-current="page"] { color: #56666f; }

.prose {
  max-width: 46em;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--sky); }

.prose blockquote {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid var(--grass);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--field);
}

.prose code {
  padding: 0.1em 0.4em;
  border-radius: var(--radius-s);
  background: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.site-header__inner {
  pointer-events: auto;
  position: relative;
  width: min(100%, var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 20px);
  padding: 8px 10px 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: var(--ink-blue);
  box-shadow: 0 8px 0 -2px rgba(6, 75, 48, 0.42),
    0 22px 46px -26px rgba(11, 46, 69, 0.9);
  transition: padding 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease);
}

.site-header.is-stuck .site-header__inner {
  padding-block: 5px;
  background: #082334;
  box-shadow: 0 6px 0 -2px rgba(6, 75, 48, 0.55),
    0 18px 34px -22px rgba(11, 46, 69, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: #fff;
}

.brand__monogram {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  background: linear-gradient(140deg, var(--grass) 0%, var(--sky) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand__tagline {
  margin-top: 3px;
  color: rgba(230, 244, 250, 0.62);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

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

.site-nav__link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-nav__link[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--grass);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 2px solid var(--orange-deep);
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--orange-shadow);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.header-cta:hover {
  background: #FF7D38;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--orange-shadow);
}

.header-cta:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--orange-shadow);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 14px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 130;
  background: rgba(11, 46, 69, 0.1);
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--grass) 0%, var(--sky) 55%, var(--yellow) 100%);
  transition: width 0.1s linear;
}

.to-top {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  background: var(--ink-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 6px 0 -2px rgba(6, 75, 48, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s linear;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(44px, 6vw, 80px) 0 26px;
  overflow: hidden;
  border-top: 8px solid var(--grass);
  background: var(--grass-deep);
  color: #E7F2EC;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(22, 139, 196, 0.28) 0%,
    rgba(255, 210, 63, 0.08) 45%,
    transparent 70%);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 34ch;
}

.footer-brand__mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand__monogram {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  background: linear-gradient(140deg, var(--grass) 0%, var(--sky) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.footer-brand__name {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.footer-brand__line {
  margin: 0;
  color: rgba(231, 242, 236, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.footer-brand__coords {
  margin: 0;
  color: rgba(255, 210, 63, 0.86);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

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

.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.footer-col__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
}

.footer-col__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col__link {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: rgba(231, 242, 236, 0.82);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-col__link:hover {
  color: #fff;
  border-bottom-color: var(--yellow);
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 210, 63, 0.9);
}

.footer-contact__value {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-contact__note {
  max-width: 62ch;
  margin: 14px 0 0;
  color: rgba(231, 242, 236, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(231, 242, 236, 0.66);
  font-size: 12.5px;
}

.footer-legal__copy { margin: 0; }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal__link {
  color: rgba(231, 242, 236, 0.86);
  font-size: 12.5px;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-legal__link:hover {
  color: #fff;
  border-bottom-color: var(--yellow);
}

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

/* ---------- 8. 动效钩子 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-chapter] { transition: color 0.28s var(--ease); }

[data-chapter].is-current .section-label { color: var(--ink-blue); }
[data-chapter].is-current .section-label::before { background: var(--orange); width: 40px; }

/* ---------- 9. 响应式 ---------- */
@media (min-width: 720px) {
  .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2.1fr);
  }
}

@media (max-width: 980px) {
  :root { --header-space: 84px; }

  .site-header { padding: 10px var(--gutter) 0; }

  .brand__tagline { display: none; }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-l);
    background: var(--ink-blue);
    box-shadow: 0 18px 38px -18px rgba(6, 20, 30, 0.9);
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  .site-nav__link[aria-current="page"] { background: var(--grass); }

  .header-cta {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 620px) {
  :root { --header-space: 80px; }

  .brand__monogram { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
  .brand__name { font-size: 14px; }

  .footer-legal { font-size: 12px; }
  .footer-legal__icp { width: 100%; }
  .to-top { padding: 9px 13px; font-size: 12px; }
}

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

  html.js [data-reveal],
  html.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

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