:root {
  --navy: #0A1F44;
  --navy-deep: #04102B;
  --navy-soft: #122A52;
  --orange: #FF6B35;
  --orange-deep: #E8551F;
  --gold: #D4AF37;
  --white: #FFFFFF;
  --mist: #F4F6FA;
  --gray-soft: #8A94A6;
  --gray-body: #2E3A59;
  --link-blue: #1E3A6E;
  --blue-tint: #E6EDF7;

  --font-display: Impact, 'Anton', 'Franklin Gothic Bold', 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: Inter, -apple-system, 'Segoe UI', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', 'Cascadia Mono', Consolas, 'Courier New', monospace;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.05);
  --shadow-md: 0 6px 20px rgba(10, 31, 68, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 31, 68, 0.18);

  --header-z: 100;
  --header-topper-h: 2.125rem;
}

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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
}

#main-content {
  flex: 1 0 auto;
  min-height: 60vh;
  scroll-margin-top: calc(var(--header-topper-h) + 4.75rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link-blue);
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
}

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

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

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

.display-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  color: var(--navy);
  margin: 0 0 1.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: var(--navy);
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
  color: var(--gray-body);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}

.field-label::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.coord-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gray-soft);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}

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

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

@media (max-width: 920px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.chapter {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.chapter--alt {
  background: var(--mist);
}

.chapter--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.chapter--navy .section-heading,
.chapter--navy h2,
.chapter--navy h3 {
  color: #fff;
}

.chapter__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gray-soft);
  margin-bottom: 0.75rem;
}

.chapter--navy .chapter__index {
  color: rgba(255, 255, 255, 0.45);
}

.chapter__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.chapter__label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--orange);
}

.chapter__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.04;
  margin: 0 0 1.25rem;
  letter-spacing: 0.012em;
  color: var(--navy);
}

.chapter--navy .chapter__heading {
  color: #fff;
}

.hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(5rem, 12vh, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.28);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.45);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin: 0 0 0.5rem;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-soft);
  letter-spacing: 0.12em;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(10, 31, 68, 0.16);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--link-blue);
  background: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.tag:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.tag[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--blue-tint);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
}

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

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

.media--tall {
  aspect-ratio: 3 / 4;
}

.media img,
.media picture img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
  z-index: 2;
  pointer-events: none;
}

.media::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.index-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}

.index-list li::before {
  content: attr(data-index);
  color: var(--orange);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.table th {
  text-align: left;
  padding: 0.6875rem 1rem;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.table td {
  padding: 0.6875rem 1rem;
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
  color: var(--gray-body);
}

.table tbody tr {
  transition: background-color 0.15s ease;
}

.table tbody tr:hover {
  background: var(--blue-tint);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li {
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "→";
  margin-right: 0.5rem;
  color: var(--gray-soft);
}

.breadcrumbs {
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--gray-soft);
}

.breadcrumbs a {
  color: var(--link-blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

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

.route-lines {
  background-image:
    linear-gradient(to right, rgba(10, 31, 68, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 31, 68, 0.05) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.route-lines--dark {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.prose {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-body);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  color: var(--navy);
  margin: 2.5rem 0 0.875rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.625rem;
}

.prose a {
  color: var(--link-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.prose li {
  margin-bottom: 0.375rem;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--blue-tint);
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -3.5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.625rem 1.25rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--header-z);
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 43, 0.64) 0%, rgba(4, 16, 43, 0.18) 70%, rgba(4, 16, 43, 0) 100%);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.site-header[data-scrolled] {
  background-color: var(--navy);
  box-shadow: 0 2px 20px rgba(4, 16, 43, 0.32);
}

.site-header[data-scrolled]::before {
  opacity: 0;
}

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  z-index: 5;
}

.site-header__topper {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: var(--header-topper-h);
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: height 0.3s ease, opacity 0.3s ease;
}

.site-header[data-scrolled] .site-header__topper {
  height: 0;
  opacity: 0;
}

.live-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 0.5rem;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -0.3125rem;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: live-pulse 2.4s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.site-header__ticker {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__region {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.38);
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

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

.brand__text strong {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.brand__text small {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.brand--footer .brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 1.8vw, 1.75rem);
  margin-inline: auto;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.125rem;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
}

.trust-badge::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--gold);
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem;
  background: var(--orange);
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.version-chip:hover {
  background: var(--orange-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.version-chip__icon {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle__line {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  position: relative;
}

.nav-toggle__line::before,
.nav-toggle__line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.125rem;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle__line::before {
  top: -0.375rem;
}

.nav-toggle__line::after {
  top: 0.375rem;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(255, 107, 53, 0.7);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line::after {
  top: 0;
  transform: rotate(-45deg);
}

@keyframes nav-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-inline: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(4, 16, 43, 0.35);
    padding: 0.375rem 0 0.875rem;
  }

  .site-nav[data-open] {
    display: flex;
    border-top-color: rgba(255, 107, 53, 0.55);
    animation: nav-reveal 0.22s ease-out;
  }

  .site-nav a {
    padding: 0.875rem var(--gutter);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--orange);
  }

  .site-header__actions .trust-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header__region {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand__text small {
    display: none;
  }

  .site-header__bar {
    gap: 0.75rem;
  }

  .version-chip {
    font-size: 0.6875rem;
    padding: 0.375rem 0.625rem;
  }
}

.site-footer {
  position: relative;
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.68);
  padding-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  flex-shrink: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0 24%, var(--gold) 24% 58%, transparent 58%);
  z-index: 2;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-footer__brand,
.site-footer__links,
.site-footer__contact {
  min-width: 0;
}

.site-footer__desc {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 38ch;
}

.site-footer__trust {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.46);
  max-width: 42ch;
}

.footer-heading {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  color: var(--orange);
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.site-footer__links .footer-heading {
  margin-bottom: 0.875rem;
}

.site-footer__links a {
  display: block;
  padding: 0.34375rem 0 0.34375rem 0.875rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--gold);
  border-color: var(--gold);
  padding-left: 1.125rem;
}

.site-footer__links a[aria-current="page"] {
  color: var(--gold);
  border-left-color: var(--gold);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.site-footer__contact-item {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__contact-item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.2rem;
}

.site-footer__contact-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: -0.25rem;
  line-height: 1.6;
}

.site-footer__contact-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem 1.75rem;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  position: relative;
  z-index: 1;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__bottom a:hover {
  color: var(--gold);
}

.site-footer__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

@media (max-width: 920px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    justify-content: flex-start;
    gap: 0.875rem 1.25rem;
  }
}
