:root {
  --ink: #0A1230;
  --deep-field: #101B3D;
  --cyan: #36E6FF;
  --orange: #FF7A2F;
  --mint: #5EF2B8;
  --coral: #FF5D73;
  --ice: #F4F8FF;
  --steel: #9FB0D0;
  --violet: #8B7CFF;
  --gold: #FFC857;
  --line: rgba(159, 176, 208, 0.18);
  --line-strong: rgba(244, 248, 255, 0.28);
  --container-max: 1240px;
  --header-h: 78px;
  --rail-h: 38px;
  --header-total: calc(var(--header-h) + var(--rail-h));
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(244, 248, 255, 0.06);
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

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

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(circle at 82% 0%, rgba(54, 230, 255, 0.09), transparent 34rem),
    radial-gradient(circle at 12% 12%, rgba(139, 124, 255, 0.07), transparent 30rem),
    var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

main {
  display: block;
}

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

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

:where(a, button, [tabindex], [role="tab"]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--ink);
  background: var(--cyan);
  font-weight: 800;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  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: min(var(--container-max), calc(100% - 40px));
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, calc(100% - 40px));
}

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

.page-top {
  padding-top: calc(var(--header-total) + clamp(24px, 5vw, 64px));
}

.stack > * + * {
  margin-top: var(--stack-gap, 1rem);
}

.grid {
  display: grid;
  gap: var(--grid-gap, clamp(16px, 2.4vw, 28px));
}

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

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

.grid--12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.eyebrow {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede {
  max-width: 68ch;
  color: var(--steel);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.prose {
  max-width: 74ch;
  color: #DDE8FA;
  font-size: 16px;
  line-height: 1.8;
}

.prose h2 {
  margin: 1.8em 0 0.65em;
  color: var(--ice);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.prose h3 {
  margin: 1.6em 0 0.55em;
  color: var(--ice);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.prose p {
  margin-bottom: 1.1em;
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(54, 230, 255, 0.36);
}

.prose a:hover {
  color: var(--orange);
  border-bottom-color: rgba(255, 122, 47, 0.55);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
  list-style: revert;
}

.prose li + li {
  margin-top: 0.4em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 10px 24px rgba(54, 230, 255, 0.18);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(54, 230, 255, 0.24);
}

.button:active {
  transform: none;
}

.button--primary {
  background: linear-gradient(120deg, var(--cyan), #6FF0FF);
  color: var(--ink);
}

.button--ghost {
  color: var(--ice);
  background: rgba(244, 248, 255, 0.04);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button--ghost:hover {
  color: var(--cyan);
  background: rgba(54, 230, 255, 0.06);
  border-color: rgba(54, 230, 255, 0.5);
}

.button--small {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}

.breadcrumbs {
  color: var(--steel);
  font-size: 12px;
}

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

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: rgba(159, 176, 208, 0.45);
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--ice);
}

.breadcrumbs__link {
  color: var(--steel);
  transition: color 0.2s var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--cyan);
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(16, 27, 61, 0.92), rgba(10, 18, 48, 0.72));
  box-shadow: var(--shadow-soft);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(54, 230, 255, 0.55), transparent);
  opacity: 0.7;
}

.card:hover {
  border-color: rgba(54, 230, 255, 0.3);
  transform: translateY(-2px);
}

.card__eyebrow {
  margin-bottom: 10px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card__title {
  margin-bottom: 8px;
  color: var(--ice);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.25;
}

.card__text {
  color: var(--steel);
  font-size: 14px;
}

.card__meta {
  margin-top: 16px;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: rgba(244, 248, 255, 0.03);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tag--cyan {
  color: var(--cyan);
  background: rgba(54, 230, 255, 0.08);
  border-color: rgba(54, 230, 255, 0.32);
}

.tag--orange {
  color: var(--orange);
  background: rgba(255, 122, 47, 0.09);
  border-color: rgba(255, 122, 47, 0.34);
}

.tag--mint {
  color: var(--mint);
  background: rgba(94, 242, 184, 0.08);
  border-color: rgba(94, 242, 184, 0.32);
}

.tag--coral {
  color: var(--coral);
  background: rgba(255, 93, 115, 0.08);
  border-color: rgba(255, 93, 115, 0.32);
}

.tag--gold {
  color: var(--gold);
  background: rgba(255, 200, 87, 0.08);
  border-color: rgba(255, 200, 87, 0.32);
}

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

.stat__value {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__label {
  color: var(--steel);
  font-size: 12px;
}

.stat__trend {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.stat__trend--down {
  color: var(--coral);
}

.tabs {
  display: grid;
  gap: 16px;
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 27, 61, 0.5);
}

.tabs__tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--steel);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tabs__tab:hover {
  color: var(--ice);
}

.tabs__tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(54, 230, 255, 0.22);
}

.tabs__panel {
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 27, 61, 0.55);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: rgba(244, 248, 255, 0.03);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"],
.filter-chip.is-active {
  color: var(--cyan);
  background: rgba(54, 230, 255, 0.08);
  border-color: rgba(54, 230, 255, 0.45);
}

.timeline {
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
  list-style: none;
}

.timeline__item {
  position: relative;
  padding-bottom: 24px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(54, 230, 255, 0.08);
}

.timeline__time {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.timeline__title {
  margin-top: 2px;
  color: var(--ice);
  font-size: 16px;
  font-weight: 700;
}

.timeline__text {
  margin-top: 2px;
  color: var(--steel);
  font-size: 14px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 27, 61, 0.45);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data-table th {
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tr:hover td {
  background: rgba(54, 230, 255, 0.04);
}

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

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  color: var(--steel);
  font-size: 12px;
  list-style: none;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(54, 230, 255, 0.6);
}

.legend__swatch--orange {
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 122, 47, 0.6);
}

.legend__swatch--mint {
  background: var(--mint);
  box-shadow: 0 0 10px rgba(94, 242, 184, 0.55);
}

.legend__swatch--coral {
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 93, 115, 0.55);
}

.legend__swatch--violet {
  background: var(--violet);
  box-shadow: 0 0 10px rgba(139, 124, 255, 0.55);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(16, 27, 61, 0.9), rgba(10, 18, 48, 0.5));
  box-shadow: var(--shadow-soft);
}

