:root {
  --bg: #050C1E;
  --panel: #0B1B3A;
  --line: #12295C;
  --cyan: #2BF3E4;
  --cyan-deep: #0FD3C6;
  --orange: #FF6B2C;
  --amber: #FFB020;
  --ink: #E8F1FF;
  --ink-soft: #8FA6C9;
  --light: #F5F7FA;
  --rail-width: 88px;
  --header-mobile-height: 68px;
  --content-max: 1440px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Roboto Mono", ui-monospace, monospace;
  --shadow-hard: 6px 6px 0 var(--line);
  --shadow-hard-sm: 4px 4px 0 var(--line);
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 220ms;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  padding-left: var(--rail-width);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(43, 243, 228, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 243, 228, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--cyan-deep);
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .55em;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6.5vw, 96px);
}

h2 {
  font-size: clamp(26px, 3vw, 44px);
}

h3 {
  font-size: clamp(20px, 2vw, 28px);
}

::selection {
  background: var(--cyan);
  color: #04121F;
}

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

main,
#main-content {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  background: var(--cyan);
  box-shadow: 4px 4px 0 #04121F;
  color: #04121F;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

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

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: var(--rail-width);
  background: var(--panel);
  border-right: 3px solid var(--line);
}

.site-header::after {
  content: none;
}

.rail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 8px 14px;
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.rail__brand:hover {
  color: var(--ink);
}

.rail__brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  background: var(--cyan);
  box-shadow: var(--shadow-hard-sm);
  color: #04121F;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.rail__brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rail__brand-name {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.rail__brand-tagline {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 3px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-hard-sm);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

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

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--cyan);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-toggle__text {
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1;
}

.site-header[data-open="true"] .nav-toggle {
  background: var(--cyan);
  color: #04121F;
}

.site-header[data-open="true"] .nav-toggle__bar {
  background: #04121F;
}

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

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

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

.site-nav {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  margin: 0;
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 6px;
  border: 3px solid transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-nav__link:hover {
  border-color: var(--line);
  background: rgba(43, 243, 228, .06);
  color: var(--cyan);
}

.site-nav__link[aria-current="page"] {
  border-color: var(--ink);
  background: var(--cyan);
  box-shadow: 3px 3px 0 var(--line);
  color: #04121F;
}

.site-nav__meta {
  display: none;
}

.rail__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  line-height: 1.2;
}

.rail__status-dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 243, 228, .14);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.rail__status-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.rail__cta {
  display: block;
  width: 100%;
  padding: 14px 6px;
  border: 3px solid var(--ink);
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--line);
  color: #1A0900;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.rail__cta:hover {
  background: var(--amber);
  box-shadow: 1px 1px 0 var(--line);
  color: #1A0900;
  transform: translate(2px, 2px);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 4px;
  background: rgba(18, 41, 92, .45);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
}

.site-footer {
  position: relative;
  margin-top: clamp(56px, 7vw, 120px);
  overflow: hidden;
  border-top: 3px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}

.footer__flare {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--cyan) 0 14px, transparent 14px 28px);
  opacity: .55;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(0, 2fr) minmax(220px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 64px);
}

.footer__brand {
  min-width: 0;
}

.footer__brand-link {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 4px solid var(--cyan);
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}

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

.footer__tagline {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.35;
}

.footer__meta {
  max-width: 32ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.footer__col {
  min-width: 0;
}

.footer__title {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.4;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__link {
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

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

.footer__contact-row {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer__contact-label {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.4;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 72px) 26px;
  border-top: 3px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.footer__copyright,
.footer__icp {
  margin: 0;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}

.footer__legal-link {
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
}

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

.container {
  width: min(100% - clamp(32px, 8vw, 96px), var(--content-max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 120px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 64px);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 3px;
  background: var(--orange);
}

.display {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .98;
}

.lead {
  max-width: 38ch;
  margin: 0 0 1em;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
}

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

.prose {
  max-width: 38em;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
}

.prose a {
  color: var(--cyan);
}

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

.grid--asym {
  grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr);
  align-items: start;
}

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

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 12px 20px;
  border: 3px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow-hard-sm);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover {
  box-shadow: 2px 2px 0 var(--line);
  color: var(--ink);
  transform: translate(2px, 2px);
}

.btn--primary {
  background: var(--cyan);
  color: #04121F;
}

.btn--primary:hover {
  background: var(--cyan-deep);
  color: #04121F;
}

.btn--orange {
  background: var(--orange);
  color: #1A0900;
}

.btn--orange:hover {
  background: var(--amber);
  color: #1A0900;
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  box-shadow: none;
  color: var(--cyan);
  transform: none;
}

.btn--block {
  width: 100%;
}

.breadcrumbs {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--line);
  font-family: var(--font-mono);
}

.breadcrumbs__link {
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
}

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

.breadcrumbs__current {
  color: var(--ink);
  font-weight: 700;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px 18px;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-hard-sm);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.status-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-strip__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 243, 228, .14);
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 4px;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-hard-sm);
}

