:root {
  --space-blue: #0B1D3A;
  --sky-blue: #102A4C;
  --gold: #D4AF37;
  --gold-light: #F5D76E;
  --orange: #FF6B35;
  --tech-blue: #4A90E2;
  --light: #F4F7FA;
  --ink: #1A1A2E;
  --muted: #5A6B7B;
  --border: #E0E5EC;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --text: 1rem;
  --leading: 1.75;
  --header-height: 84px;
  --content-max: 1200px;
  --content-pad: clamp(1rem, 4vw, 2.5rem);
}

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

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

body {
  font-family: var(--font);
  font-size: var(--text);
  line-height: var(--leading);
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--tech-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

ul {
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

.container {
  width: min(var(--content-max), 100% - (var(--content-pad) * 2));
  margin-inline: auto;
}

#main-content {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

h1, h2, h3, h4 {
  color: var(--space-blue);
  line-height: 1.25;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-weight: 700;
  font-size: 1.2rem;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--space-blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 29, 58, .82), rgba(11, 29, 58, .28));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .35s, box-shadow .35s;
}

body[data-header-solid] .site-header {
  background: rgba(11, 29, 58, .97);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}

.header-console {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(1rem, 3vw, 3rem);
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  z-index: 1;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--space-blue);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transform: skewX(-6deg);
}

.brand-mark--footer {
  width: 48px;
  height: 48px;
}

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

.brand-name {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .02em;
  color: #fff;
}

.brand-name em {
  font-style: normal;
  color: var(--gold);
}

.brand-slogan {
  font-size: .72rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .78);
}

.site-nav {
  display: block;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.75rem);
}

.site-nav__link {
  display: block;
  padding: .4rem 0;
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  position: relative;
  transition: color .3s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s;
}

.site-nav__link:hover {
  color: var(--gold-light);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--gold-light);
}

.site-nav__cta {
  display: none;
}

.header-action {
  margin-inline-start: auto;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .3s, color .3s, border-color .3s;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #ff854f;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.site-footer {
  position: relative;
  background: var(--space-blue);
  color: rgba(255, 255, 255, .82);
  border-top: 1px solid rgba(212, 175, 55, .4);
}

.site-footer a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .3s;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 4rem);
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
}

.footer-brand__link .brand-name {
  font-size: 1.6rem;
}

.footer-about {
  max-width: 32rem;
  color: rgba(255, 255, 255, .65);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  margin-top: .4rem;
}

.trust-line {
  position: relative;
  padding-left: .9rem;
  font-size: .875rem;
  color: var(--gold-light);
}

.trust-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-col__title {
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(212, 175, 55, .3);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: .7rem;
}

.footer-contact .contact-line {
  color: rgba(255, 255, 255, .78);
}

.footer-note {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
}

.footer-copy,
.footer-icp {
  color: inherit;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--gold);
  background: var(--space-blue);
  border: 1px solid var(--gold);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  opacity: 0;
  visibility: hidden;
  transition: background .3s, color .3s, opacity .3s, visibility .3s, transform .3s;
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--gold);
  color: var(--space-blue);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--header-height) + clamp(3.5rem, 10vw, 7rem)) 0 clamp(3rem, 8vw, 5.5rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%);
  background: var(--space-blue);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, .16), transparent 50%),
    linear-gradient(115deg, var(--space-blue) 0%, var(--sky-blue) 45%, var(--space-blue) 100%);
  transform: translate3d(-3%, 0, 0) scale(1.02);
  animation: heroDrift 9s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroDrift {
  from {
    transform: translate3d(-3%, 0, 0) scale(1.02);
  }
  to {
    transform: translate3d(3%, 0, 0) scale(1.04);
  }
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.page-hero__title {
  color: #fff;
}

.page-hero__lead {
  margin-top: 1.2rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
  transform: skewX(-45deg);
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

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

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 50%, var(--gold) 50%);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(11, 29, 58, .14);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .875rem;
  color: var(--muted);
}

.card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--space-blue);
}

.card__text {
  color: #3c4a5b;
  font-size: .95rem;
}

.card--dark {
  background: var(--sky-blue);
  border-color: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .85);
}

.card--dark .card__title {
  color: #fff;
}

.card--dark .card__meta {
  color: rgba(255, 255, 255, .6);
}

.card--dark .card__text {
  color: rgba(255, 255, 255, .75);
}

.panel {
  background: var(--sky-blue);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: clamp(1.5rem, 4vw, 3rem);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.panel__title {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .02em;
}

.cover-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(2rem, 6vw, 4rem);
}

.cover-index__list {
  counter-reset: coverIndex;
}

.cover-index__item {
  counter-increment: coverIndex;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.cover-index__item::before {
  content: counter(coverIndex, decimal-leading-zero);
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .05em;
}

.cover-index__item a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.cover-index__item a:hover {
  color: var(--gold-light);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  padding-block: 1.25rem;
  font-size: .875rem;
  color: var(--muted);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-left: .75rem;
  color: var(--border);
}

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

.breadcrumb a:hover {
  color: var(--space-blue);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  background: var(--light);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.2rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.stat__value {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--space-blue);
}

.stat__label {
  color: var(--muted);
  font-size: .9rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--space-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}

.link-arrow::after {
  content: "→";
  transition: transform .3s;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--space-blue);
  border-color: var(--gold);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.meta-tag {
  display: inline-block;
  padding: .15rem .6rem;
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .4);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  transform: skewX(-10deg);
}

[data-tabs] [role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}

[data-tabs] [role="tab"] {
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

[data-tabs] [role="tab"][aria-selected="true"] {
  color: var(--space-blue);
  border-color: var(--border);
  position: relative;
  top: 1px;
}

[data-tabs] [role="tabpanel"] {
  padding-top: 1.5rem;
}

.img-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 29, 58, .08), rgba(212, 175, 55, .05));
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.img-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.img-frame--wide::before {
  padding-top: 50%;
}

.img-frame--portrait::before {
  padding-top: 125%;
}

.img-frame--square::before {
  padding-top: 100%;
}

.img-frame__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.img-frame__bg--space {
  background: linear-gradient(160deg, var(--space-blue), var(--sky-blue) 50%, #0f2c50);
}

.img-frame__bg--data {
  background:
    repeating-linear-gradient(135deg, rgba(212, 175, 55, .2) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, var(--sky-blue), var(--space-blue));
}

[data-reveal][data-state="pending"] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal][data-state="revealed"] {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  transition: opacity .6s ease, transform .6s ease;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-action {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    margin-inline-start: auto;
    z-index: 110;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--space-blue);
    border-top: 1px solid var(--gold);
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
    margin-inline-start: 0;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }

  .site-nav__link {
    font-size: 1.15rem;
    padding-block: .4rem;
  }

  .site-nav__cta {
    display: block;
    margin-top: 1.5rem;
  }

  .site-nav__cta .btn {
    display: flex;
    width: 100%;
  }

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

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

  .cover-index {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  [data-reveal][data-state="pending"],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
