/* Interchange landing page. Tokens and fonts live in base.css.
   Frame: a routing product page. A plain top bar: logo, the sections as numbered items, the
   download. The first screen is a header row (h1 and lede left, download right) over one wide
   card, the lane map: one horizontal lane per chain, a sample route that draws itself from left
   to right through three numbered crossings, and a summary strip under the lanes with the one
   number of the page, chains crossed. Below: the route sheet with one crossing opened as a
   record, the three kinds of crossing as two-lane diagrams, what it will not claim, questions
   as two columns of numbered cards, and a closing card where two lanes merge into the download.
   Flat colour only. Azure is the funds, tangerine is a crossing; nothing else wears them
   except the download button. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 var(--sans); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--bg); font-weight: 600; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:root { --gutter: max(24px, calc((100vw - 1200px) / 2)); }

/* ---------- small pieces ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--azure); color: var(--azure-ink); font: 650 16px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out, transform .15s ease-out; }
.btn:hover { background: #7CBFFF; }
.btn:active { transform: scale(.97); }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn--quiet { background: var(--panel-2); color: var(--text); font-weight: 600; }
.btn--quiet:hover { background: #2B313B; }
.card { border-radius: 18px; background: var(--panel); }
.mono, .file b, .file i, .xing dd, .stat b, .side dd, .between b, .between i, .chips span, .addr span { word-spacing: -.22em; }
.mono { font-family: var(--mono); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--panel-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
/* The numeral that leads a nav item and a question. */
.num { font: 500 12px/1 var(--mono); color: var(--text-3); }
/* A crossing's number, wherever it is named. */
.xing__kind i, .hop i, .record__name i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tangerine); color: var(--tangerine-ink); font: 600 12.5px/1 var(--mono); font-style: normal; }

/* ---------- top bar ---------- */

.bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; height: 68px; padding: 0 var(--gutter); border-bottom: 1px solid transparent; background: var(--bg); transition: border-color .2s ease-out; }
.bar.is-stuck { border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.logo img { border-radius: 8px; }
.bar__links { display: flex; gap: 2px; margin-left: auto; }
.bar__links a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 13px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color .15s ease-out, color .15s ease-out; }
.bar__links a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.bar__links a:hover .num { color: var(--text-2); }
.bar .btn { margin-left: 12px; }

/* ---------- first screen: header row over the lane map ---------- */

.hero { padding: 40px var(--gutter) 0; }
.hero__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 650; }
.lede { max-width: 43em; margin-top: 14px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.hero__get { flex: none; display: grid; justify-items: end; gap: 10px; padding-bottom: 4px; }
.req { font-size: 13.5px; color: var(--text-3); }

.trace { margin-top: 36px; padding: 18px 20px 20px; border-radius: 18px; background: var(--panel); }
.trace__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; min-height: 32px; }
.file { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 14.5px; color: var(--text-2); }
.file b { font: 500 14px var(--mono); color: var(--text); }
.file i { font: 500 13.5px var(--mono); color: var(--text); }
.key { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; color: var(--text-2); }
.key li { display: inline-flex; align-items: center; gap: 7px; }
.key svg { width: 22px; height: 8px; }
.key path { fill: none; stroke-width: 4; stroke-linecap: round; }
.k-funds { stroke: var(--azure); }
.k-x { stroke: var(--tangerine); }
.k-app { stroke: var(--azure); stroke-dasharray: 3 8; }

/* The map. site.js measures it and draws the lanes and the route to fit. Wide: lane names in a
   column, crossing cards on the map. Middle: names in a column, cards under the map. Narrow:
   names above each lane, cards under the map. */
.field { position: relative; margin-top: 12px; }
.map { position: relative; height: 352px; }
.plot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; --w: 6px; }
.lanes li { position: absolute; left: 2px; font-size: 13px; line-height: 16px; font-weight: 550; color: var(--text-2); white-space: nowrap; transition: color .3s ease-out; }
.lanes li.is-on { color: var(--text); }
.trace.is-cols .lanes li { translate: 0 -50%; font-size: 15px; line-height: 20px; }
.trace:not(.is-cols) .plot { --w: 4.5px; }