.image-frame__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.image-frame__media > img,
.image-frame__media > picture,
.image-frame__media > svg,
.image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--hero .image-frame__media {
  min-height: clamp(240px, 42vw, 520px);
  aspect-ratio: 16 / 10;
}

.image-frame--wide .image-frame__media {
  aspect-ratio: 16 / 9;
}

.image-frame--portrait .image-frame__media {
  aspect-ratio: 4 / 5;
}

.image-frame__caption {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  background: rgba(10, 18, 48, 0.72);
  font-size: 12px;
}

.image-frame__placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 24px;
  color: var(--steel);
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(54, 230, 255, 0.12) 46% 47%, transparent 47% 100%),
    radial-gradient(circle at 70% 20%, rgba(255, 122, 47, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(16, 27, 61, 0.95), rgba(10, 18, 48, 0.65));
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.scroll-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(244, 248, 255, 0.06);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange), var(--mint));
  box-shadow: 0 0 12px rgba(54, 230, 255, 0.55);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--ice);
  background: linear-gradient(180deg, rgba(10, 18, 48, 0.92) 0%, rgba(10, 18, 48, 0.66) 64%, rgba(10, 18, 48, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.26s var(--ease), border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(10, 18, 48, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.header-lightbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 4px;
  overflow: hidden;
  pointer-events: none;
}

.header-lightbar__beam {
  position: absolute;
  inset-block: 0;
  left: 10%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(54, 230, 255, 0.8), transparent);
  animation: beam-slide 7s linear infinite;
}

.header-lightbar__beam--alt {
  left: 55%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 47, 0.7), transparent);
  animation-delay: -3s;
}

@keyframes beam-slide {
  0% {
    opacity: 0.28;
    transform: translateX(-40%);
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.2;
    transform: translateX(300%);
  }
}

.header-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container-max), calc(100% - 40px));
  min-height: var(--header-h);
  margin-inline: auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--ice);
}

