/* carbium.sh landing (src/views/landing.js, public/landing-body.inc) and the rules other views share from this sheet. */

.cw-land2 { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; height: 100dvh; overflow: hidden; scroll-behavior: smooth; }
.cw-land2-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; scroll-behavior: smooth; }
.cw-land2 .is-dim { color: var(--c-faint); }
.c-reg--w::before, .c-reg--w::after { border-color: var(--c-ws); }
.c-reg--q::before, .c-reg--q::after { border-color: rgb(from var(--c-quote) r g b / .5); }
.cw-rl-card { background: var(--c-surface); }
.cw-rl-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--c-s-6); margin-bottom: var(--c-s-6); flex-wrap: wrap; }
.cw-rl-head h2 { margin: 0; font-family: var(--c-font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--c-text); }
.cw-rl-unit { color: var(--c-faint); }
.cw-rl-foot { margin-top: var(--c-s-4); color: var(--c-faint); }
.cw-rl-scroll + .cw-rl-foot { margin-top: var(--c-s-5); }
.cw-rl-scroll > .c-table { min-width: 0; }
.cw-rl-table { font-size: 12.5px; line-height: 1.5; }
.cw-rl-table th, .cw-rl-table td { padding: var(--c-s-4) var(--c-s-6); border-bottom: 1px solid var(--c-line-soft); }
.cw-rl-table thead th { background: transparent; border-bottom: 1px solid var(--c-line-2); vertical-align: middle; }
.cw-rl-table .cw-rl-th { text-align: right; }
.cw-rl-class { display: flex; align-items: center; gap: var(--c-s-3); }
.cw-rl-table .cw-rl-name { font-family: var(--c-font-mono); font-weight: 500; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text); }
.cw-rl-table .cw-rl-ex { margin-top: var(--c-s-1); font-size: 11px; color: var(--c-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-rl-table td.cw-rl-n { font-size: 12.5px; color: var(--c-text); }
.cw-rl-table tbody tr:hover td { background: var(--c-row-hover); }
.cw-rl-card[data-cur-tier="free"] .c-table th:nth-child(2), .cw-rl-card[data-cur-tier="free"] .c-table td:nth-child(2),
.cw-rl-card[data-cur-tier="dev"] .c-table th:nth-child(3),  .cw-rl-card[data-cur-tier="dev"] .c-table td:nth-child(3),
.cw-rl-card[data-cur-tier="buss"] .c-table th:nth-child(4), .cw-rl-card[data-cur-tier="buss"] .c-table td:nth-child(4),
.cw-rl-card[data-cur-tier="pro"] .c-table th:nth-child(5),  .cw-rl-card[data-cur-tier="pro"] .c-table td:nth-child(5) {
  color: var(--c-brand-tint); background: var(--c-brand-wash);
}
.cw-expander:hover { color: var(--c-muted); }
.cw-expander:focus-visible { outline: none; box-shadow: var(--c-focus); }
.cw-authmodal, .cw-keyreveal-modal { display: flex; overflow-y: auto; }
.cw-authmodal-card, .cw-keyreveal { margin: auto; max-height: none; overflow: visible; }
.cw-authmodal-card { position: relative; }
.cw-auth-x {
  position: absolute; top: var(--c-s-6); right: var(--c-s-6);
  width: 26px; height: 26px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; color: var(--c-faint);
  border: 1px solid var(--c-line); background: var(--c-surface-2); border-radius: var(--c-r-ctl);
  transition: color var(--c-dur-1) var(--c-ease), border-color var(--c-dur-1) var(--c-ease);
}
.cw-auth-x:hover { color: var(--c-text); border-color: var(--c-line-2); }
.cw-admit { display: flex; align-items: center; gap: var(--c-s-4); margin: var(--c-s-5) 0 var(--c-s-6); font-family: var(--c-font-mono); font-size: 11px; }
.cw-admit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-faint); flex: none; transition: background var(--c-dur-3) var(--c-ease); }
.cw-admit-txt { color: var(--c-faint); transition: color var(--c-dur-3) var(--c-ease); }
.cw-admit.done .cw-admit-dot { background: var(--c-ok); box-shadow: 0 0 8px var(--c-ok); }
.cw-admit.done .cw-admit-txt { color: var(--c-ok); }
.cw-keyreveal { max-width: 420px; }
.cw-keyreveal-warn { color: var(--c-danger) !important; }
.cw-keyreveal .c-field label { color: var(--c-danger-tint); }
.cw-keyreveal .cw-idcell { width: 100%; justify-content: space-between; padding: var(--c-s-4) var(--c-s-5); border: 1px solid var(--c-line); border-radius: var(--c-r-ctl); background: var(--c-surface-2); }
/* /system (system.js): one screen at every desktop size, one grid filling the frame. The heading and its three figures in one band;
   six service rows sharing the height above a floor (name, state, endpoint, the figure pills, under them 30 day-bars, oldest at the
   left); a side column with the one response-time chart over the incidents, which scroll inside themselves. A narrow row drops the
   endpoint text, then the FROM HERE pill; under 1100 px the side column goes under the rows; a phone stacks it all and the content
   area scrolls inside the frame. A bar's state reads by shape as well as colour: up solid, slow notched, missed broken, not measured
   hollow, an incident a mark under the day. */
.cw-sys-main { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 460px); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "hd hd" "rows side";
  gap: clamp(8px, 1.6dvh, 16px) var(--c-s-8); padding: clamp(10px, 2.2dvh, 24px) var(--c-s-10); max-width: 1680px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.cw-sys-hd { grid-area: hd; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--c-s-4) var(--c-s-10); min-width: 0; }
