:root {
  color: #141414;
  background: #f7f5ef;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #141414;
  --paper: #f7f5ef;
  --paper-deep: #e9e4d9;
  --white: #fff;
  --indigo: #3155e7;
  --lac: #d84c73;
  --marigold: #f0b323;
  --green: #2e8e76;
  --violet: #6339b6;
  --orange: #e7682e;
  --cyan: #1599b8;
  --accent: var(--indigo);
  --content: min(1540px, calc(100vw - 96px));
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; }
.theme-marigold { --accent: var(--marigold); }
.theme-green { --accent: var(--green); }
.theme-violet { --accent: var(--violet); }
.theme-orange { --accent: var(--orange); }
.theme-cyan { --accent: var(--cyan); }
.theme-lac { --accent: var(--lac); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.spectrum-rule { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 7px; display: grid; grid-template-columns: repeat(5, 1fr); }
.spectrum-rule i:nth-child(1) { background: var(--indigo); }
.spectrum-rule i:nth-child(2) { background: var(--lac); }
.spectrum-rule i:nth-child(3) { background: var(--marigold); }
.spectrum-rule i:nth-child(4) { background: var(--green); }
.spectrum-rule i:nth-child(5) { background: var(--violet); }

.route-header {
  width: 100%;
  min-height: 84px;
  padding: 7px max(48px, calc((100vw - 1540px) / 2)) 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.24);
  color: var(--white);
  background: var(--ink);
}
.route-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.route-brand svg { width: 41px; height: 32px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-width: 2.4; }
.route-brand span { display: flex; flex-direction: column; }
.route-brand strong { font: 850 20px/.9 var(--display); letter-spacing: -.03em; }
.route-brand small { margin-top: 5px; font: 8px/1 var(--mono); letter-spacing: .12em; }
.route-header nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 54px); }
.route-header nav a { color: rgba(255,255,255,.66); font: 10px/1 var(--mono); letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.route-header nav a:hover { color: var(--white); }
.route-header__cta { min-height: 44px; padding: 0 16px; display: flex; align-items: center; border: 1px solid var(--accent); color: var(--white); font-size: 12px; font-weight: 720; text-decoration: none; }
.route-header__cta:hover { color: var(--ink); background: var(--accent); }

.route-hero { width: var(--content); min-height: min(820px, calc(100svh - 84px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr); border-right: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.route-hero__copy { padding: clamp(34px, 5.2vw, 84px); display: flex; flex-direction: column; justify-content: center; box-shadow: inset 0 9px var(--accent); }
.breadcrumbs { display: flex; gap: 10px; color: rgba(20,20,20,.5); font: 9px/1.4 var(--mono); letter-spacing: .06em; }
.breadcrumbs a { text-decoration: none; }
.route-kicker { margin: clamp(60px, 8vw, 130px) 0 0; color: var(--accent); font: 650 10px/1.45 var(--mono); letter-spacing: .075em; }
.route-hero h1 { max-width: 930px; margin: 22px 0 0; font-family: var(--display); font-size: clamp(57px, 7vw, 116px); font-stretch: condensed; font-weight: 900; letter-spacing: -.07em; line-height: .82; text-wrap: balance; }
.route-lead { max-width: 780px; margin: 38px 0 0; color: rgba(20,20,20,.66); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.68; }
.route-hero__actions { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
.route-action { min-height: 68px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 740; text-decoration: none; }
.route-action + .route-action { border-left: 1px solid var(--ink); }
.route-action--primary { color: var(--white); background: var(--ink); }
.route-action:hover { color: var(--ink); background: var(--accent); }
.route-action span { font-size: 23px; font-weight: 400; }
.route-hero__image { position: relative; min-height: 600px; margin: 0; overflow: hidden; color: var(--white); background: var(--ink); }
.route-hero__image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.route-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,20,20,.9)); pointer-events: none; }
.route-hero__image figcaption { position: absolute; z-index: 2; right: 28px; bottom: 26px; left: 28px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.route-hero__image figcaption span { color: var(--accent); font: 700 9px/1.4 var(--mono); letter-spacing: .07em; }
.route-hero__image figcaption strong { max-width: 250px; font: 600 9px/1.45 var(--mono); letter-spacing: .055em; text-align: right; }

.route-boundary-strip { width: var(--content); min-height: 66px; margin: 0 auto; padding: 0 26px; display: flex; align-items: center; gap: 25px; border: 1px solid var(--ink); color: var(--white); background: var(--ink); overflow: hidden; }
.route-boundary-strip strong { margin-right: auto; color: var(--accent); font: 650 10px/1.4 var(--mono); letter-spacing: .07em; }
.route-boundary-strip span { color: rgba(255,255,255,.52); font: 9px/1.4 var(--mono); letter-spacing: .06em; }

.route-section { width: var(--content); margin: clamp(88px, 10vw, 160px) auto; }
.route-hero > *,
.route-spec > *,
.route-handoff > *,
.route-caution > *,
.route-faq > *,
.route-related > *,
.route-close > * { min-width: 0; }
.route-section > header > span,
.route-section > article > span,
.route-caution > div:first-child > span { color: var(--accent); font: 650 10px/1.4 var(--mono); letter-spacing: .07em; }
.route-section h2 { font-family: var(--display); font-weight: 900; letter-spacing: -.055em; line-height: .89; }

.route-use > header { display: grid; grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.route-use > header h2 { max-width: 930px; margin: 0; font-size: clamp(48px, 6vw, 96px); text-transform: uppercase; }
.route-use ol { margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); list-style: none; }
.route-use li { min-height: 285px; padding: 25px; display: grid; grid-template-rows: auto 1fr auto; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); box-shadow: inset 0 7px var(--accent); }
.route-use li > span { font: 700 48px/1 var(--display); letter-spacing: -.06em; }
.route-use li h3 { max-width: 340px; margin: 28px 0 0; align-self: center; font: 850 30px/.98 var(--display); letter-spacing: -.04em; }
.route-use li p { margin: 30px 0 0; color: rgba(20,20,20,.64); font-size: 14px; line-height: 1.62; }

.route-spec { padding: clamp(34px, 5vw, 72px); display: grid; grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr); gap: clamp(44px, 7vw, 110px); color: var(--white); background: var(--ink); box-shadow: 14px 14px 0 var(--accent); }
.route-spec header h2 { margin: 30px 0 0; font-size: clamp(48px, 5vw, 78px); text-transform: uppercase; }
.route-spec header > p { max-width: 580px; margin: 30px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.68; }
.route-spec dl { margin: 0; border-top: 1px solid rgba(255,255,255,.33); }
.route-spec dl > div { min-height: 130px; padding: 22px 0; display: grid; grid-template-columns: minmax(180px, .56fr) minmax(0, 1fr); gap: 26px; align-items: start; border-bottom: 1px solid rgba(255,255,255,.26); }
.route-spec dt, .route-spec dd { margin: 0; }
.route-spec dt { display: flex; gap: 15px; font-size: 15px; font-weight: 740; }
.route-spec dt span { color: var(--accent); font: 9px/1.6 var(--mono); }
.route-spec dd { color: rgba(255,255,255,.63); font-size: 14px; line-height: 1.64; }

