:root {
  --void: #081226;
  --navy: #0F1E3D;
  --cyan: #22E0D6;
  --orange: #FF7A2F;
  --green: #2FBF71;
  --mist: #DCE8F5;
  --steel: #7E93AD;
  --indigo: #4B3FA8;
  --sand: #F4E9D8;
  --wine: #7A1F3D;

  --line: rgba(220, 232, 245, 0.12);
  --line-strong: rgba(34, 224, 214, 0.34);
  --line-warm: rgba(255, 122, 47, 0.45);

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

  --step-xs: 0.6875rem;
  --step-sm: 0.75rem;
  --step-base: 1rem;
  --step-md: 1.125rem;
  --step-lg: clamp(1.35rem, 1.4vw + 1rem, 1.75rem);
  --step-xl: clamp(1.6rem, 2.6vw, 2.6rem);
  --step-display: clamp(3.2rem, 7vw, 7.5rem);

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius-organic: 24px 56px 24px 56px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--void);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: var(--step-base);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }
table { border-collapse: collapse; }

::selection {
  background: var(--orange);
  color: var(--void);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section--tight { padding-block: clamp(1.9rem, 3.4vw, 3.25rem); }
.section--navy { background: var(--navy); }
.section--sand { background: var(--sand); color: var(--void); }
.section--sand .h2,
.section--sand .h3,
.section--sand .display { color: var(--void); }
.section--sand .lede,
.section--sand .prose { color: #23324a; }

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.85rem);
}
.grid--split { grid-template-columns: minmax(0, 1fr); }
.grid--three { grid-template-columns: minmax(0, 1fr); }
.grid--quad { grid-template-columns: minmax(0, 1fr); }

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

@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
  .grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .grid--quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.prose {
  max-width: 37rem;
  font-size: var(--step-md);
  line-height: 1.8;
  color: var(--mist);
}
.prose p + p { margin-top: 1em; }
.prose strong { color: #ffffff; font-weight: 700; }
.prose a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-bottom-color: var(--orange); }

/* ---------- 排版 ---------- */
.display {
  font-size: var(--step-display);
  font-weight: 200;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--mist);
  text-wrap: balance;
}

