/* platform.html — the AirLLM Platform page (since 2026-10-17; the page it replaced is in backup/).
 *
 * One idea drawn over and over: the request travels DOWN (agent → router → compute) in the signal colour, and the
 * outcome travels back UP to the routing layer in green. Designed in Telemetry (charcoal panels, hairlines, mono
 * labels, bracketed eyebrows, one signal colour: --tm-accent*, the visitor's Telemetry colour pick, amber by default)
 * and drawn by this file in all five visitor themes, with the same tokens as the homepage (home-tm.css):
 *   Telemetry  html[data-final="telemetry"]                  the base tokens below
 *   Night      html:not([data-theme="studio"])               the live Final Dark look
 *   Day        html[data-theme="studio"] (data-final="light") the live Final Light look
 *   Cloud      html[data-final="cloud"]                      the soft app-store light (cloud.css)
 *   Cloud Dark html[data-final="cloud"][data-cloud="dark"]   Cloud on a charcoal ground (cloud-dark.css)
 * The closed-loop section (.pf-dark) stays dark in Day as the page's signature band. The <main> is marked
 * data-st-own, so studio-icons.js and the theme layers' generic rules leave it alone. Every rule is scoped under .pf;
 * platform-page.js places the return rails and runs the demos (without it, every diagram shows its finished state). */

/* ── Tokens ─────────────────────────────────────────────────────────────────────────────────── */
.pf {
  --pf-ink: #eceef1; --pf-mid: #b7bdc6; --pf-muted: #9aa2ae; --pf-dim: #8a929e;
  --pf-line: #22262c; --pf-line2: #2c3138; --pf-line3: #3d444e;
  --pf-panel: #111316; --pf-panel2: #16191d; --pf-well: #08090b; --pf-band: #0e1013;
  --pf-acc: var(--tm-accent, #ffb020); --pf-acc-rgb: var(--tm-accent-rgb, 255 176 32);
  --pf-acc-hi: var(--tm-accent-hi, #ffc34d); --pf-acc-ink: var(--tm-accent-ink, #1a1100);
  --pf-ok: #4ade80; --pf-ok-rgb: 74 222 128; --pf-err: #f87171; --pf-err-rgb: 248 113 113;
  --pf-warn: #fb923c; --pf-warn-rgb: 251 146 60;
  --pf-lights: #5b6470;
  --pf-loop-bg: #08090b;
  --pf-sheen: inset 0 1px 0 rgb(255 255 255 / .035);
  --pf-shadow: inset 0 1px 0 rgb(255 255 255 / .035), 0 30px 60px -40px rgb(0 0 0 / .9);
  --pf-card-shadow: var(--pf-sheen);
  --pf-win-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 0 0 1px rgb(0 0 0 / .45), 0 50px 90px -50px rgb(0 0 0 / .95);
  --pf-btn-bg: var(--pf-acc); --pf-btn-fg: var(--pf-acc-ink); --pf-btn-line: var(--pf-acc);
  --pf-btn-hi: var(--pf-acc-hi); --pf-btn-hi-line: var(--pf-acc-hi);
  --pf-btn-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 0 0 1px rgb(0 0 0 / .4), 0 10px 24px -14px rgb(var(--pf-acc-rgb) / .7);
  --pf-btn-font: var(--pf-mono); --pf-r-btn: 6px;
  --pf-mono: var(--ft-mono, 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace);
  --pf-display: var(--ft-display, 'Sora', 'Manrope', system-ui, sans-serif);
  --pf-sans: var(--ft-sans, 'Manrope', system-ui, sans-serif);
  --pf-r: 8px; --pf-r-sm: 6px; --pf-r-win: 10px;
  --pf-ease: cubic-bezier(.2, .8, .2, 1);
  display: block; position: relative; color: var(--pf-ink); font-family: var(--pf-sans);
  font-size: 16px; line-height: 1.6; letter-spacing: -.005em; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Night: the live Final Dark look — black ground, cyan signal, blue → violet actions. */
html:not([data-theme="studio"]) .pf {
  --pf-ink: #ffffff; --pf-mid: #b4bbc6; --pf-muted: #9ca3af; --pf-dim: #8a93a2;
  --pf-line: rgb(255 255 255 / .08); --pf-line2: rgb(255 255 255 / .12); --pf-line3: rgb(255 255 255 / .2);
  --pf-panel: #0e0e10; --pf-panel2: #141417; --pf-well: #08080a; --pf-band: #0a0a0a;
  --pf-acc: #00f0ff; --pf-acc-rgb: 0 240 255; --pf-acc-hi: #5cf6ff; --pf-acc-ink: #00191c;
  --pf-ok: #4ade80; --pf-ok-rgb: 74 222 128; --pf-err: #f87171; --pf-err-rgb: 248 113 113;
  --pf-warn: #fb923c; --pf-warn-rgb: 251 146 60;
  --pf-loop-bg: #050506;
  --pf-r: 16px; --pf-r-sm: 12px; --pf-r-win: 14px; --pf-r-btn: 999px; --pf-btn-font: var(--pf-sans);
  --pf-head-grad: linear-gradient(90deg, #3b82f6 0%, #8a2be2 50%, #00f0ff 100%);
  --pf-btn-bg: linear-gradient(90deg, #0055ff 0%, #8a2be2 100%); --pf-btn-fg: #ffffff; --pf-btn-line: transparent;
  --pf-btn-hi: linear-gradient(90deg, #1a66ff 0%, #9a40ee 100%); --pf-btn-hi-line: transparent;
  --pf-btn-shadow: 0 0 30px rgb(138 43 226 / .3), inset 0 1px 0 rgb(255 255 255 / .2);
  --pf-lights: rgb(255 255 255 / .28);
  --pf-sheen: inset 0 1px 0 rgb(255 255 255 / .04);
  --pf-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 30px 60px -30px rgb(0 0 0 / .85);
  --pf-win-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 0 80px -30px rgb(0 240 255 / .14), 0 50px 90px -50px rgb(0 0 0 / .95);
}
/* Day: the live Final Light look — off-white ground, grey bands, teal signal, teal → navy actions.
   (Also what the hidden ?theme= previews get.) */
html[data-theme="studio"]:not([data-final="telemetry"]) .pf {
  --pf-ink: #0b1622; --pf-mid: #2e3b4a; --pf-muted: #4a5a6b; --pf-dim: #4a5a6b;
  --pf-line: rgb(11 22 34 / .11); --pf-line2: rgb(11 22 34 / .17); --pf-line3: rgb(11 22 34 / .26);
  --pf-panel: #ffffff; --pf-panel2: #f6f8fa; --pf-well: #eef1f5; --pf-band: #eef2f7;
  --pf-acc: #0c6a84; --pf-acc-rgb: 12 106 132; --pf-acc-hi: #155e75; --pf-acc-ink: #ffffff;
  --pf-ok: #036b4e; --pf-ok-rgb: 3 107 78; --pf-err: #b42318; --pf-err-rgb: 180 35 24;
  --pf-warn: #9a3412; --pf-warn-rgb: 154 52 18;
  --pf-r: 16px; --pf-r-sm: 12px; --pf-r-win: 14px; --pf-r-btn: 999px; --pf-btn-font: var(--pf-sans);
  --pf-head-grad: linear-gradient(90deg, #0e7490 0%, #1e40af 100%);
  --pf-btn-bg: linear-gradient(90deg, #0e7490 0%, #1e40af 100%); --pf-btn-fg: #ffffff; --pf-btn-line: transparent;
  --pf-btn-hi: linear-gradient(90deg, #155e75 0%, #1e3a8a 100%); --pf-btn-hi-line: transparent;
  --pf-btn-shadow: 0 10px 26px -14px rgb(14 116 144 / .6);
  --pf-lights: rgb(11 22 34 / .3);
  --pf-sheen: 0 0 0 0 transparent;
  --pf-shadow: 0 1px 2px rgb(11 22 34 / .06), 0 10px 26px -18px rgb(11 22 34 / .45);
  --pf-card-shadow: 0 1px 2px rgb(11 22 34 / .05), 0 8px 22px -18px rgb(11 22 34 / .4);
  --pf-win-shadow: 0 1px 2px rgb(11 22 34 / .06), 0 40px 80px -40px rgb(11 22 34 / .38);
}
/* Day's signature band: the closed loop stays dark, like the site's dark closing panels in Day. */
html[data-theme="studio"]:not([data-final="telemetry"]):not([data-final="cloud"]) .pf .pf-dark {
  --pf-ink: #f3f6fa; --pf-mid: #c5cfdb; --pf-muted: #a3b2c4; --pf-dim: #a3b2c4;
  --pf-line: rgb(255 255 255 / .09); --pf-line2: rgb(255 255 255 / .15); --pf-line3: rgb(255 255 255 / .25);
  --pf-panel: #10202f; --pf-panel2: #142739; --pf-well: #0b1824; --pf-band: #0b1622;
  --pf-acc: #5cd0e8; --pf-acc-rgb: 92 208 232; --pf-acc-hi: #8fe0f0; --pf-acc-ink: #04212a;
  --pf-ok: #5ee39a; --pf-ok-rgb: 94 227 154; --pf-err: #fca5a5; --pf-err-rgb: 252 165 165;
  --pf-warn: #fdba74; --pf-warn-rgb: 253 186 116;
  --pf-loop-bg: #0b1622;
  --pf-head-grad: linear-gradient(90deg, #5cd0e8 0%, #9db8ff 100%);
  --pf-sheen: inset 0 1px 0 rgb(255 255 255 / .04);
  --pf-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 30px 60px -36px rgb(0 0 0 / .7);
  --pf-card-shadow: var(--pf-sheen);
  color: var(--pf-ink);
}
/* Cloud: the soft app-store light — lavender-grey ground, white cards with wide soft shadows, one action blue. */
html[data-theme="studio"][data-final="cloud"] .pf {
  --pf-ink: #090a0d; --pf-mid: #474a56; --pf-muted: #5f6270; --pf-dim: #5f6270;
  --pf-line: rgb(24 27 38 / .07); --pf-line2: rgb(24 27 38 / .12); --pf-line3: rgb(24 27 38 / .2);
  --pf-panel: #ffffff; --pf-panel2: #f7f8fb; --pf-well: #f1f2f7; --pf-band: #fafbfd;
  --pf-acc: #0060c4; --pf-acc-rgb: 0 96 196; --pf-acc-hi: #0058b0; --pf-acc-ink: #ffffff;
  --pf-ok: #006b4f; --pf-ok-rgb: 0 107 79; --pf-err: #c0102c; --pf-err-rgb: 192 16 44;
  --pf-warn: #954400; --pf-warn-rgb: 149 68 0;
  --pf-loop-bg: #ffffff;
  --pf-r: 24px; --pf-r-sm: 14px; --pf-r-win: 20px; --pf-r-btn: 16px; --pf-btn-font: var(--pf-sans);
  --pf-head-ink: #555864;
  --pf-btn-bg: #0071e3; --pf-btn-fg: #ffffff; --pf-btn-line: #0071e3;
  --pf-btn-hi: #0066d6; --pf-btn-hi-line: #0066d6;
  --pf-btn-shadow: 0 16px 34px rgb(10 132 255 / .22);
  --pf-lights: rgb(24 27 38 / .25);
  --pf-sheen: 0 0 0 0 transparent;
  --pf-shadow: 0 20px 55px rgb(70 72 105 / .07);
  --pf-card-shadow: 0 20px 55px rgb(70 72 105 / .07);
  --pf-win-shadow: 0 30px 80px rgb(70 72 105 / .13);
}
/* Cloud Dark: Cloud on Telemetry's charcoal lifted 10%; the same action blue. */
html[data-theme="studio"][data-final="cloud"][data-cloud="dark"] .pf {
  --pf-ink: #ffffff; --pf-mid: #cfd1d8; --pf-muted: #b4b7c0; --pf-dim: #a7abb5;
  --pf-line: rgb(255 255 255 / .07); --pf-line2: rgb(255 255 255 / .12); --pf-line3: rgb(255 255 255 / .2);
  --pf-panel: #2c2e32; --pf-panel2: #313338; --pf-well: #1c1d20; --pf-band: #27292c;
  --pf-acc: #9ccbff; --pf-acc-rgb: 156 203 255; --pf-acc-hi: #b8d9ff; --pf-acc-ink: #0a1a2e;
  --pf-ok: #7ee2b8; --pf-ok-rgb: 126 226 184; --pf-err: #ffadb5; --pf-err-rgb: 255 173 181;
  --pf-warn: #ffcb7a; --pf-warn-rgb: 255 203 122;
  --pf-loop-bg: #1c1d20;
  --pf-head-ink: #a9acb6;
  --pf-btn-shadow: 0 16px 34px rgb(10 132 255 / .3);
  --pf-lights: rgb(255 255 255 / .3);
  --pf-shadow: 0 20px 55px rgb(0 0 0 / .34);
  --pf-card-shadow: 0 20px 55px rgb(0 0 0 / .3);
  --pf-win-shadow: 0 30px 80px rgb(0 0 0 / .45);
}
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf :focus-visible { outline: 2px solid var(--pf-acc); outline-offset: 3px; border-radius: 4px; }
.pf a { color: inherit; text-decoration: none; }
.pf p, .pf h1, .pf .pf-headline, .pf h2, .pf h3, .pf ol, .pf ul, .pf dl, .pf dd, .pf figure, .pf pre { margin: 0; }
.pf ol, .pf ul { padding: 0; list-style: none; }
.pf svg { display: block; }
.pf button { font: inherit; color: inherit; }
.pf code { font: inherit; }
.pf [hidden] { display: none !important; }
.pf .pf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf .pf-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.pf .pf-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── Type ───────────────────────────────────────────────────────────────────────────────────── */
.pf .pf-headline, .pf h2, .pf h3 { font-family: var(--pf-display); color: var(--pf-ink); text-wrap: balance; }
.pf .pf-headline { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.pf h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); line-height: 1.06; font-weight: 600; letter-spacing: -.038em; }
.pf h3 { font-size: 1.06rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.pf .pf-acc { color: var(--pf-acc); }
.pf .pf-line { display: block; }
.pf .pf-eyebrow { display: inline-flex; gap: 8px; margin-bottom: 18px; font-family: var(--pf-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pf-acc); }
.pf .pf-eyebrow::before { content: "["; color: var(--pf-muted); letter-spacing: 0; }
.pf .pf-eyebrow::after { content: "]"; color: var(--pf-muted); letter-spacing: 0; }
.pf .pf-lede { margin-top: 20px; max-width: 62ch; font-size: clamp(1.02rem, 1.35vw, 1.13rem); line-height: 1.65; color: var(--pf-mid); text-wrap: pretty; }
.pf .pf-lede + .pf-lede { margin-top: 12px; }
.pf .pf-lede-strong { font-family: var(--pf-display); font-weight: 600; color: var(--pf-ink); letter-spacing: -.015em; }
.pf .pf-statement { margin-top: clamp(30px, 4vw, 46px); display: flex; align-items: baseline; gap: 14px; font-family: var(--pf-display);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem); font-weight: 600; line-height: 1.4; letter-spacing: -.02em; color: var(--pf-ink); text-wrap: balance; }
.pf .pf-statement::before { content: "\203A"; flex: none; font-family: var(--pf-mono); font-weight: 700; color: var(--pf-acc); }
.pf .pf-statement-c { justify-content: center; text-align: center; }
.pf .pf-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--pf-line3); border-radius: 4px;
  font-family: var(--pf-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-muted); white-space: nowrap; }
.pf .pf-tag-acc { color: var(--pf-acc); border-color: rgb(var(--pf-acc-rgb) / .45); }
.pf .pf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pf .pf-chips li { padding: 3px 9px; border: 1px solid var(--pf-line2); border-radius: 4px; background: var(--pf-panel2);
  font-family: var(--pf-mono); font-size: 11.5px; color: var(--pf-mid); white-space: nowrap; }
.pf .pf-big { margin-top: clamp(48px, 7vw, 80px); text-align: center; font-family: var(--pf-display); font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -.035em; color: var(--pf-ink); text-wrap: balance; }

/* ── Sections ───────────────────────────────────────────────────────────────────────────────── */
.pf .pf-sec { position: relative; padding-block: clamp(76px, 9vw, 124px); }
.pf .pf-band { background: var(--pf-band); border-block: 1px solid var(--pf-line); }
.pf .pf-head { max-width: 860px; }
.pf .pf-head-c { margin-inline: auto; text-align: center; }
.pf .pf-head-c .pf-lede { margin-inline: auto; }
.pf .pf-body { margin-top: clamp(40px, 5vw, 60px); }
.pf .pf-split { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .pf .pf-split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.pf .pf-split-top { align-items: end; }
.pf .pf-split-top .pf-lede:first-child { margin-top: 0; }

/* ── Buttons ────────────────────────────────────────────────────────────────────────────────── */
.pf .pf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pf .pf-ctas-c { justify-content: center; }
.pf .pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--pf-r-btn); font-family: var(--pf-btn-font); font-size: 14px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--pf-ease), background-color .2s, border-color .2s, color .2s; }
.pf .pf-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--pf-ease); }
.pf .pf-btn-p { background: var(--pf-btn-bg); color: var(--pf-btn-fg); border-color: var(--pf-btn-line); box-shadow: var(--pf-btn-shadow); }
.pf .pf-btn-p:hover { background: var(--pf-btn-hi); border-color: var(--pf-btn-hi-line); transform: translateY(-1px); }
.pf .pf-btn-p:hover svg { transform: translateX(2px); }
.pf .pf-btn-s { background: var(--pf-panel); color: var(--pf-ink); border-color: var(--pf-line3); box-shadow: var(--pf-sheen); }
.pf .pf-btn-s:hover { color: var(--pf-acc); border-color: var(--pf-acc); background: var(--pf-panel2); }

/* ── Surfaces ───────────────────────────────────────────────────────────────────────────────── */
.pf .pf-panel { position: relative; background: var(--pf-panel); border: 1px solid var(--pf-line); border-radius: var(--pf-r);
  box-shadow: var(--pf-shadow); }
.pf .pf-bar { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 16px; border-bottom: 1px solid var(--pf-line);
  font-family: var(--pf-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-muted); }
.pf .pf-bar-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--pf-mono); font-size: 11px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-mid); }
.pf .pf-lights { display: inline-flex; gap: 6px; flex: none; }
.pf .pf-lights i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--pf-lights); }
.pf .pf-livetag { margin-left: auto; flex: none; color: var(--pf-ok); letter-spacing: .1em; white-space: nowrap; font-family: var(--pf-mono); font-size: 11px; text-transform: uppercase; }
.pf .pf-livetag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; vertical-align: 1px;
  background: var(--pf-ok); box-shadow: 0 0 0 0 rgb(var(--pf-ok-rgb) / .6); animation: pf-led 2.2s ease-out infinite; }