.cw-sys-h1 { font-family: var(--c-font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.cw-sys-head { display: flex; gap: var(--c-s-10); }
.cw-sys-fig { display: flex; flex-direction: column; gap: var(--c-s-2); }
.cw-sys-big { font-family: var(--c-font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: clamp(16px, 2.4dvh, 22px); line-height: 1.1; white-space: nowrap; color: var(--c-text); }
.cw-sys-big.is-ok { color: var(--c-ok); }
/* a row's floor is its real minimum: its padding, its gap, the 26 px top line and the 20 px strip, so a row never clips inside itself */
.cw-sys-grid { grid-area: rows; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(6, minmax(calc(2 * clamp(6px, 1.2dvh, 12px) + clamp(4px, .8dvh, 8px) + 46px), 1fr)) auto; gap: clamp(4px, .8dvh, 8px); min-height: 0; margin: 0; }
.cw-sys-row { position: relative; display: grid; grid-template-rows: auto minmax(20px, 1fr); gap: clamp(4px, .8dvh, 8px); padding: clamp(6px, 1.2dvh, 12px) var(--c-s-7); min-height: 0; container: sysrow / inline-size; }
.cw-sys-top { display: flex; align-items: center; gap: var(--c-s-3) var(--c-s-6); min-width: 0; }
.cw-sys-nm { flex: none; font-family: var(--c-font-display); font-weight: 600; font-size: 16px; white-space: nowrap; min-width: 116px; }
.cw-sys-st { white-space: nowrap; font-weight: 600; }
.cw-sys-ep { flex: 0 1 auto; min-width: 0; }
.cw-sys-ep > .cw-mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-muted); }
.cw-sys-main .c-pill.cw-sys-pill { color: var(--c-text); font-weight: 600; background: var(--c-surface-2); border-color: var(--c-line-2); }
.cw-sys-top > .cw-sys-pill:not(.cw-sys-here) { margin-left: auto; }
.cw-sys-pill .cw-pgly { width: 7px; height: 7px; }
.cw-pgly.is-hooks { box-shadow: inset 0 0 0 2px var(--c-faint); }
.cw-sys-rtt { font-family: var(--c-font-mono); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-text); }
.cw-sys-strip { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: clamp(2px, .25vw, 4px); height: 100%; max-height: 64px; min-height: 20px; align-self: center; padding-bottom: 7px; box-sizing: border-box; }
.cw-sys-strip:focus-visible { outline: none; box-shadow: var(--c-focus); }
.cw-day { position: relative; border-radius: var(--c-r-chip); box-shadow: inset 0 0 0 1.5px var(--c-faint); }
.cw-day[data-st="up"] { background: var(--c-ok); box-shadow: none; }
.cw-day[data-st="slow"] { background: var(--c-warn); box-shadow: inset 0 4px 0 var(--c-surface); }
.cw-day[data-st="missed"] { background: linear-gradient(var(--c-danger) 35%, transparent 0 65%, var(--c-danger) 0); box-shadow: none; }
.cw-day[data-inc]::after { content: ""; position: absolute; left: 50%; bottom: -7px; translate: -50% 0; border: 3px solid transparent; border-top: 0; border-bottom: 5px solid var(--c-text); }
.cw-day.is-cur { outline: 1.5px solid var(--c-text); outline-offset: 1px; }
.cw-daytip.cw-sys-tip { width: auto; bottom: calc(100% - 6px); white-space: nowrap; font-size: 11px; color: var(--c-text); }
.cw-sys-days { display: flex; justify-content: space-between; gap: var(--c-s-6); margin: 0; padding: 0 var(--c-s-7); font-family: var(--c-font-mono); font-size: 11px; color: var(--c-muted); white-space: nowrap; }
.cw-sys-side { grid-area: side; display: grid; grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(8px, 1.6dvh, 16px); min-height: 0; }
.cw-sys-side:not(:has(> .cw-sys-inc)) { grid-template-rows: minmax(0, 1fr); }   /* no incident on record: the chart has the column */
.cw-sys-chart { display: flex; flex-direction: column; gap: var(--c-s-4); min-height: 0; padding: var(--c-s-6) var(--c-s-7); }
.cw-sys-h2 { margin: 0; font-family: var(--c-font-display); font-weight: 600; font-size: 15px; }
.cw-sys-legend { display: flex; flex-wrap: wrap; gap: var(--c-s-2) var(--c-s-3); }
.cw-sys-plot { position: relative; flex: 1 1 0; min-height: 56px; margin-right: 46px; }
.cw-sys-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cw-sys-plot .cw-ytick { right: -46px; top: calc(var(--y) * 1%); font-size: 10.5px; color: var(--c-muted); }
.cw-sys-ln { fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cw-sys-end { stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cw-sys-svg .is-rpc { stroke: var(--c-rpc-chart); }
.cw-sys-svg .is-ws { stroke: var(--c-ws-chart); }
.cw-sys-svg .is-stream { stroke: var(--c-stream-chart); }
.cw-sys-svg .is-das { stroke: var(--c-das-chart); }
.cw-sys-svg .is-quote { stroke: var(--c-quote-chart); }
.cw-sys-svg .is-hooks { stroke: var(--c-neutral); }
.cw-sys-ln.is-hooks { stroke-dasharray: 3 2; }
@media (prefers-reduced-motion: no-preference) {
  .cw-sys-end.is-new { animation: cw-sys-land .9s var(--c-ease-out); }
}
@keyframes cw-sys-land { 35% { stroke-width: 14; } }
.cw-sys-wait { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--c-font-mono); font-size: 11px; color: var(--c-muted); }
.cw-sys-wait:empty { display: none; }
.cw-sys-x { display: flex; justify-content: space-between; margin-right: 46px; font-family: var(--c-font-mono); font-size: 10.5px; color: var(--c-muted); white-space: nowrap; }
.cw-sys-inc { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--c-s-6) var(--c-s-7); margin: 0; }
.cw-sys-ev { padding: var(--c-s-4) 0; border-top: 1px solid var(--c-line); outline: none; }
.cw-sys-inc > .cw-sys-h2 { margin-bottom: var(--c-s-3); }
.cw-sys-ev:focus-visible { box-shadow: var(--c-focus); }
.cw-sys-ev p { margin: var(--c-s-2) 0 0; }
.cw-sys-when { display: flex; flex-wrap: wrap; align-items: center; gap: var(--c-s-3); font-family: var(--c-font-mono); font-size: 11px; color: var(--c-muted); }
.cw-sys-evt { margin: var(--c-s-3) 0 0; font-size: 14px; font-weight: 600; }
.cw-sys-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.cw-sys-body .c-sub { font-size: 12px; line-height: 1.5; }
.cw-sys-ev:is(:hover, :focus-within) .cw-sys-body { display: block; }
@container sysrow (width < 640px) { .cw-sys-ep > .cw-mono { display: none; } }
@container sysrow (width < 520px) { .cw-sys-here { display: none; } }
/* 1100 px wide and under: everything takes its content height and the content area scrolls inside the frame */
@media (max-width: 1100px) {
  /* every track takes its content's height (max-content: an auto track under this fixed-height scroll area would squeeze the rows,
     whose own min-height is 0, into each other) and the area scrolls */
  .cw-sys-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hd" "rows" "side"; grid-template-rows: repeat(3, max-content); }
  .cw-sys-grid { grid-template-rows: none; grid-auto-rows: max-content; }
  .cw-sys-strip { height: 30px; }
  .cw-sys-side { grid-template-rows: none; grid-auto-rows: max-content; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .cw-sys-side:not(:has(> .cw-sys-inc)) { grid-template-columns: minmax(0, 1fr); }
  .cw-sys-plot { flex: none; height: 140px; }
  .cw-sys-inc { overflow: visible; }
}
@media (max-width: 720px) {
  .cw-sys-main { padding: var(--c-s-6); }
  .cw-sys-side { grid-template-columns: minmax(0, 1fr); }
  .cw-sys-row { padding: var(--c-s-4) var(--c-s-5); }
  .cw-sys-top { flex-wrap: wrap; }
  .cw-sys-ep, .cw-sys-here { display: none; }
  .cw-sys-nm { min-width: 0; font-size: 15px; }
  .cw-sys-strip { height: 26px; }
  .cw-sys-days { flex-wrap: wrap; white-space: normal; }   /* the caption wraps, never wider than the phone: the two ends on one line, the note under them */
  .cw-sys-since { order: 3; flex-basis: 100%; }
  .cw-sys-head { gap: var(--c-s-6); }
}
.cw-proto-p { color: var(--c-brand-tint); }   /* each plane's card title in its hue (system.js); the quote lane colours itself inline */
.cw-proto-w { color: var(--c-ws); }
.cw-proto-r { color: var(--c-stream); }
@media (max-width: 760px) { .cw-rl-table .cw-rl-ex { white-space: normal; } }

/* ---- the landing (public/landing-body.inc, src/views/landing.js): seven chapters in one shell that never scrolls; <main>
   scrolls inside at every width. Only the rules the page uses are here; the shell's site-wide ones are kept to .lp at the
   specificity they had (:where), since this sheet loads on every route. ---- */
.cw-signed #app > .cw-pre { display: none; }   /* boot-theme.js: a signed-in visit to / renders the dashboard instead */
:where(.lp, .lp *, .lp *::before, .lp *::after) { box-sizing: border-box; }
.lp { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; height: 100dvh; overflow: hidden; background: var(--c-bg); }
body:has(.lp) > .cw-waves { display: none; }   /* the landing covers the app's backdrop (src/backdrop.js) and draws its own waves per chapter */
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp, .lp *) { scrollbar-width: none; }
:where(.lp) ::-webkit-scrollbar { display: none; }
.lp-main { min-width: 0; min-height: 0; overflow-y: auto; overflow-x: clip; overscroll-behavior: contain; scroll-behavior: smooth; }
.lp-main:focus { outline: none; }
:where(.lp) .num { font-family: var(--c-font-mono); font-variant-numeric: tabular-nums; }
:where(.lp) .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:where(.lp) :is(h1, h2, h3) { text-wrap: balance; }
:where(.lp) p { text-wrap: pretty; }
:where(.lp) .bare { list-style: none; margin: 0; padding: 0; }

