:root {
  --c-bg: #06120F;
  --c-panel: #0B1E33;
  --c-panel-2: #102B33;
  --c-line: #1E4A4F;
  --c-accent: #37F0D0;
  --c-accent-strong: #6FF6DF;
  --c-amber: #FFB648;
  --c-text: #E8F4F1;
  --c-muted: #9DB6B4;
  --c-hot: #FF6B4A;
  --c-paper: #F2F7F5;
  --c-paper-ink: #14211F;
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --grid: 8px;
  --radius-0: 2px;
  --radius-pill: 999px;
  --shadow-header: 0 14px 36px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(55, 240, 208, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    linear-gradient(rgba(30, 74, 79, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 74, 79, 0.12) 1px, transparent 1px),
    radial-gradient(ellipse at 82% -8%, rgba(55, 240, 208, 0.10), transparent 42%),
    radial-gradient(ellipse at 8% 18%, rgba(11, 30, 51, 0.85), transparent 55%);
  background-size: var(--grid) var(--grid), var(--grid) var(--grid), 100% 100%, 100% 100%;
}

main {
  display: block;
  padding-top: 96px;
}

#main-content {
  scroll-margin-top: 92px;
}

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

button {
  font: inherit;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-text);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--c-text);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

h4 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

strong {
  color: var(--c-text);
}

::selection {
  background: var(--c-accent);
  color: var(--c-bg);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: var(--radius-0);
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
  transition: padding 0.22s var(--ease);
}

.header-rail {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  min-height: 60px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav status";
  align-items: center;
  gap: 18px;
  padding: 7px 12px 7px 14px;
  pointer-events: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(11, 30, 51, 0.97), rgba(6, 18, 15, 0.92));
  box-shadow: var(--shadow-header);
  transition: min-height 0.22s var(--ease), border-radius 0.22s var(--ease), background 0.22s var(--ease);
}

.header-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 36px;
  height: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.7;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 6px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--c-accent);
  border-radius: var(--radius-0);
  background: rgba(55, 240, 208, 0.06);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: width 0.22s var(--ease), height 0.22s var(--ease), border-color 0.16s var(--ease);
}