/* The page's motif: ↓ request in the signal colour, ↑ outcome in green. */
.pf .pf-dirs { display: inline-flex; gap: 14px; margin-left: auto; flex: none; }
.pf .pf-dn, .pf .pf-up { display: inline-flex; align-items: center; gap: 5px; font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pf-muted); white-space: nowrap; }
.pf .pf-dn::before { content: "\2193"; font-weight: 700; color: var(--pf-acc); }
.pf .pf-up::before { content: "\2191"; font-weight: 700; color: var(--pf-ok); }

/* Scroll reveal (only once platform-page.js runs, so the page reads without it). */
.pf.pf-js .pf-rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--pf-ease), transform .7s var(--pf-ease); }
.pf.pf-js .pf-rv.is-in { opacity: 1; transform: none; }

/* ── Diagram atoms ──────────────────────────────────────────────────────────────────────────── */
/* A node */
.pf .pf-n { position: relative; z-index: 1; padding: 11px 14px; background: var(--pf-panel2); border: 1px solid var(--pf-line2);
  border-radius: var(--pf-r-sm); transition: border-color .3s, box-shadow .3s; }
.pf .pf-n-h { display: flex; align-items: center; gap: 10px; min-height: 20px; }
.pf .pf-n-k { font-family: var(--pf-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-ink); white-space: nowrap; }
.pf .pf-n-sub { margin-left: auto; font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-dim); white-space: nowrap; }
.pf .pf-n-hot { border-color: rgb(var(--pf-acc-rgb) / .55); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .08); }
/* a simple one-line node: centred mono caps */
.pf .pf-n-s { padding: 9px 12px; text-align: center; font-family: var(--pf-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pf-ink); }
.pf .pf-n-mini { width: min(100%, 200px); margin-inline: auto; }
.pf .pf-n-wide { width: min(100%, 280px); margin-inline: auto; }
.pf .pf-n-out { border-color: rgb(var(--pf-ok-rgb) / .5); color: var(--pf-ok); }

