:root {
  --ink: #0B1E3A;
  --ocean: #123A66;
  --orange: #FF6A00;
  --pulse: #39FF88;
  --paper: #F5F7FA;
  --slate: #1C2B4D;
  --red: #E63946;
  --violet: #7B61FF;
  --font-heading: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Roboto Mono", "Consolas", monospace;
  --radius: 18px;
  --shadow: 0 16px 34px rgba(3, 10, 22, .45);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--orange);
  text-underline-offset: 3px;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.site-main {
  display: block;
  min-height: 70vh;
  background: var(--ink);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 8px 16px;
  background: var(--pulse);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-220%);
  transition: transform .2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0 0;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 16px;
  background: rgba(11, 30, 58, .93);
  border: 1px solid rgba(245, 247, 250, .14);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.site-header__progress {
  position: absolute;
  left: 18px;
  right: 18px;
  top: -2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(245, 247, 250, .18);
  overflow: hidden;
  pointer-events: none;
}

.site-header__progress::after {
  content: "";
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pulse));
  border-radius: inherit;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: auto;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.site-header__brand-mark {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--ink);
  background: var(--orange);
  font-weight: 900;
  font-size: 1.18rem;
  line-height: 1;
  padding: 8px 10px 10px 12px;
  transform: skewX(-6deg);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, .25);
}

.site-header__brand-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  right: -4px;
  bottom: -5px;
  height: 2px;
  background: var(--pulse);
  transform: skewX(-12deg);
}

.site-header__tagline {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  color: var(--pulse);
  white-space: nowrap;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  background: var(--slate);
  color: var(--paper);
  border: 1px solid rgba(245, 247, 250, .12);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
}

.site-nav-toggle__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.site-nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

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

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

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

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

.site-nav__scroll {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav__link {
  display: inline-block;
  padding: 8px 12px;
  color: rgba(245, 247, 250, .82);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.site-nav__link:hover {
  color: var(--paper);
  background: rgba(255, 106, 0, .12);
  border-color: rgba(255, 106, 0, .45);
}

.site-nav__link[aria-current="page"] {
  color: var(--orange);
  background: rgba(255, 106, 0, .15);
  border-color: rgba(255, 106, 0, .4);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 6px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 106, 0, .25);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-header__cta:hover {
  background: #FF832A;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 106, 0, .35);
}

@media (max-width: 920px) {
  .site-header {
    padding: 8px 0 0;
  }

  .site-header__bar {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 8px;
  }

  .site-header__brand {
    margin-right: auto;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 2px;
    margin-top: 2px;
    border-top: 1px solid rgba(245, 247, 250, .1);
  }

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

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

  .site-nav__link {
    padding-block: 10px;
  }

  .site-header__cta {
    width: 100%;
  }
}

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

  .site-header__brand-mark {
    font-size: 1rem;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--slate);
  color: var(--paper);
  border-top: 1px solid rgba(255, 106, 0, .3);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 38%, var(--pulse) 38% 64%, rgba(57, 255, 136, 0) 64%);
}

.site-footer a {
  color: rgba(245, 247, 250, .8);
  text-decoration: none;
  transition: color .2s ease;
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
  gap: 32px;
  padding-block: 48px 36px;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer__brand-link {
  display: inline-block;
  width: fit-content;
}

.site-footer__brand-mark {
  display: inline-block;
  padding: 8px 12px 10px;
  color: var(--ink);
  background: var(--pulse);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  transform: skewX(-6deg);
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(57, 255, 136, .2);
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--pulse);
}

.site-footer__trust {
  margin: 0;
  max-width: 42ch;
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(245, 247, 250, .68);
}

.site-footer__title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 247, 250, .12);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pulse);
}

.site-footer__links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-block;
  font-size: .9rem;
  padding: 2px 0;
}

.site-footer__contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.site-footer__contact-list p {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  margin: 0;
  font-size: .84rem;
}