.plot .band { fill: var(--road); }
.plot .mark { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; stroke-dasharray: 9 11; }
.plot .casing { fill: none; stroke: var(--panel); }
.plot .slip { fill: none; stroke: var(--road); }
.plot .run, .plot .rest, .plot .ramp { fill: none; stroke: var(--azure); stroke-width: var(--w); stroke-linecap: round; stroke-linejoin: round; }
.plot .ramp { stroke: var(--tangerine); }
.plot .rest { stroke-dasharray: 7 14; }
.plot .from { fill: var(--azure); stroke: var(--road); stroke-width: 4; }
.plot .pen { fill: #fff; stroke: var(--road); stroke-width: 3; transition: opacity .2s ease-out; }
.trace.is-done .plot .pen { opacity: 0; }
.node { opacity: 0; scale: .5; transform-box: fill-box; transform-origin: center; transition: opacity .2s ease-out, scale .4s cubic-bezier(.2, 1.5, .4, 1); }
.node.is-on { opacity: 1; scale: 1; }
.node circle { fill: var(--tangerine); stroke: var(--road); stroke-width: 4; }
.node text { font: 600 13px var(--mono); fill: var(--tangerine-ink); text-anchor: middle; }
.trace:not(.is-cols) .node text { font-size: 11.5px; }
.plot .stop { fill: var(--panel-2); stroke: var(--text-2); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: 0; transition: opacity .3s ease-out; }
.plot .stop__lock { fill: var(--text); opacity: 0; transition: opacity .3s ease-out; }
.plot .stop__bow { fill: none; stroke: var(--text); stroke-width: 1.4; }
.trace.is-done .plot .stop, .trace.is-done .plot .stop__lock { opacity: 1; }

/* Where it ends. On a lane it is the plate the dashed stretch runs into; on a phone it is a caption. */
.end { position: absolute; right: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--text); white-space: nowrap; opacity: 0; transition: opacity .3s ease-out, translate .4s cubic-bezier(.2, .8, .2, 1); }
.end svg { flex: none; width: 13px; height: 13px; }
.trace.is-cols .end { height: 36px; padding: 0 13px 0 11px; border: 1.5px dashed rgba(255, 255, 255, .34); border-radius: 10px; background: var(--panel-2); font-size: 13.5px; translate: 8px 0; }
.trace.is-cols .end svg { width: 14px; height: 14px; }
.trace.is-done .end { opacity: 1; translate: 0 0; }

/* A crossing's label card. */
.xings { display: grid; gap: 8px; margin-top: 12px; }
.xing { display: grid; align-content: center; gap: 7px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); transition: opacity .3s ease-out, translate .4s cubic-bezier(.2, .8, .2, 1); }
.xing__kind { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; font-size: 15px; line-height: 24px; }
.xing__kind b { font-weight: 650; }
.xing__kind span { font-size: 13.5px; color: var(--text-2); }
.xing dl { display: flex; flex-wrap: wrap; gap: 2px 18px; padding-left: 33px; }
.xing dl div { display: flex; align-items: baseline; gap: 8px; font-size: 13px; line-height: 18px; }
.xing dt { color: var(--text-2); }
.xing dd { font: 500 12.5px/18px var(--mono); white-space: nowrap; }
.js .trace .xing { opacity: .34; }
.js .trace .xing.is-on { opacity: 1; translate: 0 0; }
/* Middle: three cards in a row under the map, while there is room for them. */
.trace.is-trio .xings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trace.is-trio .xing dl { display: grid; }
/* Wide: each card is a plate across two lanes, next to its crossing. site.js sets --x and --y. */
.trace.is-wide .xings { display: block; margin: 0; }
.trace.is-wide .xing { position: absolute; left: var(--x, 0); top: var(--y, 0); height: 104px; min-width: 196px; }
.trace.is-wide .xing__kind span { display: none; }
.trace.is-wide .xing dl { display: grid; gap: 2px; }
.trace.is-wide .xing dt { width: 50px; }
.js .trace.is-wide .xing { opacity: 0; translate: -8px 0; }
.js .trace.is-wide .xing.is-on { opacity: 1; translate: 0 0; }

/* Under the lanes: the count, three figures, and what happens next. */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 8px; margin-top: 12px; }
.stats { display: grid; grid-template-columns: minmax(0, 1.34fr) repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { display: grid; align-content: space-between; gap: 6px; min-height: 112px; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); }
.stat dt { font-size: 14px; font-weight: 500; color: var(--text-2); }
.stat dd { display: grid; gap: 3px; }
.stat b { font: 500 22px/1.15 var(--mono); letter-spacing: -.03em; white-space: nowrap; }
.stat small { font-size: 13px; line-height: 1.35; color: var(--text-2); }
/* The one number of the page. */
.stat--big { grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: center; gap: 4px 16px; padding-left: 20px; }
.stat--big dd { display: contents; }
.stat--big b { grid-area: 1 / 1 / 3 / 2; font: 650 88px/.84 var(--sans); letter-spacing: -.04em; }
.stat--big dt { grid-area: 1 / 2; align-self: end; font-size: 18px; line-height: 1.2; font-weight: 650; letter-spacing: -.01em; color: var(--text); }
.stat--big small { grid-area: 2 / 2; align-self: start; text-wrap: balance; }