/* chapters: bar, numerals, heads, ticker, facts */
.ch .lp-main { scroll-snap-type: y proximity; }
.ch-bar { display: flex; align-items: center; gap: 20px; height: 54px; padding: 0 24px; border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.ch-brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ch-brand img { width: 22px; height: 22px; }
.ch-brand span { font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-faint); text-box: trim-both cap alphabetic; }   /* the box is the caps, so align-items centres them on the mark */
.ch-brand:focus-visible { outline: none; box-shadow: var(--c-focus); border-radius: var(--c-r-ctl); }
.ch-idx { display: flex; gap: 2px; margin: 0 auto; }
.ch-idx a { white-space: nowrap; padding: 4px 9px; font-size: 11.5px; color: var(--c-faint); border-bottom: 2px solid transparent; transition: color var(--c-dur-1) var(--c-ease), border-color var(--c-dur-2) var(--c-ease); }
.ch-idx a:hover { color: var(--c-text); }
.ch-idx a.is-on { color: var(--c-text); border-bottom-color: var(--c-brand); }
.ch-right { display: flex; align-items: center; gap: 12px; flex: none; }
.ch-c { position: relative; min-height: calc(100dvh - 94px); padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 40px; scroll-snap-align: start; border-bottom: 1px solid var(--c-line); overflow: clip; }
.ch-num { margin: 0; font-family: var(--c-font-mono); font-weight: 600; font-size: clamp(88px, 13vw, 210px); line-height: .82; letter-spacing: -.06em; color: var(--c-text); white-space: nowrap; }
.ch-num small { font-size: .22em; letter-spacing: 0; margin-left: .15em; color: var(--c-faint); }
.ch-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: end; }
.ch-k { margin: 0 0 12px; font-family: var(--c-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); }
.ch-c h2 { margin: 0; max-width: 640px; font-family: var(--c-font-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.025em; color: var(--c-text); }
.ch-lead { margin: 0; max-width: 520px; font-size: 16px; color: var(--c-muted); }
.ch-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ch-cta .c-btn { height: 42px; padding: 0 22px; font-size: 14px; }
.ch-1 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 56px;
  background: radial-gradient(70% 80% at 18% 50%, var(--c-brand-wash), transparent 70%);
}
.ch-1 .ch-num { font-size: clamp(200px, 30vw, 440px); color: var(--c-brand); text-shadow: 0 0 60px var(--c-brand-glow); }
.ch-1 .ch-body { display: flex; flex-direction: column; gap: 22px; }
.ch-1 h1 { margin: 0; font-family: var(--c-font-display); font-weight: 700; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; color: var(--c-text); }
.ch-1 .w { display: inline-block; }
.ch-1 .w.is-p { color: var(--c-brand-tint); }
.ch-1 .w.is-w { color: var(--c-ws); }
.ch-1 .w.is-q { color: var(--c-quote-tint); }
@media (prefers-reduced-motion: no-preference) {
  .ch-1 .w { animation: ch-rise .7s var(--c-ease-out) both; animation-delay: calc(200ms + var(--i) * 110ms); }
}
.ch-2 { --ink: #0e0e0e; background: var(--c-quote); color: var(--ink); }
.ch-2 .ch-num, .ch-2 h2 { color: var(--ink); }
.ch-2 .ch-num small, .ch-2 .ch-k { color: rgb(14 14 14 / .8); }
.ch-key { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgb(14 14 14 / .7); }
.ch-key i { width: 12px; height: 12px; border: 1.5px solid var(--ink); }
.ch-key i.us { background: var(--ink); }
.ch-key i + i, .ch-key i:not(.us) { margin-left: 10px; }
.ch-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.ch-facts div { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 18px 0; border-bottom: 1px solid rgb(14 14 14 / .25); }
.ch-facts dd { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.ch-facts dt { font-size: 12.5px; line-height: 1.4; color: rgb(14 14 14 / .72); }
.ch-3 { background: var(--c-surface-2); }
.ch-3 .ch-num { color: var(--c-quote-tint); }
.ch-tick { margin: 0 -56px; overflow: clip; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ch-track { display: flex; gap: 14px; width: max-content; padding: 6px 0; }
.ch-track li { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px; border: 1px solid var(--c-line-2); background: var(--c-bg); font-family: var(--c-font-mono); font-size: 16px; color: var(--c-text); white-space: nowrap; }
.ch-track li::before { content: ""; width: 8px; height: 8px; background: var(--c-quote); }
.ch-pause { align-self: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .ch-track { animation: ch-marq 58s linear infinite; } /* -50% of four copies is two: 58 s keeps the old pace */
  .ch-tick:hover .ch-track, .ch-tick:focus-within .ch-track, .ch-tick[data-paused] .ch-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-tick { margin: 0; mask-image: none; }
  .ch-track { width: auto; flex-wrap: wrap; }
  .ch-track li[aria-hidden] { display: none; }
  .ch-pause { display: none; }
}
.cw-ch-foot { min-width: 0; }   /* footerBar() and the terms bar (landing.js); the bar rides the footer row, never over a chapter */
.cw-ch-foot > .c-card { position: static !important; transform: none !important; width: auto !important; max-width: none !important; margin: 0; border-width: 1px 0 0; border-radius: 0; }
@media (max-width: 1000px) {
  .ch-c { padding: 48px 24px; gap: 28px; }
  .ch-tick { margin: 0 -24px; }
  .ch-1 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ch-1 .ch-num { font-size: clamp(150px, 42vw, 260px); }
  .ch-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 620px) {
  .ch-idx { display: none; }
  .ch-right { margin-left: auto; }
  .ch-bar { padding: 0 14px; }
  .ch-c { padding: 40px 16px; min-height: 0; }
  .ch-tick { margin: 0 -16px; }
  .ch-num { font-size: clamp(64px, 22vw, 120px); }
  .ch-facts { grid-template-columns: minmax(0, 1fr); }
  .ch-track li { height: 44px; font-size: 13px; padding: 0 14px; }
}
@keyframes ch-rise { from { opacity: 0; transform: translateY(30%); } }
@keyframes ch-marq { to { transform: translateX(calc(-50% - 7px)); } }

/* instruments: dial, ring, squares, radar, board */
.dc-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; }
.dc-row.is-3 { grid-template-columns: auto auto minmax(0, 1fr); gap: 44px; }
.dc-cap { margin: 10px 0 0; font-family: var(--c-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: rgb(14 14 14 / .66); white-space: nowrap; }
.dc-dial { display: grid; place-items: center; width: min(100%, 250px); }
.dc-dial > * { grid-area: 1 / 1; }
.dc-dial svg { width: 100%; height: auto; }
.dc-dial circle { fill: none; }
.dc-dial .t { stroke: rgb(14 14 14 / .32); stroke-width: 6; stroke-dasharray: 1.2 7.596; }
.dc-dial .us { stroke-width: 11; transform: rotate(-90deg); transform-origin: 100px 100px; stroke-dasharray: var(--to) 1; }
.dc-dial .us { stroke: var(--ink); }
.dc-dial .r { stroke: rgb(14 14 14 / .25); stroke-width: 1; stroke-dasharray: 4 10; }
.dc-dial-v { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1; }
.dc-dial-v b { font-family: var(--c-font-mono); font-weight: 600; font-size: 40px; letter-spacing: -.03em; color: var(--ink); }
.dc-dial-v small { font-family: var(--c-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgb(from var(--c-on-quote) r g b / .75); }
@media (prefers-reduced-motion: no-preference) {
  .in .dc-dial .us { animation: dc-arc .9s var(--c-ease-out) .3s both; }
  .dc-dial .r { animation: dc-radar 9s linear infinite; }
}
.dc-ring { --p: var(--pct); position: relative; width: 176px; aspect-ratio: 1; display: grid; place-items: center; }
.dc-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--ink) calc(var(--p) * 1%), rgb(14 14 14 / .16) 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
}
.dc-ring b { font-family: var(--c-font-mono); font-weight: 600; font-size: 30px; letter-spacing: -.02em; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .in .dc-ring { animation: dc-ring 1.6s var(--c-ease-out) both; }
}
.dc-radar { position: relative; width: 220px; aspect-ratio: 1; flex: none; }
.dc-radar .disc { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--c-line-2);
  background: radial-gradient(circle, transparent 0 32%, var(--c-line-soft) 32.5% 33%, transparent 33.5% 66%, var(--c-line-soft) 66.5% 67%, transparent 67.5%);
}
.dc-radar .arm { position: absolute; inset: 0; border-radius: 50%; mask: radial-gradient(circle, transparent 0 38%, #000 39%); background: conic-gradient(from 0deg, rgb(from var(--c-quote) r g b / .5) 0deg 46deg, transparent 46deg); }
.dc-radar .blip { position: absolute; width: 7px; height: 7px; translate: -50% -50%; background: var(--c-line-2); }
.dc-radar .core { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-faint); }
@media (prefers-reduced-motion: no-preference) {
  .dc-radar .arm { animation: dc-spin 7s linear infinite; }
  .dc-radar .blip { animation: dc-blip 7s linear infinite; animation-delay: var(--t); }
}
.ch-head.has-radar { grid-template-columns: auto minmax(0, 1fr) auto; }
.dc-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.dc-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; background: var(--c-bg); }
.dc-tile .k { margin: 0; font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hue); white-space: nowrap; }
.dc-tile .v { margin: 0; font-family: var(--c-font-mono); font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -.03em; color: var(--c-text); white-space: nowrap; }
.dc-tile .v small { margin-left: 6px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--c-faint); }
.dc-tile dl { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 4px 12px; margin: 0; padding-top: 10px; border-top: 1px dashed var(--c-line-soft); font-family: var(--c-font-mono); font-size: 11px; }
.dc-tile dt { color: var(--c-faint); white-space: nowrap; }
.dc-tile dd { margin: 0; color: var(--c-muted); text-align: right; white-space: nowrap; }
.dc-tile dd.live { color: var(--c-text); }
.dc-tile canvas { display: block; width: 100%; height: 40px; }
.dc-tile .v { min-height: 40px; display: flex; align-items: flex-end; }
@media (max-width: 1000px) {
  .dc-row, .dc-row.is-3 { grid-template-columns: minmax(0, 1fr); gap: 32px; justify-items: start; }
  .ch-head.has-radar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1110px) { .dc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* a tile's row needs 208 px: four across, the next tile paints over it below 1111 */
@media (max-width: 620px) {
  .dc-board { grid-template-columns: minmax(0, 1fr); }
  .dc-radar { width: 180px; }
}
.dc-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.dc-planes { display: flex; flex-direction: column; gap: 32px; }
@keyframes dc-arc { from { stroke-dasharray: 0 1; } }
@keyframes dc-radar { to { stroke-dashoffset: -140; } }
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes dc-ring { from { --p: 0; } to { --p: var(--pct); } }
@keyframes dc-spin { to { rotate: 360deg; } }
@keyframes dc-blip { 0% { background: var(--c-quote); box-shadow: 0 0 10px var(--c-quote); scale: 1.6; } 14%, 100% { background: var(--c-line-2); box-shadow: none; scale: 1; } }

/* the routing engine, the stream client, pricing */
.e-cap { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--c-font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-faint); }
.e-cap b { font-weight: 500; color: var(--c-text); }
.e-cap .q { color: var(--c-quote-tint); }
.e-k { margin: 0 0 8px; font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hue, var(--c-faint)); white-space: nowrap; }
.e-engine { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.e-engine.is-2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.e-canvas { display: block; width: 100%; border: 1px solid var(--c-line); background: var(--c-bg); }
.e-route { aspect-ratio: 16 / 7; }
.e-sweep { aspect-ratio: 120 / 62; image-rendering: pixelated; }
.e-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.e-steps li { padding: 4px 9px; border: 1px solid var(--c-line); font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-faint); white-space: nowrap; transition: color var(--c-dur-2) var(--c-ease), border-color var(--c-dur-2) var(--c-ease); }
.e-steps li.is-on { color: var(--c-text); border-color: var(--c-quote); box-shadow: 0 0 10px rgb(from var(--c-quote) r g b / .25); }
.e-ch-cs { background: radial-gradient(60% 70% at 85% 30%, var(--c-stream-wash), transparent 70%), var(--c-bg); }
.e-ch-cs .ch-num { color: var(--c-stream); text-shadow: 0 0 50px rgb(from var(--c-stream) r g b / .35); }
.e-ch-cs .ch-k { color: var(--c-stream-tint); }
.e-cs-name { color: var(--c-stream); }
.e-cs-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.e-term { border: 1px solid var(--c-line); background: var(--c-surface-2); min-width: 0; }
.e-term-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--c-line); font-family: var(--c-font-mono); font-size: 11px; color: var(--c-muted); }
.e-term-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line-2); }
.e-term pre { margin: 0; padding: 14px 16px; height: 238px; overflow: hidden; font-family: var(--c-font-mono); font-size: 12.5px; line-height: 1.75; color: var(--c-text); }
.e-term .c { color: var(--c-faint); }
.e-term .s { color: var(--c-stream-tint); }
.e-term .k { color: var(--c-brand-tint); }
.e-term .g { color: var(--c-go-tint); }
.e-term .row { display: block; white-space: pre; }
.e-term .br { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .e-term .row.new { animation: e-row .5s var(--c-ease-out) both; }
}
.e-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.e-filters li { padding: 4px 9px; border: 1px solid var(--c-line); font-family: var(--c-font-mono); font-size: 11px; color: var(--c-muted); white-space: nowrap; }
.e-filters li.is-on { color: var(--c-text); border-color: var(--c-stream); }
.e-compat { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; font-family: var(--c-font-mono); font-size: 12px; color: var(--c-muted); }
.e-compat b { color: var(--c-text); font-weight: 500; }
.e-seg { display: inline-flex; margin-bottom: 18px; }
.e-panel[hidden] { display: none; }
@media (max-width: 1110px) { .e-cs-grid { grid-template-columns: minmax(0, 1fr); } }   /* the client line prints the door's whole name, and the pre clips */
@media (max-width: 1000px) {
  .e-engine.is-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .e-route { aspect-ratio: 4 / 3; }
  .e-term pre { font-size: 11px; height: 280px; }
  .e-term .br { display: inline; }
  .e-term .dt { display: none; }
}
@keyframes e-row { from { opacity: 0; transform: translateY(8px); background: rgb(from var(--c-stream) r g b / .18); } }

