:root {
  color-scheme: dark;
  --night: #081629;
  --steel: #29445f;
  --mist: #adbdce;
  --paper: #f2f0e9;
  --light: #f3cf83;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--paper);
  background: var(--night);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; background: transparent; border: 1px solid var(--steel); padding: .6em .85em; cursor: pointer; }
button:hover:not(:disabled) { background: var(--steel); }
button:disabled { opacity: .35; cursor: default; }
:where(a, button, video, .slide):focus-visible { outline: 3px solid var(--light); outline-offset: 4px; }
.deck-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 4vw; border-bottom: 1px solid var(--steel); }
.deck-header p { color: var(--mist); font-size: 14px; }
.deck-header > a:last-child { font-size: 13px; }
.brand { font-size: 38px; font-weight: 800; letter-spacing: -3px; text-decoration: none; }
.brand span, .closing-mark span { color: var(--light); }
.slide { position: relative; min-height: 80vh; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 5vw; padding: 5vh 5vw; border-bottom: 1px solid var(--steel); }
.copy { max-width: 620px; }
.kicker { color: var(--light); font-size: clamp(13px, 1.3vw, 19px); margin: 0 0 1.4em; }
h1, h2 { font-size: clamp(34px, 4.6vw, 80px); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 .45em; font-weight: 700; }
h1 { font-size: clamp(48px, 5.6vw, 98px); }
h3 { font-size: clamp(19px, 2vw, 30px); font-weight: 500; margin: 0 0 .5em; }
.copy > p:not(.kicker) { color: var(--mist); font-size: clamp(16px, 1.6vw, 25px); line-height: 1.55; max-width: 38em; }
.copy > .lead { color: var(--paper) !important; font-size: clamp(19px, 2vw, 31px) !important; line-height: 1.4 !important; }
.detail { font-size: clamp(12px, 1.1vw, 17px) !important; color: var(--mist); line-height: 1.5; }
.media-slot { min-width: 0; margin: 0; }
figcaption { font-size: clamp(12px, 1.1vw, 16px); color: var(--mist); line-height: 1.5; padding-top: 16px; }
.boundary { text-align: center; font-size: clamp(24px, 3vw, 44px); }
.boundary span { display: block; color: var(--mist); font-size: clamp(14px, 1.3vw, 22px); margin-top: 12px; }
.workspace { padding: 3vw; border: 2px solid var(--steel); }
.gateway-line { background: var(--light); color: var(--night); padding: 18px; font-size: clamp(16px, 1.8vw, 26px); }
.outside { padding: 3vw; }
.flow { text-align: center; }
.flow > div { padding: 16px 24px; border: 1px solid var(--steel); }
.flow p { margin: 0; color: var(--mist); }
.flow > span { display: block; padding: 6px; color: var(--light); font-size: 25px; }
.flow .flow-gateway { border-color: var(--light); }
.flow > .detail { margin-top: 18px; }
.limits { border-left: 3px solid var(--light); padding: 15px 0 15px 30px; }
.limits ul { padding-left: 1.2em; color: var(--mist); font-size: clamp(17px, 1.8vw, 28px); line-height: 1.55; }
.limits li + li { margin-top: .6em; }
.facts { margin-top: 22px; border-left: 3px solid var(--steel); padding: 4px 0 4px 22px; }
.facts h3 { font-size: clamp(15px, 1.4vw, 20px); color: var(--light); margin-bottom: .6em; }
.facts ul { margin: 0; padding-left: 1.1em; color: var(--mist); font-size: clamp(14px, 1.35vw, 20px); line-height: 1.5; }
.facts li + li { margin-top: .45em; }
.steps { margin: 0; padding-left: 1.4em; color: var(--mist); font-size: clamp(16px, 1.6vw, 24px); line-height: 1.5; }
.steps li + li { margin-top: .7em; }
.steps strong { color: var(--paper); }
.compare { grid-column: 1 / -1; width: 100%; border-collapse: collapse; font-size: clamp(12px, 1vw, 16px); }
.compare caption { text-align: left; color: var(--mist); padding-bottom: 12px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--steel); }
.compare thead th { color: var(--light); font-weight: 600; }
.compare tbody th { color: var(--paper); font-weight: 500; white-space: nowrap; }
.compare td { color: var(--mist); }
.install { margin: 20px 0 4px; padding: 14px 18px; border: 1px solid var(--steel); background: #0d2135; color: var(--paper); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(13px, 1.2vw, 18px); line-height: 1.4; overflow-x: auto; white-space: pre; }
.install code { font: inherit; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.pillars > div { border: 1px solid var(--steel); padding: 20px; }
.pillars h3 { font-size: clamp(15px, 1.4vw, 21px); color: var(--light); margin-bottom: .4em; }
.pillars p { margin: 0; color: var(--mist); font-size: clamp(13px, 1.15vw, 17px); line-height: 1.5; }
.inputs { display: grid; justify-items: center; gap: 12px; text-align: center; }
.inputs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.inputs li { border: 1px solid var(--steel); border-radius: 999px; padding: 8px 14px; color: var(--mist); font-size: clamp(12px, 1.1vw, 16px); }
.inputs > span { color: var(--light); font-size: 28px; line-height: 1; }
.inputs .agent { border: 2px solid var(--light); padding: 18px 30px; font-size: clamp(18px, 1.9vw, 28px); }
.machine { display: grid; justify-items: center; gap: 12px; text-align: center; }
.machine .agent { border: 2px solid var(--light); padding: 18px 30px; font-size: clamp(18px, 1.9vw, 28px); }
.machine > span { color: var(--light); font-size: 28px; line-height: 1; }
.machine-box { width: 100%; border: 2px solid var(--steel); padding: 18px 20px; }
.machine-box h3 { font-size: clamp(15px, 1.4vw, 21px); color: var(--paper); margin-bottom: .6em; }
.machine-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.machine-box li { border: 1px solid var(--steel); border-radius: 999px; padding: 8px 14px; color: var(--mist); font-size: clamp(12px, 1.1vw, 16px); }
/* Product mockups: a faithful, non-interactive render of the gateway console
   in its own palette. These replace the former screenshot slots; the caption
   below each one describes what it shows. */
.ui { width: 100%; border: 1px solid var(--steel); border-radius: 9px; overflow: hidden; color: #e4e8ef; background: #16191e; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(11px, 1vw, 15px); line-height: 1.45; text-align: left; box-shadow: 0 18px 40px #040a1280; }
.ui-chrome { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: #101318; border-bottom: 1px solid #343c47; }
.ui-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #99cbb2; }
.ui-chrome i:first-child { background: #f29b9b; }
.ui-chrome i:nth-child(2) { background: #efc078; }
.ui-chrome i:nth-child(3) { background: #99cbb2; }
.ui-url { margin-left: 6px; color: #9faaba; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.ui-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.ui-rail { display: flex; flex-direction: column; gap: 14px; min-height: 100%; padding: 12px 9px; background: #101318; border-right: 1px solid #343c47; }
.ui-brand { display: flex; align-items: center; gap: 7px; font-size: 1.5em; font-weight: 650; letter-spacing: -.5px; }
.ui-mark { display: grid; grid-template-columns: repeat(3, 3px); gap: 2px; align-items: end; height: 14px; }
.ui-mark i { height: 7px; background: #a5c6ff; }
.ui-mark i:nth-child(2) { height: 13px; }
.ui-mark i:nth-child(3) { height: 10px; }
.ui-brand small { align-self: flex-end; margin-bottom: 3px; color: #9faaba; font-size: .5em; font-weight: 400; letter-spacing: 0; }
.ui-nav { display: grid; gap: 3px; }
.ui-nav + .ui-nav { margin-top: 4px; padding-top: 10px; border-top: 1px solid #343c47; }
.ui-nav span { display: flex; align-items: center; gap: 7px; min-height: 24px; padding: 5px 7px; border-radius: 4px; color: #9faaba; }
.ui-nav span.on { color: #e4e8ef; background: #29323e; }
.ui-nav b { margin-left: auto; color: #efc078; font-size: .92em; }
.ui-rail-foot { margin-top: auto; padding-top: 12px; color: #9faaba; font-size: .92em; }
.ui-conn { display: flex; align-items: center; gap: 6px; }
.ui-conn i { width: 6px; height: 6px; border-radius: 50%; background: #99cbb2; }
.ui-trust { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #343c47; font-size: .92em; }
.ui-main { min-width: 0; padding: 14px; }
.ui-mast { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #9faaba; font-size: .92em; }
.ui-live { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ui-live i { width: 6px; height: 6px; border-radius: 50%; background: #99cbb2; }
.ui-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.ui-head h4 { margin: 0; font-size: 1.55em; font-weight: 550; letter-spacing: -.3px; }
.ui-head p { max-width: 40em; margin: 5px 0 0; color: #9faaba; font-size: .96em; }
.ui-btn { padding: 5px 9px; border: 1px solid #343c47; border-radius: 4px; background: #20252c; white-space: nowrap; }
.ui-btn.primary { border-color: #a5c6ff; background: #a5c6ff; color: #152237; font-weight: 650; }
.ui-btn.danger { color: #f29b9b; }
.ui-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.ui-tabs span { padding: 4px 8px; border-radius: 4px; color: #9faaba; }
.ui-tabs .on { color: #e4e8ef; background: #20252c; }
.ui-record { border-top: 1px solid #343c47; }
.ui-record:last-child { border-bottom: 1px solid #343c47; }
.ui-rec-summary { display: flex; align-items: center; gap: 12px; padding: 10px 2px; }
.ui-rec-summary::before { content: "▸"; color: #9faaba; }
.ui-rec-summary.open::before { content: "▾"; }
.ui-rec-title { flex: 1; min-width: 0; }
.ui-rec-title strong { display: block; font-weight: 550; overflow-wrap: anywhere; }
.ui-rec-title small { display: block; margin-top: 2px; color: #9faaba; overflow-wrap: anywhere; }
.ui-status { display: inline-flex; align-items: center; gap: 5px; color: #9faaba; white-space: nowrap; font-size: .96em; }
.ui-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ui-status.good { color: #99cbb2; }
.ui-status.warn { color: #efc078; }
.ui-status.bad { color: #f29b9b; }
.ui-status.info { color: #a5c6ff; }
.ui-rec-body { padding: 0 0 12px 18px; }
.ui-facts { display: grid; grid-template-columns: minmax(64px, 96px) minmax(0, 1fr); gap: 5px 14px; margin: 0; padding: 10px; background: #101318; border-radius: 4px; }
.ui-facts dt { color: #9faaba; }
.ui-facts dd { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.ui-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ui-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: #9faaba; }
.ui-search { flex: 1; min-width: 90px; padding: 5px 9px; border: 1px solid #343c47; border-radius: 4px; background: #101318; }
.ui-filter { padding: 4px 9px; border: 1px solid #343c47; border-radius: 999px; background: #20252c; }
.ui-filter.on { border-color: #a5c6ff; color: #a5c6ff; }
.ui-traffic time { color: #9faaba; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.ui-traffic .ui-method { min-width: 34px; color: #9faaba; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.ui-traffic .ui-rec-title strong { font-family: ui-monospace, Menlo, Consolas, monospace; }
.ui-intro { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; color: #9faaba; }
.ui-queue { display: grid; gap: 9px; }
.ui-ask { padding: 12px; border: 1px solid #343c47; border-radius: 5px; background: #20252c; }
.ui-ask-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: #9faaba; font-size: .92em; }
.ui-ask h5 { margin: 0 0 5px; font-size: 1.25em; font-weight: 600; }
.ui-ask p { margin: 0; color: #9faaba; }
.ui-ask code { display: block; margin-top: 8px; padding: 6px 8px; border-radius: 4px; background: #101318; font-family: ui-monospace, Menlo, Consolas, monospace; }
.ui-tl { border: 1px solid #343c47; border-radius: 5px; overflow: hidden; background: #101318; }
.ui-tl-ruler, .ui-tl-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
.ui-tl-ruler { color: #9faaba; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.ui-tl-ruler .ui-tl-label { padding: 5px 8px; }
.ui-tl-axis { display: flex; justify-content: space-between; padding: 5px 8px; }
.ui-tl-row { border-top: 1px solid #343c47; }
.ui-tl-label { padding: 7px 8px; background: #20252c; border-right: 1px solid #343c47; }
.ui-tl-label strong { display: block; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-tl-label small { display: block; margin-top: 2px; color: #9faaba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-tl-label .ui-status { margin-top: 5px; font-size: .9em; white-space: normal; align-items: flex-start; }
.ui-tl-label .ui-status::before { margin-top: .45em; }
.ui-tl-lane { min-width: 0; padding: 9px 8px; }
.ui-tl-track { display: flex; align-items: center; gap: 3px; height: 22px; }
.ui-tl-block { flex: 1 1 0; min-width: 8px; height: 15px; border-radius: 2px; background: #489dff66; }
.ui-tl-block.milestone { background: #35db8c66; }
.ui-tl-block.poke { background: #ffb63866; }
.ui-tl-block.note { background: #b58aff66; }
.ui-tl-block.w1 { flex-grow: 1; }
.ui-tl-block.w2 { flex-grow: 2; }
.ui-tl-now { flex: 0 0 2px; align-self: stretch; background: #a5c6ff; }
.ui-callout { max-width: 70%; margin-bottom: 6px; padding: 5px 8px; border: 1px solid #ffb638b3; border-radius: 3px; background: #20252c; box-shadow: 0 6px 16px #0006; }
.ui-callout-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; color: #ffb638; font-size: .9em; }
.ui-callout-meta time { color: #9faaba; }
.ui-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 9px; color: #9faaba; font-size: .9em; }
.ui-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 1px; background: #489dff; }
.ui-legend .milestone::before { background: #35db8c; }
.ui-legend .poke::before { background: #ffb638; }
.ui-legend .note::before { background: #b58aff; }
@media (max-width: 620px) { .ui-body { grid-template-columns: 104px minmax(0, 1fr); } .ui-tl-ruler, .ui-tl-row { grid-template-columns: 100px minmax(0, 1fr); } }
.closing-mark { font-size: clamp(100px, 18vw, 300px); letter-spacing: -.08em; font-weight: 800; text-align: center; }
.deck-controls { display: flex; align-items: center; justify-content: space-between; padding: 12px 4vw; gap: 20px; border-top: 1px solid var(--steel); background: var(--night); }
.paging, .tools { display: flex; align-items: center; gap: 12px; }
#position { min-width: 5em; text-align: center; font-size: 14px; color: var(--mist); }
.keyboard-help { font-size: 12px; color: var(--mist); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-script { padding: 24px; }
body.presenting { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.presenting #deck { min-height: 0; overflow: hidden; }
.presenting .slide { height: 100%; min-height: 0; overflow: auto; border: 0; padding-block: 3vh; }
@media (min-width: 901px) and (max-height: 700px) {
  .presenting h1, .presenting h2 { font-size: clamp(32px, 4vw, 56px); }
  .presenting .copy > p:not(.kicker) { font-size: 17px; }
  .presenting .copy > .lead { font-size: 20px !important; }
  .presenting .kicker { margin-bottom: 14px; }
}
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; gap: 28px; align-content: start; padding: 32px 6vw; }
  .presenting .slide { padding-block: 28px; }
  .copy { max-width: 100%; }
  h1, h2 { font-size: clamp(36px, 7vw, 64px); }
  .media-slot { width: 100%; max-width: 680px; justify-self: center; }
  .deck-header p, .keyboard-help { display: none; }
  .deck-header { min-height: 65px; }
  .deck-controls { gap: 8px; padding-inline: 4vw; }
  .tools, .paging { gap: 6px; }
  .deck-controls button { font-size: 13px; padding: 9px; }
  .closing-mark { display: none; }
  .boundary { max-width: 580px; width: 100%; justify-self: center; }
  .workspace, .outside { padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background-color .15s; }
}
@media print {
  :root { color-scheme: light; background: white; color: black; }
  body.presenting { display: block; height: auto; overflow: visible; }
  .deck-header, .deck-controls { display: none !important; }
  .presenting #deck { overflow: visible; }
  .slide, .presenting .slide, .slide[hidden] { display: grid !important; min-height: 90vh; height: auto; overflow: visible; break-after: page; border-bottom: 1px solid #777; }
  .copy p, .detail, figcaption, .limits ul { color: #333 !important; }
  .kicker { color: #73500d; }
  .closing-mark { display: block; }
}
