:root {
  --ink: #0B0F0D;
  --char: #151B18;
  --signal: #B8FF3D;
  --signal-dim: #7CCB1F;
  --flare: #FF4D1F;
  --paper: #F3EDDF;
  --brown: #2A211B;
  --white: #F7FAF5;
  --grid: #5E6A62;
  --warn: #FFD166;
  --black-70: rgba(11, 15, 13, 0.7);
  --line-soft: rgba(184, 255, 61, 0.16);
  --line-strong: rgba(184, 255, 61, 0.34);
  --white-soft: rgba(247, 250, 245, 0.72);
  --white-faint: rgba(247, 250, 245, 0.48);
  --max: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 76px;
  --ease: 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-condensed: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 88% 0%, rgba(184, 255, 61, 0.075), transparent 28rem),
    linear-gradient(180deg, #0B0F0D 0%, #090C0A 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  background: var(--signal);
  color: var(--ink);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-condensed);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
}

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

ul,
ol {
  padding-left: 1.2em;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  transform: translateY(-160%);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--ease);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  width: min(100%, 1420px);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 10px var(--gutter);
  border: 1px solid rgba(184, 255, 61, 0.18);
  border-top: 0;
  background: linear-gradient(180deg, rgba(11, 15, 13, 0.72), rgba(11, 15, 13, 0.36));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  transition:
    background-color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.header-shell::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: var(--gutter);
  width: clamp(46px, 8vw, 96px);
  height: 1px;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(184, 255, 61, 0.55);
  pointer-events: none;
}

.site-header[data-scrolled="true"] .header-shell {
  border-color: rgba(184, 255, 61, 0.32);
  background: rgba(11, 15, 13, 0.97);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.site-header[data-open="true"] .header-shell {
  border-color: var(--line-strong);
  background: var(--ink);
}

.brand-lockup {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--signal);
  background:
    linear-gradient(135deg, rgba(184, 255, 61, 0.14), transparent 58%),
    rgba(21, 27, 24, 0.72);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(184, 255, 61, 0.3);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--flare);
  transform: rotate(-45deg);
}

.brand-mark-core {
  width: 7px;
  height: 7px;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(184, 255, 61, 0.72);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-condensed);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-suffix {
  margin-top: 5px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.header-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--white-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(184, 255, 61, 0.12);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(21, 27, 24, 0.72);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    border-color var(--ease),
    background-color var(--ease),
    color var(--ease);
}

.nav-toggle:hover {
  border-color: var(--signal);
  background: rgba(184, 255, 61, 0.08);
  color: var(--signal);
}

.nav-toggle-glyph {
  display: grid;
  width: 17px;
  gap: 3px;
}

.nav-toggle-line {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform var(--ease),
    opacity var(--ease);
}

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

.nav-toggle-text {
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.35vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 0;
  color: rgba(247, 250, 245, 0.8);
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--signal);
  box-shadow: 0 0 8px rgba(184, 255, 61, 0.52);
  transition: width var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

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

.nav-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: clamp(12px, 1.6vw, 24px);
  border-left: 1px solid rgba(184, 255, 61, 0.16);
}

.nav-service {
  color: var(--white-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-cta {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 12px;
  white-space: nowrap;
}

.scroll-meter {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(184, 255, 61, 0.66);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease);
}

.button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button-primary {
  border-color: var(--flare);
  background: var(--flare);
  color: var(--ink);
}

.button-primary:hover {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(247, 250, 245, 0.28);
  background: transparent;
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--signal);
  background: rgba(184, 255, 61, 0.07);
  color: var(--signal);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  border-top: 1px solid rgba(184, 255, 61, 0.24);
  background:
    radial-gradient(circle at 12% 100%, rgba(184, 255, 61, 0.07), transparent 28rem),
    linear-gradient(180deg, #0B0F0D 0%, #080B09 100%);
  color: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 255, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 61, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.42;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(24px, 3vw, 36px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.8fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(184, 255, 61, 0.16);
}

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

.footer-brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand-mark {
  position: relative;
  width: 23px;
  height: 23px;
  align-self: center;
  border: 1px solid var(--signal);
  background: rgba(184, 255, 61, 0.08);
}

.footer-brand-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 15px;
  height: 1px;
  background: var(--flare);
  transform: rotate(-45deg);
}

.footer-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--signal);
}

