/* ============================================================
   星空体育 · 全站共享样式 /assets/site.css
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --bg-primary: #050814;
  --bg-deep: #0A0E27;
  --bg-elevated: #141A33;
  --accent-gold: #F5C542;
  --accent-cyan: #00E5FF;
  --text-primary: #F5F7FA;
  --text-secondary: #B0B6C8;
  --divider: rgba(255, 255, 255, 0.12);
  --success: #22C55E;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --container: 1200px;
  --font-display: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 24px rgba(245, 197, 66, 0.3);
  --shadow-cyan: 0 0 24px rgba(0, 229, 255, 0.18);
}

/* ---------- 2. Reset 与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 星河粒子与暗夜光晕背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 85% 12%, rgba(0, 229, 255, 0.07), transparent 70%),
    radial-gradient(45% 40% at 8% 88%, rgba(245, 197, 66, 0.06), transparent 70%),
    radial-gradient(1px 1px at 18% 32%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(0.6px 0.6px at 26% 68%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 78% 14%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(245, 197, 66, 0.35), transparent),
    radial-gradient(0.5px 0.5px at 88% 46%, rgba(0, 229, 255, 0.4), transparent),
    radial-gradient(1px 1px at 12% 84%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 54% 12%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(0.75px 0.75px at 68% 76%, rgba(245, 197, 66, 0.3), transparent),
    radial-gradient(1px 1px at 94% 90%, rgba(255, 255, 255, 0.45), transparent);
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--accent-cyan);
  transition: color var(--transition);
}

a:hover {
  color: var(--text-primary);
}

::selection {
  background: rgba(245, 197, 66, 0.28);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e2747;
}

/* ---------- 3. 排版 ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin: 0 0 16px;
}

h1,
.h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

h2,
.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3,
.h3 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 12px;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 100;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0 0 24px;
}

.accent {
  color: var(--accent-gold);
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-secondary);
}

.text-secondary {
  color: var(--text-secondary);
}

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

#main-content {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  scroll-margin-top: 140px;
}

#main-content:focus {
  outline: none;
}

.section {
  position: relative;
  padding-block: 72px;
}

.section--tight {
  padding-block: 40px;
}

.section__header {
  max-width: 760px;
  margin-bottom: 48px;
}

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

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

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

.divider {
  height: 1px;
  background: var(--divider);
  border: 0;
  margin: 48px 0;
}

/* ---------- 5. 可访问性 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -72px;
  left: 20px;
  z-index: 2000;
  padding: 12px 24px;
  background: var(--accent-gold);
  color: #050814;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: top 0.25s ease;
}

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

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  color: #050814;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary {
  background: var(--accent-gold);
}

.btn--primary:hover {
  box-shadow: var(--shadow-gold);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--accent-cyan);
}

.btn--ghost:hover {
  background: rgba(0, 229, 255, 0.08);
  box-shadow: var(--shadow-cyan);
  color: var(--accent-cyan);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* ---------- 7. 图片占位容器 ---------- */
.media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--divider);
  background: var(--bg-elevated);
}

.media::before {
  content: "星空体育 · 赛事影像";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(176, 182, 200, 0.4);
  background:
    radial-gradient(80% 60% at 50% 120%, rgba(0, 229, 255, 0.1), transparent 60%),
    linear-gradient(150deg, var(--bg-elevated), var(--bg-deep));
}

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

.media--square {
  aspect-ratio: 1;
}

.media--portrait {
  aspect-ratio: 3 / 4;
}

.media > img,
.media > picture,
.media > video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 8. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 20, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}

.site-header::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), rgba(245, 197, 66, 0.2) 40%, transparent 75%);
}

.site-header__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-header__logo {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--accent-gold);
  text-decoration: none;
  white-space: nowrap;
  transition: text-shadow var(--transition);
}

.site-header__logo:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 24px rgba(245, 197, 66, 0.45);
}

.site-header__logo::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.site-header__tagline {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--divider);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header__cta {
  flex-shrink: 0;
}

.site-header__nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--divider);
  background: var(--bg-elevated);
  color: var(--text-primary);
  transition: border-color var(--transition), background-color var(--transition);
}

.site-header__nav-toggle:hover {
  border-color: rgba(245, 197, 66, 0.5);
  background: var(--bg-deep);
}

.site-header__nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.2s ease;
}

.site-header__nav-toggle-icon::before,
.site-header__nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.3s ease, transform 0.3s ease;
}

.site-header__nav-toggle-icon::before {
  top: -6px;
}

.site-header__nav-toggle-icon::after {
  top: 6px;
}

