:root {
  color-scheme: light;
  --graphite: #15171c;
  --graphite-2: #23262d;
  --porcelain: #f5f1e8;
  --paper: #fffdf8;
  --coral: #f36a4a;
  --coral-dark: #a93b26;
  --teal: #397b73;
  --teal-dark: #24534e;
  --powder: #b9c9e7;
  --steel: #b9c0c2;
  --ink-muted: #595b61;
  --line: #d6d0c6;
  --success: #1f6a4c;
  --danger: #a53127;
  --rail: 176px;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(21, 23, 28, 0.16);
  --focus: 0 0 0 4px #fffdf8, 0 0 0 7px #397b73;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--porcelain);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-dark);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

::selection {
  color: var(--paper);
  background: var(--teal-dark);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--graphite);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.switchboard {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background: var(--graphite);
  border-right: 1px solid #363941;
}

.rail-brand {
  display: block;
  padding: 1.2rem 1rem 1.35rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #363941;
}

.rail-brand img {
  width: 138px;
  height: auto;
}

.rail-kicker,
.eyebrow,
.port-code,
.micro-label,
.station-code,
.legal-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-kicker {
  display: block;
  margin-top: 0.6rem;
  color: var(--steel);
}

.rail-nav {
  display: grid;
  gap: 0.15rem;
  padding: 1.25rem 0.75rem;
}

.rail-nav a {
  position: relative;
  min-height: 48px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.45rem;
  color: #e8e4db;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.port-dot {
  width: 15px;
  height: 15px;
  border: 2px solid var(--steel);
  background: transparent;
}

.rail-nav a:nth-child(2) .port-dot { border-color: var(--coral); }
.rail-nav a:nth-child(3) .port-dot { border-color: var(--teal); }
.rail-nav a:nth-child(4) .port-dot { border-color: var(--powder); }
.rail-nav a:nth-child(5) .port-dot { border-color: #e0c69b; }

.rail-nav a:hover,
.rail-nav a[aria-current="page"] {
  color: #fff;
  background: var(--graphite-2);
}

.rail-nav a[aria-current="page"] .port-dot {
  background: currentColor;
  box-shadow: inset 0 0 0 3px var(--graphite-2);
}

.rail-bottom {
  margin-top: auto;
  padding: 1rem;
  color: var(--steel);
  font-size: 0.73rem;
  line-height: 1.45;
  border-top: 1px solid #363941;
}

.rail-bottom a {
  color: var(--paper);
}

.mobile-bar,
.mobile-drawer {
  display: none;
}

.site-shell {
  min-height: 100vh;
  margin-left: var(--rail);
  overflow: clip;
}

.transparency-bar {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 38px;
  padding: 0.5rem 4vw;
  color: var(--paper);
  background: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.transparency-bar::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--coral);
}

main {
  min-height: 60vh;
}

.hero {
  position: relative;
  min-height: min(900px, calc(100vh - 38px));
  display: grid;
  align-items: center;
  isolation: isolate;
  background: var(--graphite) url("../img/evidence-exchange.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(21,23,28,0.98) 0%, rgba(21,23,28,0.9) 38%, rgba(21,23,28,0.34) 67%, rgba(21,23,28,0.05) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8vw;
  bottom: 4.2rem;
  width: min(460px, 48vw);
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0 18%, var(--powder) 18% 52%, var(--teal) 52% 100%);
}

.hero-content {
  width: min(780px, 92%);
  padding: clamp(5rem, 11vh, 8rem) 0 clamp(7rem, 14vh, 10rem) 8vw;
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--powder);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 9px;
  background: var(--coral);
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 780;
  line-height: 0.99;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.45rem;
  font-size: clamp(3rem, 7vw, 7rem);
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.hero-lead {
  max-width: 62ch;
  margin: 0 0 2rem;
  color: #e3dfd6;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.action,
.action:visited,
button.action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  color: var(--graphite);
  background: var(--coral);
  border: 2px solid var(--coral);
  border-radius: 999px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.action:hover {
  color: var(--graphite);
  background: #ff8064;
  transform: translateY(-2px);
}

.action--ghost,
.action--ghost:visited {
  color: var(--paper);
  background: transparent;
  border-color: #7f838c;
}

.action--ghost:hover {
  color: var(--paper);
  background: rgba(255,255,255,0.08);
}

.action--dark,
.action--dark:visited {
  color: var(--paper);
  background: var(--graphite);
  border-color: var(--graphite);
}

.action[disabled],
button[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.hero-note,
.small-note {
  max-width: 65ch;
  margin: 1rem 0 0;
  color: #cbc8c0;
  font-size: 0.82rem;
}

.content-wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.dispatch-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.dispatch-section--dark {
  color: var(--paper);
  background: var(--graphite);
  border-color: #343740;
}

.dispatch-section--teal {
  color: var(--paper);
  background: var(--teal-dark);
  border-color: transparent;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.section-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.dispatch-section--dark .section-head p,
.dispatch-section--teal .section-head p {
  color: #d7d3ca;
}

.route-list {
  border-top: 2px solid currentColor;
}

.route-row {
  display: grid;
  grid-template-columns: 90px minmax(180px, 0.8fr) minmax(280px, 1.5fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.dispatch-section--dark .route-row,
.dispatch-section--teal .route-row {
  border-color: #444751;
}

.route-row h3,
.route-row p {
  margin: 0;
}

.route-row p {
  color: var(--ink-muted);
}

.dispatch-section--dark .route-row p,
.dispatch-section--teal .route-row p {
  color: #c9c5bd;
}

.port-code {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.port-code::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--coral);
  border: 4px solid currentColor;
}

.station-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--graphite);
  border: 1px solid var(--graphite);
}

.station {
  min-height: 260px;
  padding: 1.5rem;
  background: var(--paper);
}

.station:nth-child(2) { background: #f3dfd7; }
.station:nth-child(3) { background: #dce9e6; }
.station:nth-child(4) { background: #e3e8f3; }

.station-code {
  display: block;
  margin-bottom: 3.5rem;
}

.station h3 {
  margin-bottom: 0.8rem;
}

.station p {
  margin-bottom: 0;
}

.claim-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  border: 1px solid var(--graphite);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.claim-source {
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--paper);
  background: var(--graphite);
}

.claim-source blockquote {
  margin: 1rem 0 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.claim-checks {
  display: grid;
}

.claim-check {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.claim-check:last-child {
  border-bottom: 0;
}

.claim-check b {
  color: var(--coral-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.claim-check h3,
.claim-check p {
  margin: 0;
}

.claim-check p {
  margin-top: 0.35rem;
  color: var(--ink-muted);
}

.method-visual {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  min-height: 560px;
  color: var(--paper);
  background: var(--graphite);
}

.method-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.method-copy p {
  color: #d4d0c8;
}

.tool-panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--paper);
  background: var(--graphite);
  border: 1px solid #3e4149;
  overflow: hidden;
}

.tool-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 14px;
  border: 1px solid rgba(185, 201, 231, 0.18);
}

.tool-panel > * {
  position: relative;
  z-index: 1;
}

.tool-panel h2,
.tool-panel h3 {
  max-width: 20ch;
}

.tool-panel p {
  color: #d1cec7;
}

.dispatch-console {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-top: 2rem;
}

.console-controls,
.console-screen {
  padding: 1.5rem;
  background: #20232a;
  border: 1px solid #4b4f59;
}

fieldset {
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 0.75rem;
  font-weight: 760;
}

.choice-stack {
  display: grid;
  gap: 0.55rem;
}

.choice {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  color: var(--paper);
  background: #2b2e35;
  border: 1px solid #555a65;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--powder);
}

.choice input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--coral);
}

.route-map {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.route-line {
  position: absolute;
  top: 50%;
  left: 46px;
  right: 30px;
  height: 10px;
  background: #6d727c;
  transform: translateY(-50%);
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 98px;
  top: -44px;
  background: inherit;
}

.route-line::before { left: 33%; }
.route-line::after { left: 66%; }

.capsule {
  position: absolute;
  z-index: 2;
  top: calc(50% - 16px);
  left: 48px;
  width: 58px;
  height: 32px;
  background: var(--coral);
  border: 4px solid var(--graphite);
  border-radius: 999px;
  transition: left 500ms cubic-bezier(.2,.8,.2,1), background 300ms ease;
}

.route-map[data-step="1"] .capsule { left: 28%; }
.route-map[data-step="2"] .capsule { left: 52%; background: var(--powder); }
.route-map[data-step="3"] .capsule { left: 76%; background: #73b4a8; }
.route-map[data-step="4"] .capsule { left: calc(100% - 72px); background: #e0c69b; }

.route-ports {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.route-port {
  min-height: 112px;
  display: grid;
  place-items: end center;
  padding: 0.75rem 0.35rem;
  color: #d7d8da;
  background: #292c33;
  border: 1px solid #555a65;
  font-size: 0.75rem;
  font-weight: 750;
  text-align: center;
}

.route-port.is-active {
  color: #fff;
  border-color: var(--coral);
  box-shadow: inset 0 0 0 2px var(--coral);
}

.screen-result {
  min-height: 92px;
  margin-top: 1rem;
  padding: 1rem;
  color: var(--graphite);
  background: var(--porcelain);
  border-left: 7px solid var(--powder);
}

.screen-result[aria-live] {
  scroll-margin-top: 1rem;
}

.screen-result strong {
  display: block;
  margin-bottom: 0.35rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--graphite);
  border: 1px solid var(--graphite);
}

.tool-tile {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: var(--paper);
}

.tool-tile:nth-child(3n+2) { background: #e4ecea; }
.tool-tile:nth-child(3n) { background: #e6ebf4; }

.tool-tile h3 {
  margin: 2.5rem 0 0.8rem;
}

.tool-tile p {
  margin: 0;
  color: var(--ink-muted);
}

.tool-tile a {
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 760;
}

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

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 760;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  color: var(--graphite);
  background: var(--paper);
  border: 2px solid #71747b;
  border-radius: 0;
}

.field-help {
  color: #c9c5bd;
  font-size: 0.82rem;
}

.progress-line {
  height: 10px;
  margin: 1rem 0;
  background: #454951;
}

.progress-line > span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: var(--coral);
  transition: width 350ms ease;
}

.prose-page {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.page-mast {
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--paper);
  background: var(--graphite);
  border-bottom: 14px solid var(--coral);
}

.page-mast h1 {
  max-width: 14ch;
}

.page-mast p {
  max-width: 66ch;
  color: #d7d3cb;
  font-size: 1.12rem;
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.prose-aside {
  align-self: start;
  position: sticky;
  top: 1.5rem;
  padding-top: 0.5rem;
  border-top: 4px solid var(--coral);
}

.prose-aside ul {
  padding: 0;
  list-style: none;
}

.prose-aside li + li {
  margin-top: 0.45rem;
}

.prose-body {
  min-width: 0;
}

.prose-body h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

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

.prose-body h3 {
  margin-top: 2rem;
}

.prose-body p,
.prose-body li {
  max-width: 74ch;
}

.prose-body li + li {
  margin-top: 0.45rem;
}

.notice {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  background: #e5ecea;
  border-left: 8px solid var(--teal);
}

.notice--risk {
  background: #f4dfd8;
  border-color: var(--coral-dark);
}

.notice--dark {
  color: var(--paper);
  background: var(--graphite-2);
  border-color: var(--powder);
}

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

.legal-facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.legal-facts th,
.legal-facts td {
  padding: 0.85rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-facts th {
  width: 34%;
  padding-right: 1.5rem;
}

.lead-zone {
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: var(--paper);
  background: var(--teal-dark);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.lead-layout h2 {
  max-width: 12ch;
}

.lead-layout p {
  color: #e0e7e4;
}

.lead-form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--graphite);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lead-form::before {
  content: "";
  position: absolute;
  top: -15px;
  right: 2rem;
  width: 92px;
  height: 30px;
  background: var(--coral);
  border-radius: 999px;
}

.lead-form .field-help,
.lead-form .small-note {
  color: var(--ink-muted);
}

.form-status {
  min-height: 1.6em;
  margin: 0.75rem 0 0;
  font-weight: 680;
}

.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.site-footer {
  color: #d8d4cc;
  background: var(--graphite);
  border-top: 1px solid #383b43;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) repeat(2, minmax(180px, 0.6fr)) minmax(260px, 1fr);
  gap: 2.5rem;
  padding: 4rem 0;
}

.footer-main h2,
.footer-main h3 {
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main li + li {
  margin-top: 0.45rem;
}

.footer-main a {
  color: #dedbd4;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  font-size: 0.86rem;
}

.footer-bottom {
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid #383b43;
  font-size: 0.76rem;
}

.cookie-panel {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  width: min(520px, calc(100% - 2rem));
  padding: 1.25rem;
  color: var(--paper);
  background: var(--graphite);
  border: 1px solid #5b5e67;
  box-shadow: var(--shadow);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.cookie-panel p {
  margin: 0 0 1rem;
  color: #d7d3cb;
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-actions button,
.cookie-actions a {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid #7f838d;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.cookie-actions button:first-child {
  color: var(--graphite);
  background: var(--coral);
  border-color: var(--coral);
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.sitemap-list li {
  margin: 0;
  padding: 1rem;
  background: var(--paper);
}

@media (max-width: 1050px) {
  :root { --rail: 154px; }
  .rail-nav a { font-size: 0.75rem; }
  .station-track { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --rail: 0px; }
  html { scroll-padding-top: 74px; }
  .switchboard { display: none; }
  .site-shell { margin-left: 0; }
  .mobile-bar {
    position: sticky;
    z-index: 70;
    top: 0;
    height: 68px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    color: var(--paper);
    background: var(--graphite);
    border-bottom: 1px solid #3b3e46;
  }
  .mobile-bar img { width: 138px; }
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: transparent;
    border: 1px solid #6a6e77;
    cursor: pointer;
  }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    width: 24px;
    height: 2px;
    display: block;
    background: currentColor;
  }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before,
  .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }
  .mobile-drawer {
    position: fixed;
    z-index: 65;
    inset: 68px 0 auto 0;
    max-height: calc(100vh - 68px);
    padding: 1rem;
    overflow-y: auto;
    color: var(--paper);
    background: var(--graphite);
    border-bottom: 8px solid var(--coral);
  }
  .mobile-drawer.is-open { display: block; }
  .mobile-drawer nav { display: grid; }
  .mobile-drawer a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.4rem;
    color: var(--paper);
    border-bottom: 1px solid #3c3f47;
    text-decoration: none;
  }
  .transparency-bar { font-size: 0.72rem; }
  .hero { min-height: 760px; background-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, rgba(21,23,28,0.98) 0%, rgba(21,23,28,0.84) 62%, rgba(21,23,28,0.3) 100%); }
  .hero-content { width: calc(100% - 2rem); padding-left: 1rem; }
  .section-head,
  .claim-board,
  .method-visual,
  .dispatch-console,
  .prose-grid,
  .lead-layout { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .route-row { grid-template-columns: 64px 1fr; }
  .route-row p { grid-column: 2; }
  .method-visual img { max-height: 520px; }
  .prose-aside { position: static; }
}

@media (max-width: 560px) {
  .content-wrap { width: min(100% - 2rem, var(--max)); }
  .hero { min-height: 720px; background-position: 66% center; }
  .hero::before { background: linear-gradient(90deg, rgba(21,23,28,0.97) 0%, rgba(21,23,28,0.92) 75%, rgba(21,23,28,0.55) 100%); }
  .hero-content { padding-top: 4.5rem; padding-bottom: 7rem; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.6rem); }
  h2 { font-size: clamp(2rem, 11vw, 3.4rem); }
  .hero-actions,
  .button-row { align-items: stretch; flex-direction: column; }
  .action { width: 100%; }
  .station-track,
  .tool-grid,
  .input-grid,
  .sitemap-list,
  .footer-main { grid-template-columns: 1fr; }
  .station { min-height: 220px; }
  .route-row { grid-template-columns: 1fr; gap: 0.7rem; }
  .route-row p { grid-column: 1; }
  .route-ports { grid-template-columns: repeat(2, 1fr); }
  .route-map { grid-template-columns: 1fr; min-height: 390px; }
  .route-line { top: 44%; left: 20px; right: 20px; }
  .route-map[data-step="1"] .capsule { left: 24%; }
  .route-map[data-step="2"] .capsule { left: 45%; }
  .route-map[data-step="3"] .capsule { left: 67%; }
  .route-map[data-step="4"] .capsule { left: calc(100% - 78px); }
  .route-ports { grid-column: 1; align-self: end; }
  .legal-facts,
  .legal-facts tbody,
  .legal-facts tr,
  .legal-facts th,
  .legal-facts td { display: block; width: 100%; }
  .legal-facts th { padding-bottom: 0.2rem; border-bottom: 0; }
  .legal-facts td { padding-top: 0.1rem; }
}

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

@media print {
  .switchboard,
  .mobile-bar,
  .mobile-drawer,
  .transparency-bar,
  .cookie-panel,
  .lead-zone { display: none !important; }
  .site-shell { margin: 0; }
  .page-mast,
  .dispatch-section--dark,
  .dispatch-section--teal { color: #000; background: #fff; }
  a { color: #000; }
}