/* Step chips: PLAN → EDIT → RUN → VERIFY */
.pf .pf-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 5px; margin-top: 10px; }
.pf .pf-steps li { display: inline-flex; align-items: center; gap: 5px; }
.pf .pf-steps li + li::before { content: "\2192"; font-family: var(--pf-mono); font-size: 10px; color: var(--pf-dim); }
.pf .pf-steps span { padding: 3px 7px; border: 1px solid var(--pf-line2); border-radius: 4px; font-family: var(--pf-mono); font-size: 10.5px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-muted); white-space: nowrap;
  transition: color .25s, border-color .25s, background-color .25s; }
.pf .pf-steps .is-done span { color: var(--pf-mid); border-color: var(--pf-line3); }
.pf .pf-steps .is-on span { color: var(--pf-acc); border-color: rgb(var(--pf-acc-rgb) / .6); background: rgb(var(--pf-acc-rgb) / .1); }
.pf .pf-steps-c { justify-content: center; margin-top: 8px; }
.pf .pf-steps-lg { margin-top: 16px; }
.pf .pf-steps-lg span { padding: 5px 10px; font-size: 11.5px; }

/* A downward connector (the request), with a label on its left and an optional packet on its right. */
.pf .pf-c { position: relative; height: 40px; }
.pf .pf-c::before { content: ""; position: absolute; left: 50%; top: 3px; bottom: 7px; width: 2px; margin-left: -1px;
  background: repeating-linear-gradient(180deg, rgb(var(--pf-acc-rgb) / .85) 0 4px, transparent 4px 8px); opacity: .5; transition: opacity .3s; }
.pf .pf-c::after { content: ""; position: absolute; left: 50%; bottom: 1px; margin-left: -4.5px; border: 4.5px solid transparent; border-bottom: 0;
  border-top: 6px solid rgb(var(--pf-acc-rgb) / .85); opacity: .5; transition: opacity .3s; }
.pf .pf-c-sm { height: 26px; }
.pf .pf-c-sm::before { top: 2px; bottom: 6px; }
.pf .pf-c.is-flow::before, .pf .pf-c.is-flow::after { opacity: 1; }
.pf .pf-c.is-flow::before { animation: pf-dn .45s linear infinite; }
.pf .pf-c-l { position: absolute; top: 50%; right: calc(50% + 14px); transform: translateY(-50%); font-family: var(--pf-mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--pf-dim); white-space: nowrap; }
.pf .pf-pkt { position: absolute; top: 50%; left: calc(50% + 14px); transform: translateY(-50%); padding: 2px 7px; border: 1px solid rgb(var(--pf-acc-rgb) / .5);
  border-radius: 4px; background: var(--pf-panel); font-family: var(--pf-mono); font-size: 10.5px; color: var(--pf-acc); white-space: nowrap; }
.pf .pf-pkt.is-new { animation: pf-pkt .45s var(--pf-ease); }

/* The return rail (the outcome): a green line that leaves one node, climbs, and enters an earlier one.
   It sits in the right padding of its .pf-loopbox; platform-page.js sets its top/bottom on the two nodes' centres. */
.pf .pf-loopbox { position: relative; padding-right: var(--rail, 132px); }
.pf .pf-loopbox.is-l { padding-right: 0; padding-left: var(--rail, 26px); }
.pf .pf-ret { position: absolute; right: 0; width: var(--rail, 132px); top: 20px; bottom: 22px; pointer-events: none; }
.pf .pf-ret.is-l { right: auto; left: 0; transform: scaleX(-1); }
.pf .pf-ret::before, .pf .pf-ret::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, rgb(var(--pf-ok-rgb) / .9) 0 4px, transparent 4px 8px); opacity: .45; transition: opacity .4s; }
.pf .pf-ret::before { top: 0; }
.pf .pf-ret::after { top: 100%; }
.pf .pf-ret .v { position: absolute; left: 21px; top: -1px; bottom: -1px; width: 2px;
  background: repeating-linear-gradient(0deg, rgb(var(--pf-ok-rgb) / .9) 0 4px, transparent 4px 8px); opacity: .45; transition: opacity .4s; }
.pf .pf-ret .hd { position: absolute; left: -1px; top: 0; margin-top: -5px; border: 5px solid transparent; border-left: 0;
  border-right: 7px solid rgb(var(--pf-ok-rgb) / .9); opacity: .45; transition: opacity .4s; }
.pf .pf-ret .dot { position: absolute; left: 0; top: 100%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--pf-ok); box-shadow: 0 0 0 3px rgb(var(--pf-ok-rgb) / .2), 0 0 14px rgb(var(--pf-ok-rgb) / .7); opacity: 0; }
.pf .pf-ret-note { position: absolute; left: 34px; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--pf-display); font-size: 13.5px;
  font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--pf-ink); text-wrap: balance; }
.pf .pf-ret-l { display: block; margin-bottom: 6px; font-family: var(--pf-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pf-ok); }
/* lit: the outcome is on its way back */
.pf .is-ret .pf-ret::before, .pf .is-ret .pf-ret::after, .pf .is-ret .pf-ret .v, .pf .is-ret .pf-ret .hd,
.pf .pf-ret.is-lit::before, .pf .pf-ret.is-lit::after, .pf .pf-ret.is-lit .v, .pf .pf-ret.is-lit .hd { opacity: 1; }

/* Fork and merge: Air Router → two lanes → one result. Paths are classed l / r so a lane can light. */
.pf .pf-fork, .pf .pf-merge { height: 24px; }
.pf .pf-fork svg, .pf .pf-merge svg { width: 100%; height: 100%; overflow: visible; }
.pf .pf-fork path, .pf .pf-merge path { fill: none; stroke: var(--pf-line3); stroke-width: 2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.pf .pf-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf .pf-lane { margin-inline: 6px; padding: 9px 10px; border: 1px solid var(--pf-line2); border-radius: var(--pf-r-sm); background: var(--pf-panel2);
  text-align: center; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.pf .pf-lane-k { display: block; font-family: var(--pf-display); font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--pf-ink); }
.pf .pf-lane-s { display: block; margin-top: 2px; font-family: var(--pf-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-lane.is-on { border-color: rgb(var(--pf-acc-rgb) / .75); background: rgb(var(--pf-acc-rgb) / .06); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .1); }
.pf .pf-lane.is-on .pf-lane-s { color: var(--pf-acc); }
/* a lane lit by the hero (data-lane on the figure) */
.pf [data-lane-on="frontier"] :is(.pf-fork, .pf-merge) path.l, .pf [data-lane-on="gpu"] :is(.pf-fork, .pf-merge) path.r { stroke: var(--pf-acc); }

/* Result checks */
.pf .pf-checks { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 8px; }
.pf .pf-checks li { position: relative; padding-left: 21px; font-family: var(--pf-mono); font-size: 12px; color: var(--pf-dim); transition: color .3s; }
.pf .pf-checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--pf-line3); transition: box-shadow .3s, background-color .3s; }
.pf .pf-checks li::after { content: ""; position: absolute; left: 5px; top: 50%; width: 4px; height: 7px; margin-top: -5px; border: solid var(--pf-ok);
  border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: transform .3s var(--pf-ease), opacity .3s; }
.pf .pf-checks li.is-ok { color: var(--pf-ink); }
.pf .pf-checks li.is-ok::before { background: rgb(var(--pf-ok-rgb) / .12); box-shadow: inset 0 0 0 1.5px rgb(var(--pf-ok-rgb) / .65); }
.pf .pf-checks li.is-ok::after { transform: rotate(45deg); opacity: 1; }

