:root {
  color-scheme: dark;
  --night-900: #060C18;
  --night-800: #0B1626;
  --night-700: #112136;
  --line-600: #1E3550;
  --route: #B6FF3B;
  --route-deep: #4E8F1F;
  --copper: #D7A05F;
  --copper-soft: #F2CFA2;
  --text: #F4F8FD;
  --muted: #A8B8CA;
  --dim: #6F8199;
  --coral: #FF7A6B;
  --font-display: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --rail: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% -12%, rgba(182, 255, 59, .055), transparent 26rem),
    var(--night-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

ul,
ol {
  margin-top: 0;
}

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

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

button {
  color: inherit;
}

a {
  color: var(--route);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

a:hover {
  color: var(--copper-soft);
}

::selection {
  background: var(--route);
  color: #08110B;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--route);
  outline-offset: 3px;
}

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

.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: 10px;
  left: 10px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--route);
  background: var(--route);
  color: #08110B;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .16s var(--ease), background-color .16s var(--ease);
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--route), transparent);
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  line-height: 1.4;
}

.section-index__num {
  display: inline-grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(215, 160, 95, .55);
  color: var(--route);
  font-size: 12px;
  letter-spacing: 0;
}

.route-note {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.route-note::before {
  content: "";
  position: absolute;
  inset: .35em auto .35em 0;
  width: 2px;
  background: linear-gradient(var(--route), var(--route-deep));
}

.breadcrumb {
  margin: 0 0 24px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.5;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line-600);
}

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

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

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

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line-600);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}

.button:hover {
  border-color: var(--route);
  color: var(--route);
  transform: translateY(-1px);
}

.button--route {
  border-color: var(--route);
  background: var(--route);
  color: #08110B;
  box-shadow: 0 0 0 1px rgba(182, 255, 59, .12), 0 10px 28px rgba(78, 143, 31, .16);
}

.button--route:hover {
  border-color: #C9FF6C;
  background: #C9FF6C;
  color: #08110B;
  transform: translate(-1px, -1px);
}

.button--ghost {
  border-color: rgba(168, 184, 202, .34);
  background: rgba(11, 22, 38, .42);
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line-600);
  background: rgba(17, 33, 54, .72);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}

.tag--route {
  border-color: rgba(182, 255, 59, .44);
  background: rgba(182, 255, 59, .08);
  color: var(--route);
}

.tag--copper {
  border-color: rgba(215, 160, 95, .46);
  background: rgba(215, 160, 95, .08);
  color: var(--copper-soft);
}

.index-bar {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line-600);
  background: rgba(11, 22, 38, .72);
  box-shadow: inset 0 1px rgba(244, 248, 253, .025);
  scrollbar-width: thin;
}

.index-bar__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  transition: border-color .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease);
}

.index-bar__link:hover,
.index-bar__link[aria-current="true"] {
  border-color: rgba(182, 255, 59, .34);
  background: rgba(182, 255, 59, .07);
  color: var(--route);
}

.route-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line-600);
  border-radius: 2px;
  background:
    linear-gradient(148deg, rgba(17, 33, 54, .88), rgba(11, 22, 38, .92)),
    var(--night-800);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
}

.route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 2.4vw, 30px);
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--route), var(--copper));
}

.route-card__meta {
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.route-card__title {
  margin: 12px 0 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.18;
}

.route-card__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-600);
  background:
    linear-gradient(rgba(30, 53, 80, .26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 53, 80, .26) 1px, transparent 1px),
    var(--night-700);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: inset 0 0 0 1px rgba(244, 248, 253, .025);
}

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

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

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

.media-frame__caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(6, 12, 24, .9) 0%, rgba(6, 12, 24, .64) 56%, rgba(6, 12, 24, 0) 100%);
  color: var(--text);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), backdrop-filter .2s var(--ease);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line-600);
  background: rgba(11, 22, 38, .96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.route-progress {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  overflow: hidden;
  background: rgba(30, 53, 80, .45);
}

.route-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--route-deep), var(--route));
  box-shadow: 0 0 12px rgba(182, 255, 59, .72);
  transition: width .08s linear;
}

.header-rail {
  display: grid;
  width: min(calc(100% - var(--gutter) * 2), var(--rail));
  min-height: var(--header-h);
  align-items: center;
  margin-inline: auto;
  grid-template-columns: minmax(198px, .9fr) minmax(0, 2.4fr) auto;
  gap: clamp(12px, 2.2vw, 34px);
}

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

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

.brand__mark {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(215, 160, 95, .58);
  background:
    linear-gradient(145deg, rgba(215, 160, 95, .13), rgba(17, 33, 54, .72));
  box-shadow: inset 0 0 0 1px rgba(6, 12, 24, .4);
  transform: skewX(-8deg);
}

.brand__mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--route), transparent);
  transform: translateY(-50%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--copper);
  border-right: 1px solid var(--copper);
}

.brand__node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--route);
  box-shadow: 0 0 0 4px rgba(182, 255, 59, .1), 0 0 16px rgba(182, 255, 59, .6);
  transform: translate(-50%, -50%);
}

.brand__type {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.brand__name {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
  white-space: nowrap;
}

.brand__tag {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .13em;
  line-height: 1.25;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line-600);
  border-radius: 2px;
  background: rgba(17, 33, 54, .68);
  color: var(--text);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--route);
  background: rgba(17, 33, 54, .94);
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform .16s var(--ease), opacity .16s var(--ease);
}

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

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

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