.next { display: grid; }
.next__say { display: grid; align-content: space-between; gap: 6px; min-height: 112px; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); }
.next__say span { font-size: 14px; font-weight: 500; color: var(--text-2); }
.next__say b { font-size: 15.5px; line-height: 1.35; font-weight: 600; text-wrap: pretty; }
.next__go { display: none; align-content: space-between; gap: 8px; }
.next__go .btn { width: 100%; padding: 0 12px; }
.js .trace.is-done .next__say { display: none; }
.js .trace.is-done .next__go { display: grid; animation: rise .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; translate: 0 10px; } }

/* ---------- sections ---------- */

h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.sec { padding: 128px var(--gutter) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 56px; align-items: end; }
.sec__head p, .limits__say p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }

/* ---------- 01: the route sheet ---------- */

.sheet { display: grid; grid-template-columns: minmax(0, 396px) minmax(0, 1fr); gap: 20px; margin-top: 40px; padding: 20px; }
.sheet__route { display: flex; flex-direction: column; padding: 6px 0 4px 4px; }
.sheet__cap { display: flex; align-items: center; gap: 10px; min-height: 32px; padding-left: 4px; }
.sheet__cap b { font: 500 14px var(--mono); }

/* The route again, top to bottom: a stop on every chain, a crossing between two stops. */
.steps { flex: 1; display: grid; align-content: stretch; margin-top: 12px; }
.steps li { position: relative; }
.steps li::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; z-index: 1; width: 4px; background: var(--azure); pointer-events: none; }
.steps .hop::before { background: var(--tangerine); }
.steps li:first-child::before { top: 50%; }
.stop { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 62px; padding: 9px 12px 9px 44px; }
.stop::after { content: ''; position: absolute; left: 8px; top: 50%; z-index: 2; width: 16px; height: 16px; translate: 0 -50%; border: 3px solid var(--panel); border-radius: 50%; background: var(--azure); }
.stop b { grid-area: 1 / 1; align-self: end; font-size: 16.5px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.stop span { grid-area: 2 / 1; align-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.stop span svg { width: 13px; height: 13px; }
.stop em { grid-area: 1 / 2 / 3 / 3; font-size: 13px; font-weight: 500; font-style: normal; white-space: nowrap; }
.steps .stop--app::before { bottom: 50%; background: none; border-left: 4px dashed var(--azure); }
.stop--app::after { background: var(--panel-2); border: 1.5px dashed var(--text-2); }
.stop--app span { font-weight: 600; color: var(--text); }
.hop button { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 0 12px 0 44px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; transition: background-color .15s ease-out; }
.hop button:hover { background: rgba(255, 255, 255, .05); }
.hop button[aria-pressed="true"] { background: var(--panel-2); }
.hop i { position: absolute; left: 4px; top: 50%; z-index: 2; translate: 0 -50%; box-shadow: 0 0 0 3px var(--panel); }
.hop button[aria-pressed="true"] i { box-shadow: 0 0 0 3px var(--panel-2); }
.hop b { font-size: 15px; font-weight: 600; }
.hop em { font-size: 13px; font-weight: 500; font-style: normal; color: var(--text-2); white-space: nowrap; }

/* One crossing, opened. */
.record { display: grid; align-content: start; padding: 22px 22px 18px; border-radius: 14px; background: var(--bg); }
.record__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; }
.record__name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 20px; line-height: 1.3; }
.record__name i { width: 26px; height: 26px; font-size: 13px; }
.record__name b { font-weight: 650; letter-spacing: -.015em; }
.record__name span { font-size: 15px; color: var(--text-2); }
.conf { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-2); }
.conf b { font-weight: 650; color: var(--text); }
.conf__bar { display: inline-flex; gap: 3px; }
.conf__bar i { width: 16px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.conf[data-level="1"] .conf__bar i:nth-child(-n+1), .conf[data-level="2"] .conf__bar i:nth-child(-n+2), .conf[data-level="3"] .conf__bar i:nth-child(-n+3) { background: var(--text); }

.sides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 18px; }
.side { display: grid; gap: 10px; padding: 16px 18px 18px; border-radius: 12px; background: var(--panel); }
.side__t { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--text-2); }
.side__t b { font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; color: var(--text); }
.side dl { display: grid; gap: 7px; }
.side dl div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 13.5px; line-height: 1.45; }
.side dl dt { color: var(--text-3); }
.side dd { font: 500 13px/1.5 var(--mono); overflow-wrap: anywhere; }
.side dd.is-app { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; }
.side dd.is-app::before { content: ''; flex: none; width: 9px; height: 9px; border: 1.5px dashed var(--text-2); border-radius: 50%; }
.between { display: grid; justify-items: center; gap: 3px; width: 92px; text-align: center; }
.between svg { width: 64px; height: 12px; margin-bottom: 3px; }
.between path { fill: none; stroke: var(--tangerine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.between b { font: 500 13px/1.4 var(--mono); white-space: nowrap; }
.between span { font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
.between i { font: 500 12.5px var(--mono); }

.why { margin-top: 20px; }
.why__t { font-size: 15px; font-weight: 650; }
.why ul { display: grid; gap: 6px; margin-top: 10px; }
.why li { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 9px 16px 9px 11px; border-radius: 12px; background: var(--panel); font-size: 15px; line-height: 1.35; }
.why li svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--text); color: var(--bg); }
.why li.is-no { color: var(--text-2); }
.why li.is-no svg { background: var(--panel-2); color: var(--text-2); }
.record__note { margin-top: 14px; font-size: 13.5px; color: var(--text-3); }

/* ---------- 02: the kinds of crossing ---------- */

.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.kind { padding: 12px 12px 28px; }
.duo { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--bg); }
.duo .band { fill: var(--road); }
.duo .mark { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; stroke-dasharray: 9 11; }
.duo .slip { fill: none; stroke: var(--road); stroke-width: 17; }
.duo .run, .duo .ramp { fill: none; stroke: var(--azure); stroke-width: 5; stroke-linecap: round; }
.duo .ramp { stroke: var(--tangerine); }
.duo .knot { fill: var(--tangerine); stroke: var(--road); stroke-width: 4; }
.duo .glyph { fill: none; stroke: var(--tangerine-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.duo .glyph--dot { fill: var(--tangerine-ink); stroke: none; }
.duo .parked rect { fill: var(--text); }
.duo .parked path { fill: none; stroke: var(--text); stroke-width: 2.2; }
.duo text { font: 500 12.5px var(--sans); fill: var(--text-2); }
.kind h3 { margin: 22px 14px 0; font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
.kind p { margin: 8px 14px 0; font-size: 16px; color: var(--text-2); text-wrap: pretty; }

/* ---------- what it will not claim ---------- */

.limits { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 56px; align-items: start; }
.limits__say p { margin-top: 16px; }
.deadend { margin-top: 32px; padding: 12px 12px 22px; }
.deadend figcaption { margin: 16px 14px 0; font-size: 15.5px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.duo .band--hidden { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1.5; stroke-dasharray: 5 6; }
.duo .halt { fill: none; stroke: var(--text); stroke-width: 4; stroke-linecap: round; }
.duo .said { fill: var(--text); font-weight: 600; }
.limits__list { display: grid; gap: 12px; }
.limit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 26px 28px; }
.limit h3 { font-size: 20px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
.limit div p { margin-top: 6px; font-size: 16px; color: var(--text-2); text-wrap: pretty; }
.limit__show { display: grid; justify-items: end; gap: 7px; }
.limit__show small { font-size: 13px; color: var(--text-3); }
.chips span, .addr span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--panel-2); font: 500 12.5px var(--mono); }
.limit .conf { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; justify-content: end; font-size: 15px; }
.limit .conf small { grid-column: 1 / -1; justify-self: end; }

/* ---------- questions: two columns of open cards ---------- */

.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.qa { padding: 26px 28px 30px; }
.qa .num { display: block; font-size: 13px; }
.qa h3 { margin-top: 16px; font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
.qa p { margin-top: 10px; font-size: 16.5px; color: var(--text-2); text-wrap: pretty; }

/* ---------- closing card: two lanes merge into the download ---------- */

.final { margin: 128px var(--gutter) 0; padding: 52px 0 44px; overflow: hidden; }
.final__say { padding: 0 56px; }
.final h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -.045em; }
.final__req { margin-top: 16px; font-size: 17px; color: var(--text-2); text-wrap: balance; }
.final__merge { display: flex; align-items: center; margin-top: 20px; padding-right: 56px; }
.merge { display: block; }
.merge--across { flex: 1; min-width: 0; height: 150px; }
.merge--down { display: none; }
.merge .slip { fill: none; stroke: var(--road); stroke-width: 34; }
.merge .run { fill: none; stroke: var(--azure); stroke-width: 6; }
.merge .knot { fill: var(--tangerine); stroke: var(--road); stroke-width: 5; }
.final .btn { flex: none; }

/* ---------- footer ---------- */

.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr); gap: 20px 48px; align-items: start; padding: 56px var(--gutter) 64px; font-size: 14px; color: var(--text-3); }
.foot .logo { justify-self: start; color: var(--text); }
.foot p { max-width: 46ch; text-wrap: pretty; }
.foot b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--text-2); }