/* ── 1 · Hero ───────────────────────────────────────────────────────────────────────────────── */
.pf .pf-hero { padding-block: calc(80px + clamp(40px, 6vw, 84px)) clamp(70px, 8vw, 110px); overflow: clip; }
.pf .pf-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 78% 30%, rgb(var(--pf-acc-rgb) / .08), transparent 70%), radial-gradient(34% 40% at 86% 86%, rgb(var(--pf-ok-rgb) / .05), transparent 70%); }
.pf .pf-hero-grid { position: relative; display: grid; gap: clamp(44px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1080px) { .pf .pf-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.pf .pf-hero .pf-headline span { display: block; }
.pf .pf-hero .pf-ctas { margin-top: 30px; }
.pf .pf-note { margin-top: 22px; font-family: var(--pf-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-muted); }

.pf .pf-hv { --rail: 136px; width: 100%; max-width: 640px; margin-inline: auto; }
.pf .pf-hv-win { box-shadow: var(--pf-win-shadow); border-color: var(--pf-line2); border-radius: var(--pf-r-win); }
.pf .pf-hv-body { padding: 18px 18px 20px; background-image: radial-gradient(rgb(var(--pf-acc-rgb) / .06) 1px, transparent 1.2px); background-size: 16px 16px; }
.pf .pf-you { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: var(--rail); }
.pf .pf-say { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--pf-mono); font-size: 12.5px; color: var(--pf-mid); }
.pf .pf-say b { color: var(--pf-acc); }
.pf .pf-type.is-typing::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--pf-acc); animation: pf-blink .9s steps(1) infinite; }
.pf .pf-hv-body > .pf-c, .pf .pf-hv-body > .pf-n-ac { margin-right: var(--rail); }
.pf .pf-dec, .pf .pf-sig { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; font-family: var(--pf-mono); font-size: 12px; color: var(--pf-mid); }
.pf .pf-dec .k, .pf .pf-sig .k { min-width: 62px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-dec code { color: var(--pf-ink); }
.pf .pf-dec .ar { color: var(--pf-dim); }
.pf .pf-dec b { font-weight: 600; color: var(--pf-acc); }
.pf .pf-dec.is-new b, .pf .pf-dec.is-new code { animation: pf-pkt .4s var(--pf-ease); }
.pf .pf-sig { margin-top: 6px; color: var(--pf-ok); opacity: 0; transform: translateX(8px); transition: opacity .5s .9s, transform .5s .9s var(--pf-ease); }
.pf .pf-sig b { font-weight: 600; color: var(--pf-ok); }
.pf .is-ret .pf-sig { opacity: 1; transform: none; }
.pf .pf-hv .pf-n-rt { border-color: rgb(var(--pf-acc-rgb) / .45); }
.pf .is-ret .pf-n-rt { box-shadow: 0 0 0 3px rgb(var(--pf-ok-rgb) / .1); transition-delay: .9s; }
@media (max-width: 599px) {
  .pf .pf-hv { --rail: 40px; }
  .pf .pf-hv-body { padding: 14px 12px 16px; }
  .pf .pf-ret-note { position: static; display: none; }
  .pf .pf-hv::after { content: "\2191  The loop most AI stacks are missing."; display: block; margin-top: 14px; text-align: center;
    font-family: var(--pf-display); font-size: 14px; font-weight: 600; color: var(--pf-ink); }
  .pf .pf-lane-k { font-size: 12.5px; }
  .pf .pf-c-l { display: none; }
  .pf .pf-pkt { left: calc(50% + 10px); }
}

/* ── 2 · The missing context ────────────────────────────────────────────────────────────────── */
.pf .pf-vs { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 940px) { .pf .pf-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf .pf-vs-col { display: flex; flex-direction: column; background: var(--pf-panel); border: 1px solid var(--pf-line); border-radius: var(--pf-r); box-shadow: var(--pf-card-shadow); }
.pf .pf-vs-diag { flex: 1; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 24px clamp(16px, 2.4vw, 26px); }
@media (min-width: 520px) { .pf .pf-vs-diag { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.pf .pf-vs-cap { padding: 14px clamp(16px, 2.4vw, 26px) 18px; border-top: 1px solid var(--pf-line); font-family: var(--pf-display); font-size: 15px;
  font-weight: 600; letter-spacing: -.01em; color: var(--pf-ink); }
.pf .pf-vs-old .pf-n { color: var(--pf-mid); }
.pf .pf-vs-old .pf-c::before, .pf .pf-vs-old .pf-c::after { filter: grayscale(1); opacity: .45; }
.pf .pf-vs-old .pf-n-gw { border-style: dashed; border-color: var(--pf-line3); }
.pf .pf-vs-old .pf-vs-cap { color: var(--pf-mid); }
.pf .pf-vs-new { border-color: rgb(var(--pf-acc-rgb) / .3); }
.pf .pf-vs-new .pf-n-ac { padding-bottom: 11px; }
.pf .pf-vs-new .pf-steps span { padding: 2px 5px; font-size: 9.5px; }
.pf .pf-vs-new .pf-steps li + li::before { font-size: 9px; }
.pf .pf-vs-new .pf-ret { --rail: 26px; top: 18px; bottom: 18px; }
.pf .pf-vs-new .pf-ret::before, .pf .pf-vs-new .pf-ret::after { width: 14px; }
.pf .pf-vs-new .pf-ret .v { left: 13px; }
.pf .pf-vs-new .pf-ret { opacity: 1; }
.pf .pf-vs-new .pf-ret::before, .pf .pf-vs-new .pf-ret::after, .pf .pf-vs-new .pf-ret .v, .pf .pf-vs-new .pf-ret .hd { opacity: .95; }
.pf .pf-cyc-g { margin-left: 4px; color: var(--pf-ok); }
.pf .pf-seen-h { margin-bottom: 10px; font-family: var(--pf-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-muted); }
.pf .pf-seen ul { display: grid; gap: 6px; }
.pf .pf-seen li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 10px; border: 1px solid var(--pf-line);
  border-radius: 5px; background: var(--pf-panel2); font-family: var(--pf-mono); font-size: 12px; }
.pf .pf-seen .k { color: var(--pf-dim); }
.pf .pf-seen .v { color: var(--pf-mid); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf .pf-seen-on li { border-color: var(--pf-line2); }
.pf .pf-seen .v.is-acc { color: var(--pf-acc); }
.pf .pf-seen .v.is-ok { color: var(--pf-ok); }
.pf .pf-seen .v.is-warn { color: var(--pf-warn); }
.pf.pf-js .is-live .pf-seen-on li { animation: pf-seen 7.5s calc(var(--i) * 1.5s) infinite; }

/* ── 3 · Task-aware routing ─────────────────────────────────────────────────────────────────── */
.pf .pf-rt-steps { position: relative; }
.pf .pf-rt-track { position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--pf-line2); }
.pf .pf-rt-track i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--k, 0) * 25%); background: var(--pf-acc); transition: width .45s var(--pf-ease); }
.pf .pf-rt-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pf .pf-rt-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 20px; background: none; border: 0;
  border-radius: var(--pf-r-sm); cursor: pointer; text-align: center; }
.pf .pf-rt-tab .dot { width: 16px; height: 16px; margin-bottom: 6px; border-radius: 50%; border: 2px solid var(--pf-line3); background: var(--pf-panel);
  transition: border-color .3s, background-color .3s, box-shadow .3s; }
.pf .pf-rt-tab .n { font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--pf-dim); }
.pf .pf-rt-tab .s { font-family: var(--pf-display); font-size: clamp(.95rem, 1.7vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; color: var(--pf-mid); transition: color .3s; }
.pf .pf-rt-tab:hover .s { color: var(--pf-ink); }
.pf .pf-rt-tab:hover .dot { border-color: rgb(var(--pf-acc-rgb) / .6); }
.pf .pf-rt-tab[aria-selected="true"] .dot { border-color: var(--pf-acc); background: var(--pf-acc); box-shadow: 0 0 0 5px rgb(var(--pf-acc-rgb) / .16); }
.pf .pf-rt-tab[aria-selected="true"] .s { color: var(--pf-ink); }
.pf .pf-rt-tab[aria-selected="true"] .n { color: var(--pf-acc); }
.pf .pf-rt-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -1px; margin-left: -8px; border: 8px solid transparent; border-top: 0;
  border-bottom: 8px solid var(--pf-line2); }
.pf .pf-rt-card { border-color: var(--pf-line2); }
.pf .pf-rt-task { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; letter-spacing: 0;
  font-size: 12px; color: var(--pf-mid); }