.brand:hover .brand-mark {
  border-color: var(--c-amber);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.brand-name {
  overflow: hidden;
  color: var(--c-text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 4px;
  overflow: hidden;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-toggle {
  display: none;
  grid-area: toggle;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 42px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: rgba(16, 43, 51, 0.65);
  color: var(--c-text);
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.18s var(--ease), top 0.18s var(--ease);
}

.nav-toggle__bars::before {
  top: 1px;
}

.nav-toggle__bars::after {
  top: 8px;
}

.nav-toggle__text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-header[data-open="true"] .nav-toggle {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.site-header[data-open="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

.site-nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-color: var(--c-line) transparent;
  scrollbar-width: thin;
}

.nav-link {
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.nav-link:hover {
  border-color: rgba(55, 240, 208, 0.28);
  background: rgba(55, 240, 208, 0.08);
  color: var(--c-text);
  transform: translateY(-2px);
}

.nav-link[aria-current="page"] {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 800;
}

.header-status {
  grid-area: status;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid var(--c-line);
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.status-led {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(55, 240, 208, 0.14);
}

.status-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.status-key {
  color: var(--c-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.status-val {
  color: var(--c-text);
  font-weight: 600;
}

.status-val--time {
  color: var(--c-amber);
}

.status-sep {
  width: 1px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--c-line);
}

.header-meter {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 3px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--c-accent) 0 var(--scroll-progress, 0%),
    rgba(55, 240, 208, 0.12) var(--scroll-progress, 0%) 100%
  );
  opacity: 0.85;
}

.site-header[data-condensed="true"] {
  padding-top: 6px;
}

.site-header[data-condensed="true"] .header-rail {
  min-height: 48px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-color: rgba(55, 240, 208, 0.28);
}

.site-header[data-condensed="true"] .brand-mark {
  width: 32px;
  height: 32px;
}

.site-header[data-condensed="true"] .brand-sub {
  opacity: 0;
  transform: translateY(-3px);
}

.site-header[data-condensed="true"] .nav-link {
  padding-top: 7px;
  padding-bottom: 7px;
}

.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--c-line);
  background:
    linear-gradient(180deg, rgba(11, 30, 51, 0.9), rgba(6, 18, 15, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(55, 240, 208, 0.025) 31px 32px);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  opacity: 0.7;
}

.footer-inner {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--shell);
  margin-inline: auto;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

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

.footer-block + .footer-block {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid rgba(30, 74, 79, 0.55);
}

.footer-nav,
.footer-contact,
.footer-legal {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--c-text);
  text-decoration: none;
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--c-amber);
  border-radius: var(--radius-0);
  background: rgba(255, 182, 72, 0.06);
  color: var(--c-amber);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

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

.footer-brand__name {
  color: var(--c-text);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-brand__sub {
  margin-top: 5px;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  color: var(--c-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}

.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border: 1px solid var(--c-line);
  transform: rotate(45deg);
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-links a:hover {
  color: var(--c-text);
  transform: translateX(2px);
}

.footer-links a:hover::before {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.footer-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.track-link {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-0);
  background: rgba(16, 43, 51, 0.4);
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.track-link:hover {
  border-color: var(--c-accent);
  background: rgba(55, 240, 208, 0.08);
  color: var(--c-accent);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(30, 74, 79, 0.55);
}

.contact-key {
  padding-top: 4px;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-val {
  color: var(--c-text);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-note {
  margin: 14px 0 0;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.7;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: var(--c-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.legal-link::before {
  content: "//";
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 10px;
}

.legal-link:hover {
  color: var(--c-text);
}

.icp {
  margin: 18px 0 0;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-note {
  margin: 8px 0 0;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}

.footer-sig {
  margin: 0;
  color: var(--c-muted);
  font-size: 12px;
}

.footer-version {
  margin: 0;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.shell {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(40px, 6vw, 88px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid var(--c-accent);
  transform: rotate(45deg);
}

.display-title {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.lede {
  max-width: 38em;
  color: var(--c-muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.75;
}

.vertical-note {
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 20px);
}

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

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
}

.split--7-5 {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split--5-7 {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.panel {
  position: relative;
  padding: clamp(18px, 2.5vw, 30px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-0);
  background: linear-gradient(180deg, rgba(11, 30, 51, 0.74), rgba(6, 18, 15, 0.6));
}

.panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 28px;
  height: 2px;
  background: var(--c-accent);
}

.panel--inset {
  background: var(--c-panel-2);
}

.scoreboard {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--c-amber);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(30, 74, 79, 0.55);
  color: var(--c-text);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(16, 43, 51, 0.48);
}

.data-table tbody tr:hover {
  background: rgba(55, 240, 208, 0.06);
}

.media-frame {
  --ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-0);
  background-color: var(--c-panel-2);
  background-image:
    linear-gradient(rgba(30, 74, 79, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 74, 79, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

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

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

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 15, 0.88));
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: rgba(16, 43, 51, 0.55);
  color: var(--c-muted);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.chip:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
  transform: translateY(-2px);
}

.chip[aria-pressed="true"] {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-0);
  background: transparent;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.btn:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

.btn--solid {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: var(--c-bg);
}

.btn--solid:hover {
  background: var(--c-accent-strong);
  color: var(--c-bg);
}

.btn--ghost {
  border-color: rgba(55, 240, 208, 0.38);
  background: rgba(55, 240, 208, 0.06);
  color: var(--c-accent);
}

.btn--quiet {
  min-height: 36px;
  padding: 6px 4px;
  border-color: transparent;
  color: var(--c-accent);
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.breadcrumb__list li + li::before {
  content: "/";
  color: var(--c-line);
}

.breadcrumb__list a {
  color: var(--c-muted);
  text-decoration: none;
}

.breadcrumb__list a:hover {
  color: var(--c-accent);
}

.prose {
  max-width: 68ch;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.8;
}

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

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

.prose--paper {
  max-width: 78ch;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #d5e1dc;
  background: var(--c-paper);
  color: var(--c-paper-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.prose--paper h2,
.prose--paper h3 {
  color: var(--c-paper-ink);
}

.prose--paper a {
  color: #0a6258;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

@media (max-width: 960px) {
  main {
    padding-top: 84px;
  }

  #main-content {
    scroll-margin-top: 82px;
  }

  .site-header {
    padding-top: 8px;
  }

  .header-rail {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand status toggle"
      "nav nav nav";
    gap: 8px;
    min-height: 52px;
    padding: 6px 8px 6px 10px;
    border-radius: 18px;
  }

  .header-rail::after {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

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

  .brand-sub {
    display: none;
  }

  .header-status {
    justify-self: end;
    gap: 6px;
    padding-left: 0;
    border-left: 0;
    font-size: 10px;
  }

  .status-key {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

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

  .site-nav {
    grid-area: nav;
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding: 8px 0 2px;
    border-top: 1px solid rgba(30, 74, 79, 0.8);
  }

  .site-header[data-open="true"] .site-nav {
    display: block;
  }

  .nav-list {
    justify-content: flex-start;
    gap: 4px;
    padding: 2px 0 4px;
  }

  .nav-link {
    padding: 9px 12px;
    border-color: rgba(30, 74, 79, 0.5);
    font-size: 12px;
  }

  .header-meter {
    left: 16px;
    right: 16px;
    bottom: 3px;
  }

  .site-header[data-condensed="true"] .header-rail {
    min-height: 48px;
  }

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

  .footer-legal {
    grid-column: 1 / -1;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(30, 74, 79, 0.55);
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .span-3,
  .span-4,
  .span-5,
  .span-7 {
    grid-column: span 6;
  }

  .span-8,
  .span-9 {
    grid-column: span 12;
  }
}

@media (max-width: 800px) {
  .split,
  .split--7-5,
  .split--5-7 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-rail {
    gap: 6px;
  }

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

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

  .header-status {
    gap: 4px;
    font-size: 9px;
  }

  .status-key {
    display: none;
  }

  .status-sep {
    height: 8px;
  }

  .nav-toggle {
    min-width: 38px;
    min-height: 36px;
    padding: 5px 8px;
  }

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

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

  .footer-block + .footer-block {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid rgba(30, 74, 79, 0.55);
    border-left: 0;
  }

  .footer-legal {
    padding-top: 24px;
    border-top: 1px solid rgba(30, 74, 79, 0.55);
  }

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

  .grid-12 > [class*="span-"] {
    grid-column: 1 / -1;
  }
}

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

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

  .btn:hover,
  .nav-link:hover,
  .chip:hover,
  .footer-links a:hover {
    transform: none;
  }
}