/* hero waves, method check, proofs, steady pricing tabs */
.ch-c { isolation: isolate; }   /* each chapter's z -1 wave paints above its own background */
.ch-1 .w.is-cs { color: var(--c-stream); }
.hb { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
canvas.hb { width: 100%; height: 100%; }
.ch-c:not(.ch-1) > .hb-waves { opacity: .6;   /* the hero's ribbons carried behind 03-07, fainter, fading out at each seam */
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.f-check { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.f-tick { margin: 0; display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border: 1px solid var(--c-line); background: var(--c-surface-2); font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; max-width: 560px; }
.f-tick b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--c-text); }
.f-tick .v, .f-tick > span:first-child { flex: none; }
.f-tick .v { color: var(--c-go-tint); }
.f-chk { width: 16px; height: 16px; flex: none; }
.f-chk path { fill: none; stroke: var(--c-go-tint); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.f-chk.draw path { animation: f-draw .25s var(--c-ease-out) both; }
.f-sq { display: grid; grid-template-columns: repeat(22, 18px); gap: 5px; }
.f-sq li { aspect-ratio: 1; background: transparent; box-shadow: inset 0 0 0 1.5px var(--c-line-2); transition: background .2s var(--c-ease), box-shadow .2s var(--c-ease); }
.f-sq li.is-ok { background: var(--c-brand); box-shadow: 0 0 8px var(--c-brand-glow); }
.f-sq li.is-now { background: var(--c-text); box-shadow: 0 0 12px var(--c-brand); }
@media (prefers-reduced-motion: no-preference) {
  .f-sq li.pulse { animation: f-pulse .9s var(--c-ease-out); }
}
.f-proof { display: grid; gap: 10px; margin-top: 18px; }
.f-proof article { padding: 14px 16px; border: 1px solid var(--c-line); background: var(--c-surface); }
.f-proof b { color: var(--c-stream); }
.f-proof canvas { display: block; width: 100%; height: 64px; margin-bottom: 8px; }
.f-proof p { margin: 0; font-size: 13.5px; color: var(--c-muted); }
.f-proof code { font-family: var(--c-font-mono); font-size: 12px; color: var(--c-stream-tint); }
.f-proof-price { display: flex; align-items: baseline; gap: 14px; height: 64px; margin-bottom: 8px !important; font-family: var(--c-font-mono); }
.f-proof-price s { font-size: 26px; color: var(--c-faint); text-decoration-color: var(--c-stream); }
.f-proof-price b { font-size: 46px; font-weight: 600; letter-spacing: -.03em; }
.f-panels { display: grid; }
.f-panels > .e-panel { grid-area: 1 / 1; }
.f-panels > .e-panel[hidden] { display: block; visibility: hidden; pointer-events: none; }
@media (max-width: 1000px) {
  .f-sq { grid-template-columns: repeat(11, 18px); }
}
@media (max-width: 620px) {
  .f-tick > span:first-child { display: none; }
  .f-sq { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .f-tick { font-size: 11.5px; gap: 8px; }
}
.ch-right .cw-bar-docs { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1px solid var(--c-line); border-radius: var(--c-r-ctl); background: var(--c-surface-2); color: var(--c-faint); transition: color var(--c-dur-1) var(--c-ease), border-color var(--c-dur-1) var(--c-ease); }
.ch-right .cw-bar-docs:hover { color: var(--c-brand-tint); border-color: var(--c-line-2); }
@keyframes f-draw { from { stroke-dashoffset: 1; } }
@keyframes f-pulse { 30% { background: var(--c-text); box-shadow: 0 0 14px var(--c-brand); } }

/* versus tiles, pricing colours */
.dc-dial .ms { stroke: rgb(14 14 14 / .14); stroke-width: 11; }
.fx-vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fx-v { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid rgb(14 14 14 / .28); min-width: 0; }
.fx-x { margin: 0; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.fx-x b { font-family: var(--c-font-mono); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.fx-x span, .fx-l { font-family: var(--c-font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.fx-x span { color: rgb(14 14 14 / .75); }
.fx-l { margin: 0; color: rgb(from var(--c-on-quote) r g b / .75); }
.fx-bars { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.fx-bars i { display: block; height: 10px; transform-origin: left; transform: scaleX(var(--v)); }
.fx-bars i.us { background: var(--ink); }
.fx-bars i.th { background: rgb(14 14 14 / .22); }
.fx-bars b, .fx-bars span { font-family: var(--c-font-mono); font-size: 13px; line-height: 1; text-align: right; white-space: nowrap; }
.fx-bars b { font-weight: 600; color: var(--ink); }
.fx-bars span { color: rgb(from var(--c-on-quote) r g b / .75); }
.fx-vs .ch-key { grid-column: 1 / -1; }
.ch-2 .ch-key i.th { border: 0; background: rgb(14 14 14 / .22); }
@media (prefers-reduced-motion: no-preference) {
  .in .fx-bars i { animation: fx-grow 1.4s var(--c-ease-out) both; animation-delay: calc(var(--t) * 160ms + .2s); }
}
.g-price { --tab: var(--c-brand); }
.g-price[data-tab="quote"] { --tab: var(--c-quote); }
.g-price .ch-num { color: var(--tab); text-shadow: 0 0 50px rgb(from var(--tab) r g b / .3); transition: color .4s var(--c-ease), text-shadow .4s var(--c-ease); }
.g-price .e-seg .is-active { box-shadow: inset 0 0 0 1px var(--c-line), inset 0 -2px 0 var(--tab); }
.g-price .e-panel { display: flex; flex-direction: column; }
/* 06's pricing (his pick 02, 2026-11-14): one table a tab, plans as rows and RPC, WSS, gRPC and Webhooks as columns under their pills, one
   card a plan below 960px of table width (nine nowrap columns need about 945px at the compact step). A pill colours only its text, over a neutral hairline with no fill, and opens its plane's popover
   (landing.js places it); its text passes AA on both themes (tokens.css --c-rpc-tint, --c-ws-tint, --c-stream, --c-quote-tint; Webhooks has no plane hue, so --c-text). */
.pt-pill { display: inline-flex; align-items: center; min-height: 24px; margin: 0; padding: 3px 9px; border: 1px solid var(--c-line-2); border-radius: var(--c-r-chip); background: transparent;
  color: var(--_h); font: 500 11px/1 var(--c-font-mono); letter-spacing: .06em; white-space: nowrap; cursor: help; transition: border-color var(--c-dur-1) var(--c-ease); }
.pt-pill:hover, .pt-pill[aria-expanded="true"] { border-color: var(--c-neutral); }
.pt-pill:focus-visible { outline: none; box-shadow: var(--c-focus); }
:is(.pt-pill, .pt-pop).is-rpc { --_h: var(--c-rpc-tint); }
:is(.pt-pill, .pt-pop).is-ws { --_h: var(--c-ws-tint); }
:is(.pt-pill, .pt-pop).is-stream { --_h: var(--c-stream); }
:is(.pt-pill, .pt-pop).is-quote { --_h: var(--c-quote-tint); }
:is(.pt-pill, .pt-pop).is-hook { --_h: var(--c-text); }
.pt-wrap { container: pt / inline-size; }
.pt-t { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--c-line); background: var(--c-surface); }
.pt-t th, .pt-t td { padding: 0 20px; text-align: left; vertical-align: middle; white-space: nowrap; }
.pt-t thead th { height: 78px; padding-bottom: 14px; vertical-align: bottom; border-bottom: 1px solid var(--c-line); font-weight: 400; }
.pt-h { display: block; font: 400 11px/1 var(--c-font-mono); letter-spacing: .04em; color: var(--c-faint); }
.pt-t thead .pt-pill + .pt-h { margin-top: 10px; }
.pt-t tbody tr { transition: background var(--c-dur-1) var(--c-ease); }
.pt-t tbody tr:hover { background: var(--c-row-hover); }
.pt-t tbody > tr > * { height: 76px; border-top: 1px solid var(--c-line-soft); }
.pt-t tbody > tr:first-child > * { border-top: 0; }
.pt-t tbody th { font: 700 18px/1 var(--c-font-display); color: var(--c-text); }
.pt-t td { font: 500 15px/1.2 var(--c-font-mono); font-variant-numeric: tabular-nums; color: var(--c-text); }
.pt-t td small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--c-muted); }
.pt-t .pt-price { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.pt-t .pt-price small { margin-left: 4px; }
.pt-q .pt-price { color: var(--c-quote-tint); }
.pt-t .is-none { color: var(--c-muted); font-weight: 400; }
.pt-t .pt-pl { border-left: 1px solid var(--c-line); }
.pt-t .pt-cta { text-align: right; }
.pt-t .pt-cta .c-btn { width: 116px; }
.pt-t td .pt-pill, .pt-t td::before { display: none; }   /* a row's own pills and labels are the phone card's */
@container pt (width < 1120px) {
  .pt-t th, .pt-t td { padding-inline: 12px; }
  .pt-t .pt-price { font-size: 22px; }
  .pt-t .pt-cta .c-btn { width: 100px; }
}
@container pt (width < 960px) {
  .pt-t, .pt-t tbody, .pt-t tr, .pt-t th, .pt-t td { display: block; }
  .pt-t { border: 0; background: none; }
  .pt-t thead { display: none; }
  .pt-t tbody { display: flex; flex-direction: column; gap: 10px; }
  .pt-t tbody tr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 12px 8px; padding: 14px; border: 1px solid var(--c-line); background: var(--c-surface); }
  .pt-t tbody > tr > * { height: auto; padding: 0; border: 0; }
  .pt-t tbody th { grid-area: 1 / 1 / 2 / 3; font-size: 17px; }
  .pt-t .pt-price { grid-area: 1 / 3 / 2 / 5; font-size: 22px; }
  .pt-t .pt-cta { grid-area: 1 / 5 / 2 / 7; }
  .pt-t .pt-cta .c-btn { width: 100%; height: 34px; padding: 0 8px; }
  .pt-t .pt-acc { grid-column: span 3; font-size: 13px; }
  .pt-t .pt-acc::before { display: inline; content: attr(data-l) " "; font: 400 11px var(--c-font-mono); color: var(--c-muted); }
  .pt-t .pt-pl { grid-column: span 3; display: flex; align-items: center; gap: 8px; border: 0; font-size: 13px; }
  .pt-t td .pt-pill { display: inline-flex; min-height: 28px; }
}
.pt-pop { display: none; position: fixed; inset: auto; margin: 0; max-width: calc(100vw - 16px); padding: 12px 14px 14px; border: 1px solid var(--c-line-2); border-radius: var(--c-r-card);
  background: var(--c-overlay); color: var(--c-text); box-shadow: var(--c-shadow-pop); font: 400 12px/1.5 var(--c-font-mono); font-variant-numeric: tabular-nums; }   /* top layer; landing.js sets left and top under its pill, above it near the bottom */
.pt-pop:popover-open { display: block; }   /* a browser without :popover-open drops this rule, so its popovers stay hidden */
@media (prefers-reduced-motion: no-preference) { .pt-pop:popover-open { animation: c-pop var(--c-dur-2) var(--c-ease-out); } }
.pt-pop-h { margin: 0 0 8px; font: 500 11px/1 var(--c-font-mono); letter-spacing: .06em; color: var(--_h); }
.pt-pop table { width: 100%; border-collapse: collapse; }
.pt-pop th, .pt-pop td { padding: 5px 0 5px 16px; text-align: right; white-space: nowrap; }
.pt-pop :is(th, td):first-child { padding-left: 0; text-align: left; }
.pt-pop thead > tr > * { padding-top: 0; font-weight: 400; color: var(--c-muted); border-bottom: 1px solid var(--c-line); }
.pt-pop tbody th { font-weight: 400; color: var(--c-muted); }
.pt-pop td { font-weight: 500; }
.pt-pop tbody tr + tr > * { border-top: 1px solid var(--c-line-soft); }
.pt-pop .is-none { color: var(--c-faint); font-weight: 400; }
#pt-pop-grpc { width: min(400px, calc(100vw - 16px)); }
.pt-note { width: 0; min-width: 100%; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--c-line); font-size: 11px; color: var(--c-muted); text-wrap: pretty; }
.pt-note b { font-weight: 500; color: var(--c-text); }
.pt-cost { width: 0; min-width: 100%; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--c-line); font-size: 11px; color: var(--c-muted); text-wrap: pretty; }   /* the stream credits, in the WSS and gRPC popovers */
.pt-cost b { font-weight: 500; color: var(--c-text); }
@media (max-width: 620px) {
  .pt-pop { padding: 10px 12px 12px; font-size: 11px; }
  .pt-pop :is(th, td) { padding-left: 10px; }
}
@media (max-width: 620px) {
  .fx-vs { grid-template-columns: minmax(0, 1fr); }
  .f-panels > .e-panel[hidden] { display: none; }   /* .ch-c drops its min-height here, so a phone keeps no empty Full RPC height under Quote */
}
@keyframes fx-grow { from { transform: scaleX(0); } }

/* every graphic keeps moving softly after its entrance (the numbers stay as printed): the dial's race, the ring's glint, the
   head-to-head tally, light on the bars, the hero's word glow, 06's money stack and next-date comet; a chapter off screen
   pauses (.is-off, scenes.js), and the whole landing holds behind the sign-in modal (html.cw-hold, login-panel.js); under
   reduced motion each shows its final state */
.ch-c.is-off *, .ch-c.is-off *::before, .ch-c.is-off *::after,
.cw-hold .lp *, .cw-hold .lp *::before, .cw-hold .lp *::after { animation-play-state: paused !important; }

/* 01: a soft glow walks the hero's words */
@media (prefers-reduced-motion: no-preference) {
  .ch-1 h1 .w { animation: ch-rise .7s var(--c-ease-out) both, g-glow 10s ease-in-out infinite; animation-delay: calc(200ms + var(--i) * 110ms), calc(var(--i) * 2s + 1.5s); }
}
@keyframes g-glow { 0%, 12%, 100% { text-shadow: none; } 5% { text-shadow: 0 0 22px currentColor; } }

/* 02: the dial. Outer: our median /quote as a share of others' (8.9 of 20.1 ms). Inner: two marks lap the ring, ours 2.3x as often */
.dc-dial.is-race .lap { fill: none; stroke-width: 5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 100px 100px; stroke-dasharray: .06 .94; }
.dc-dial.is-race .lap.us { stroke: var(--ink); }
.dc-dial.is-race .lap.th { stroke: rgb(14 14 14 / .32); }
@media (prefers-reduced-motion: no-preference) {
  .in .dc-dial.is-race .lap.us { animation: dc-lap 2s linear infinite; }
  .in .dc-dial.is-race .lap.th { animation: dc-lap 4.6s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .dc-dial.is-race .lap.th { stroke-dashoffset: -.5; } }
@keyframes dc-lap { to { stroke-dashoffset: -1; } }

/* 02: a glint keeps travelling the 99.9% ring */
.dc-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(rgb(255 255 255 / .55) 0 4%, transparent 9% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px)); mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px)); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .in .dc-ring::after { opacity: 1; animation: g-spin 6s linear infinite; } }
@keyframes g-spin { to { rotate: 360deg; } }