.route-handoff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
.route-handoff article { padding: clamp(34px, 5vw, 70px); }
.route-handoff article + article { border-left: 1px solid var(--ink); background: var(--paper-deep); box-shadow: inset 0 8px var(--accent); }
.route-handoff h2 { max-width: 690px; margin: 26px 0 0; font-size: clamp(46px, 5vw, 76px); text-transform: uppercase; }
.route-handoff ul { margin: 48px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; counter-reset: handoff; }
.route-handoff li { min-height: 86px; padding: 18px 4px 18px 50px; position: relative; display: flex; align-items: center; border-bottom: 1px solid rgba(20,20,20,.24); color: rgba(20,20,20,.68); font-size: 14px; line-height: 1.6; counter-increment: handoff; }
.route-handoff li::before { content: counter(handoff, decimal-leading-zero); position: absolute; left: 0; color: var(--accent); font: 650 9px/1 var(--mono); }

.route-caution { padding: clamp(38px, 5vw, 72px); display: grid; grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 130px); color: var(--white); background: var(--ink); box-shadow: inset 0 10px var(--accent); }
.route-caution h2 { max-width: 780px; margin: 30px 0 0; font-size: clamp(52px, 6vw, 92px); text-transform: uppercase; }
.route-caution > div:last-child { align-self: end; }
.route-caution p { max-width: 760px; margin: 0; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.72; }
.route-caution p + p { margin-top: 25px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.25); }

