@font-face {
  font-family: "Archivo Narrow Local";
  src: url("./Archivo.19b584eb9a10.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Local";
  src: url("./Atkinson.abde1ad5cf78.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono Local";
  src: url("./PlexMono.81fc864103e7.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #edf2ef;
  --paper-bright: #f9fbfa;
  --ink: #131719;
  --muted: #52605f;
  --line: #aab7b2;
  --blue: #2857f3;
  --red: #d53a2d;
  --amber: #f0ad2d;
  --green: #177257;
  --white: #ffffff;
  --display: "Archivo Narrow Local", "Arial Narrow", sans-serif;
  --body: "Atkinson Local", "Atkinson Hyperlegible", system-ui, sans-serif;
  --utility: "IBM Plex Mono Local", ui-monospace, monospace;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(19, 23, 25, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.17em;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ink);
}

.site-mark {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-mark::before {
  width: 0.78rem;
  height: 0.78rem;
  background: var(--red);
  content: "";
  transform: rotate(45deg);
}

.language-link {
  min-width: 7.2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  font-family: var(--utility);
  font-size: 0.72rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.language-link:hover {
  color: var(--white);
  background: var(--ink);
}

.hero {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
}

.eyebrow,
.section-kicker,
.panel-code,
.stat-label,
.route-label,
.plan-phase,
.source-label,
.scope-tag {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}

.eyebrow::before {
  width: 2rem;
  height: 3px;
  background: var(--red);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.97;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(4.1rem, 10vw, 8.8rem);
  letter-spacing: -0.045em;
}

h2 {
  max-width: 16ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.65rem, 5.5vw, 5.4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.deck {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.38;
}

.trust-line {
  max-width: 64ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-line a {
  font-weight: 700;
}

.first-response {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1rem;
  align-items: start;
  max-width: 62ch;
  margin-top: 1.4rem;
  padding: 0.9rem 0;
  border-block: 1px solid var(--ink);
}

.first-response span {
  padding: 0.28rem 0.44rem;
  color: var(--white);
  background: var(--red);
  font-family: var(--utility);
  font-size: 0.7rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.first-response p {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.route-board {
  position: relative;
  min-height: 430px;
  padding: 2.4rem 1.5rem 1.4rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.panel-code {
  position: absolute;
  inset: 0 auto auto 0;
  padding: 0.48rem 0.7rem;
  color: var(--white);
  background: var(--ink);
}

.route-start {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 2.3rem auto 1.6rem;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%);
}

.route-lanes {
  position: relative;
  display: grid;
  gap: 0.68rem;
}

.route-lanes::before {
  position: absolute;
  top: -1.7rem;
  bottom: 50%;
  left: 50%;
  width: 1px;
  background: var(--ink);
  content: "";
}

.route-lane {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 48px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.route-lane::before {
  height: 5px;
  background: var(--lane-color, var(--blue));
  content: "";
}

.route-lane.is-active {
  border-color: var(--ink);
  background: var(--white);
  transform: translateX(-8px);
}

.route-lane.is-active::after {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--lane-color, var(--blue));
  content: "";
}

.route-money { --lane-color: var(--amber); }
.route-bank { --lane-color: var(--red); }
.route-account { --lane-color: var(--blue); }
.route-device { --lane-color: #7e4bd0; }
.route-identity { --lane-color: var(--green); }

.hero-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1.1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.stat-value {
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 0.9;
}

.stat-label {
  max-width: 32ch;
  text-transform: none;
}

.urgent-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto 5rem;
  padding: 1.2rem 1.4rem;
  color: var(--white);
  background: var(--ink);
}

.urgent-strip strong {
  color: var(--amber);
  font-family: var(--utility);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.urgent-strip p {
  margin: 0;
}

.planner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--ink);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 2rem 5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-intro p {
  max-width: 54ch;
  margin: 0;
}

.privacy-note {
  padding-left: 1rem;
  border-left: 4px solid var(--green);
  color: var(--muted);
  font-size: 0.95rem;
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  min-height: 640px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.incident-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-right: 1px solid var(--ink);
  background: #dde6e1;
}

.incident-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.incident-form legend {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 0.95;
}

.impact-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  min-height: 70px;
  margin: -1px 0 0;
  padding: 0.85rem;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  cursor: pointer;
}

.impact-option:hover {
  background: var(--white);
}

.impact-option:has(input:checked) {
  z-index: 1;
  color: var(--white);
  background: var(--ink);
}

.impact-option input {
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  accent-color: var(--amber);
}

.impact-copy {
  display: grid;
  gap: 0.14rem;
}

.impact-code {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impact-option:has(input:checked) .impact-code {
  color: var(--amber);
}

.impact-title {
  font-weight: 700;
  line-height: 1.25;
}

.plan-output {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.6rem);
}

.plan-output::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 84px;
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 46%, var(--ink) 47%, var(--ink) 49%, transparent 50%),
    var(--amber);
  content: "";
}

.plan-header {
  display: flex;
  gap: 1.2rem;
  align-items: end;
  justify-content: space-between;
  margin: 0 5.8rem 1.8rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}

.plan-header h3 {
  margin: 0;
  font-size: 2.45rem;
}

.plan-status {
  max-width: 29ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

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

.plan-phase {
  margin: 2rem 0 0.7rem;
  color: var(--red);
  font-weight: 700;
}

.plan-step {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.9rem;
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--line);
}

.plan-marker {
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.38rem;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper-bright);
  box-shadow: 0 0 0 4px var(--paper-bright);
}

.plan-step h3 {
  font-size: 1.65rem;
  line-height: 1.02;
}

.plan-step p {
  max-width: 64ch;
  margin: 0;
}

.step-source {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--blue);
  font-family: var(--utility);
  font-size: 0.72rem;
}

.copy-button {
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font: 700 0.78rem/1 var(--utility);
  cursor: pointer;
  text-transform: uppercase;
}

.copy-button:hover {
  color: var(--ink);
  background: var(--amber);
}

.article {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 6rem;
}

.article-section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  border-top: 1px solid var(--ink);
}

.article-section:first-child {
  border-top: 0;
}

.article p,
.article li {
  max-width: 69ch;
}

.article p {
  margin: 0 0 1.15rem;
}

.article h3 {
  margin-top: 2.3rem;
}

.lede {
  font-size: 1.32rem;
  line-height: 1.45;
}

.evidence-line {
  margin: 1.8rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
}

.sequence {
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: sequence;
  list-style: none;
}

.sequence li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  counter-increment: sequence;
}

.sequence li::before {
  color: var(--red);
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  content: counter(sequence, decimal-leading-zero);
}

.sequence strong {
  display: block;
  margin-bottom: 0.25rem;
}

.reimbursement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.reimbursement > div {
  padding: 1.1rem;
  background: var(--paper-bright);
}

.reimbursement strong {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
}

.reimbursement span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.limit-note {
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--amber);
  background: #fff8e6;
}

.jurisdiction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.jurisdiction > div {
  padding: 1.3rem;
  background: var(--paper-bright);
}

.scope-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.45rem;
  color: var(--white);
  background: var(--blue);
}