/* Phones: the card title and the task each get their own line instead of both being cut to "ROU…" / "th…". */
@media (max-width: 479.98px) {
  .pf .pf-rt-card .pf-bar { flex-wrap: wrap; row-gap: 2px; padding-top: 9px; padding-bottom: 9px; }
  .pf .pf-rt-card .pf-bar-t, .pf .pf-rt-task { flex: 1 1 100%; margin-left: 0; white-space: normal; overflow: visible; }
}
.pf .pf-rt-p { padding: clamp(18px, 3vw, 30px); }
.pf .pf-rt-p + .pf-rt-p { border-top: 1px solid var(--pf-line); }
.pf .is-tabs .pf-rt-p + .pf-rt-p { border-top: 0; }
.pf .pf-rt-flow { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pf .pf-rt-flow { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1.15fr); gap: 0; } }
.pf .pf-rt-cell { padding: 16px 18px; border: 1px solid var(--pf-line2); border-radius: var(--pf-r-sm); background: var(--pf-panel2); }
.pf .pf-rt-cell .k { display: block; margin-bottom: 8px; font-family: var(--pf-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-rt-cell code { font-family: var(--pf-mono); font-size: 15px; color: var(--pf-ink); }
.pf .pf-rt-cell b { font-family: var(--pf-display); font-size: clamp(1.1rem, 1.7vw, 1.32rem); font-weight: 600; letter-spacing: -.02em; color: var(--pf-ink); }
.pf .pf-rt-route { border-color: rgb(var(--pf-acc-rgb) / .6); background: rgb(var(--pf-acc-rgb) / .07); }
.pf .pf-rt-route .k { color: var(--pf-acc); }
.pf .pf-rt-arr { position: relative; justify-self: center; align-self: center; width: 2px; height: 18px; background: var(--pf-line3); }
.pf .pf-rt-arr::after { content: ""; position: absolute; left: -4px; bottom: -6px; border: 5px solid transparent; border-bottom: 0; border-top: 6px solid var(--pf-line3); }
@media (min-width: 760px) {
  .pf .pf-rt-arr { width: 26px; height: 2px; }
  .pf .pf-rt-arr::after { left: auto; right: -6px; bottom: -4px; border: 5px solid transparent; border-right: 0; border-left: 6px solid var(--pf-line3); }
}
.pf .pf-rt-p.is-in .pf-rt-cell { animation: pf-in .4s calc(var(--i) * 90ms) var(--pf-ease) both; }
.pf .pf-rt-foot { display: flex; align-items: flex-end; gap: 18px; padding: 14px clamp(18px, 3vw, 30px) 16px; border-top: 1px solid var(--pf-line); }
.pf .pf-rt-foot-k { font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-rt-bars { margin-left: auto; display: flex; align-items: flex-end; gap: 5px; height: 28px; }
.pf .pf-rt-bars i { width: 22px; height: var(--h); border-radius: 2px 2px 0 0; background: var(--pf-line3); transition: background-color .3s; }
.pf .pf-rt-bars i.is-on { background: var(--pf-acc); }

/* ── 4 · The closed loop ────────────────────────────────────────────────────────────────────── */
.pf .pf-loopsec { background: var(--pf-loop-bg); border-block: 1px solid var(--pf-line); overflow: clip; }
.pf .pf-loopsec::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 34% at 50% 52%, rgb(var(--pf-acc-rgb) / .08), transparent 72%),
    radial-gradient(rgb(255 255 255 / .05) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask: radial-gradient(70% 60% at 50% 50%, #000 30%, transparent 90%); mask: radial-gradient(70% 60% at 50% 50%, #000 30%, transparent 90%); }
.pf .pf-loopsec::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(var(--pf-acc-rgb) / .55) 30%, rgb(var(--pf-ok-rgb) / .55) 70%, transparent); }
.pf .pf-loopsec > .pf-wrap { position: relative; }
.pf .pf-cyc { position: relative; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); padding-left: 30px; }
.pf .pf-cyc::before { content: ""; position: absolute; left: 8px; top: 28px; bottom: 28px; width: 14px; border: 2px solid rgb(var(--pf-acc-rgb) / .45);
  border-right: 0; border-radius: 10px 0 0 10px; }
.pf .pf-cyc::after { content: ""; position: absolute; left: 18px; top: 28px; margin-top: -5px; border: 5px solid transparent; border-right: 0;
  border-left: 7px solid rgb(var(--pf-acc-rgb) / .6); }
.pf .pf-cyc-ring { display: none; }
.pf .pf-cyc-n { position: relative; padding: 18px 20px; background: var(--pf-panel); border: 1px solid var(--pf-line2); border-radius: var(--pf-r);
  box-shadow: var(--pf-card-shadow); transition: border-color .4s, box-shadow .4s; }
.pf .pf-cyc-num { display: flex; align-items: center; gap: 8px; font-family: var(--pf-mono); font-size: 13px; font-weight: 600; color: var(--pf-acc); }
.pf .pf-cyc-num span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.pf .pf-cyc-n h3 { margin-top: 6px; font-size: 1.15rem; }
.pf .pf-cyc-n .pf-chips { margin-top: 12px; }
.pf .pf-cyc-n[data-n="4"] .pf-cyc-num { color: var(--pf-ok); }
@media (min-width: 980px) {
  .pf .pf-cyc { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) minmax(0, 1fr); grid-template-areas: ". n1 ." "n4 ring n2" ". n3 ."; gap: 26px 34px;
    align-items: center; padding-left: 0; }
  .pf .pf-cyc::before, .pf .pf-cyc::after { content: none; }
  .pf .pf-cyc-n[data-n="1"] { grid-area: n1; text-align: center; }
  .pf .pf-cyc-n[data-n="2"] { grid-area: n2; justify-self: start; max-width: 360px; }
  .pf .pf-cyc-n[data-n="3"] { grid-area: n3; text-align: center; }
  .pf .pf-cyc-n[data-n="4"] { grid-area: n4; justify-self: end; max-width: 360px; text-align: right; }
  .pf .pf-cyc-n:is([data-n="1"], [data-n="3"]) :is(.pf-cyc-num, .pf-chips) { justify-content: center; }
  .pf .pf-cyc-n[data-n="4"] :is(.pf-cyc-num, .pf-chips) { justify-content: flex-end; }
  /* stubs from each node to the ring */
  .pf .pf-cyc-n::after { content: ""; position: absolute; background: rgb(var(--pf-acc-rgb) / .4); }
  .pf .pf-cyc-n[data-n="1"]::after { left: 50%; top: 100%; width: 2px; height: 26px; margin-left: -1px; }
  .pf .pf-cyc-n[data-n="3"]::after { left: 50%; bottom: 100%; width: 2px; height: 26px; margin-left: -1px; }
  .pf .pf-cyc-n[data-n="2"]::after { right: 100%; top: 50%; width: 34px; height: 2px; margin-top: -1px; }
  .pf .pf-cyc-n[data-n="4"]::after { left: 100%; top: 50%; width: 34px; height: 2px; margin-top: -1px; background: rgb(var(--pf-ok-rgb) / .45); }
  .pf .pf-cyc-ring { grid-area: ring; position: relative; display: block; aspect-ratio: 1; }
}
.pf .pf-cyc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pf .pf-cyc-ring .trk { fill: none; stroke: var(--pf-line2); stroke-width: 1.5; }
.pf .pf-cyc-ring .flow { fill: none; stroke: rgb(var(--pf-acc-rgb) / .7); stroke-width: 2; stroke-dasharray: 3 7; }
.pf .pf-cyc-ring .hd { fill: var(--pf-acc); }
.pf .pf-orbit { position: absolute; inset: 6%; border-radius: 50%; }
.pf .pf-orbit i { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--pf-acc);
  box-shadow: 0 0 0 4px rgb(var(--pf-acc-rgb) / .18), 0 0 18px rgb(var(--pf-acc-rgb) / .8); }
.pf .pf-cyc-core { position: absolute; inset: 24%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px;
  border: 1px solid var(--pf-line2); border-radius: 50%; background: radial-gradient(circle, rgb(var(--pf-acc-rgb) / .1), var(--pf-panel) 72%); text-align: center; }
.pf .pf-cyc-core .k { font-family: var(--pf-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-ink); }
.pf .pf-cyc-core .v { max-width: 15ch; font-family: var(--pf-mono); font-size: 11px; line-height: 1.4; color: var(--pf-muted); }
.pf.pf-js .is-live .pf-orbit { animation: pf-rot 12s linear infinite; }
.pf.pf-js .is-live .pf-cyc-ring .flow { animation: pf-ring 1.4s linear infinite; }
.pf.pf-js .is-live .pf-cyc-n { animation: pf-node 12s linear infinite; }
.pf.pf-js .is-live .pf-cyc-n[data-n="2"] { animation-delay: 3s; }
.pf.pf-js .is-live .pf-cyc-n[data-n="3"] { animation-delay: 6s; }
.pf.pf-js .is-live .pf-cyc-n[data-n="4"] { animation-delay: 9s; }

.pf .pf-trig { margin-top: clamp(32px, 4.5vw, 52px); }
.pf .pf-trig ul { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pf .pf-trig ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf .pf-trig li:nth-child(odd) { border-right: 1px solid var(--pf-line); } }
.pf .pf-trig li { display: grid; grid-template-columns: minmax(0, .9fr) 34px minmax(0, 1.1fr); align-items: center; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--pf-line); }
.pf .pf-trig li:first-child { border-top: 0; }
@media (min-width: 900px) { .pf .pf-trig li:nth-child(2) { border-top: 0; } }
.pf .pf-trig .sig { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pf-mono); font-size: 12.5px; color: var(--pf-mid); }
.pf .pf-trig .sig::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.pf .pf-trig .sig.is-ok { color: var(--pf-ok); }
.pf .pf-trig .sig.is-warn { color: var(--pf-warn); }
.pf .pf-trig .sig.is-err { color: var(--pf-err); }
.pf .pf-trig .ar { position: relative; height: 2px; background: var(--pf-line3); }
.pf .pf-trig .ar::after { content: ""; position: absolute; right: -6px; top: -4px; border: 5px solid transparent; border-right: 0; border-left: 6px solid var(--pf-line3); }
.pf .pf-trig .act { font-family: var(--pf-display); font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: var(--pf-ink); }
.pf.pf-js .is-live.pf-trig li { animation: pf-trig 8s calc(var(--i) * 2s) infinite; }
.pf .pf-loop-foot { margin-top: clamp(36px, 5vw, 56px); text-align: center; }
.pf .pf-loop-k { font-family: var(--pf-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; color: var(--pf-acc); }
.pf .pf-loop-foot .pf-lede { margin: 10px auto 0; }

/* ── 5 · Four layers, one feedback path ─────────────────────────────────────────────────────── */
.pf .pf-arch { position: relative; margin-top: clamp(52px, 6vw, 72px); padding: clamp(34px, 4vw, 46px) clamp(14px, 3vw, 34px) clamp(20px, 3vw, 30px);
  border: 1.5px dashed rgb(var(--pf-acc-rgb) / .45); border-radius: calc(var(--pf-r) + 6px); background: rgb(var(--pf-acc-rgb) / .025); }
.pf .pf-arch-tag { position: absolute; top: 0; left: clamp(14px, 3vw, 34px); transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; background: var(--pf-band); border: 1px solid rgb(var(--pf-acc-rgb) / .55); border-radius: 6px; font-family: var(--pf-mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-mid); white-space: nowrap; }
.pf .pf-arch-tag .num, .pf .pf-arch-tag b { color: var(--pf-acc); font-weight: 700; }
.pf .pf-arch-tag .sep { color: var(--pf-dim); }
.pf .pf-arch-in { --rail: 70px; }
.pf .pf-layer { display: grid; gap: 10px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .pf .pf-layer { grid-template-columns: 132px minmax(0, 1fr); } }
.pf .pf-layer-k { display: flex; align-items: baseline; gap: 10px; }
@media (min-width: 860px) { .pf .pf-layer-k { flex-direction: column; gap: 2px; padding-top: 20px; } }
.pf .pf-layer-k .num { font-family: var(--pf-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--pf-acc); }
.pf .pf-layer-k .nm { font-family: var(--pf-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--pf-ink); }
.pf .pf-layer-b { padding: clamp(18px, 2.4vw, 24px); background: var(--pf-panel); border: 1px solid var(--pf-line2); border-radius: var(--pf-r); box-shadow: var(--pf-card-shadow); }
.pf .pf-layer-b h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.025em; }
.pf .pf-layer-b > p, .pf .pf-l3-copy > p { margin-top: 6px; max-width: 64ch; font-size: 15px; line-height: 1.6; color: var(--pf-mid); }
.pf .pf-layer-b > p.pf-layer-t, .pf .pf-l3-copy > p.pf-layer-t { margin-top: 4px; font-weight: 600; color: var(--pf-acc); }
.pf .pf-chips-row { margin-top: 14px; }
.pf .pf-l3 { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .pf .pf-l3 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.pf .pf-link { position: relative; height: 52px; }
@media (min-width: 860px) { .pf .pf-link { margin-left: calc(132px + 24px); } }
.pf .pf-link::before { content: ""; position: absolute; left: 44px; top: 3px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(180deg, rgb(var(--pf-acc-rgb) / .85) 0 4px, transparent 4px 8px); }
.pf .pf-link::after { content: ""; position: absolute; left: 40.5px; bottom: 2px; border: 4.5px solid transparent; border-bottom: 0; border-top: 6px solid rgb(var(--pf-acc-rgb) / .85); }
.pf .pf-link span { position: absolute; left: 60px; top: 50%; transform: translateY(-50%); font-family: var(--pf-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pf-acc); white-space: nowrap; }
.pf.pf-js .is-live .pf-link::before { animation: pf-dn .45s linear infinite; }
.pf .pf-ret-arch .pf-ret-note { left: 30px; }
.pf .pf-ret-arch .pf-ret-l { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; }
.pf .pf-arch-gov { display: grid; gap: 16px 28px; grid-template-columns: minmax(0, 1fr); align-items: center; margin-top: clamp(26px, 3.4vw, 36px);
  padding-top: clamp(20px, 3vw, 28px); border-top: 1.5px dashed rgb(var(--pf-acc-rgb) / .35); }
@media (min-width: 940px) { .pf .pf-arch-gov { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.pf .pf-arch-gov h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.03em; }
.pf .pf-chips-gov li { padding: 5px 11px; font-size: 12px; border-color: rgb(var(--pf-acc-rgb) / .3); color: var(--pf-ink); }
@media (max-width: 599px) { .pf .pf-arch-in { --rail: 30px; } .pf .pf-ret-arch .pf-ret-note { display: none; } }

/* the branch diagram (layer 03 and AirGPU) */
.pf .pf-branch .pf-n-mini { position: relative; }
.pf .pf-branch .pf-lane { margin-inline: 8px; }
.pf.pf-js .is-live .pf-branch-alt :is(.pf-fork, .pf-merge) path.l { animation: pf-lane-l 6s linear infinite; }
.pf.pf-js .is-live .pf-branch-alt :is(.pf-fork, .pf-merge) path.r { animation: pf-lane-r 6s linear infinite; }
.pf.pf-js .is-live .pf-branch-alt .pf-lanes > .pf-lane:first-child { animation: pf-lit-a 6s linear infinite; }
.pf.pf-js .is-live .pf-branch-alt .pf-lanes > .pf-lane:last-child { animation: pf-lit-b 6s linear infinite; }

/* ── 6 · The control plane ──────────────────────────────────────────────────────────────────── */
.pf .pf-win { position: relative; background: var(--pf-panel); border: 1px solid var(--pf-line2); border-radius: var(--pf-r-win); box-shadow: var(--pf-win-shadow); overflow: hidden; }
.pf .pf-tb { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: var(--pf-panel2); border-bottom: 1px solid var(--pf-line);
  font-family: var(--pf-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-muted); white-space: nowrap; }
.pf .pf-tb-name { color: var(--pf-ink); font-weight: 600; }
.pf .pf-tb-crumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--pf-mid); }
.pf .pf-tb-crumb .sep { margin: 0 7px; color: var(--pf-dim); }
.pf .pf-dash-g { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--pf-line); }
@media (min-width: 900px) { .pf .pf-dash-g { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); } }
.pf .pf-dash-p { padding: 20px clamp(16px, 2vw, 22px) 22px; background: var(--pf-panel); }
.pf .pf-dash-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--pf-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--pf-muted); }
.pf .pf-count { margin-left: auto; font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--pf-ok); }
.pf .pf-sess { display: grid; gap: 10px; justify-items: start; padding: 16px; border: 1px solid var(--pf-line2); border-radius: var(--pf-r-sm); background: var(--pf-panel2); }
.pf .pf-sess-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.pf .pf-sess-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--pf-display); font-size: 15px; font-weight: 600; color: var(--pf-ink); }
.pf .pf-state { display: inline-flex; align-items: center; gap: 7px; font-family: var(--pf-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pf-ok); white-space: nowrap; }
.pf .pf-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pf-led 2.2s ease-out infinite;
  box-shadow: 0 0 0 0 rgb(var(--pf-ok-rgb) / .6); }
