/* RDP Gate site. No external fonts: system monospace is the display face,
   because the product lives in consoles and firewall rule tables. */
:root {
  --paper: #eef1f5;
  --ink: #0b1a45;
  --ink-soft: #46506a;
  --action: #2457d6;
  --allow: #0f7b63;
  --deny: #b3261e;
  --rule: #c9d0db;
  --panel: #0b1a45;
  --panel-text: #d7def0;

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;

  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.1rem, 4.3vw, 3.45rem);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--action); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible, .card:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 6px;
}
code, pre { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { background: #dfe4ec; padding: .1em .35em; border-radius: 4px; }

h1, h2, h3 { font-family: var(--mono); letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
h2 { font-size: var(--step-2); font-weight: 700; margin-bottom: 1.4rem; }
h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: .5rem; letter-spacing: -0.02em; }

main > section { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.5rem; }
main > section.band { border-top: 1px solid var(--rule); }

/* ---- top bar ---------------------------------------------------------- */
.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font: 700 1.05rem var(--mono); letter-spacing: -0.02em; }
.bar nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.bar nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.bar nav a:hover { color: var(--ink); }

/* ---- hero ------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding-top: 3rem !important;
}
.kicker { font: 500 .85rem var(--mono); color: var(--ink-soft); margin: 0 0 1.2rem; }
h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.055em; }
h1 span { color: var(--allow); }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; margin: 1.4rem 0 2rem; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: .75rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}
.btn:hover { border-color: var(--ink-soft); }
.btn.primary { background: var(--action); border-color: var(--action); color: #fff; }
.btn.primary:hover { background: #1b47b8; }

/* ---- signature: the live log ----------------------------------------- */
.console {
  margin: 0;
  background: var(--panel);
  color: var(--panel-text);
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 24px 60px -30px rgba(11, 26, 69, .55);
  overflow: hidden;
}
.console figcaption {
  font: 500 .75rem var(--mono);
  color: #8c99bd;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid #22325f;
  margin-bottom: .8rem;
  overflow-wrap: anywhere;
}
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--allow); box-shadow: 0 0 0 3px rgba(15, 123, 99, .25); flex: none; }
.log { list-style: none; margin: 0; padding: 0; font: .8rem/1.75 var(--mono); }
.log li { white-space: pre-wrap; overflow-wrap: anywhere; opacity: 0; animation: line .35s ease-out forwards; }
.log li:nth-child(1) { animation-delay: .2s; }
.log li:nth-child(2) { animation-delay: .7s; }
.log li:nth-child(3) { animation-delay: 1.2s; }
.log li:nth-child(4) { animation-delay: 2.1s; }
.log li:nth-child(5) { animation-delay: 2.7s; }
.log li:nth-child(6) { animation-delay: 3.5s; }
.log time { color: #6f7ca3; }
.log b { font-weight: 700; }
.log .deny { color: #ff8f86; }
.log .ok { color: #5fe0b6; }
.log .quiet { color: #8c99bd; }
.console-note { margin: 1rem 0 0; font-size: .85rem; color: #aab5d3; }
@keyframes line { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- screenshots: each one in a small window frame -------------------- */
.window {
  margin: 0;
  background: var(--panel);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 28px 60px -32px rgba(11, 26, 69, .6);
  border: 1px solid #1d2c5c;
}
.window .chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .8rem;
  background: #070e22;
  border-bottom: 1px solid #1d2c5c;
}
.window .chrome span { width: .6rem; height: .6rem; border-radius: 50%; background: #2a3a6b; flex: none; }
.window .chrome b { font: 600 .72rem var(--mono); color: #8c99bd; margin-left: .45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window > a { display: block; line-height: 0; }
.window img { display: block; width: 100%; height: auto; }
.window figcaption { padding: .9rem 1.1rem 1rem; font-size: .92rem; color: #aab5d3; border-top: 1px solid #1d2c5c; }
.window figcaption strong { color: #e6ebf7; }
.window.wide { max-width: 960px; margin: 0 auto; }
.window > a:hover img { filter: brightness(1.06); }
.window > a:focus-visible { outline: 3px solid var(--action); outline-offset: -3px; }

.screens-sub { margin: 3.2rem 0 1.4rem; }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: shot; }
.shots > li { counter-increment: shot; min-width: 0; }
.shots p { margin: .9rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.shots p strong { color: var(--ink); }
.shots p strong::before { content: counter(shot) ". "; font-family: var(--mono); color: var(--action); }
.grid-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.guide-body .window { margin-top: 1rem; max-width: 30rem; }
.guide-body .window.wide { max-width: 44rem; margin-left: 0; }

/* ---- how it works (a real sequence) ----------------------------------- */
.steps, .setup { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.steps > li, .setup > li { counter-increment: s; position: relative; }
.steps > li::before, .setup > li::before {
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font: 700 .9rem var(--mono);
  margin-bottom: .9rem;
}
.steps p, .setup p { color: var(--ink-soft); margin: 0; }

/* ---- two ways --------------------------------------------------------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ways article { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 1.6rem; }
.who { font: 500 .85rem var(--mono); color: var(--ink-soft); margin: 0 0 1rem; }
.ways ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.ways li + li { margin-top: .45rem; }

/* ---- layers (ordered outside -> inside) ------------------------------- */
.section-lede { color: var(--ink-soft); margin: -0.6rem 0 1.8rem; }
.layers { margin: 0; border-left: 3px solid var(--ink); }
.layers > div { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0 1rem 1.4rem; border-bottom: 1px solid var(--rule); }
.layers > div:last-child { border-bottom: 0; }
.layers dt { font: 700 1rem var(--mono); letter-spacing: -0.02em; }
.layers dd { margin: 0; color: var(--ink-soft); }

/* ---- downloads -------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--action); transform: translateY(-2px); }
.card strong { font: 700 1.25rem var(--mono); color: var(--ink); letter-spacing: -0.02em; }
.os { font: 600 .75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--action); }
.fine { font-size: .9rem; color: var(--ink-soft); margin-top: 1.2rem; }

/* ---- setup ------------------------------------------------------------ */
.setup { display: grid; gap: 2rem; max-width: 46rem; }
.setup > li { padding-left: 3.2rem; min-width: 0; }
.setup > li::before { position: absolute; left: 0; top: -.2rem; }
pre {
  background: var(--panel);
  color: var(--panel-text);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: .8rem 0 0;
  line-height: 1.6;
}

/* ---- visual setup guide (index.html#setup) ---------------------------- */
/* Where each step happens: one colour per place, used by the route cards
   and the small "where" tags on every step. */
.at-server { --place: var(--ink); }
.at-client { --place: var(--action); }
.at-phone { --place: var(--allow); }
.at-anywhere { --place: #6b4fc4; }

.route { list-style: none; margin: 0 0 4rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.route > li { position: relative; min-width: 0; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--place); border-radius: 12px; padding: 1.3rem 1.3rem 1.25rem; }
.route > li + li::before {
  content: "→";
  position: absolute;
  left: -1.6rem;
  top: 50%;
  width: 1.6rem;
  transform: translateY(-50%);
  text-align: center;
  font: 700 1.1rem var(--mono);
  color: var(--ink-soft);
}
.route svg { display: block; width: 2.2rem; height: 2.2rem; color: var(--place); margin-bottom: .7rem; }
.route .phase { font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0; }
.route h3 { margin: .35rem 0 .15rem; }
.route .time { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.chips a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .65rem .2rem .25rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .86rem;
  text-decoration: none;
}
.chips a:hover { border-color: var(--place); }
.chips b { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--place); color: #fff; font: 700 .72rem var(--mono); }

.vsteps { list-style: none; margin: 0; padding: 0; counter-reset: v; display: grid; gap: 4.5rem; }
.vsteps > li {
  counter-increment: v;
  display: grid;
  grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: start;
  scroll-margin-top: 1.5rem;
}
.vsteps > li.full { grid-template-columns: minmax(0, 1fr); }
.vsteps > li.full .vstep-text { max-width: 46rem; }
.vstep-text h3::before {
  content: counter(v);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font: 700 .9rem var(--mono);
  margin-bottom: .9rem;
}
.vstep-text p { color: var(--ink-soft); margin: .7rem 0 0; }
.vstep-text .note { margin-top: 1rem; }
.where { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0 !important; }
.where span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font: 600 .74rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--place);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .12rem .6rem;
}
.where span::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.vstep-visual { margin: 0; min-width: 0; }
.vstep-visual.app, .vsteps .window.app { max-width: 19rem; }

/* light mock of a browser form (the GitHub token page, not a screenshot) */
.mock { background: #fff; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 60px -38px rgba(11, 26, 69, .45); max-width: 30rem; }
.mock .chrome { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; background: #f6f8fb; border-bottom: 1px solid var(--rule); }
.mock .chrome span { width: .6rem; height: .6rem; border-radius: 50%; background: var(--rule); }
.mock .chrome b { font: 600 .72rem var(--mono); color: var(--ink-soft); margin-left: .45rem; }
.mock-body { padding: 1.1rem 1.3rem 1.3rem; font-size: .92rem; }
.mock-k { font-weight: 600; margin: 1rem 0 .4rem; }
.mock-k:first-child { margin-top: 0; }
.mock-field { margin: 0; padding: .45rem .7rem; border: 1px solid var(--rule); border-radius: 6px; font: .85rem var(--mono); color: var(--ink-soft); }
.perm { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem .7rem; border: 1px solid var(--rule); color: var(--ink-soft); }
.perm + .perm { border-top: 0; }
.perm .sel { font-size: .82rem; padding: .15rem .5rem; border: 1px solid var(--rule); border-radius: 6px; background: #f6f8fb; white-space: nowrap; }
.perm.on { color: var(--ink); font-weight: 600; background: #e7f4ef; border-color: var(--allow); }
.perm.on .sel { border-color: var(--allow); color: var(--allow); background: #fff; }
.mock-btn { display: inline-block; margin: 1.2rem 0 0; padding: .45rem .9rem; border-radius: 6px; background: var(--allow); color: #fff; font-weight: 600; font-size: .85rem; }

/* the Setup wizard's task list, drawn on the dark window frame */
.tasks { list-style: none; margin: 0; padding: 1.1rem 1.3rem; display: grid; gap: .6rem; color: #e6ebf7; font-size: .95rem; }
.tasks li { display: flex; align-items: baseline; gap: .7rem; }
.tasks li::before {
  content: "✓";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 4px;
  background: var(--allow);
  color: #fff;
  font: 700 .7rem/1 var(--sans);
  transform: translateY(.15rem);
}
.tasks li.off { color: #8c99bd; }
.tasks li.off::before { content: ""; background: transparent; border: 1.5px solid #3a4a7c; }
.tasks small { font: .75rem var(--mono); color: #8c99bd; }
.vstep-visual.window { max-width: 34rem; }

/* router and firewall diagram */
.diagram { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 1.2rem 1.2rem .4rem; max-width: 32rem; }
.diagram svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.diagram figcaption { font-size: .9rem; color: var(--ink-soft); padding: .6rem 0 .6rem; border-top: 1px solid var(--rule); margin-top: .6rem; }
.d-col { font: 700 16px var(--mono); fill: var(--ink); letter-spacing: -0.02em; }
.d-small { font-size: 14px; fill: var(--ink-soft); }
.d-port { font: 600 14px var(--mono); fill: var(--ink-soft); }
.d-box { fill: #f6f8fb; stroke: var(--rule); stroke-width: 1.5; }
.d-allow { stroke: var(--allow); stroke-width: 3; }
.d-deny { stroke: var(--deny); stroke-width: 3; stroke-dasharray: 7 5; }
.d-wall { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.d-stop { fill: var(--deny); }
.d-x { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.d-pill-allow { fill: #e7f4ef; stroke: var(--allow); stroke-width: 1.5; }
.d-pill-off { fill: #fff; stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 4 3; }
.d-pill-text { font-size: 14px; font-weight: 600; fill: var(--allow); }
.d-pill-text.off { fill: var(--ink-soft); font-weight: 500; }

/* two windows with what travels between them */
.exchange { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 13rem) minmax(0, 1fr); gap: 1.2rem; align-items: center; }
.exchange .window.app { max-width: none; }
.hops { display: grid; gap: .9rem; }
.hop { margin: 0; display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.hop code { flex: 1; min-width: 0; overflow-wrap: anywhere; background: var(--panel) !important; color: var(--panel-text); padding: .45rem .6rem !important; border-radius: 8px !important; font-size: .76rem; }
.hop span { flex: none; font: 700 1.3rem var(--mono); color: var(--action); }
.hop.check { justify-content: center; font: 600 .78rem var(--mono); color: var(--allow); }
.pair { display: flex; align-items: center; gap: 1rem; }
.pair .window.app { flex: 1 1 0; }
.pair .arrow { flex: none; font: 700 1.5rem var(--mono); color: var(--action); }
.vsteps + .fine { margin-top: 3.5rem; }

/* ---- limitations ------------------------------------------------------ */
.limits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 52rem; }
.limits li { padding: 1rem 1.2rem; border-left: 3px solid var(--deny); background: #fff; border-radius: 0 10px 10px 0; color: var(--ink-soft); }
.limits strong { color: var(--ink); }

/* ---- roadmap ---------------------------------------------------------- */
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.roadmap ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.roadmap li + li { margin-top: .5rem; }

/* ---- FAQ -------------------------------------------------------------- */
.faq details { border-bottom: 1px solid var(--rule); padding: 1rem 0; max-width: 52rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--ink-soft); margin: .7rem 0 0; }

/* ---- operation guide (guide.html) ------------------------------------- */
.bar nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.guide-head { padding-bottom: 2.5rem !important; }
.guide-head .lede { max-width: 44rem; margin-bottom: 0; }
.guide-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.toc { position: sticky; top: 1.5rem; font-size: .92rem; }
.toc p { font: 600 .75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 .7rem; }
.toc ol { margin: 0; padding: 0 0 0 1.2rem; display: grid; gap: .45rem; color: var(--ink-soft); }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--action); }
.guide-body > section { padding: 2.8rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.guide-body > section > p { color: var(--ink-soft); max-width: 46rem; }
.guide-body .setup { max-width: none; }
.guide-body .setup > li { scroll-margin-top: 1rem; }
.guide-body .setup > li > * + p { margin-top: .7rem; }
h4 { font: 700 1rem var(--mono); letter-spacing: -0.02em; margin: 0 0 .4rem; }

.sub, .plain { margin: .7rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.sub li + li, .plain li + li { margin-top: .35rem; }
.sub { list-style: decimal; }

.spec { width: 100%; border-collapse: collapse; margin: 1rem 0 0; background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; font-size: .95rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--rule); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { font: 600 .88rem var(--mono); color: var(--ink); width: 13rem; letter-spacing: -0.01em; }
.spec td { color: var(--ink-soft); }
.spec.ports th { width: auto; background: #f6f8fb; }
.spec.trouble th { width: 16rem; }

.note { padding: .8rem 1rem; border-left: 3px solid var(--action); background: #fff; border-radius: 0 10px 10px 0; font-size: .95rem; }
.note.warn { border-left-color: var(--deny); }

.more { margin-top: 1rem; border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: .8rem 1rem; }
.more summary { cursor: pointer; font-weight: 600; }
.more p { color: var(--ink-soft); margin: .7rem 0 0; }

.ways.tight { gap: 1rem; margin-top: .4rem; }
.ways.tight article { padding: 1.1rem 1.2rem; }
.ways.tight p { color: var(--ink-soft); margin: 0; }

/* ---- footer ----------------------------------------------------------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem; border-top: 1px solid var(--rule); }
.foot p { margin: 0 0 .3rem; }

/* ---- responsive & motion --------------------------------------------- */
@media (max-width: 860px) {
  .hero, .steps, .ways, .cards, .columns, .grid-shots { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .layers > div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  main > section { padding: 3.2rem 1.25rem; }
  .bar nav { gap: .9rem; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0 1.25rem 3rem; }
  .toc { position: static; border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 1rem 1.2rem; }
  .spec th, .spec td { display: block; width: auto !important; }
  .spec th { padding-bottom: 0; }
  .spec.ports th, .spec.ports td { display: table-cell; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-bottom: 3rem; }
  .route > li + li::before { content: "↓"; left: 50%; top: -1.4rem; width: auto; transform: translate(-50%, -.1rem); font-size: 1rem; line-height: 1.4rem; }
  .vsteps { gap: 3.5rem; }
  .vsteps > li { grid-template-columns: minmax(0, 1fr); }
  .exchange { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
  .exchange .window.app { max-width: 19rem; }
  .hop span { transform: rotate(90deg); }
  .diagram { padding: .9rem .8rem .3rem; }
}
@media (max-width: 480px) {
  .pair { gap: .5rem; }
  .pair .arrow { font-size: 1.1rem; }
}
@media (max-width: 1000px) and (min-width: 861px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .shots .window { max-width: 22rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .log li { animation: none; opacity: 1; }
  .card { transition: none; }
}