.route-faq { display: grid; grid-template-columns: minmax(330px, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 8vw, 130px); }
.route-faq h2 { max-width: 700px; margin: 28px 0 0; font-size: clamp(50px, 5.6vw, 88px); text-transform: uppercase; }
.route-faq > div { border-top: 1px solid var(--ink); }
.route-faq details { border-bottom: 1px solid var(--ink); }
.route-faq summary { min-height: 96px; padding: 22px 4px; display: flex; justify-content: space-between; gap: 25px; align-items: center; cursor: pointer; list-style: none; }
.route-faq summary::-webkit-details-marker { display: none; }
.route-faq summary span { font: 800 clamp(21px, 2vw, 30px)/1.15 var(--display); letter-spacing: -.025em; }
.route-faq summary b { color: var(--accent); font: 400 28px/1 var(--display); }
.route-faq details[open] summary b { transform: rotate(45deg); }
.route-faq details p { max-width: 820px; margin: 0; padding: 0 48px 28px 4px; color: rgba(20,20,20,.65); font-size: 15px; line-height: 1.7; }

.route-related { padding-top: 34px; border-top: 1px solid var(--ink); }
.route-related header { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.route-related h2 { max-width: 720px; margin: 0; font-size: clamp(44px, 5vw, 76px); text-transform: uppercase; }
.route-related ul { margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); list-style: none; }
.route-related li { background: var(--paper); }
.route-related a { min-height: 190px; padding: 24px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 30px 20px; text-decoration: none; box-shadow: inset 0 7px var(--accent); }
.route-related a span { color: var(--accent); font: 650 9px/1.4 var(--mono); letter-spacing: .07em; }
.route-related a strong { align-self: end; font: 850 clamp(23px, 2vw, 32px)/1 var(--display); letter-spacing: -.035em; }
.route-related a b { grid-column: 2; grid-row: 1; font: 400 21px/1 var(--display); }
.route-related a:hover { color: var(--white); background: var(--ink); }

.route-close { width: var(--content); min-height: 470px; margin: clamp(90px, 11vw, 180px) auto 0; padding: clamp(38px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(50px, 8vw, 130px); color: var(--white); background: var(--accent); }
.route-close > div:first-child > span { color: rgba(20,20,20,.62); font: 650 9px/1.4 var(--mono); letter-spacing: .07em; }
.route-close h2 { max-width: 980px; margin: 24px 0 0; color: var(--ink); font: 900 clamp(55px, 6.3vw, 102px)/.85 var(--display); letter-spacing: -.065em; }
.route-close p { max-width: 720px; margin: 28px 0 0; color: rgba(20,20,20,.68); font-size: 15px; line-height: 1.65; }
.route-close > div:last-child { align-self: end; border: 1px solid var(--ink); }
.route-close a { min-height: 72px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--ink); font-size: 13px; font-weight: 740; text-decoration: none; }
.route-close a + a { border-top: 1px solid var(--ink); }
.route-close a:hover { color: var(--white); background: var(--ink); }

.route-footer { margin-top: 0; padding: 48px max(48px, calc((100vw - 1540px) / 2)); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 38px; color: var(--white); background: var(--ink); }
.route-footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.route-footer strong { font: 900 31px/.9 var(--display); letter-spacing: -.04em; }
.route-footer span, .route-footer a { color: rgba(255,255,255,.65); font: 10px/1.5 var(--mono); letter-spacing: .04em; }
.route-footer a:hover { color: var(--white); }
.route-footer p { grid-column: 1 / -1; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.45); font-size: 11px; line-height: 1.6; }