/* 02: 35 of 36 head to head. One column per quote pair; the winner's lane gets the tick; it rises in a wave, holds, ebbs */
.dc-tally { display: grid; grid-template-columns: max-content repeat(var(--of, 36), minmax(0, 1fr)); grid-template-rows: 22px 22px; gap: 8px 3px; width: min(100%, 520px); }
.dc-tally::before, .dc-tally::after { font: 11px var(--c-font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(14 14 14 / .66); align-self: center; padding-right: 8px; }
.dc-tally::before { content: "carbium"; grid-area: 1 / 1; }
.dc-tally::after { content: "others"; grid-area: 2 / 1; }
.dc-tally li { grid-row: 1; grid-column: calc(var(--i) + 2); background: var(--ink); transform-origin: bottom; }
.dc-tally li.th { grid-row: 2; background: rgb(14 14 14 / .45); }
@keyframes dc-tick { 0%, 4% { transform: scaleY(0); } 14%, 84% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@media (prefers-reduced-motion: no-preference) { .in .dc-tally li { animation: dc-tick 7s var(--c-ease) calc(var(--i) * 60ms) infinite both; } }
@media (max-width: 1000px) { .dc-tally { width: min(520px, calc(100vw - 48px)); } }   /* a definite width: the figure fits its content here */
@media (max-width: 760px) { .fx-vs { grid-template-columns: minmax(0, 1fr); } }   /* three tiles side by side down to 761 px */
@media (max-width: 620px) { .dc-tally { gap: 6px 2px; width: calc(100vw - 32px); } }

/* 02: a band of light runs along our bars */
.fx-bars i.us { background: linear-gradient(90deg, var(--ink) 0 42%, rgb(255 255 255 / .38) 50%, var(--ink) 58% 100%) 0 0 / 260% 100%; background-position: 100% 0; }
@media (prefers-reduced-motion: no-preference) {
  .in .fx-bars i.us { animation: fx-grow 1.4s var(--c-ease-out) both, fx-band 3.4s ease-in-out infinite; animation-delay: calc(var(--t) * 160ms + .2s), calc(var(--t) * .45s + 1.8s); }
}
@keyframes fx-band { 0% { background-position: 100% 0; } 60%, 100% { background-position: -60% 0; } }



/* the header: latency as phone-style bars before the benchmark icon (latencyCluster, its details in the popup), reading
   "latency N ms" (the figure at our wall, from GET /latency) where there is room; the chapter words take their own scrolling row where the bar runs out of room */
.ch-right .cw-sig { height: 30px; flex-direction: row-reverse; }
.ch-right .cw-sig-agg { min-width: 14.5ch; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .ch-bar { flex-wrap: wrap; height: auto; min-height: 54px; row-gap: 0; }
  .ch-idx { order: 3; flex: 1 0 100%; margin: 0 -24px; padding: 0 15px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--c-line); }
  .ch-right { margin-left: auto; }
}
@media (max-width: 620px) {
  .ch-right { gap: 8px; }
  .ch-right .cw-sig-agg { min-width: 0; }
  .ch-idx.is-pages { display: flex; margin: 0 -14px; }   /* the areas' row stays on a phone, as its own line under the bar; the landing's hides */
}
/* a small phone keeps the brand's word in the one 54 px row: tighter spacing, and the benchmark icon gives way (the footer links it) */
@media (max-width: 420px) {
  .ch-bar { gap: 12px; padding: 0 12px; }
  .ch-brand span { letter-spacing: .1em; }
  .ch-right .cw-bar-docs:not(.cw-bar-q) { display: none; }   /* the search button stays: on a phone it is the way into the search */
  .ch-idx.is-pages { margin: 0 -12px; }
}
.ch-idx [hidden], .cw-foot [hidden] { display: none !important; }
.cw-libon [data-static] .ch-idx a[hidden] { display: block !important; }   /* the frame nginx sent, where the library answered before */
.cw-libon [data-static] .cw-foot a[hidden] { display: inline-flex !important; }
/* The areas' row at the same x on every page whatever the right-hand group holds (his word 11-22: the app's bar carries a search
   button and the latency pill, the library's does not). From 1240 px both sides fit beside it and the row is centred on the page;
   from 961 px it follows the brand at the bar's own gap, since a centred row would be pushed aside by the wider group (read at
   1024: 107 px apart). Below 961 px the row has its own line. */
@media (min-width: 961px) {
  .ch-bar:has(> .ch-idx.is-pages) { display: grid; grid-template-columns: auto 1fr auto; }
  .ch-bar:has(> .ch-idx.is-pages) > .ch-brand { justify-self: start; }
  .ch-bar:has(> .ch-idx.is-pages) > .ch-right { justify-self: end; }
  .ch-idx.is-pages { margin: 0; justify-self: start; }
}
@media (min-width: 1240px) { .ch-bar:has(> .ch-idx.is-pages) { grid-template-columns: 1fr auto 1fr; } }
.ch-idx.is-pages { font-family: var(--c-font-mono); }   /* the areas' row in the landing's own letters (its .num does it inside .lp) */   /* the Library link and pill until its release answers (chrome.js) */

/* the footer: the bar's items as pills in the design system's line, one quiet row; the build stamp hides on a phone */
.cw-ch-foot .cw-foot { gap: 8px; height: auto; min-height: 46px; padding: 8px 24px; }
.cw-ch-foot .cw-foot-docs { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--c-r-ctl);
  background: var(--c-surface); font-size: 12px; font-weight: 500; color: var(--c-muted); white-space: nowrap; }
