:root {
  --ink: #0A0C10;
  --ink-deep: #07090D;
  --well: #111827;
  --cyan: #19F0D8;
  --purple: #8B5CF6;
  --magenta: #FF3D9A;
  --gold: #F5B84B;
  --fog: #E8EDF2;
  --paper: #A7B0BD;
  --line: #2A3442;
  --blueprint: #12304A;
  --surface: rgba(17, 24, 39, 0.82);
  --surface-soft: rgba(17, 24, 39, 0.62);
  --shell-max: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 2px;
  --sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Narrow", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", "Noto Sans Mono", "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--fog);
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(25, 240, 216, 0.12), transparent 44rem),
    radial-gradient(ellipse at 92% 8%, rgba(139, 92, 246, 0.14), transparent 42rem),
    linear-gradient(180deg, #0A0C10 0%, #0A0C10 58%, #07090D 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(25, 240, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 240, 216, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 50% 16%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 16%, #000, transparent 72%);
}

body > * {
  position: relative;
  z-index: 1;
}

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

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

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

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

button {
  cursor: pointer;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

a:hover {
  color: var(--fog);
}

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

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

#main-content {
  scroll-margin-top: 132px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.07em;
  color: var(--fog);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 1.1em;
}

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

.page-shell {
  padding-block: clamp(56px, 8vw, 96px);
}

.content-container {
  width: min(100%, 78ch);
}

.narrow-column {
  width: min(100%, 66ch);
}

.lede {
  max-width: 38em;
  color: var(--paper);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.85;
}

.mono-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 8px rgba(25, 240, 216, 0.55);
}

.section-title {
  margin-top: 12px;
  max-width: 18em;
}

.section-deck {
  margin-top: 14px;
  max-width: 40em;
  color: var(--paper);
}

.divider {
  height: 1px;
  margin-block: clamp(24px, 4vw, 44px);
  border: 0;
  background: linear-gradient(90deg, var(--line), transparent 70%);
}

.layout-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.layout-grid__main {
  min-width: 0;
}

.layout-grid__aside {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 3vw, 28px);
}

@media (min-width: 900px) {
  .layout-grid--split {
    grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.75fr);
  }
}

@media (max-width: 899px) {
  .layout-grid__aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
}

.button,
.header-cta,
.copy-button,
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fog);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(25, 240, 216, 0.08);
  color: var(--fog);
}

.button--primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(139, 92, 246, 0.45);
}

.button--primary:hover {
  border-color: var(--fog);
  background: var(--fog);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(139, 92, 246, 0.58);
}

.button--ghost {
  border-color: var(--line);
  color: var(--paper);
}

.button--ghost:hover {
  border-color: var(--purple);
  color: var(--fog);
}

.button--signal {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(255, 61, 154, 0.06);
}

.button--signal:hover {
  border-color: var(--magenta);
  background: rgba(255, 61, 154, 0.12);
  color: var(--fog);
}

.breadcrumb {
  padding-block: 14px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

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

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

.breadcrumb__link {
  color: var(--paper);
  text-decoration: none;
}

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

.breadcrumb__current {
  color: var(--cyan);
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.72);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}

.tag:hover,
.tag[aria-pressed="true"] {
  transform: translateY(-1px);
  border-color: var(--cyan);
  background: rgba(25, 240, 216, 0.08);
  color: var(--cyan);
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(10, 12, 16, 0.92));
  padding: clamp(20px, 3vw, 32px);
}

.paper-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(10, 12, 16, 0.95));
  box-shadow:
    6px 6px 0 rgba(42, 52, 66, 0.35),
    12px 12px 0 rgba(18, 48, 74, 0.2);
  padding: clamp(20px, 3vw, 32px);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.paper-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 240, 216, 0.55);
  box-shadow:
    8px 8px 0 rgba(42, 52, 66, 0.42),
    14px 14px 0 rgba(18, 48, 74, 0.25);
}

.data-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 48, 74, 0.58), rgba(17, 24, 39, 0.92)),
    var(--well);
  padding: clamp(20px, 3vw, 32px);
}

.data-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(25, 240, 216, 0.12);
}

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

.stat__value {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(25, 240, 216, 0.3);
}

.stat__label {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: #070B11;
  box-shadow: 8px 8px 0 rgba(18, 48, 74, 0.28);
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

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

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 240ms var(--ease), filter 240ms var(--ease);
}

.media-frame:hover .media-frame__img {
  transform: scale(1.02);
  filter: saturate(1) contrast(1.06);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 13, 0.92));
  color: var(--fog);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.media-frame__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border: 1px solid var(--cyan);
  background: rgba(7, 9, 13, 0.82);
  color: var(--cyan);
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  transform: translateY(-180%);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.coordinate-bar {
  border-bottom: 1px solid rgba(42, 52, 66, 0.7);
  background: #05070A;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.coordinate-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.coordinate-bar__inner::-webkit-scrollbar {
  display: none;
}

