:root {
  --bg: #060B09;
  --bg-deep: #040806;
  --pitch: #0A1A14;
  --panel: #0F2A20;
  --line: #163D2E;
  --lime: #C9FF3D;
  --orange: #FF9E4A;
  --mist: #E9F4EE;
  --muted: #9FB5A9;
  --cyan: #4DE0C0;
  --white: #F7FFF9;
  --ink: #060B09;
  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-panel: 0 18px 44px rgba(0, 0, 0, 0.26);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--mist);
  background:
    radial-gradient(1200px 620px at 12% -12%, rgba(201, 255, 61, 0.07), transparent 60%),
    radial-gradient(900px 520px at 92% 2%, rgba(77, 224, 192, 0.055), transparent 58%),
    linear-gradient(180deg, #0A1A14 0, #060B09 46%, #040806 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote {
  margin: 0;
}

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

address {
  font-style: normal;
}

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

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

button {
  cursor: pointer;
}

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

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

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(201, 255, 61, 0.045), transparent 24%, transparent 76%, rgba(255, 158, 74, 0.035)),
    rgba(6, 11, 9, 0.92);
  backdrop-filter: blur(18px);
}

.progress-rail {
  height: 2px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(201, 255, 61, 0.08), rgba(77, 224, 192, 0.08));
}

.progress-rail__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  box-shadow: 0 0 12px rgba(201, 255, 61, 0.48);
  transition: width 0.12s linear;
}

.header-utility {
  border-bottom: 1px solid rgba(22, 61, 46, 0.55);
  background: rgba(10, 26, 20, 0.46);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 13px;
}

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

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 255, 61, 0.45);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(201, 255, 61, 0.14), rgba(77, 224, 192, 0.04));
  box-shadow: inset 0 0 20px rgba(201, 255, 61, 0.05), 0 0 24px rgba(201, 255, 61, 0.06);
}

.brand__pitch {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201, 255, 61, 0.55);
}

.brand__pitch::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(201, 255, 61, 0.45);
}

.brand__pitch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(201, 255, 61, 0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.brand__line {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 158, 74, 0.32);
  background: rgba(255, 158, 74, 0.08);
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.version-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 158, 74, 0.75);
  animation: signalPulse 2.4s ease-in-out infinite;
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.utility-link {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

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

.utility-link[aria-current="page"] {
  color: var(--lime);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--lime);
  border-radius: 1px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.2s var(--ease-out), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0 0 22px rgba(201, 255, 61, 0.16);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(15, 42, 32, 0.45);
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(201, 255, 61, 0.6);
  background: rgba(201, 255, 61, 0.12);
  color: var(--lime);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(4px) 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(-4px) rotate(-45deg);
}

.nav-toggle__label {
  white-space: nowrap;
}

.header-nav {
  background: linear-gradient(180deg, rgba(10, 26, 20, 0.72), rgba(6, 11, 9, 0.52));
}

.header-nav__inner {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding-block: 10px 12px;
}