.cw-ch-foot .cw-foot-docs:hover { color: var(--c-text); border-color: var(--c-brand-line); background: var(--c-brand-wash); }
/* the bar's three ways in (the operator 2026-11-22), each in its hue at rest and washed in it on hover: Docs the site's blue, SDK its
   yellow, Benchmark the light purple. On every footer (chrome.js data-h), the dashboard's and /system's too, so not under .cw-ch-foot. */
.cw-foot-docs[data-h="docs"] { --h: var(--c-ws-tint); }
.cw-foot-docs[data-h="sdk"] { --h: var(--c-sdk-tint); }
.cw-foot-docs[data-h="bench"] { --h: var(--c-brand-tint); }
.cw-foot-docs[data-h] { color: var(--h); border-color: rgb(from var(--h) r g b / .45); }
.cw-foot-docs[data-h]:hover { color: var(--h); border-color: var(--h); background: rgb(from var(--h) r g b / .05); }
@media (prefers-reduced-motion: no-preference) { .cw-foot-docs[data-h] { transition: border-color var(--c-dur-2) var(--c-ease), background var(--c-dur-2) var(--c-ease); } }
.cw-ch-foot .cw-build { padding: 4px 10px; border: 1px dashed var(--c-line); border-radius: var(--c-r-ctl); font-family: var(--c-font-mono); font-size: 10.5px;
  letter-spacing: .08em; color: var(--c-faint); white-space: nowrap; }