.site-footer__contact-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--orange);
  padding-top: 2px;
}

.site-footer__contact-value {
  color: rgba(245, 247, 250, .82);
  word-break: break-word;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-block: 16px;
  border-top: 1px solid rgba(245, 247, 250, .1);
}

.site-footer__copy,
.site-footer__icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: rgba(245, 247, 250, .58);
}

.site-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.site-top:hover {
  color: var(--pulse);
  border-color: var(--pulse);
  transform: translateY(-2px);
}

@media (max-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    padding-block: 36px 24px;
  }

  .site-top {
    right: 12px;
    bottom: 12px;
  }
}

.site-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: rgba(245, 247, 250, .6);
}

.site-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-breadcrumbs li + li::before {
  content: "/";
  color: var(--orange);
}

.site-breadcrumbs a {
  color: var(--pulse);
  text-decoration: none;
}

.site-breadcrumbs a[aria-current="page"] {
  color: var(--paper);
  cursor: default;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 10vw, 120px);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 106, 0, .35);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 46%;
  height: 90%;
  background: linear-gradient(135deg, rgba(255, 106, 0, .3), rgba(57, 255, 136, 0));
  transform: skewX(-12deg);
  pointer-events: none;
}

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

.page-hero__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pulse);
}

.page-hero__title {
  margin: 0 0 .3em;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.02;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.page-hero__lead {
  max-width: 58ch;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(245, 247, 250, .75);
}

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

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--slate {
  background: var(--slate);
  color: var(--paper);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--paper h2,
.section--paper h3,
.section--paper h4 {
  color: var(--ink);
}

.section__kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin: 0 0 .6em;
  transform: skewX(-4deg);
}

.prose {
  max-width: 72ch;
  font-size: 1rem;
  color: rgba(245, 247, 250, .82);
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.6em;
  color: var(--paper);
}

.prose a {
  color: var(--pulse);
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: .5em;
}

.section--paper .prose {
  color: rgba(11, 30, 58, .82);
}

.section--paper .prose h2,
.section--paper .prose h3,
.section--paper .prose h4 {
  color: var(--ink);
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.site-grid > .site-card {
  grid-column: span 4;
}

.site-grid--split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(16px, 2vw, 24px);
}

.site-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--slate);
  border: 1px solid rgba(245, 247, 250, .12);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, .4);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .32);
}

.site-card__title {
  margin: 0 0 10px;
  font-size: 1.22rem;
  color: var(--paper);
}

.site-card__desc {
  margin: 0 0 14px;
  font-size: .92rem;
  color: rgba(245, 247, 250, .72);
}

.site-card__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--pulse);
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--slate);
  color: var(--paper);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-btn--primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(255, 106, 0, .26);
}

.site-btn--primary:hover {
  background: #FF832A;
  color: var(--ink);
  transform: translateY(-2px);
}

.site-btn--ghost {
  background: transparent;
  color: var(--pulse);
  border-color: rgba(57, 255, 136, .4);
}

.site-btn--ghost:hover {
  background: rgba(57, 255, 136, .1);
  border-color: var(--pulse);
  transform: translateY(-2px);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(57, 255, 136, .1);
  border: 1px solid rgba(57, 255, 136, .25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--pulse);
  white-space: nowrap;
}

.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 8px var(--pulse);
}

.media-frame {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.2em;
  background: var(--slate);
  border: 1px solid rgba(245, 247, 250, .14);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(57, 255, 136, .2);
  border-radius: 8px;
  pointer-events: none;
}

figure {
  margin: 0 0 1.2em;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .site-grid > .site-card {
    grid-column: span 6;
  }

  .site-grid--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-grid > .site-card {
    grid-column: span 12;
  }
}

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

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

  .site-header__cta:hover,
  .site-card:hover,
  .site-btn:hover,
  .site-btn--primary:hover,
  .site-btn--ghost:hover,
  .site-top:hover {
    transform: none;
  }
}