.h2 {
  font-size: var(--step-xl);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

.h3 {
  font-size: var(--step-lg);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.lede {
  font-size: var(--step-md);
  line-height: 1.8;
  color: var(--steel);
  max-width: 34em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--step-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

.index-label {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: 0.16em;
  color: var(--steel);
  text-transform: uppercase;
}

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

/* ---------- 动作 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.62rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--void);
  box-shadow: 0 10px 26px -14px var(--orange);
}
.btn--primary:hover {
  background: #ff8f52;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.link-underline {
  display: inline-block;
  color: var(--mist);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.28s var(--ease), color 0.2s var(--ease);
  padding-bottom: 2px;
}
.link-underline:hover,
.link-underline:focus-visible {
  color: var(--cyan);
  background-size: 100% 1px;
}

/* ---------- 通用组件 ---------- */
.panel {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.65rem);
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 18px 34px 18px 18px;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background-color 0.22s var(--ease);
}
.panel:hover {
  border-color: var(--line-warm);
  transform: translateY(-2px);
}
.panel__meta {
  font-family: var(--font-mono);
  font-size: var(--step-sm);
  letter-spacing: 0.1em;
  color: var(--steel);
  margin-bottom: 0.6rem;
}
.panel__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: var(--step-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  white-space: nowrap;
}
.tag--indigo {
  background: rgba(75, 63, 168, 0.28);
  border-color: rgba(75, 63, 168, 0.7);
  color: #c3bcf6;
}
.tag--wine {
  background: rgba(122, 31, 61, 0.34);
  border-color: rgba(122, 31, 61, 0.8);
  color: #f2cdd8;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: var(--step-sm);
  letter-spacing: 0.09em;
  color: var(--steel);
}

.breadcrumb {
  padding-block: 1rem 0;
  font-size: 0.8125rem;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--steel);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(126, 147, 173, 0.55);
}
.breadcrumb__link {
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible { color: var(--cyan); }
.breadcrumb__item[aria-current="page"] { color: var(--mist); }

/* ---------- 图片容器基础 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-organic);
  background:
    radial-gradient(120% 130% at 12% 0%, rgba(34, 224, 214, 0.18), transparent 56%),
    radial-gradient(110% 120% at 92% 100%, rgba(75, 63, 168, 0.35), transparent 62%),
    var(--navy);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--circle { aspect-ratio: 1 / 1; border-radius: 50%; }

.media-frame__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step-sm);
  letter-spacing: 0.06em;
  color: var(--mist);
  text-shadow: 0 1px 12px rgba(8, 18, 38, 0.9);
}

/* ---------- 头部 ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 120;
  padding: 0.65rem 1.1rem;
  background: var(--cyan);
  color: var(--void);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 18, 38, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: rgba(34, 224, 214, 0.1);
  z-index: 2;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--green) 55%, var(--orange));
}

.header-top { border-bottom: 1px solid var(--line); }

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--mist);
  text-decoration: none;
}
.brand__mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 9px 9px 9px 2px;
  background: linear-gradient(140deg, var(--cyan), var(--green) 52%, var(--orange));
  box-shadow: 0 0 0 1px rgba(34, 224, 214, 0.4), 0 8px 20px -10px var(--cyan);
  transition: transform 0.24s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.brand__tagline {
  font-size: var(--step-xs);
  letter-spacing: 0.11em;
  color: var(--steel);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 1.1rem);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step-sm);
  letter-spacing: 0.04em;
  color: var(--steel);
  white-space: nowrap;
}
.header-status__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.18);
}

.header-utility__list {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.header-utility__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--steel);
  text-decoration: none;
  border-radius: 9px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.header-utility__link:hover,
.header-utility__link:focus-visible {
  color: var(--cyan);
  background: rgba(34, 224, 214, 0.09);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.78rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--mist);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover,
.nav-toggle:focus-visible { color: var(--cyan); border-color: var(--cyan); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}
.site-header[data-open] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

.header-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.3s var(--ease);
}
.site-header[data-open] .header-nav { max-height: 640px; }

.header-nav__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  padding-block: 0.9rem 1.2rem;
}

.nav { flex: 1 1 auto; min-width: 0; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list__item { flex: none; scroll-snap-align: start; }

.nav-list__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-list__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.38rem;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}
.nav-list__link:hover,
.nav-list__link:focus-visible { color: var(--mist); background: rgba(34, 224, 214, 0.08); }
.nav-list__link:hover::after,
.nav-list__link:focus-visible::after { transform: scaleX(1); }

.nav-list__link[aria-current="page"] {
  color: #ffffff;
  background: rgba(34, 224, 214, 0.12);
}
.nav-list__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

.header-cta {
  flex: none;
  width: 100%;
}

@media (max-width: 620px) {
  .brand__tagline { display: none; }
  .header-status { font-size: var(--step-xs); padding: 0.3rem 0.58rem; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding-inline: 0.7rem; }
}

@media (min-width: 880px) {
  .header-utility__list { display: flex; }
  .nav-toggle { display: none; }
  .header-nav {
    max-height: none;
    overflow: visible;
    transition: none;
  }
  .header-nav__inner {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding-block: 0.55rem;
  }
  .nav-list { flex-direction: row; gap: 0.15rem; }
  .nav-list__link { display: inline-flex; }
  .header-cta { width: auto; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.4rem;
  background: var(--navy);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 35%;
  right: -12%;
  bottom: -70%;
  height: 340px;
  background: radial-gradient(closest-side, rgba(34, 224, 214, 0.16), transparent 72%);
  pointer-events: none;
}
.site-footer__inner { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-brand__note {
  margin-top: 0.9rem;
  max-width: 30ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--steel);
}
.brand--footer .brand__name { font-size: 1.15rem; }

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: var(--step-sm);
  letter-spacing: 0.05em;
  color: var(--mist);
}
.footer-status__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.18);
}

.footer-col__title {
  margin-bottom: 0.7rem;
  font-size: var(--step-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.footer-links {
  display: grid;
  gap: 0.1rem;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--cyan); }

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

.contact-list {
  display: grid;
  gap: 0.85rem;
}
.contact-item {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.contact-item__label {
  font-size: var(--step-xs);
  letter-spacing: 0.14em;
  color: var(--steel);
}
.contact-item__value {
  font-size: 0.9375rem;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
}
.footer-legal__links .footer-link { font-size: 0.8125rem; }
.footer-legal__icp {
  font-size: 0.8125rem;
  color: var(--steel);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.footer-meta__copy,
.footer-meta__note {
  font-size: var(--step-sm);
  color: rgba(126, 147, 173, 0.86);
}
.footer-meta__note {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

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

@media (min-width: 1020px) {
  .footer-grid { grid-template-columns: 1.5fr 0.85fr 0.85fr 1.3fr; }
}

@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;
  }
  .panel:hover,
  .btn--primary:hover,
  .brand:hover .brand__mark { transform: none; }
  .nav-list__link:hover::after,
  .nav-list__link:focus-visible::after { transform: none; }
}