.site-nav {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.nav-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(22, 61, 46, 0.65);
  background: linear-gradient(180deg, rgba(15, 42, 32, 0.52), rgba(10, 26, 20, 0.32));
  color: var(--mist);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-tile:hover {
  border-color: rgba(201, 255, 61, 0.55);
  background: linear-gradient(180deg, rgba(15, 42, 32, 0.85), rgba(10, 26, 20, 0.52));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.nav-tile[aria-current="page"] {
  border-color: rgba(201, 255, 61, 0.7);
  background: linear-gradient(180deg, rgba(201, 255, 61, 0.12), rgba(15, 42, 32, 0.6));
  box-shadow: inset 3px 0 0 var(--lime);
}

.nav-tile__index {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.nav-tile__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.nav-tile__label {
  overflow: hidden;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-tile__hint {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-tile__arrow {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0;
  transform: translate(-2px, 2px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.nav-tile:hover .nav-tile__arrow,
.nav-tile[aria-current="page"] .nav-tile__arrow {
  opacity: 1;
  transform: none;
}

.header-signal {
  display: flex;
  flex: 0 0 152px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(22, 61, 46, 0.65);
}

.header-signal__label {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.header-signal__ticks {
  height: 16px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 2px, transparent 2px 14px);
  opacity: 0.7;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 7vw, 90px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 14% 0, rgba(201, 255, 61, 0.045), transparent 60%),
    linear-gradient(180deg, #07110D 0, #040806 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 61, 46, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 61, 46, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 64%);
  pointer-events: none;
  opacity: 0.35;
}

.footer-top,
.footer-lower {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 64px) 36px;
}

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

.brand--footer .brand__mark {
  flex-basis: 48px;
  width: 48px;
  height: 48px;
}

.brand--footer .brand__name {
  font-size: 22px;
}

.footer-kicker {
  margin-top: 20px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-tagline {
  max-width: 38ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-signal {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 24px;
  margin-top: 18px;
}

.footer-signal span {
  display: block;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--lime), rgba(201, 255, 61, 0.12));
  opacity: 0.7;
}

.footer-signal span:nth-child(1) {
  height: 34%;
}

.footer-signal span:nth-child(2) {
  height: 58%;
}

.footer-signal span:nth-child(3) {
  height: 42%;
}

.footer-signal span:nth-child(4) {
  height: 76%;
}

.footer-signal span:nth-child(5) {
  height: 52%;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.footer-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 61, 46, 0.6);
  background: rgba(15, 42, 32, 0.35);
  color: var(--mist);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease;
}

.footer-tile:hover {
  border-color: rgba(77, 224, 192, 0.5);
  background: rgba(15, 42, 32, 0.62);
  transform: translateY(-2px);
}

.footer-tile[aria-current="page"] {
  border-color: rgba(201, 255, 61, 0.62);
  background: rgba(201, 255, 61, 0.08);
}

.footer-tile__index {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
}

.footer-tile__label {
  overflow: hidden;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-tile__arrow {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.65;
}

.footer-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 28px;
  padding-block: 24px 28px;
  border-top: 1px solid rgba(22, 61, 46, 0.55);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 6px;
}

.footer-contact__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.footer-contact__label {
  min-width: 56px;
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact__value {
  overflow-wrap: anywhere;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.footer-address {
  max-width: 56ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  text-align: right;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-link {
  border-bottom: 1px solid transparent;
  color: var(--mist);
  font-size: 12px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.footer-copy {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.footer-icp {
  color: rgba(159, 181, 169, 0.8);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.page-main {
  display: block;
  min-height: 60vh;
}

.page-section {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px);
}

.page-section + .page-section {
  border-top: 1px solid rgba(22, 61, 46, 0.45);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 32px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(201, 255, 61, 0.5);
}

.section-title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--lime {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 rgba(201, 255, 61, 0);
  color: var(--ink);
}

.btn--lime:hover {
  box-shadow: 0 0 24px rgba(201, 255, 61, 0.18);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--mist);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.breadcrumb {
  transition: color 0.2s ease;
}

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

.breadcrumb__sep {
  color: rgba(159, 181, 169, 0.52);
}

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

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(15, 42, 32, 0.78), rgba(8, 20, 15, 0.82));
  box-shadow: var(--shadow-panel);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(22, 61, 46, 0.8);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(255, 158, 74, 0.42);
  border-radius: 2px;
  background: rgba(255, 158, 74, 0.08);
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #08140F;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 255, 61, 0.12);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(201, 255, 61, 0.14) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(201, 255, 61, 0.14) 50%, transparent 50.2%);
  pointer-events: none;
}

.media-frame--turf::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 255, 61, 0.12), transparent 22%),
    repeating-linear-gradient(90deg, rgba(201, 255, 61, 0.04) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(201, 255, 61, 0.04) 0 1px, transparent 1px 56px),
    linear-gradient(135deg, #0A1A14, #06100C);
}

.media-frame--grid::before {
  background:
    repeating-linear-gradient(90deg, rgba(77, 224, 192, 0.12) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(77, 224, 192, 0.12) 0 1px, transparent 1px 28px),
    radial-gradient(circle at 74% 18%, rgba(255, 158, 74, 0.12), transparent 30%),
    linear-gradient(145deg, #0B1D16, #06100C);
}

.media-frame--trajectory::before {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(77, 224, 192, 0.12), transparent 38%),
    repeating-linear-gradient(115deg, transparent 0 30px, rgba(77, 224, 192, 0.05) 30px 31px),
    linear-gradient(150deg, #0B1D16, #06100C);
}

.media-frame__caption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(6, 11, 9, 0.68);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

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

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

[data-chapter-link] {
  transition: color 0.2s ease, border-color 0.2s ease;
}

[data-chapter-link][aria-current="true"] {
  border-color: rgba(201, 255, 61, 0.6);
  color: var(--lime);
}

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

  .header-nav__inner {
    gap: 0;
  }
}

@media (max-width: 1120px) {
  .site-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .utility-nav,
  .header-cta {
    display: none;
  }

  .brand__line {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-nav[data-open="true"] {
    display: grid;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(22, 61, 46, 0.65);
    background: linear-gradient(180deg, rgba(10, 26, 20, 0.96), rgba(6, 11, 9, 0.98));
  }

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

  .header-nav__inner {
    display: block;
    padding-block: 0;
  }

  .nav-tile {
    padding: 11px 12px;
  }

  .layout-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

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

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

  .footer-legal {
    align-items: flex-start;
    text-align: left;
  }

  .footer-legal__links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1280px, calc(100% - 32px));
  }

  .header-utility__inner {
    gap: 12px;
  }

  .version-chip {
    display: none;
  }

  .brand__line {
    display: none;
  }

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

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

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

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

  .footer-contact__line {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

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

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 24px);
  }

  .header-utility__inner {
    padding-block: 11px;
  }

  .brand__mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 17px;
  }

  .header-meta {
    gap: 8px;
  }

  .nav-toggle__label {
    display: none;
  }

  .footer-top {
    padding-block: 36px 28px;
  }
}

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

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

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