.pf .pf-kv { display: grid; gap: 8px; width: 100%; }
.pf .pf-kv > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.pf .pf-kv dt { color: var(--pf-muted); }
.pf .pf-kv dd { font-family: var(--pf-mono); font-size: 13px; color: var(--pf-ink); }
.pf .pf-kv dd.is-acc { color: var(--pf-acc); font-weight: 600; letter-spacing: .06em; }
.pf .pf-kv dd.is-tick { animation: pf-pkt .4s var(--pf-ease); }
.pf .pf-sess-act { display: flex; gap: 8px; width: 100%; margin-top: 4px; }
.pf .pf-fakebtn { flex: 1; padding: 7px 0; border: 1px solid var(--pf-line3); border-radius: 6px; text-align: center; font-family: var(--pf-mono); font-size: 11.5px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-mid); }
.pf .pf-fakebtn.is-danger { color: var(--pf-err); border-color: rgb(var(--pf-err-rgb) / .45); }
.pf .pf-gov li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pf-line); font-size: 14px; color: var(--pf-ink); }
.pf .pf-gov li:first-child { padding-top: 2px; }
.pf .pf-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; border-radius: 999px; font-family: var(--pf-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.pf .pf-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pf .pf-pill.is-ok { color: var(--pf-ok); background: rgb(var(--pf-ok-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--pf-ok-rgb) / .35); }
.pf .pf-pill.is-err { color: var(--pf-err); background: rgb(var(--pf-err-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--pf-err-rgb) / .35); }
.pf .pf-kv-b { margin-bottom: 16px; }
.pf .pf-meter { display: block; position: relative; height: 14px; padding: 2px; border: 1px solid var(--pf-line2); border-radius: 4px; background: var(--pf-well); }
.pf .pf-meter i { display: block; width: var(--v); height: 100%; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--pf-acc) 0 calc(100% / 7.4 - 3px), transparent calc(100% / 7.4 - 3px) calc(100% / 7.4)); }
.pf .pf-meter-l { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-four { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(22px, 3vw, 30px); }
@media (min-width: 640px) { .pf .pf-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pf .pf-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf .pf-four li { padding: 20px 22px; border-top: 2px solid rgb(var(--pf-acc-rgb) / .6); background: var(--pf-panel); border-radius: 0 0 var(--pf-r-sm) var(--pf-r-sm); box-shadow: var(--pf-card-shadow); }
.pf .pf-four p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--pf-mid); }

/* ── 7 · AirGPU ─────────────────────────────────────────────────────────────────────────────── */
.pf .pf-gpu { border-color: var(--pf-line2); }
.pf .pf-gpu-body { padding: clamp(18px, 3vw, 28px) clamp(12px, 2.4vw, 26px) clamp(20px, 3vw, 30px); }
.pf .pf-lane-tag { display: inline-block; margin-bottom: 6px; padding: 1px 6px; border: 1px solid var(--pf-line3); border-radius: 3px; font-family: var(--pf-mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-muted); }
.pf .pf-lanes-fb { position: relative; }
.pf .pf-fb { position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px;
  background: repeating-linear-gradient(90deg, var(--pf-line3) 0 3px, transparent 3px 6px); }
.pf .pf-fb::after { content: ""; position: absolute; right: -5px; top: -4px; border: 5px solid transparent; border-right: 0; border-left: 6px solid var(--pf-line3); }
.pf .pf-fb span { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); font-family: var(--pf-mono); font-size: 9px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--pf-dim); white-space: nowrap; }
.pf .pf-gpu .pf-lane { margin-inline: 25px; padding-block: 12px; }
@media (max-width: 479px) { .pf .pf-gpu .pf-lane { margin-inline: 4px; } .pf .pf-fb { display: none; } }
.pf .pf-lanes-ex { margin-top: 8px; }
.pf .pf-lanes-ex span { padding-inline: 10px; text-align: center; font-family: var(--pf-mono); font-size: 11px; line-height: 1.45; color: var(--pf-muted); }
.pf .pf-gpu .pf-merge { margin-top: 6px; }
.pf.pf-js .is-live.pf-gpu :is(.pf-fork, .pf-merge) path.l { animation: pf-lane-l 6s linear infinite; }
.pf.pf-js .is-live.pf-gpu :is(.pf-fork, .pf-merge) path.r { animation: pf-lane-r 6s linear infinite; }
.pf.pf-js .is-live.pf-gpu .pf-lanes-fb > .pf-lane:first-child { animation: pf-lit-a 6s linear infinite; }
.pf.pf-js .is-live.pf-gpu .pf-lanes-fb > .pf-lane:last-child { animation: pf-lit-b 6s linear infinite; }
.pf.pf-js .is-live.pf-gpu > .pf-gpu-body > .pf-c::before { animation: pf-dn .45s linear infinite; }

