:root {
  color-scheme: dark;
  --bg: #0B1219;
  --bg-deep: #05080D;
  --panel: #1A232D;
  --ice: #A0E7FF;
  --volt: #C8F542;
  --electro: #00D0FF;
  --snow: #F0F5FA;
  --cloud: #B8C4D0;
  --muted: #7A8794;
  --long: #7A8794;
  --red: #FF4D4F;
  --violet: #817AF3;
  --line: rgba(160, 231, 255, 0.14);
  --line-strong: rgba(160, 231, 255, 0.28);
  --font-display: Impact, "Arial Black", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, monospace;
  --fs-hero: clamp(64px, 12vw, 120px);
  --fs-headline: clamp(32px, 5vw, 56px);
  --fs-subhead: clamp(20px, 3vw, 32px);
  --fs-data: clamp(24px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shell-max: 1440px;
  --shell-pad: clamp(20px, 4vw, 64px);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% -10%, rgba(129, 122, 243, 0.16), transparent 32rem),
    radial-gradient(circle at 12% 110%, rgba(0, 208, 255, 0.1), transparent 30rem),
    linear-gradient(rgba(160, 231, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 231, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

::selection {
  background: var(--volt);
  color: #0B1219;
}

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

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  color: var(--snow);
  font-family: var(--font-display);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h2 {
  font-size: var(--fs-headline);
  font-weight: 800;
}

h3 {
  font-size: var(--fs-subhead);
  font-weight: 700;
}

#main-content {
  min-height: 70vh;
  scroll-margin-top: 96px;
}

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

.section {
  padding-block: clamp(64px, 8vw, 120px);
}

.section--compact {
  padding-block: clamp(40px, 5vw, 72px);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--volt);
  color: #0B1219;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-320%);
  transition: transform 0.25s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 18, 25, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--volt) 0%, var(--electro) 55%, var(--violet) 100%);
  box-shadow: 0 0 12px rgba(0, 208, 255, 0.45);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--snow);
  text-decoration: none;
}

.brand__mark {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--snow);
}

.brand__accent {
  color: var(--volt);
}

.brand__tag {
  padding-left: 10px;
  border-left: 1px solid rgba(160, 231, 255, 0.3);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0, 208, 255, 0.76);
  transition: color 0.3s var(--ease);
}

.nav__label {
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--snow);
  background: rgba(160, 231, 255, 0.06);
}

.nav__link:hover .nav__num {
  color: var(--volt);
}

.nav__link[aria-current="page"] {
  color: var(--volt);
  background: linear-gradient(0deg, rgba(200, 245, 66, 0.1), transparent 72%);
  box-shadow: inset 0 -2px 0 var(--volt);
}

.nav__link[aria-current="page"] .nav__num {
  color: var(--volt);
}

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

.header__search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ice);
  background: rgba(160, 231, 255, 0.06);
  border: 1px solid rgba(160, 231, 255, 0.2);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header__search::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.header__search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: translate(7px, 7px) rotate(45deg);
}

.header__search:hover {
  color: var(--volt);
  border-color: rgba(200, 245, 66, 0.5);
  background: rgba(200, 245, 66, 0.08);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--snow);
  background: rgba(160, 231, 255, 0.06);
  border: 1px solid rgba(160, 231, 255, 0.18);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bar {
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-toggle__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-toggle:hover {
  color: var(--volt);
  border-color: rgba(200, 245, 66, 0.4);
}

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

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

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--snow);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

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

.btn--volt {
  background: var(--volt);
  border-color: transparent;
  color: #0B1219;
  font-weight: 900;
}

.btn--volt:hover {
  box-shadow: 0 0 24px rgba(200, 245, 66, 0.32);
}

.btn--ghost {
  background: rgba(160, 231, 255, 0.06);
  color: var(--snow);
}

.btn--ghost:hover {
  border-color: rgba(0, 208, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 208, 255, 0.18);
}

.btn--sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb__link {
  color: var(--ice);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--volt);
}

.breadcrumb__separator {
  color: var(--muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--volt);
  font-weight: 800;
}

.prose {
  max-width: 72ch;
  color: var(--cloud);
}

.prose > * + * {
  margin-block-start: 1.2em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: var(--snow);
}

.prose h2 {
  margin-block-start: 1.8em;
}

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

.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
}