.brand__mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(145deg, rgba(54, 230, 255, 0.18), rgba(139, 124, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(244, 248, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 52%, rgba(244, 248, 255, 0.12) 52% 53%, transparent 53% 100%);
  pointer-events: none;
}

.brand__mark-num {
  position: relative;
  z-index: 1;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.08em;
  transform: skewX(-8deg);
}

.brand__mark-line {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: rotate(-8deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.1;
}

.brand__name {
  color: var(--ice);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.brand:hover .brand__name {
  color: var(--cyan);
}

.brand__line {
  color: var(--steel);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ice);
  background: rgba(16, 27, 61, 0.7);
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  width: 18px;
  gap: 4px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__label {
  font-size: 12px;
  font-weight: 700;
}

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

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

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

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
}

.site-nav__item {
  display: flex;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  color: var(--steel);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: right 0.22s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--ice);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link[aria-current="page"]::after {
  right: 0;
}

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

.header-rail {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: min(var(--container-max), calc(100% - 40px));
  min-height: var(--rail-h);
  margin-inline: auto;
  padding-block: 6px;
  border-top: 1px solid rgba(159, 176, 208, 0.12);
}

.header-rail__label {
  flex: 0 0 auto;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-rail__links {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-rail__links::-webkit-scrollbar {
  display: none;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--steel);
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.quick-link:hover {
  color: var(--ice);
  background: rgba(54, 230, 255, 0.06);
  border-color: rgba(54, 230, 255, 0.35);
}

.header-rail__cta {
  flex: 0 0 auto;
  margin-left: 4px;
}

.header-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--steel);
  white-space: nowrap;
}

.header-timeline__label {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.header-timeline__track {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-timeline__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 122, 47, 0.75);
}

.header-timeline__dot:nth-child(2) {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(54, 230, 255, 0.75);
}

.header-timeline__dot:nth-child(3) {
  background: var(--mint);
  box-shadow: 0 0 10px rgba(94, 242, 184, 0.75);
}

.header-timeline__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 10vw, 128px);
  border-top: 1px solid var(--line);
  color: var(--ice);
  background: linear-gradient(180deg, var(--ink) 0%, #070D24 100%);
}

.footer-arena {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
}

.footer-arena__ring {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(54, 230, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(54, 230, 255, 0.03), 0 0 0 72px rgba(139, 124, 255, 0.03);
}

.footer-arena__beam {
  position: absolute;
  bottom: -10%;
  left: 8%;
  width: 42%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 47, 0.08), transparent);
  transform: rotate(24deg);
  transform-origin: center;
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  width: min(var(--container-max), calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 90px) 28px;
}

.footer-brand {
  align-self: start;
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ice);
}

.footer-brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(54, 230, 255, 0.38);
  border-radius: 9px 3px 9px 3px;
  color: var(--cyan);
  background: rgba(54, 230, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.footer-brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-brand__line {
  margin: 14px 0 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.footer-brand__note {
  max-width: 38ch;
  margin: 10px 0 20px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.7;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-column__title {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav__item + .footer-nav__item {
  margin-top: 2px;
}

.footer-nav__link {
  display: inline-flex;
  align-items: center;
  padding-block: 6px;
  color: var(--steel);
  font-size: 14px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-meta {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 12px;
  line-height: 1.7;
}

.footer-meta__legal {
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.footer-meta__contact {
  color: var(--steel);
}

.footer-meta__note {
  max-width: 82ch;
  color: rgba(159, 176, 208, 0.92);
}

.footer-copy {
  margin-top: 12px;
  color: rgba(159, 176, 208, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

@media (max-width: 1120px) {
  .header-timeline__label {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
    --rail-h: 34px;
  }

  .header-shell,
  .header-rail {
    width: calc(100% - 24px);
  }

  .header-shell {
    gap: 16px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__line {
    font-size: 10px;
  }

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

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--rail-h) + 10px);
    right: 12px;
    left: 12px;
    z-index: 1001;
    display: none;
    max-height: calc(100dvh - var(--header-h) - var(--rail-h) - 20px);
    margin-left: 0;
    padding: 16px;
    overflow: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(10, 18, 48, 0.98);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__item {
    display: block;
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav__link {
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    color: var(--ice);
    font-size: 16px;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    background: rgba(54, 230, 255, 0.08);
    border-radius: var(--radius-sm);
  }

  .header-rail__label,
  .header-timeline {
    display: none;
  }

  .header-rail {
    justify-content: flex-start;
  }

  .header-rail__links {
    gap: 4px;
    padding-bottom: 2px;
  }

  .quick-link {
    padding: 6px 8px;
    font-size: 11px;
  }

  .header-rail__cta {
    display: none;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .grid--12 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .col-4,
  .col-5,
  .col-7,
  .col-8 {
    grid-column: span 6;
  }

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

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .container--narrow {
    width: calc(100% - 28px);
  }

  .grid--12 {
    grid-template-columns: 1fr;
  }

  .col-4,
  .col-5,
  .col-7,
  .col-8 {
    grid-column: 1 / -1;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    width: calc(100% - 28px);
    gap: 28px;
    padding-block: 42px 24px;
  }

  .footer-arena__ring {
    right: -260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .header-lightbar__beam {
    animation: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