.footer-brand-name {
  font-family: var(--font-condensed);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.footer-brand-suffix {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.footer-summary {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.8;
}

.footer-hours {
  margin-top: 14px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

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

.footer-column-title {
  margin: 0 0 15px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
}

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

.footer-link {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: rgba(247, 250, 245, 0.7);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color var(--ease),
    border-color var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  border-bottom-color: var(--signal);
  color: var(--white);
}

.footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  align-items: start;
  gap: clamp(24px, 4vw, 52px);
  padding-top: 22px;
}

.footer-contact {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--white-faint);
  font-size: 12px;
  line-height: 1.65;
}

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.footer-contact-label {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--white-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.footer-credit,
.footer-icp {
  white-space: nowrap;
}

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

.main-offset {
  padding-top: calc(var(--header-h) + clamp(28px, 6vw, 72px));
}

.page-surface {
  padding-block: clamp(34px, 6vw, 88px);
}

.reading-surface {
  border: 1px solid rgba(42, 33, 27, 0.22);
  background: var(--paper);
  color: var(--brown);
}

.reading-surface :where(a, button, [tabindex]):focus-visible {
  outline-color: var(--flare);
}

.reading-surface .section-kicker {
  color: var(--flare);
}

.reading-surface .section-title {
  color: var(--brown);
}

.reading-surface .lede {
  color: rgba(42, 33, 27, 0.74);
}

.reading-surface .breadcrumb-current {
  color: var(--brown);
}

.reading-surface .breadcrumb-link:hover {
  color: var(--flare);
}

.data-surface {
  background:
    linear-gradient(180deg, rgba(21, 27, 24, 0.96), rgba(11, 15, 13, 0.96));
  color: var(--white);
}

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

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

.span-6 {
  grid-column: span 6;
}

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

.span-12 {
  grid-column: span 12;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.section-kicker {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  max-width: 22ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 70ch;
  margin: 0;
  color: var(--white-soft);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.78;
}

.breadcrumbs {
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grid);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--grid);
}

.breadcrumb-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

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

.breadcrumb-current {
  color: var(--white);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag-signal {
  color: var(--signal);
}

.tag-flare {
  color: var(--flare);
}

.tag-warn {
  color: var(--warn);
}

.data-panel {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(184, 255, 61, 0.18);
  background:
    linear-gradient(180deg, rgba(21, 27, 24, 0.98), rgba(16, 21, 18, 0.98));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(247, 250, 245, 0.03);
  transition:
    border-color var(--ease),
    background-color var(--ease);
}

.data-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--signal);
}

.data-panel:hover,
.data-panel:focus-within {
  border-color: var(--line-strong);
}

.panel-index {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.stack-panel {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(184, 255, 61, 0.16);
  border-top: 2px solid var(--signal);
  background: var(--char);
  color: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(94, 106, 98, 0.3);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--signal);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-table tbody tr {
  transition: background-color var(--ease);
}

.data-table tbody tr:hover,
.data-table tbody tr:focus-within {
  background: rgba(184, 255, 61, 0.07);
}

.index-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(94, 106, 98, 0.28);
  color: inherit;
  text-decoration: none;
  transition:
    color var(--ease),
    border-color var(--ease);
}

.index-link:hover,
.index-link:focus-visible {
  border-bottom-color: var(--signal);
  color: var(--signal);
}

.chapter-nav {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 0;
  align-self: start;
}

.chapter-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(94, 106, 98, 0.28);
  color: var(--white-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--ease);
}

.chapter-link:hover,
.chapter-link[aria-current="true"] {
  color: var(--signal);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 255, 61, 0.2);
  background:
    linear-gradient(135deg, rgba(21, 27, 24, 0.98), rgba(11, 15, 13, 0.98));
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(184, 255, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 61, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.42;
  pointer-events: none;
}

.media-frame__img {
  display: block;
  width: 104%;
  max-width: none;
  height: 100%;
  margin-left: -2%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition:
    transform var(--ease),
    filter var(--ease);
}

.media-frame:hover .media-frame__img {
  transform: translate3d(1.5%, 0, 0);
  filter: saturate(1.05) contrast(1.08);
}

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

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

.media-frame--tilt {
  clip-path: polygon(0 0, 100% 3.5%, 100% 100%, 0 96.5%);
}

.media-frame__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 13, 0.88));
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

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

@media (max-width: 1100px) {
  .header-shell {
    gap: 12px;
  }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-left: 0;
    padding: 18px var(--gutter) 22px;
    border: 1px solid var(--line-strong);
    background: var(--ink);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.44);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity var(--ease),
      transform var(--ease),
      visibility 0s linear var(--ease);
  }

  .site-header[data-open="true"] .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(184, 255, 61, 0.12);
    font-size: 15px;
  }

  .nav-link::after {
    right: auto;
    bottom: 8px;
    left: 0;
    width: 0;
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after,
  .nav-link[aria-current="page"]::after {
    width: 34px;
  }

  .nav-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(184, 255, 61, 0.14);
    border-left: 0;
  }

  .nav-service {
    font-size: 11px;
  }

  .header-cta {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

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

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

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-suffix {
    font-size: 9px;
  }

  .nav-toggle {
    padding: 9px 10px;
  }

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

  .span-4,
  .span-6,
  .span-8 {
    grid-column: 1 / -1;
  }

  .section-title {
    max-width: 100%;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 9px 8px;
  }
}

@media (max-width: 520px) {
  .header-shell {
    padding-block: 8px;
  }

  .brand-lockup {
    gap: 8px;
  }

  .nav-toggle-text {
    display: none;
  }

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

  .footer-brand-link {
    flex-wrap: wrap;
  }

  .footer-credit,
  .footer-icp {
    white-space: normal;
  }
}

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

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

  .media-frame:hover .media-frame__img {
    transform: none;
  }

  .skip-link {
    transition: none;
  }
}