/* ── 8 · Bring your own agent ───────────────────────────────────────────────────────────────── */
.pf .pf-byo { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.pf .pf-byo-tools { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf .pf-tool-b { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 52px; padding: 8px 14px; background: var(--pf-panel);
  border: 1px solid var(--pf-line2); border-radius: var(--pf-r-sm); box-shadow: var(--pf-card-shadow); }
.pf .pf-tool-n { font-family: var(--pf-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--pf-ink); }
.pf .pf-tool-t { font-family: var(--pf-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-tool-w { display: none; }
.pf .pf-tool-ac { grid-column: 1 / -1; }
.pf .pf-tool-ac .pf-tool-b { border-color: rgb(var(--pf-acc-rgb) / .65); background: rgb(var(--pf-acc-rgb) / .06); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .08); }
.pf .pf-tool-ac .pf-tool-t { color: var(--pf-acc); }
.pf .pf-tool-sig { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pf .pf-tool-sig li { padding: 3px 9px; border: 1px solid rgb(var(--pf-acc-rgb) / .45); border-radius: 4px; background: var(--pf-panel); font-family: var(--pf-mono);
  font-size: 11px; color: var(--pf-acc); white-space: nowrap; }
.pf .pf-tool-sig li:last-child { color: var(--pf-ok); border-color: rgb(var(--pf-ok-rgb) / .45); }
.pf .pf-byo-hub { display: flex; flex-direction: column; align-items: center; gap: 0; }
.pf .pf-byo-hub::before { content: ""; width: 2px; height: 26px; background: repeating-linear-gradient(180deg, rgb(var(--pf-acc-rgb) / .85) 0 4px, transparent 4px 8px); }
.pf .pf-byo-rt, .pf .pf-byo-m { display: flex; flex-direction: column; align-items: center; gap: 3px; width: min(100%, 260px); padding: 14px 16px; text-align: center; }
.pf .pf-byo-rt .pf-n-sub, .pf .pf-byo-m .pf-n-sub { margin-left: 0; }
.pf .pf-byo-rt .pf-n-k { font-size: 13px; color: var(--pf-acc); }
.pf .pf-byo-ar { width: 2px; height: 26px; background: rgb(var(--pf-acc-rgb) / .7); position: relative; }
.pf .pf-byo-ar::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-bottom: 0; border-top: 6px solid rgb(var(--pf-acc-rgb) / .8); }
@media (min-width: 1000px) {
  .pf .pf-byo { grid-template-columns: minmax(0, 600px) minmax(200px, 250px); gap: 0; align-items: center; justify-content: center; }
  .pf .pf-byo-tools { position: relative; display: flex; flex-direction: column; gap: 10px; }
  /* the bus: every tool's line meets here, then one line runs into Air Router */
  .pf .pf-byo-tools::after { content: ""; position: absolute; right: 0; top: 26px; bottom: 26px; width: 2px; background: var(--pf-line3); }
  .pf .pf-tool { display: flex; align-items: center; height: 52px; }
  .pf .pf-tool-b { flex: none; width: 250px; height: 52px; }
  .pf .pf-tool-w { display: block; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--pf-line3) 0 4px, transparent 4px 8px); }
  .pf .pf-tool-ac { height: auto; align-items: stretch; }
  .pf .pf-tool-ac .pf-tool-b { height: auto; min-height: 120px; }
  .pf .pf-tool-sig { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0; margin: 0; padding-block: 15px; }
  .pf .pf-tool-sig li { position: relative; display: flex; align-items: center; height: 22px; padding: 0 0 0 14px; border: 0; border-radius: 0; background: none; }
  .pf .pf-tool-sig li::before { content: ""; flex: 1; order: 2; height: 2px; margin-left: 10px; background: repeating-linear-gradient(90deg, rgb(var(--pf-acc-rgb) / .9) 0 4px, transparent 4px 8px); }
  .pf .pf-tool-sig li:last-child::before { background: repeating-linear-gradient(90deg, rgb(var(--pf-ok-rgb) / .9) 0 4px, transparent 4px 8px); }
  .pf .pf-byo-hub::before { width: 26px; height: 2px; background: repeating-linear-gradient(90deg, rgb(var(--pf-acc-rgb) / .85) 0 4px, transparent 4px 8px); }
  .pf .pf-byo-hub { display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto 30px auto; align-items: center; justify-items: center; }
  .pf .pf-byo-hub::before { grid-column: 1; grid-row: 1; }
  .pf .pf-byo-rt { grid-column: 2; grid-row: 1; }
  .pf .pf-byo-ar { grid-column: 2; grid-row: 2; }
  .pf .pf-byo-m { grid-column: 2; grid-row: 3; }
  .pf.pf-js .is-live .pf-tool-w { animation: pf-rt .7s linear infinite; }
  .pf.pf-js .is-live .pf-tool-sig li::before { animation: pf-rt .5s linear infinite; }
}

/* ── 9 · The platform spine ─────────────────────────────────────────────────────────────────── */
.pf .pf-spine { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--pf-line2); }
@media (min-width: 720px) { .pf .pf-spine { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .pf .pf-spine { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf .pf-spine li { position: relative; padding: clamp(26px, 3vw, 34px) clamp(4px, 2vw, 26px) clamp(26px, 3vw, 32px) 0; border-bottom: 1px solid var(--pf-line); }
.pf .pf-spine li::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--pf-acc); }
.pf .pf-spine-k { display: flex; align-items: center; gap: 10px; font-family: var(--pf-display); font-size: clamp(1.4rem, 2vw, 1.6rem); font-weight: 600; white-space: nowrap;
  line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; color: var(--pf-ink); }
.pf .pf-spine-k .pf-i { width: 22px; height: 22px; color: var(--pf-acc); }
.pf .pf-spine h3 { margin-top: 16px; font-size: 1.05rem; color: var(--pf-acc); }
.pf .pf-spine p:not(.pf-spine-k) { margin-top: 8px; max-width: 42ch; font-size: 15px; line-height: 1.6; color: var(--pf-mid); }

/* ── 10 · Products directory ────────────────────────────────────────────────────────────────── */
.pf .pf-dir { border-top: 1px solid var(--pf-line2); }
.pf .pf-dir a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 18px 10px; border-bottom: 1px solid var(--pf-line);
  border-radius: 0; transition: background-color .2s; }
.pf .pf-dir a:hover { background: var(--pf-panel); }
.pf .pf-dir-i { grid-row: span 3; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pf-r-sm);
  background: rgb(var(--pf-acc-rgb) / .07); box-shadow: inset 0 0 0 1px rgb(var(--pf-acc-rgb) / .3); color: var(--pf-acc); }
.pf .pf-dir-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.pf .pf-dir-n b { font-family: var(--pf-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; color: var(--pf-ink); }
.pf .pf-dir-n small { font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-muted); }
.pf .pf-dir-d { font-size: 14.5px; line-height: 1.55; color: var(--pf-mid); }
.pf .pf-dir-c { font-family: var(--pf-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--pf-acc); white-space: nowrap; }
@media (min-width: 900px) {
  .pf .pf-dir a { grid-template-columns: 40px minmax(0, 260px) minmax(0, 1fr) 190px; gap: 24px; padding: 20px 14px; }
  .pf .pf-dir-i { grid-row: auto; align-self: center; }
  .pf .pf-dir-n { flex-direction: column; gap: 2px; }
  .pf .pf-dir-c { justify-self: end; color: var(--pf-mid); transition: color .2s, transform .2s var(--pf-ease); }
  .pf .pf-dir a:hover .pf-dir-c { color: var(--pf-acc); transform: translateX(3px); }
}

/* ── 11 · Who enters where ──────────────────────────────────────────────────────────────────── */
.pf .pf-who { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pf .pf-who { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pf .pf-who-c { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 30px); background: var(--pf-panel); border: 1px solid var(--pf-line);
  border-radius: var(--pf-r); box-shadow: var(--pf-card-shadow); }
.pf .pf-who-k { font-family: var(--pf-mono); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pf-acc); }
.pf .pf-who-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 16px; }
.pf .pf-who-map li { padding: 5px 0; border: 1px solid var(--pf-line2); border-radius: 4px; text-align: center; font-family: var(--pf-mono); font-size: 9.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-who-map li.is-on { color: var(--pf-acc); border-color: rgb(var(--pf-acc-rgb) / .6); background: rgb(var(--pf-acc-rgb) / .1); }
.pf .pf-who dl { flex: 1; margin-top: 20px; }
.pf .pf-who dt { font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-who dt + dd { margin-top: 5px; }
.pf .pf-who dd + dt { margin-top: 16px; }
.pf .pf-who dd { font-size: 15px; line-height: 1.6; color: var(--pf-mid); }
.pf .pf-who dd b { font-family: var(--pf-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; color: var(--pf-ink); }
.pf .pf-who .pf-btn { align-self: flex-start; margin-top: 24px; }

/* ── 12 · Final: back to the loop ───────────────────────────────────────────────────────────── */
.pf .pf-final { overflow: clip; }
.pf .pf-final::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 42% at 50% 46%, rgb(var(--pf-acc-rgb) / .07), transparent 72%); }
.pf .pf-final > .pf-wrap { position: relative; }
.pf .pf-fin { position: relative; max-width: 1080px; margin-inline: auto; }
.pf .pf-fin-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.pf .pf-fin-n { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 12px 14px;
  background: var(--pf-panel); border: 1px solid var(--pf-line2); border-radius: var(--pf-r-sm); text-align: center; box-shadow: var(--pf-card-shadow); }
.pf .pf-fin-k { font-family: var(--pf-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-ink); }
.pf .pf-fin-s { font-family: var(--pf-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-dim); }
.pf .pf-fin-rt { border-color: rgb(var(--pf-acc-rgb) / .6); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .08); }
.pf .pf-fin-rt .pf-fin-k { color: var(--pf-acc); }
.pf .pf-fin-fork { flex-direction: row; gap: 6px; padding: 6px; background: none; border-style: dashed; box-shadow: none; }
.pf .pf-fin-lane { flex: 1; display: grid; place-items: center; align-self: stretch; padding: 8px 6px; border: 1px solid var(--pf-line2); border-radius: calc(var(--pf-r-sm) - 2px); background: var(--pf-panel2); }
.pf .pf-fin-lane .pf-fin-k { font-size: 11px; letter-spacing: .08em; }
.pf .pf-fin-out { border-color: rgb(var(--pf-ok-rgb) / .55); }
.pf .pf-fin-out .pf-fin-k { color: var(--pf-ok); }
.pf .pf-fin-out ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
.pf .pf-fin-out li { font-family: var(--pf-mono); font-size: 11px; color: var(--pf-mid); }
.pf .pf-fin-out li::before { content: "\2713"; margin-right: 4px; color: var(--pf-ok); }
.pf .pf-fin-out li:last-child::before { content: "\25A0"; font-size: 8px; vertical-align: 1px; color: var(--pf-err); }
/* request arrows between the nodes (down on phones, right on wide screens) */
.pf .pf-fin-n + .pf-fin-n::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 12px; margin-left: -1px; background: rgb(var(--pf-acc-rgb) / .7); }
.pf .pf-fin-ret { display: none; }
.pf .pf-fin::after { content: "\21BA  outcome returns to AirCode"; display: block; margin-top: 12px; text-align: center; font-family: var(--pf-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--pf-ok); }
@media (min-width: 880px) {
  .pf .pf-fin { --g: 26px; padding-bottom: 58px; }
  .pf .pf-fin::after { content: none; }
  .pf .pf-fin-row { grid-template-columns: .8fr 1fr 1fr 1.25fr 1.25fr; gap: var(--g); align-items: stretch; }
  .pf .pf-fin-n { min-height: 96px; }
  .pf .pf-fin-n + .pf-fin-n::before { left: auto; right: 100%; top: 50%; bottom: auto; width: var(--g); height: 2px; margin: -1px 0 0;
    background: repeating-linear-gradient(90deg, rgb(var(--pf-acc-rgb) / .85) 0 4px, transparent 4px 8px); }
  .pf .pf-fin-n + .pf-fin-n::after { content: ""; position: absolute; right: 100%; top: 50%; margin: -4.5px 0 0; border: 4.5px solid transparent; border-right: 0;
    border-left: 6px solid rgb(var(--pf-acc-rgb) / .85); transform: translateX(1px); }
  /* the return: from the outcome, under the row, back up into AirCode */
  .pf .pf-fin-ret { display: block; position: absolute; bottom: 8px; height: 50px;
    left: calc((100% - 4 * var(--g)) * (.8 + .5) / 5.3 + var(--g)); right: calc((100% - 4 * var(--g)) * .625 / 5.3); }
  .pf .pf-fin-ret::before { content: ""; position: absolute; inset: 0; border: 2px dashed rgb(var(--pf-ok-rgb) / .7); border-top: 0; border-radius: 0 0 14px 14px; }
  .pf .pf-fin-ret::after { content: ""; position: absolute; left: -5px; top: -2px; border: 6px solid transparent; border-top: 0; border-bottom: 8px solid rgb(var(--pf-ok-rgb) / .85); }
  .pf .pf-fin-ret-l { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    font-family: var(--pf-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-ok); white-space: nowrap; }
  .pf .pf-fin-ret .v { display: none; }
  .pf.pf-js .is-live .pf-fin-n + .pf-fin-n::before { animation: pf-rt .5s linear infinite; }
}
.pf .pf-fin-lead { margin: clamp(40px, 5vw, 60px) auto 0; max-width: 46ch; text-align: center; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--pf-mid); text-wrap: balance; }
.pf .pf-fin-big { margin-top: 14px; text-align: center; font-family: var(--pf-display); font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 600; line-height: 1.02;
  letter-spacing: -.045em; color: var(--pf-ink); text-wrap: balance; }