.source-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.source-label {
  color: var(--muted);
}

.site-footer {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  gap: 1rem 3rem;
  justify-content: space-between;
}

.site-footer p {
  max-width: 62ch;
  margin: 0;
}

.back-top {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .hero-grid,
  .section-intro,
  .planner-grid {
    grid-template-columns: 1fr;
  }

  .route-board {
    min-height: 0;
  }

  .incident-form {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .planner-grid {
    min-height: 0;
  }

  .privacy-note {
    max-width: 52ch;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .site-header,
  .hero,
  .urgent-strip,
  .planner,
  .article,
  .site-footer {
    width: min(100% - 24px, 1220px);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-mark {
    max-width: 17ch;
  }

  .language-link {
    min-width: 0;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5.5rem);
  }

  h2 {
    font-size: 3.1rem;
  }

  .route-board {
    padding-inline: 0.85rem;
  }

  .route-lane {
    grid-template-columns: 30px 1fr auto;
  }

  .urgent-strip {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  .first-response {
    grid-template-columns: 1fr;
  }

  .planner {
    padding-top: 3rem;
  }

  .plan-output::before {
    width: 54px;
    height: 54px;
  }

  .plan-header {
    display: block;
    margin-right: 3.8rem;
  }

  .plan-status {
    margin-top: 0.6rem;
    text-align: left;
  }

  .reimbursement,
  .jurisdiction {
    grid-template-columns: 1fr;
  }

  .source-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .footer-grid {
    display: grid;
  }
}

@media print {
  .site-header,
  .route-board,
  .incident-form,
  .copy-button,
  .back-top {
    display: none;
  }

  body {
    background: var(--white);
    font-size: 11pt;
  }

  .hero-grid,
  .planner-grid {
    display: block;
  }

  .plan-output {
    padding: 0;
  }

  .plan-output::before {
    display: none;
  }

  a {
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