.route-404 { min-height: 100svh; display: grid; place-items: center; padding: 40px; color: var(--white); background: var(--ink); }
.route-404 main { width: min(980px, 100%); }
.route-404__code { margin: 0; color: var(--lac); font: 700 10px/1.4 var(--mono); letter-spacing: .08em; }
.route-404 h1 { margin: 28px 0 0; font: 900 clamp(78px, 14vw, 190px)/.78 var(--display); letter-spacing: -.08em; }
.route-404 p { max-width: 650px; margin: 38px 0 0; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.65; }
.route-404 a { width: fit-content; min-height: 58px; margin-top: 30px; padding: 0 20px; display: flex; align-items: center; color: var(--ink); background: var(--marigold); font-size: 14px; font-weight: 740; text-decoration: none; }

@media (max-width: 1100px) {
  .route-header { padding-right: 32px; padding-left: 32px; }
  .route-header nav { display: none; }
  .route-header { grid-template-columns: 1fr auto; }
  .route-hero { grid-template-columns: minmax(0, 1fr); }
  .route-hero__image { min-height: 620px; }
  .route-spec, .route-caution, .route-faq { grid-template-columns: minmax(0, 1fr); }
  .route-handoff { grid-template-columns: minmax(0, 1fr); }
  .route-handoff article + article { border-top: 1px solid var(--ink); border-left: 0; }
  .route-related ul { grid-template-columns: 1fr; }
  .route-close { grid-template-columns: minmax(0, 1fr); }
  .route-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --content: calc(100vw - 30px); }
  .route-header { min-height: 72px; padding: 7px 15px 0; }
  .route-header__cta { padding: 0 11px; font-size: 10px; }
  .route-brand svg { width: 34px; }
  .route-brand strong { font-size: 17px; }
  .route-brand small { font-size: 6px; }
  .route-hero { min-height: 0; }
  .route-hero__copy { padding: 34px 19px 40px; }
  .route-kicker { margin-top: 62px; font-size: 8px; }
  .route-hero h1 { font-size: clamp(54px, 17vw, 79px); line-height: .83; }
  .route-hero h1,
  .route-section h2,
  .route-related a strong,
  .route-close h2 { overflow-wrap: anywhere; }
  .route-lead { margin-top: 28px; font-size: 15px; }
  .route-hero__actions { grid-template-columns: 1fr; }
  .route-action + .route-action { border-top: 1px solid var(--ink); border-left: 0; }
  .route-hero__image { min-height: 520px; }
  .route-hero__image figcaption { right: 18px; bottom: 18px; left: 18px; }
  .route-hero__image figcaption strong { max-width: 150px; font-size: 7px; }
  .route-boundary-strip { min-height: 58px; padding: 0 17px; }
  .route-boundary-strip span { display: none; }
  .route-section { margin-top: 74px; margin-bottom: 74px; }
  .route-use > header { grid-template-columns: 1fr; gap: 28px; }
  .route-use > header h2 { font-size: 49px; }
  .route-use ol { margin-top: 42px; grid-template-columns: 1fr; }
  .route-use li { min-height: 250px; }
  .route-spec { padding: 32px 20px; gap: 45px; box-shadow: 7px 7px 0 var(--accent); }
  .route-spec header h2 { font-size: 49px; }
  .route-spec dl > div { grid-template-columns: 1fr; gap: 12px; }
  .route-handoff article { padding: 34px 20px; }
  .route-handoff h2 { font-size: 48px; }
  .route-caution { padding: 36px 20px; gap: 44px; }
  .route-caution h2 { font-size: 51px; }
  .route-caution p { font-size: 14px; }
  .route-faq { gap: 46px; }
  .route-faq h2 { font-size: 49px; }
  .route-faq summary span { font-size: 21px; }
  .route-related header { display: block; }
  .route-related h2 { margin-top: 24px; font-size: 47px; }
  .route-related ul { margin-top: 38px; }
  .route-related a { min-height: 165px; }
  .route-close { width: 100%; min-height: 0; padding: 46px 20px; }
  .route-close h2 { font-size: 55px; }
  .route-footer { padding: 40px 20px; grid-template-columns: 1fr; }
  .route-footer p { grid-column: auto; }
}

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