.pf .pf-final .pf-ctas { margin-top: 36px; }

/* ── Theme shapes ───────────────────────────────────────────────────────────────────────────── */
/* Telemetry's bracketed mono eyebrows become the site's LED pills in Night and Day, and Cloud's
   spaced grey caps; headline accents take each theme's treatment. Colours are all tokens above. */
html:not([data-final="telemetry"]) .pf .pf-eyebrow { align-items: center; padding: 5px 13px; border: 1px solid rgb(var(--pf-acc-rgb) / .3);
  border-radius: 999px; background: rgb(var(--pf-acc-rgb) / .07); font-family: var(--pf-sans); font-size: 12px; letter-spacing: .1em; }
html:not([data-final="telemetry"]) .pf .pf-eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
html:not([data-final="telemetry"]) .pf .pf-eyebrow::after { content: none; }
html:not([data-final="telemetry"]) .pf :is(.pf-headline, h2, .pf-big, .pf-fin-big) .pf-acc { background: var(--pf-head-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

html[data-final="cloud"] .pf .pf-eyebrow { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--pf-muted); }
html[data-final="cloud"] .pf .pf-eyebrow::before { content: none; }
html[data-final="cloud"] .pf :is(.pf-headline, h2) { font-weight: 650; letter-spacing: -.04em; }
html[data-final="cloud"] .pf :is(.pf-headline, h2, .pf-big, .pf-fin-big) .pf-acc { background: none; -webkit-text-fill-color: currentColor; color: var(--pf-head-ink); }
html[data-final="cloud"] .pf :is(.pf-panel, .pf-win, .pf-vs-col, .pf-layer-b, .pf-cyc-n, .pf-who-c, .pf-four li, .pf-tool-b, .pf-fin-n:not(.pf-fin-fork)) { border-color: rgb(24 27 38 / .045); }
html[data-final="cloud"][data-cloud="dark"] .pf :is(.pf-panel, .pf-win, .pf-vs-col, .pf-layer-b, .pf-cyc-n, .pf-who-c, .pf-four li, .pf-tool-b, .pf-fin-n:not(.pf-fin-fork)) { border-color: rgb(255 255 255 / .06); }
html[data-final="cloud"] .pf .pf-four li { border-top: 3px solid var(--pf-acc); border-radius: var(--pf-r-sm); }
html[data-final="cloud"] .pf .pf-loopsec::before { background: radial-gradient(38% 34% at 50% 52%, rgb(var(--pf-acc-rgb) / .06), transparent 72%); -webkit-mask: none; mask: none; }
html[data-final="cloud"] .pf .pf-loopsec { border-color: transparent; }
html[data-final="cloud"] .pf .pf-btn { transition: transform .25s var(--pf-ease), box-shadow .25s var(--pf-ease), background-color .25s; }
html[data-final="cloud"] .pf .pf-btn-p:hover { transform: translateY(-3px); box-shadow: 0 21px 42px rgb(10 132 255 / .28); }
html[data-final="cloud"] .pf .pf-btn-s { border-color: var(--pf-line); box-shadow: var(--pf-card-shadow); }
html[data-final="cloud"] .pf .pf-btn-s:hover { transform: translateY(-3px); color: var(--pf-ink); border-color: var(--pf-line2); }
html[data-final="cloud"] .pf .pf-who-c:hover { transform: translateY(-4px); }
html[data-final="cloud"] .pf .pf-who-c { transition: transform .25s var(--pf-ease); }
html[data-final="cloud"] .pf .pf-arch { border-style: solid; border-color: rgb(var(--pf-acc-rgb) / .25); background: rgb(var(--pf-acc-rgb) / .03); }
@media (prefers-reduced-motion: reduce) { html[data-final="cloud"] .pf :is(.pf-btn, .pf-who-c):hover { transform: none; } }

/* ── Motion ─────────────────────────────────────────────────────────────────────────────────── */
@keyframes pf-led { 0% { box-shadow: 0 0 0 0 rgb(var(--pf-ok-rgb) / .55); } 100% { box-shadow: 0 0 0 7px rgb(var(--pf-ok-rgb) / 0); } }
@keyframes pf-blink { 50% { opacity: 0; } }
@keyframes pf-dn { to { background-position: 0 8px; } }
@keyframes pf-up { to { background-position: 0 -8px; } }
@keyframes pf-lt { to { background-position: -8px 0; } }
@keyframes pf-rt { to { background-position: 8px 0; } }
@keyframes pf-pkt { from { opacity: 0; transform: translateY(calc(-50% - 6px)); } }
@keyframes pf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pf-rot { to { transform: rotate(360deg); } }
@keyframes pf-ring { to { stroke-dashoffset: -10; } }
@keyframes pf-node { 0%, 20% { border-color: rgb(var(--pf-acc-rgb) / .8); box-shadow: 0 0 0 4px rgb(var(--pf-acc-rgb) / .1), var(--pf-card-shadow); }
  27%, 100% { border-color: var(--pf-line2); box-shadow: var(--pf-card-shadow); } }
@keyframes pf-seen { 0%, 3% { border-color: var(--pf-line2); } 6%, 16% { border-color: rgb(var(--pf-acc-rgb) / .7); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .08); }
  22%, 100% { border-color: var(--pf-line2); box-shadow: none; } }
@keyframes pf-trig { 0%, 2% { background: transparent; } 6%, 20% { background: rgb(var(--pf-acc-rgb) / .06); } 26%, 100% { background: transparent; } }
@keyframes pf-lane-l { 0% { stroke: var(--pf-acc); stroke-dashoffset: 0; } 46% { stroke: var(--pf-acc); stroke-dashoffset: -48; } 50%, 100% { stroke: var(--pf-line3); stroke-dashoffset: -48; } }
@keyframes pf-lane-r { 0%, 50% { stroke: var(--pf-line3); stroke-dashoffset: 0; } 54% { stroke: var(--pf-acc); stroke-dashoffset: 0; } 96% { stroke: var(--pf-acc); stroke-dashoffset: -48; } 100% { stroke: var(--pf-line3); stroke-dashoffset: -48; } }
@keyframes pf-lit-a { 0%, 46% { border-color: rgb(var(--pf-acc-rgb) / .75); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .1); } 50%, 100% { border-color: var(--pf-line2); box-shadow: none; } }
@keyframes pf-lit-b { 0%, 50% { border-color: var(--pf-line2); box-shadow: none; } 54%, 96% { border-color: rgb(var(--pf-acc-rgb) / .75); box-shadow: 0 0 0 3px rgb(var(--pf-acc-rgb) / .1); } 100% { border-color: var(--pf-line2); box-shadow: none; } }
/* the return rail: dashes climb, the dot travels result → router once per outcome */
@keyframes pf-dot { 0% { opacity: 0; left: 0; top: 100%; } 8% { opacity: 1; } 18% { left: 22px; top: 100%; } 82% { left: 22px; top: 0; } 96% { opacity: 1; left: 0; top: 0; } 100% { opacity: 0; left: 0; top: 0; } }
.pf.pf-js .is-ret .pf-ret .v, .pf.pf-js .is-live .pf-ret .v { animation: pf-up .5s linear infinite; }
.pf.pf-js .is-ret .pf-ret::before, .pf.pf-js .is-live .pf-ret::before { animation: pf-lt .5s linear infinite; }
.pf.pf-js .is-ret .pf-ret::after, .pf.pf-js .is-live .pf-ret::after { animation: pf-rt .5s linear infinite; }
.pf.pf-js .pf-hv.is-send .pf-ret .dot { animation: pf-dot 1.5s var(--pf-ease) both; }
.pf.pf-js .is-live .pf-ret-arch .dot { animation: pf-dot 3.2s ease-in-out infinite; }
.pf.pf-js [data-lane-on="frontier"] :is(.pf-fork, .pf-merge) path.l, .pf.pf-js [data-lane-on="gpu"] :is(.pf-fork, .pf-merge) path.r { animation: pf-dash .45s linear infinite; }
@keyframes pf-dash { to { stroke-dashoffset: -8; } }

@media (prefers-reduced-motion: reduce) {
  .pf *, .pf *::before, .pf *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* SEO (2026-10-20): the hero's eyebrow is the page's <h1>, carrying the search phrase; the big display headline under
   it is p.pf-headline (the rules above that styled "h1" now style it). The eyebrow keeps its own look: these undo what
   final-type.css gives every h1 (the display face) and keep a wrapped eyebrow readable. */
.pf h1.pf-eyebrow { font-family: var(--pf-mono); line-height: 1.5; text-wrap: balance; }
/* Telemetry brackets the eyebrow: as a block, a long one wraps with its brackets beside the words instead of at the edges. */
html[data-final="telemetry"] .pf h1.pf-eyebrow { display: block; }
html[data-final="telemetry"] .pf h1.pf-eyebrow::before { margin-right: 8px; }
html[data-final="telemetry"] .pf h1.pf-eyebrow::after { margin-left: 8px; }