.cw-ch-foot .cw-build:empty { display: none; }
.cw-ch-foot .cw-foot-id { display: contents; }   /* here the pause button stays in the row, at the pills' height */
.cw-ch-foot .cw-pause { height: 28px; }
@media (max-width: 620px) {
  .cw-ch-foot .cw-foot { flex-wrap: wrap; justify-content: center; padding: 8px 12px; gap: 6px; }
  .cw-ch-foot .cw-foot span[style] { display: none; }
  .cw-ch-foot .cw-build { display: none; }
  .cw-ch-foot .cw-foot-docs, .cw-ch-foot .cw-pause { height: 26px; padding: 0 10px; font-size: 11.5px; }
}

/* the gRPC pill beside Carbon Stream in 05's heading, the board tile and the pricing cards (landing-body.inc): hovering, focusing or tapping it shows the stream's methods
   (landing-grpc.inc) under it; the pointer can move onto the note, Escape closes it (landing.js), and it never moves the layout */
.g-tipw { position: relative; display: inline-flex; vertical-align: middle; }
.dc-tile .k .g-tipw { margin-block: -6px; }   /* the tile's label row keeps its height */
.g-grpc { margin: 0; cursor: help; text-transform: none; }
.g-grpc:focus-visible { outline: none; box-shadow: var(--c-focus); }
.g-tip { top: calc(100% + 6px); left: 0; width: min(300px, calc(100vw - 24px)); max-width: none; visibility: hidden;
  font: 400 11px/1.55 var(--c-font-mono); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; text-wrap: pretty;
  transition: opacity var(--c-dur-1), visibility var(--c-dur-1); }
.g-tip::before { content: ""; position: absolute; inset: -8px 0 100%; }   /* bridges the gap, so the pointer reaches the note */
.g-tipw[data-up] > .g-tip { top: auto; bottom: calc(100% + 6px); }
.g-tipw[data-up] > .g-tip::before { inset: 100% 0 -8px; }
.g-tip b { font-weight: 500; color: var(--c-text); }
.g-tipw:is(:hover, :focus-within) > .g-tip { visibility: visible; opacity: 1; pointer-events: auto; }
.g-tipw[data-shut] > .g-tip, .g-tipw > .g-tip:empty { visibility: hidden; opacity: 0; }

/* ---- the SDK (item 108): its yellow, the hero's two rows of package chips (mock A) and chapter 06 (mock B, revised). The chips
   are written from src/views/sdk-list.js into landing-body.inc; their icons are one sprite there (symbol sdk-*). ---- */
:root { --c-sdk: var(--c-quote); --c-sdk-tint: var(--c-quote-tint); }   /* the quote plane's own gold (his 2026-11-22 word); its tint is the text one in each theme */
.ch-idx a[href="#c6"].is-on { border-bottom-color: var(--c-sdk-tint); }
.sdk-i, .sk-go { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* the hero's shelf: libraries, then tools, under the two buttons; each chip warms to its own hue, a soft glow walks them in turn */
.sh { display: grid; gap: 8px; margin-top: 6px; }
.sh-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px; }
.sh-k { margin: 0; font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--c-faint); white-space: nowrap; }
.sh-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-c { --h: var(--c-muted); position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 9px; margin: 0;
  border: 1px solid var(--c-line); border-radius: 999px; background: rgb(from var(--c-surface-2) r g b / .7);
  font: 500 11.5px var(--c-font-mono); color: var(--c-muted); white-space: nowrap; cursor: pointer;
  transition: color var(--c-dur-2) var(--c-ease), border-color var(--c-dur-2) var(--c-ease), background var(--c-dur-2) var(--c-ease), box-shadow var(--c-dur-3) var(--c-ease); }
.sh-c .sdk-i { width: 16px; height: 16px; color: var(--c-faint); transition: color var(--c-dur-2) var(--c-ease); }
.sh-c small { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-faint); }
.sh-c.is-soon { border-style: dashed; color: var(--c-faint); background: transparent; }   /* planned: dashed and dim, it opens its source; its note says soon */
.sh-c:is(:hover, :focus-visible) { color: var(--c-text); border-color: rgb(from var(--h) r g b / .55); background: rgb(from var(--h) r g b / .06); box-shadow: 0 0 14px rgb(from var(--h) r g b / .3); }
.sh-c.is-soon:is(:hover, :focus-visible) { color: var(--c-muted); box-shadow: 0 0 10px rgb(from var(--h) r g b / .16); }
.sh-c:is(:hover, :focus-visible) .sdk-i { color: var(--h); }
.sh-c:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.sh-c::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgb(from var(--h) r g b / .5);
  box-shadow: 0 0 12px rgb(from var(--h) r g b / .28); opacity: 0; pointer-events: none; }
.sh-c.is-soon::before { border-style: dashed; box-shadow: 0 0 10px rgb(from var(--h) r g b / .16); }
@media (prefers-reduced-motion: no-preference) {
  .sh-c::before { animation: sh-glow 16s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s + 2.4s); }
  .sh-c:is(:hover, :focus-visible)::before { animation: none; }
}
.cw-still .sh-c::before { animation: none; }   /* Pause motion (boot-theme.js) stills the shelf's glow too */
@keyframes sh-glow { 0%, 9%, 100% { opacity: 0; } 4.5% { opacity: 1; } }
.sh-tip { width: max-content; max-width: min(260px, calc(100vw - 24px)); }
.sh-tip .q { color: var(--c-sdk-tint); }

/* 06: a project's editor; the install runs, the SDK's import drops in and yellow threads run from it to the five services, each
   lighting as its answer comes back (sdk-flow.js, loaded as the chapter nears). The markup is the finished frame. */
.e-ch-sdk { background: radial-gradient(60% 70% at 85% 30%, rgb(from var(--c-sdk) r g b / .07), transparent 70%), var(--c-bg); }
/* 06 sits at the top of its screen and fits the area a signed-out visitor has (the terms bar takes 48 px more than the footer): 720 to
   800 px high; on a taller window the top padding centres it in that area */
@media (width > 1000px) { .e-ch-sdk { justify-content: flex-start; padding-block: max(clamp(16px, 25dvh - 160px, 40px), calc((100dvh - 748px) / 2)) 16px; gap: clamp(12px, 15dvh - 96px, 24px); } }
@media (max-width: 1000px), (max-height: 719px) { .e-ch-sdk::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; scroll-snap-align: end; } }   /* taller than the screen: rest at its top, then its end */
.e-ch-sdk .ch-num { color: var(--c-sdk-tint); text-shadow: 0 0 50px rgb(from var(--c-sdk) r g b / .35); }
.e-ch-sdk .ch-k { color: var(--c-sdk-tint); }
.sk-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 88px; align-items: center; }
.sk-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sk-ide { margin: 0; }
.sk-ide .sk-doc { margin: -5px -6px -5px auto; }   /* the bar keeps its height */
/* the way to /sdk (item 116; his word 2026-11-22: "the packages thing is barely visible"): the chapter's gold at rest and a readable
   size, its hover the glow every SDK control here takes */