.prose li {
  margin-block-start: 0.4em;
}

.prose blockquote {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--volt);
  background: linear-gradient(90deg, rgba(200, 245, 66, 0.12), transparent 70%);
  color: var(--ice);
}

.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(145deg, rgba(26, 35, 45, 0.92), rgba(11, 18, 25, 0.82));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--volt), var(--electro));
  opacity: 0.9;
}

.panel:hover {
  border-color: rgba(200, 245, 66, 0.5);
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.18), 0 18px 44px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(160, 231, 255, 0.08);
  border: 1px solid rgba(160, 231, 255, 0.18);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.tag--volt {
  background: rgba(200, 245, 66, 0.12);
  border-color: rgba(200, 245, 66, 0.35);
  color: var(--volt);
}

.tag--violet {
  background: rgba(129, 122, 243, 0.12);
  border-color: rgba(129, 122, 243, 0.32);
  color: #A7A2FF;
}

.data-list {
  display: grid;
  gap: 8px;
}

.data-list__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(160, 231, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 14px;
}

.data-list__label {
  color: var(--muted);
}

.data-list__value {
  color: var(--snow);
  font-weight: 700;
  font-size: 16px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background:
    radial-gradient(circle at 28% 36%, rgba(160, 231, 255, 0.16), transparent 36%),
    linear-gradient(135deg, var(--panel), var(--bg) 72%);
  border: 1px solid var(--line-strong);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, transparent 58%, rgba(160, 231, 255, 0.09) 58%),
    repeating-linear-gradient(45deg, rgba(160, 231, 255, 0.04) 0 1px, transparent 1px 10px);
}

.media-frame::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  z-index: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 208, 255, 0.22), transparent 64%);
}

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

.media-frame--16x9 {
  aspect-ratio: 16 / 9;
}

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

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

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

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

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

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

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 24px);
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.eyebrow {
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 3px solid var(--volt);
  color: var(--electro);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.load-item {
  animation: rise-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(-18px, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 120px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  border-top: 1px solid rgba(0, 208, 255, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--volt) 0%, var(--electro) 42%, transparent 88%);
  pointer-events: none;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(48px, 6vw, 80px) 40px;
}

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

.brand--footer .brand__mark {
  font-size: 32px;
}

.footer__motto {
  color: var(--snow);
  font-weight: 800;
  font-size: 18px;
}

.footer__trust {
  max-width: 42ch;
  color: var(--cloud);
  font-size: 14px;
}

.footer__note {
  color: var(--long);
  font-size: 12px;
}

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

.footer__heading {
  margin-bottom: 4px;
  padding-left: 10px;
  border-left: 3px solid var(--volt);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer__item {
  color: var(--muted);
  font-size: 14px;
}

.footer__link {
  display: inline-block;
  color: var(--cloud);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer__link:hover {
  color: var(--volt);
  transform: translateX(4px);
}

.footer__list--meta .footer__item {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer__bottom {
  border-top: 1px solid rgba(160, 231, 255, 0.12);
  background: rgba(5, 8, 13, 0.6);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 18px;
  color: var(--long);
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer__copyright {
  color: var(--long);
}

.footer__small {
  color: var(--muted);
}

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 14px var(--shell-pad) 22px;
    background: rgba(11, 18, 25, 0.98);
    border-bottom: 1px solid rgba(160, 231, 255, 0.2);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.32);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .header__nav[data-open] {
    display: block;
  }

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

  .nav__list {
    display: grid;
    gap: 0;
  }

  .nav__item {
    border-bottom: 1px solid rgba(160, 231, 255, 0.08);
  }

  .nav__item:last-child {
    border-bottom: 0;
  }

  .nav__link {
    padding: 14px 4px;
    font-size: 16px;
  }

  .nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(200, 245, 66, 0.12), transparent);
    box-shadow: inset 3px 0 0 var(--volt);
  }

  .nav__num {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .header__search {
    display: none;
  }

  .brand__tag {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__cta {
    padding-inline: 12px;
  }
}

@media (max-width: 380px) {
  .nav-toggle__label {
    display: none;
  }

  .nav-toggle {
    justify-content: center;
    width: 44px;
    padding: 0;
  }

  .header__cta {
    padding-inline: 10px;
    font-size: 12px;
  }
}

@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;
  }

  .load-item {
    animation: none;
    opacity: 1;
  }
}