.site-header__nav-toggle[aria-expanded="true"] .site-header__nav-toggle-icon {
  background: transparent;
}

.site-header__nav-toggle[aria-expanded="true"] .site-header__nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header__nav-toggle[aria-expanded="true"] .site-header__nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__nav {
  background: rgba(10, 14, 39, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__nav-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-header__nav-item {
  position: relative;
}

.site-header__nav-link {
  position: relative;
  display: inline-block;
  padding: 13px 18px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background-color var(--transition);
}

.site-header__nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.site-header__nav-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-cyan);
}

.site-header__nav-link[aria-current="page"] {
  color: var(--accent-gold);
  font-weight: 600;
  background: rgba(245, 197, 66, 0.1);
}

.site-header__nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-gold);
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 96px;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-primary));
  border-top: 1px solid var(--divider);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.08), transparent 70%);
  pointer-events: none;
}

.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 48px;
  position: relative;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--brand {
  max-width: 420px;
}

.site-footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  text-decoration: none;
  margin-bottom: 16px;
  transition: text-shadow var(--transition);
}

.site-footer__logo:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 24px rgba(245, 197, 66, 0.4);
}

.site-footer__blurb {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.site-footer__trust {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: var(--radius-md);
  background: rgba(245, 197, 66, 0.06);
  font-size: 0.875rem;
  color: var(--accent-gold);
}

.site-footer__trust::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 10px;
  vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.site-footer__links,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition), padding-left var(--transition);
}

.site-footer__links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.site-footer__contact li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.site-footer__contact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.6;
}

.site-footer__bottom {
  border-top: 1px solid var(--divider);
  background: rgba(5, 8, 20, 0.5);
}

.site-footer__bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__icp {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

.site-footer__legal {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--transition);
}

.site-footer__legal a:hover {
  color: var(--accent-cyan);
}

/* ---------- 10. 共享组件 ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: var(--shadow-card);
}

.card--gold {
  background: linear-gradient(160deg, rgba(245, 197, 66, 0.08), var(--bg-elevated) 65%);
  border-color: rgba(245, 197, 66, 0.35);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.card__meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.card__link:hover {
  color: var(--accent-gold);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.tag--gold {
  color: var(--accent-gold);
  background: rgba(245, 197, 66, 0.08);
  border-color: rgba(245, 197, 66, 0.25);
}

.tag--status {
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}

.tag--status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 7px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--gold {
  color: var(--accent-gold);
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-pill);
  background: var(--bg-deep);
  margin-bottom: 32px;
  max-width: 100%;
}

.tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.tabs__btn:hover {
  color: var(--text-primary);
}

.tabs__btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.tabs__btn[aria-selected="true"] {
  background: var(--accent-gold);
  color: #050814;
  font-weight: 600;
}

.tabs__panel {
  animation: tabFade 0.35s ease;
}

.tabs__panel[hidden] {
  display: none;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.breadcrumb li:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-primary);
}

.hero {
  position: relative;
  padding: 96px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
}

.hero__orb--gold {
  width: 260px;
  height: 260px;
  background: var(--accent-gold);
  top: 10%;
  right: -80px;
}

.hero__orb--cyan {
  width: 200px;
  height: 200px;
  background: var(--accent-cyan);
  bottom: 10%;
  left: -60px;
}

.shape-tilt {
  transform: skewY(-1.5deg);
}

.shape-tilt__inner {
  transform: skewY(1.5deg);
}

.clip-cut {
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 12%);
}

/* ---------- 11. 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(28px);
}

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

/* ---------- 12. 响应式 ---------- */
@media (max-width: 998px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

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

  .site-header__nav-list {
    flex-wrap: wrap;
  }

  html.js .site-header__nav-toggle {
    display: inline-flex;
  }

  html.js .site-header__nav {
    display: none;
    border-top: 1px solid var(--divider);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  }

  html.js .site-header__nav[data-open] {
    display: block;
    animation: navDrop 0.28s ease;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  html.js .site-header__nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 10px 16px 18px;
    gap: 2px;
  }

  .site-header__nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }

  .site-header__nav-link[aria-current="page"]::after {
    left: auto;
    right: 16px;
    bottom: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }

  .section {
    padding-block: 48px;
  }

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

  .site-header__top {
    padding-inline: 16px;
  }

  .site-header__cta {
    padding-inline: 14px;
    font-size: 0.8125rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 20px 28px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 20px;
  }

  .hero {
    padding: 64px 0;
    min-height: 50vh;
  }
}

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

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

  [data-reveal].is-pending {
    opacity: 1;
    transform: none;
  }
}