.sk-ide .sk-doc.c-btn--mini { font-size: 12px; color: var(--c-sdk-tint); border-color: rgb(from var(--c-sdk) r g b / .6); background: rgb(from var(--c-sdk) r g b / .04); }   /* the wash keeps the light theme's tint at AA (4.53:1) */
.sk-ide .e-term-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* the file name stays one line beside the link */
.sk-ide-in { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.sk-tree { padding: 14px 0; border-right: 1px solid var(--c-line); font-size: 11.5px; line-height: 1.9; color: var(--c-faint); }
.sk-tree li { padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-tree .i1 { padding-left: 24px; }
.sk-tree .i2 { padding-left: 38px; }
.sk-tree .d::before { content: "▾ "; color: var(--c-ghost); }
.sk-tree .is-on { color: var(--c-text); background: var(--c-raised); box-shadow: inset 2px 0 0 var(--c-sdk); }
.sk-tree .sk-pkg { color: var(--c-sdk-tint); transition: opacity var(--c-dur-3) var(--c-ease-out); }
.sk-tree .sk-pkg:not(.is-in) { opacity: 0; }
.e-term pre.sk-code { position: relative; height: auto; padding: 14px 16px; }
.sk-code .row { position: relative; margin: 0 -16px; padding: 0 16px 0 calc(16px + 3ch); }
.sk-code .row::before { content: attr(data-n); position: absolute; left: 16px; width: 2ch; text-align: right; color: var(--c-ghost); }
.sk-code .s { color: var(--c-sdk-tint); }
.sk-code .tx { display: inline-block; transition: opacity var(--c-dur-3) var(--c-ease-out), translate var(--c-dur-3) var(--c-ease-out); }
.sk-flow .sk-ln:not(.is-in) .tx { opacity: 0; translate: 0 -6px; }   /* a line not yet written hides only its text */
.sk-flow .sk-ln.is-sdk:not(.is-in) .tx { translate: 0 -16px; }
.sk-ln.is-sdk .tx { transition: opacity var(--c-dur-3) var(--c-ease-out), translate .5s var(--c-ease-out); }
.sk-ln.is-sdk { background: rgb(from var(--c-sdk) r g b / .04); box-shadow: inset 2px 0 0 var(--c-sdk); transition: background .9s var(--c-ease), box-shadow var(--c-dur-2) var(--c-ease); }
.sk-flow .sk-ln.is-sdk:not(.is-in) { background: none; box-shadow: none; }
.sk-ln.is-sdk.is-new { box-shadow: inset 2px 0 0 var(--c-sdk), inset 0 0 0 1px rgb(from var(--c-sdk) r g b / .6); }   /* the drop flashes as a ring, never a wash under the string */
.sk-ln[data-svc]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; vertical-align: middle; border-radius: 50%; background: var(--hue);
  box-shadow: 0 0 8px var(--hue); transition: opacity var(--c-dur-2) var(--c-ease), scale var(--c-dur-3) var(--c-ease-out); }
.sk-flow .sk-ln[data-svc]:not(.is-ok)::after { opacity: 0; scale: .2; }
.sk-sh { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px solid var(--c-line); font-size: 12px; color: var(--c-text); white-space: nowrap; }
.sk-sh .sk-pr { color: var(--c-faint); }
.sk-cmd { min-width: 0; overflow: hidden; text-overflow: ellipsis; clip-path: inset(0 calc((1 - var(--k, 1)) * 100%) 0 0); }
.sk-ok { width: 14px; height: 14px; fill: none; stroke: var(--c-sdk-tint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity var(--c-dur-2) var(--c-ease); }
.sk-flow .sk-ok:not(.is-in) { opacity: 0; }
.sk-svc { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.sk-s { position: relative; display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: center; padding: 8px 16px;
  border: 1px solid var(--c-line); border-radius: var(--c-r-card); background: var(--c-surface-2); translate: var(--x, 0) 0;
  transition: border-color var(--c-dur-3) var(--c-ease), box-shadow var(--c-dur-3) var(--c-ease), background var(--c-dur-3) var(--c-ease); }
.sk-s i { grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; background: var(--c-line-2); transition: background var(--c-dur-2) var(--c-ease), box-shadow var(--c-dur-2) var(--c-ease); }
.sk-s b { font-family: var(--c-font-display); font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--c-muted); transition: color var(--c-dur-2) var(--c-ease); }
.sk-s code { font-family: var(--c-font-mono); font-size: 11px; color: var(--c-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-s.is-lit { border-color: rgb(from var(--hue) r g b / .55); background: rgb(from var(--hue) r g b / .05); box-shadow: 0 0 14px rgb(from var(--hue) r g b / .25); }
.sk-s.is-lit i { background: var(--hue); box-shadow: 0 0 8px var(--hue); }
.sk-s.is-lit b { color: var(--c-text); }
/* 06's packages, as the hero shows them but firm (his word): full-tone text on a filled surface; a link carries an arrow and warms
   to the yellow; a planned one is dashed, dim and tagged soon. The editor's install row prints the shown one's command. */
.sk-pk-rows { display: grid; gap: 8px; }
.sk-pk-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 16px; }
.sk-lab { margin: 0; font-family: var(--c-font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--c-faint); white-space: nowrap; }
.sk-lab span { color: var(--c-sdk-tint); }
.sk-pks { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-pc { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 10px; margin: 0;
  border: 1px solid rgb(from var(--c-text) r g b / .28); border-radius: 999px; background: var(--c-raised);
  font: 500 12.5px var(--c-font-mono); color: var(--c-text); white-space: nowrap; cursor: pointer;
  transition: color var(--c-dur-2) var(--c-ease), border-color var(--c-dur-2) var(--c-ease), background var(--c-dur-2) var(--c-ease), box-shadow var(--c-dur-2) var(--c-ease); }
.sk-pc .sdk-i { width: 17px; height: 17px; transition: color var(--c-dur-2) var(--c-ease); }
.sk-pc .sk-go, .sk-doc .sk-go { width: 11px; height: 11px; margin-left: 1px; color: var(--c-sdk-tint); }
.sk-pc:not(.is-soon):is(:hover, :focus-visible, .is-on) { border-color: var(--c-sdk-tint); background: rgb(from var(--c-sdk) r g b / .09); box-shadow: 0 0 0 1px rgb(from var(--c-sdk) r g b / .3), 0 0 16px rgb(from var(--c-sdk) r g b / .32); }
.sk-pc:not(.is-soon):is(:hover, :focus-visible, .is-on) .sdk-i { color: var(--c-sdk-tint); }
.sk-pc:focus-visible { outline: 2px solid var(--c-sdk-tint); outline-offset: 2px; }
.sk-pc.is-soon { border-style: dashed; border-color: var(--c-line-2); background: transparent; color: var(--c-faint); }
.sk-pc.is-soon small { padding: 2px 5px; border-radius: 999px; background: var(--c-raised); font-size: 9.5px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.sk-pc.is-soon:is(:hover, :focus-visible, .is-on) { border-color: var(--c-faint); color: var(--c-muted); }
.sk-pc.is-soon:focus-visible { outline-style: dashed; }
.sk-pk-tag { flex: none; display: none; margin-left: auto; padding: 3px 7px; border: 1px dashed var(--c-line-2); border-radius: 999px; font-size: 9.5px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.sk-sh.is-soon .sk-pk-tag { display: inline-block; }
.sk-sh.is-note .sk-pr, .sk-sh:is(.is-note, .can-copy) .sk-ok { display: none; }   /* a live command shows whole beside Copy */
.sk-pk-copy.c-btn--mini { flex: none; margin: -5px 0 -5px auto; border-color: var(--c-line-2); background: var(--c-raised); color: var(--c-text); }
.sk-pk-copy.c-btn--mini:hover, .sk-doc.c-btn--mini:hover, :is(.sk-pk-copy, .sk-doc):focus-visible { border-color: var(--c-sdk-tint); color: var(--c-text); box-shadow: 0 0 12px rgb(from var(--c-sdk) r g b / .28); }
:is(.sk-pk-copy, .sk-doc):focus-visible { outline: 2px solid var(--c-sdk-tint); outline-offset: 2px; }
.sk-sh:not(.can-copy) .sk-pk-copy { display: none; }
@media (max-width: 1240px) { .sk-ide-in { grid-template-columns: minmax(0, 1fr); } .sk-tree { display: none; } }
@media (max-width: 1000px) {
  .sk-flow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sk-svc { max-width: none; padding-left: 28px; }
  .sk-s { translate: none; }
}
/* a phone: the hero fills the screen above the footer (no band of 02 under it), its numeral smaller so the rows show; chips are
   icon-only 44 px targets, six to a line, the names kept for screen readers and the notes */
@media (max-width: 620px) {
  .ch-1 { min-height: 100%; align-content: center; }
  .ch-1 .ch-num { font-size: clamp(96px, 30vw, 150px); }
  .sh { grid-template-columns: repeat(6, 44px); }
  .sh-row, .sh-list { display: contents; }
  .sh-k, .sk-pk .sk-lab { display: none; }
  .sh-c, .sk-pc { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .sh-c .sdk-i, .sk-pc .sdk-i { width: 18px; height: 18px; }
  .sh-c :is(.n, small), .sk-pc :is(.n, small) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .e-term pre.sk-code { font-size: 10.5px; padding: 12px 10px; }
  .sk-code .row { margin: 0 -10px; padding: 0 10px 0 calc(10px + 3ch); }
  .sk-code .row::before { left: 8px; }
  .sk-pk-rows { grid-template-columns: repeat(6, 44px); justify-content: start; }
  .sk-pk-row, .sk-pks { display: contents; }
  .sk-pc .sk-go { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; margin: 0; }
}