.primary-nav {
  position: relative;
  min-width: 0;
}

.primary-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 53, 80, .84) 12%, rgba(30, 53, 80, .84) 88%, transparent);
  pointer-events: none;
}

.primary-nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.55vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 10px 1px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--route);
  box-shadow: 0 0 10px rgba(182, 255, 59, .38);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .16s var(--ease);
}

.nav-link__num {
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

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

.header-utilities {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.quick-route {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-600);
  background: rgba(17, 33, 54, .52);
}

.quick-route__link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid var(--line-600);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}

.quick-route__link:first-child {
  border-left: 0;
}

.quick-route__link:hover {
  background: rgba(182, 255, 59, .08);
  color: var(--route);
}

.header-cta {
  white-space: nowrap;
}

.route-dock {
  display: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-600);
  background:
    radial-gradient(circle at 12% -10%, rgba(182, 255, 59, .08), transparent 28rem),
    radial-gradient(circle at 92% 22%, rgba(215, 160, 95, .065), transparent 24rem),
    var(--night-900);
  color: var(--muted);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 53, 80, .32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 53, 80, .32) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .18;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper) 20%, var(--route) 58%, transparent);
  opacity: .58;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--rail));
  margin-inline: auto;
  padding: clamp(52px, 7vw, 96px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(118px, .72fr)) minmax(250px, 1.22fr);
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(36px, 5vw, 58px);
  border-bottom: 1px solid var(--line-600);
}

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

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

.footer-brand__link:hover {
  color: var(--text);
}

.footer-brand__signal {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(215, 160, 95, .62);
  background: rgba(215, 160, 95, .08);
}

.footer-brand__signal::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  left: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--route), transparent);
}

.footer-brand__signal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--route);
  box-shadow: 0 0 0 4px rgba(182, 255, 59, .08), 0 0 16px rgba(182, 255, 59, .48);
  transform: translate(-50%, -50%);
}

.footer-brand__name {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.footer-brand__claim {
  max-width: 24em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.footer-col {
  min-width: 0;
}

.footer-col__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-col__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color .16s var(--ease), transform .16s var(--ease);
}

.footer-link:hover {
  color: var(--route);
  transform: translateX(2px);
}

.footer-contact {
  min-width: 0;
}

.footer-contact__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.footer-contact__item {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(30, 53, 80, .72);
}

.footer-contact__item:first-child {
  padding-top: 0;
}

.footer-contact__term {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .13em;
  line-height: 1.5;
}

.footer-contact__value {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

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

.footer-legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal__link {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.footer-legal__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: var(--route);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .16s var(--ease);
}

.footer-legal__link:hover {
  color: var(--text);
}

.footer-legal__link:hover::after {
  transform: scaleX(1);
}

.footer-legal__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.6;
  text-align: right;
  white-space: nowrap;
}

.footer-icp {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .quick-route {
    display: none;
  }

  .header-rail {
    grid-template-columns: minmax(190px, .8fr) minmax(0, 2.55fr) auto;
    gap: 16px;
  }
}

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

  body {
    padding-bottom: 68px;
  }

  .site-header {
    background: linear-gradient(180deg, rgba(6, 12, 24, .94) 0%, rgba(6, 12, 24, .8) 100%);
  }

  .header-rail {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__tag {
    font-size: 9px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-utilities {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: var(--gutter);
    left: var(--gutter);
    z-index: 110;
    padding: 10px;
    border: 1px solid var(--line-600);
    background: rgba(11, 22, 38, .985);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .38), inset 0 1px rgba(244, 248, 253, .035);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s var(--ease);
  }

  .primary-nav::before {
    display: none;
  }

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

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

  .nav-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    border-bottom: 1px solid var(--line-600);
    font-size: 15px;
  }

  .primary-nav__list li:last-child .nav-link {
    border-bottom: 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    background: rgba(182, 255, 59, .06);
    color: var(--route);
  }

  .nav-link__num {
    order: 2;
    color: var(--copper);
    font-size: 11px;
  }

  .route-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line-600);
    background: rgba(11, 22, 38, .985);
    box-shadow: 0 -14px 34px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
  }

  .route-dock__link {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-left: 1px solid var(--line-600);
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background-color .16s var(--ease), color .16s var(--ease);
  }

  .route-dock__link:first-child {
    border-left: 0;
  }

  .route-dock__link:hover,
  .route-dock__link[aria-current="page"] {
    background: rgba(182, 255, 59, .07);
    color: var(--route);
  }

  .route-dock__num {
    color: var(--copper);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0;
  }

  .route-dock__label {
    line-height: 1;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact {
    padding-top: 6px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 14px;
  }

  .footer-legal__meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand__mark::before {
    width: 20px;
  }

  .brand__tag {
    display: none;
  }

  .route-dock__link {
    min-height: 54px;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
  }

  .route-dock__num {
    font-size: 9px;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-brand__claim {
    margin-top: 14px;
  }

  .footer-legal__links {
    gap: 8px 14px;
  }

  .route-card {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  .primary-nav {
    right: 12px;
    left: 12px;
  }

  .brand__name {
    font-size: 18px;
  }

  .footer-legal__meta {
    white-space: normal;
  }
}

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

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

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

  .route-progress__bar {
    transition: none;
  }
}