.js [data-reveal] { opacity: 0; translate: 0 20px; transition: opacity .7s ease-out, translate .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- smaller screens ---------- */

@media (max-width: 1180px) {
  .strip { grid-template-columns: minmax(0, 1fr); }
  .next__say { min-height: 0; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 14px; }
  .next__go { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero__head { flex-direction: column; align-items: flex-start; }
  .hero__get { justify-items: start; }
  .sec { padding-top: 96px; }
  .sec__head { grid-template-columns: minmax(0, 1fr); }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .kind { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: 0 14px; padding: 12px; }
  .kind h3 { grid-area: 1 / 2; align-self: end; margin-top: 0; }
  .kind p { grid-area: 2 / 2; align-self: start; }
  .kind .duo { grid-area: 1 / 1 / 3 / 2; }
  .limits { grid-template-columns: minmax(0, 1fr); }
  .deadend { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: 0 14px; padding: 12px; }
  .deadend figcaption { margin: 0 14px; }
  .final { margin-top: 96px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .bar { height: 60px; }
  .bar__links { display: none; }
  .bar .btn { margin-left: auto; }
  .hero { padding-top: 22px; }
  .hero__get { width: 100%; }
  .hero__get .btn { width: 100%; }
  .trace { margin-top: 24px; padding: 14px 14px 14px; }
  .key { display: none; }
  .file__what { flex-basis: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 96px; padding: 12px 14px; }
  .stat b { font-size: 19px; }
  .stat--big { grid-template-columns: minmax(0, 1fr); align-content: space-between; padding-left: 14px; }
  .stat--big b { grid-area: 2 / 1; font-size: 56px; line-height: .9; }
  .stat--big dt { grid-area: 1 / 1; align-self: start; font-size: 14px; font-weight: 500; color: var(--text-2); }
  .stat--big dt::first-letter { text-transform: uppercase; }
  .stat--big small { display: none; }
  .next__say { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .next__go { grid-template-columns: minmax(0, 1fr); }
  .sheet { margin-top: 28px; padding: 12px; }
  .record { padding: 18px 14px 14px; }
  .sides { grid-template-columns: minmax(0, 1fr); }
  .between { grid-template-columns: auto auto auto; justify-content: start; align-items: center; gap: 10px; width: auto; padding: 2px 6px; }
  .between svg { width: 40px; margin: 0; rotate: 90deg; }
  .kinds, .faq__grid { margin-top: 28px; }
  .deadend { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 22px; }
  .deadend figcaption { margin: 16px 10px 0; }
  .deadend .duo text { font-size: 17px; }
  .kind { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 24px; }
  .kind .duo { grid-area: auto; }
  .kind h3 { grid-area: auto; margin-top: 20px; }
  .kind p { grid-area: auto; }
  .limit { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .limit__show { justify-items: start; }
  .limit .conf { justify-content: start; }
  .limit .conf small { justify-self: start; }
  .chips { grid-auto-flow: column; justify-content: start; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .qa { padding: 22px 20px 26px; }
  .final { padding: 36px 0 20px; }
  .final__say { padding: 0 20px; }
  .final__req { font-size: 16px; }
  .final__merge { flex-direction: column; align-items: stretch; margin-top: 18px; padding: 0 20px; }
  .merge--across { display: none; }
  .merge--down { display: block; width: 100%; height: 124px; }
  .foot { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
  .lanes li, .node, .end, .xing, .plot .pen, .plot .stop, .plot .stop__lock { transition: none; }
  .js .trace.is-done .next__go { animation: none; }
}

/* ---------- every screen size (added 2026-11-13) ---------- */
@media (min-width: 1600px) { :root { --gutter: max(24px, calc((100vw - min(1200px + (100vw - 1600px) * 0.98, 1740px)) / 2)); } }
@media (min-width: 1600px) {
  h1 { font-size: clamp(56px, 22.4px + 2.1vw, 70px); }
  h2 { font-size: clamp(46px, 25.3px + 1.294vw, 55.2px); }
  .lede { font-size: clamp(19px, 13.3px + 0.3563vw, 21.85px); }
}

/* Taller big screens: the route map takes the first screen, so the next heading is not cut at the fold. */
@media (min-width: 1600px) and (min-height: 940px) { .hero { display: grid; align-content: center; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); padding-bottom: 32px; } }
/* ---------- end every screen size ---------- */
