:root {
  --ink: #081624;
  --ink-deep: #05101b;
  --panel: #0F2438;
  --panel-soft: #13304a;
  --line: #23445C;
  --line-soft: rgba(35, 68, 92, .55);
  --mint: #35F2C2;
  --mint-deep: #0FB894;
  --orange: #FF8A3D;
  --orange-soft: #FFC29E;
  --paper: #F4FAF7;
  --muted: #9DB4C4;
  --haze: #C9E6DF;

  --font-head: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-num: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", Consolas, monospace;

  --shadow-block: 8px 8px 0 0 rgba(35, 68, 92, .55);
  --shadow-block-sm: 4px 4px 0 0 rgba(35, 68, 92, .65);
  --wrap-max: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote { margin: 0; }

:where(ul[class], ol[class]) {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 92% -8%, rgba(53, 242, 194, .12), transparent 52%),
    radial-gradient(90% 70% at 0% 4%, rgba(255, 138, 61, .07), transparent 48%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--mint-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mint); }

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: .01em;
  color: var(--paper);
}

h1 { font-size: clamp(40px, 7vw, 96px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.16; }
h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--paper);
}

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

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

#main-content { display: block; }

.muted { color: var(--muted); }
.mono { font-family: var(--font-num); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  transform: translateY(-160%);
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--ink); }

/* ---------- 页头命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 22, 36, .95);
  border-bottom: 2px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background-color: rgba(53, 242, 194, .10);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px);
}

.site-header[data-scrolled] {
  border-bottom-color: rgba(53, 242, 194, .3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: var(--paper); }

.brand__mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 3px 3px 0 0 var(--line);
}

.brand__text { display: block; min-width: 0; }

.brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .06em;
}

.brand__line {
  display: none;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .16em;
  color: var(--muted);
}

@media (min-width: 480px) {
  .brand__line { display: block; }
}

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(53, 242, 194, .18);
}

@media (min-width: 1180px) {
  .header-status { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.nav-toggle:hover { color: var(--mint); border-color: var(--mint-deep); background: rgba(53, 242, 194, .08); }

.nav-toggle__box {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  background: currentColor;
}
.nav-toggle__text { line-height: 1; }

.site-nav {
  display: none;
  flex-basis: 100%;
  order: 4;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.site-nav[data-open="true"] { display: block; }

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 6px;
  color: var(--haze);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.site-nav__link:hover { color: var(--paper); background: rgba(35, 68, 92, .35); }
.site-nav__link[aria-current="page"] {
  color: var(--mint);
  border-bottom-color: var(--mint);
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--mint-deep); }

.site-nav__index {
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--line);
}

.site-nav__label { display: inline; }

.site-nav__item--cta { margin-top: 8px; }

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 18px;
  background: var(--orange);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: var(--shadow-block-sm);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.site-nav__cta:hover {
  background: var(--orange-soft);
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 rgba(35, 68, 92, .8);
}
.site-nav__cta[aria-current="page"] {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint-deep), var(--mint));
  transition: width .12s linear;
}

@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    flex-basis: auto;
    order: 0;
    margin: 0 0 0 auto;
    padding-top: 0;
    border-top: 0;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }
  .site-nav__link {
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 2px solid transparent;
  }
  .site-nav__item--cta { margin: 0 0 0 12px; }
  .site-nav__cta { width: auto; padding: 9px 16px; font-size: 13px; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background: var(--ink-deep);
  border-top: 2px solid var(--line);
}

.footer-rail {
  height: 8px;
  background-color: rgba(35, 68, 92, .2);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1.5px, transparent 1.5px 32px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-inner {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1fr;
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(24px, 4vw, 44px);
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-brand .brand__line { display: block; }

.footer-brand__note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-nav__title,
.footer-contact__title {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .24em;
  color: var(--mint-deep);
}

.footer-nav__list { display: grid; gap: 2px; }

.footer-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: var(--haze);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color .18s ease, border-color .18s ease, padding-left .18s ease;
}
.footer-nav__link::before {
  content: "";
  flex: none;
  width: 10px;
  height: 1px;
  background: var(--line);
}
.footer-nav__link:hover {
  color: var(--mint);
  border-bottom-color: var(--mint-deep);
  padding-left: 4px;
}

.footer-contact__list { display: grid; gap: 12px; }

.footer-contact__row {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-contact__label {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--line);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--haze);
  overflow-wrap: anywhere;
}

.footer-base { border-top: 1px solid var(--line-soft); }

.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: 16px var(--gutter) 24px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

.footer-base__meta {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--line);
}

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 1050px) {
  .footer-inner { grid-template-columns: 1.5fr .8fr 1.1fr; }
}

/* ---------- 通用容器与节奏 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

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

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.eyebrow {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--mint-deep);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: var(--shadow-block-sm);
}
.btn--primary:hover {
  background: var(--orange-soft);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(35, 68, 92, .8);
}

.btn--mint {
  background: var(--mint);
  color: var(--ink);
  box-shadow: var(--shadow-block-sm);
}
.btn--mint:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(35, 68, 92, .8);
}

.btn--ghost {
  background: transparent;
  color: var(--mint);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--mint);
  border-color: var(--mint);
  background: rgba(53, 242, 194, .08);
}

.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 0 rgba(35, 68, 92, .6); }

/* ---------- 面包屑 ---------- */
.crumbs { font-size: 12px; letter-spacing: .06em; }

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

.crumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.crumbs__link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.crumbs__link:hover { color: var(--mint); border-bottom-color: var(--mint-deep); }

.crumbs__sep { color: var(--line); }

.crumbs__current { color: var(--haze); }

/* ---------- 正文容器 ---------- */
.prose { max-width: 72ch; }

.prose > * + * { margin-top: 1.1em; }

.prose h2 { margin-top: 1.8em; font-size: clamp(24px, 3vw, 36px); }
.prose h3 { margin-top: 1.5em; }

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

.prose ul,
.prose ol { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }

.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: var(--mint-deep);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--7-5 { grid-template-columns: 7fr 5fr; }
  .grid--8-4 { grid-template-columns: 8fr 4fr; }
  .grid--5-7 { grid-template-columns: 5fr 7fr; }
}

/* ---------- 面板 ---------- */
.panel {
  padding: clamp(18px, 2.6vw, 30px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-block);
}
.panel--flat { box-shadow: none; }
.panel--mint { border-color: var(--mint-deep); }
.panel--alert { border-color: rgba(255, 138, 61, .7); }

.panel__label {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--mint-deep);
}

.panel__title {
  margin-top: 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
}

.panel__meta {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 图片占位容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--panel);
  background-image: linear-gradient(135deg, #0F2438, #14324b 55%, #0a1b2b);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-block-sm);
  overflow: hidden;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(53, 242, 194, .14) 0 1px, transparent 1px 18px);
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--muted);
}

/* ---------- 数字刻度 ---------- */
.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat { display: grid; gap: 6px; }

.stat__value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--mint);
}

.stat__label {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
}

.stat--alert .stat__value { color: var(--orange); }

/* ---------- 时间轴 ---------- */
.timeline { display: grid; }

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 22px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--line-soft);
}
.timeline__item:last-child::before { display: none; }

.timeline__node {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin: 4px 0 0 4px;
  background: var(--ink);
  border: 2px solid var(--mint-deep);
  border-radius: 50%;
}

.timeline__body { display: grid; gap: 6px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--haze);
}
.tag--live { border-color: var(--mint-deep); color: var(--mint); }
.tag--alert { border-color: rgba(255, 138, 61, .55); color: var(--orange); }

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-progress { transition: none; }
}