.coordinate-bar__label {
  color: var(--cyan);
  text-transform: uppercase;
}

.coordinate-bar__path {
  color: var(--paper);
}

.coordinate-bar__signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--gold);
}

.coordinate-bar__signal::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: beaconPulse 2.6s ease-out infinite;
}

@keyframes beaconPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(25, 240, 216, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(25, 240, 216, 0);
  }
}

.command-nav {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(10, 12, 16, 0.92));
}

.command-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--fog);
  text-decoration: none;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(25, 240, 216, 0.14), transparent 62%);
  color: var(--cyan);
  box-shadow: 4px 4px 0 rgba(18, 48, 74, 0.7);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--fog);
}

.brand__meta {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 40px;
  padding: 10px;
  border: 1px solid transparent;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 200ms var(--ease), color 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.nav-link__index {
  color: var(--purple);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 240, 216, 0.35);
  background: rgba(25, 240, 216, 0.07);
  color: var(--fog);
}

.nav-link[aria-current="page"] {
  border-color: var(--line);
  background: rgba(25, 240, 216, 0.08);
  color: var(--cyan);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 10px rgba(25, 240, 216, 0.5);
}

.header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(139, 92, 246, 0.4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.header-cta:hover {
  transform: translateY(-2px);
  border-color: var(--fog);
  background: var(--fog);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(139, 92, 246, 0.55);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.7);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  background: rgba(25, 240, 216, 0.08);
}

.nav-toggle__bars {
  display: inline-grid;
  gap: 4px;
  width: 22px;
  height: 14px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: var(--cyan);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle__label {
  display: inline-block;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(48px, 7vw, 96px) 0 28px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 48, 74, 0.55), transparent 34%),
    linear-gradient(315deg, rgba(139, 92, 246, 0.1), transparent 40%),
    #07090D;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 38%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 16px rgba(25, 240, 216, 0.5);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -60px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(25, 240, 216, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(25, 240, 216, 0.025),
    0 0 0 64px rgba(139, 92, 246, 0.025);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px 24px;
  align-items: start;
}

.footer__brand {
  grid-column: span 3;
}

.footer__column {
  grid-column: span 2;
}

.footer__contact {
  grid-column: span 3;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fog);
  text-decoration: none;
}

.footer__brand-link:hover {
  color: var(--fog);
}

.footer__brand-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--fog);
}

.footer__brand-meta {
  display: block;
  margin-top: 10px;
  color: var(--purple);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.footer__note {
  max-width: 24em;
  margin-top: 16px;
  color: var(--paper);
  font-size: 13px;
  line-height: 1.7;
}

.footer__coordinates {
  margin-top: 18px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.footer__heading {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__list {
  display: grid;
  gap: 9px;
}

.footer__link {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer__text {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.6;
}

.footer__contact-item {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
}

.footer__contact-label {
  color: var(--purple);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.footer__contact-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--fog);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.copy-button {
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: rgba(25, 240, 216, 0.06);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.copy-button:hover {
  border-color: var(--cyan);
  background: rgba(25, 240, 216, 0.12);
}

.copy-button:active {
  transform: translateY(1px);
}

.footer__contact-note {
  margin-top: 14px;
  color: var(--paper);
  font-size: 12px;
  line-height: 1.7;
}

.footer__copy-status {
  min-height: 1.2em;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.footer__copy-status:empty {
  display: none;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(32px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer__legal-line {
  margin: 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.footer__legal-meta {
  margin: 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  box-shadow: 0 0 10px rgba(25, 240, 216, 0.6);
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

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

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: span 6;
  }

  .footer__column {
    grid-column: span 2;
  }

  .footer__contact {
    grid-column: span 6;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 112px;
  }

  #main-content {
    scroll-margin-top: 112px;
  }

  .command-nav__inner {
    min-height: 66px;
    justify-content: space-between;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(7, 9, 13, 0.99));
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35);
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 3px;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 12px;
  }

  .nav-link[aria-current="page"]::after {
    left: auto;
    right: 12px;
    bottom: 8px;
    width: 26px;
  }

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

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

  .site-header[data-open="true"] .command-nav {
    background: #0B1018;
  }
}

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

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

  .footer__brand,
  .footer__column,
  .footer__contact {
    grid-column: 1 / -1;
  }

  .footer__contact {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

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

@media (max-width: 520px) {
  .coordinate-bar__signal {
    display: none;
  }

  .brand__meta {
    display: none;
  }

  .brand__name {
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .nav-toggle__label {
    display: none;
  }

  .footer__brand-name {
    font-size: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .coordinate-bar__signal::before {
    animation: none;
  }

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

  .paper-card:hover,
  .button:hover,
  .header-cta:hover,
  .tag:hover,
  .nav-link:hover {
    transform: none;
  }
}