.segmented__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.segmented__button:hover {
  color: var(--ink);
}

.segmented__button[aria-selected="true"] {
  background: var(--cyan);
  color: #04121F;
}

.segmented__button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.segmented__panel {
  margin-top: 20px;
}

.segmented__panel[hidden],
[data-segmented-panel][hidden] {
  display: none;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-hard);
}

.media-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--cyan) 0 12px, transparent 12px 24px);
  opacity: .7;
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

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

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

.media-frame__caption {
  position: absolute;
  bottom: 18px;
  left: 12px;
  z-index: 1;
  margin: 0;
  padding: 6px 10px;
  border-left: 3px solid var(--orange);
  background: rgba(5, 12, 30, .86);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.panel {
  padding: clamp(20px, 3vw, 32px);
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-hard-sm);
}

.panel--accent {
  border-color: var(--cyan);
  box-shadow: 6px 6px 0 rgba(43, 243, 228, .18);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 9px;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
}

.tag--cyan {
  border-color: var(--ink);
  background: var(--cyan);
  color: #04121F;
}

.tag--orange {
  border-color: var(--ink);
  background: var(--orange);
  color: #1A0900;
}

.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;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(43, 243, 228, .14);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(43, 243, 228, .05);
  }
}

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

  .footer__contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 24px;
    padding-top: 24px;
    padding-left: 0;
    border-top: 3px solid var(--line);
    border-left: 0;
  }

  .footer__contact .footer__title {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
}

@media (max-width: 899px) {
  body {
    padding-left: 0;
  }

  .site-header {
    position: sticky;
    inset: auto;
    top: 0;
    left: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .site-header[data-open="true"]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(5, 12, 30, .72);
  }

  .rail {
    z-index: 230;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    height: auto;
    min-height: var(--header-mobile-height);
    padding: 12px 16px;
  }

  .rail__brand {
    flex-direction: row;
    gap: 10px;
    margin-right: auto;
  }

  .rail__brand-mark {
    width: 38px;
    height: 38px;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--line);
    font-size: 14px;
  }

  .rail__brand-copy {
    align-items: flex-start;
    gap: 2px;
  }

  .rail__brand-name {
    font-size: 15px;
    letter-spacing: .04em;
    line-height: 1.35;
    writing-mode: horizontal-tb;
  }

  .rail__brand-tagline {
    display: block;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .06em;
  }

  .nav-toggle {
    position: relative;
    z-index: 240;
    display: flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    width: min(88vw, 420px);
    max-width: 100%;
    padding: calc(var(--header-mobile-height) + 28px) 24px 28px;
    border-left: 3px solid var(--line);
    background: var(--panel);
    box-shadow: -10px 0 0 rgba(5, 12, 30, .55);
    transform: translateX(102%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
  }

  .site-header[data-open="true"] .site-nav {
    transform: translateX(0);
  }

  .site-nav__list {
    width: 100%;
    gap: 0;
  }

  .site-nav__link {
    justify-content: flex-start;
    min-height: 0;
    padding: 18px 8px;
    border-width: 0 0 2px;
    border-color: var(--line);
    font-size: clamp(22px, 7vw, 34px);
    letter-spacing: .02em;
    line-height: 1.2;
    text-align: left;
    writing-mode: horizontal-tb;
  }

  .site-nav__link:hover {
    background: rgba(43, 243, 228, .08);
  }

  .site-nav__link[aria-current="page"] {
    border-width: 0 0 2px;
    box-shadow: none;
  }

  .site-nav__meta {
    display: block;
    margin-top: auto;
    padding-top: 24px;
    border-top: 2px solid var(--line);
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .rail__status,
  .rail__cta {
    display: none;
  }

  .scroll-progress {
    top: 0;
    bottom: auto;
    height: 3px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    padding: 44px 20px 32px;
  }

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

  .footer__contact {
    display: block;
    padding-top: 22px;
  }

  .footer__contact .footer__title {
    margin-bottom: 14px;
  }

  .footer__legal {
    padding: 18px 20px 24px;
  }

  .footer__legal-links {
    margin-left: 0;
  }

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

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

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

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

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

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

  .segmented {
    display: flex;
    width: 100%;
  }

  .segmented__button {
    flex: 1 1 auto;
  }
}

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

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

  .rail__status-dot {
    animation: none;
  }

  .scroll-progress__bar {
    transition: none;
  }
}
