/* ==========================================================================
   PLATFORM — the Platform page (/platform, built by
   scripts/build-platform.mjs). Rohit's content (25 Nov, his working page
   at xloop-rohit-v2.vercel.app/unlock/platform), built section by section
   in the site's design. Preview only: noindex, not in the menus.
   ========================================================================== */

/* ---- Hero (25 Nov, user: modal.com/products/sandboxes' left-aligned hero,
   with a glitchy Unlock.ai mark on the right in our style). The copy at
   the left, the mark as a dot matrix at the right (assets/js/mark-matrix.js)
   on a faint Sage field. */
.platform-hero {
  --ground: var(--night-deep); --ground-2: var(--night-deep);
  position: relative; overflow: clip;
  background: var(--night-deep);
  padding-block: calc(var(--nav-h) + var(--space-8)) var(--space-7);
}
.platform-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; column-gap: var(--space-8);
  min-height: min(680px, calc(100svh - var(--nav-h) - var(--space-8) - var(--space-7)));
}
.platform-hero__copy { position: relative; z-index: 1; }
.platform-hero__eyebrow { display: block; margin-bottom: var(--space-5); color: var(--white); }   /* white, as the homepage hero's (19 Nov) */
.platform-hero h1 {
  max-width: 10.5em; margin: 0;
  font-size: var(--size-h1); line-height: 1.05; text-wrap: balance;
}
.platform-hero__highlight { color: var(--accent-text); }   /* the second half in Sage, as the homepage hero */
.platform-hero .lede {
  max-width: 34em; margin: var(--space-5) 0 0;
  font-size: var(--size-body); line-height: 1.75; color: var(--ink); text-wrap: pretty;
}
.platform-hero .btn-group { margin-top: var(--space-7); }
.platform-hero__nowrap { white-space: nowrap; }   /* "server-side" never breaks at its hyphen */

/* The mark. A square stage, the canvas filling it; a soft Sage B900 field
   behind it, fading to the band before its edges. */
.platform-hero__art {
  position: relative; justify-self: end;
  width: 100%; max-width: 600px; aspect-ratio: 1;
}
.platform-hero__art::before {
  content: ''; position: absolute; inset: 6%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--sage-ink) 34%, transparent), transparent);
  pointer-events: none;
}
.platform-hero__matrix {
  position: relative; display: block; width: 100%; height: 100%;
  --matrix-loop: var(--sage-green);
  --matrix-centre: var(--mint-green);
  --matrix-gate: var(--ember-orange);
  --matrix-ghost: var(--ember-stone);
  --matrix-flare: var(--ember-cream);
}

/* The mark as the outer loop's track (25 Nov, user: in our design
   language; the dot matrix before it is in explorations/platform-hero/). The
   field behind it is the outer loop's glow; the lanes are its lanes; the
   runner is its comet, here on an open loop that ends at the gate. */
.platform-hero__art::before { display: none; }
.platform-hero__art {
  --lap: 9s;
  isolation: isolate;
}
.platform-hero__art::after {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(29% 31% at 50% 50%, color-mix(in srgb, var(--sage-ink) 30%, transparent), transparent 100%),
    radial-gradient(52% 50% at 50% 50%, color-mix(in srgb, var(--sage-ink) 22%, transparent), transparent 100%);
}
.platform-track { display: block; width: 100%; height: 100%; overflow: visible; }
.platform-track__band { fill: none; stroke: color-mix(in srgb, var(--accent-text) 6%, transparent); stroke-width: 75; }
.platform-track__lane { fill: none; stroke: color-mix(in srgb, var(--accent-text) 26%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.platform-track__lane--edge { stroke: color-mix(in srgb, var(--accent-text) 75%, transparent); stroke-width: 1.5; }
/* The inner square, the agents, as a lit station: a Sage edge over a Sage
   tint (solid mint, the logo's centre, outweighed the line drawing). */
.platform-track__centre { fill: color-mix(in srgb, var(--accent-text) 14%, transparent); stroke: color-mix(in srgb, var(--accent-text) 75%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.platform-track__gate {
  fill: transparent; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round;
  animation: platform-track-gate var(--lap) linear infinite;
}
@keyframes platform-track-gate {
  0%, 9%    { fill: var(--accent); }
  16%, 100% { fill: transparent; }
}
/* the comet: the outer loop's, at this scale (a unit is about a pixel) */
.platform-track__beam { fill: none; stroke: var(--accent-text); stroke-linecap: round; animation: platform-track-beam var(--lap) linear infinite; }
.platform-track__beam--tail { stroke-width: 2; stroke-linecap: butt; opacity: 0.09; }
.platform-track__beam--core { stroke-width: 2.5; }
.platform-track__beam--head { stroke-width: 2; stroke: color-mix(in srgb, var(--accent-text) 50%, var(--heading)); }
@keyframes platform-track-beam { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }

/* First view: the lanes fade in, inner to outer, then the runner and the
   gate start (the site's 500ms reveal). A drawn-in stroke was tried; on
   non-scaling lines its dashes run in screen space and cut the inner
   lanes short. */
.platform-track__lane:not(.platform-track__end) { animation: platform-track-in 500ms var(--motion-ease) both; animation-delay: calc(var(--i) * 80ms); }
.platform-track__beams, .platform-track__gate { animation-delay: 1.2s; }
.platform-track__beams { animation: platform-track-in 600ms var(--motion-ease) 1.2s both; }
.platform-track__beams .platform-track__beam { animation-delay: 1.2s; }
@keyframes platform-track-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .platform-track__lane, .platform-track__gate, .platform-track__beam, .platform-track__beams { animation: none; }
  .platform-track__beams { display: none; }
}

/* ---- The hero, centred on a stage (25 Nov, user: after neon.com/about-us,
   in our own pattern). The stage is the band's top part: the eyebrow and
   headline centred in it, over the mark drawn as the outer loop's track,
   large and faint (the lanes, runner and gate of the left-aligned version),
   masked so it fades out toward the stage's edges and dims behind the
   words. Under the stage, on the band, the lede at the left and the
   buttons at the right, closed by a hairline. */
/* A full first screen (25 Nov, user: "even if first scroll is only hero,
   things look good"): the stage takes what the lede row leaves. */
/* It runs up under the header, as the homepage hero does: header.css pushes
   the page below the bar when the first thing isn't a .scene hero, so this
   page (the only one loading platform.css) takes that back; the stage pads
   for the bar itself. */
#navbar-placeholder + main#main { margin-top: 0; }   /* beats header.css's #navbar-placeholder + :not(.scene) */
.section.platform-hero--stage { padding-block: 0; min-height: 100svh; display: flex; flex-direction: column; }
.platform-hero--stage .platform-hero__stage { flex: 1; }
/* The field lies behind the whole hero, the lede row included, and fades
   out through it (25 Nov, user: with the field stopping above it, the lede
   and buttons read as a cookie banner docked to the screen's foot). */
.section.platform-hero--stage { position: relative; isolation: isolate; }
.platform-hero--stage > .padding-global { position: relative; z-index: 1; }
.platform-hero--stage .hero__field { opacity: 0.7; }   /* fuller than the homepage's 0.55: here the field is the whole picture (0.8 until 25 Nov, user: "too strong") */
/* The stage runs full bleed under the header (its top padding is the bar),
   so the streak field (the homepage hero's .hero__field and .hero__screen,
   styled in index.html) spans the whole width. */
.platform-hero__stage {
  position: relative; isolation: isolate; display: grid; align-items: center;
  padding-block: calc(var(--nav-h) + var(--space-8)) var(--space-8);
}
.platform-hero__stage > .padding-global { position: relative; z-index: 1; }
.platform-hero__pattern {
  --lap: 12s;
  position: absolute; inset: var(--nav-h) 0 0; z-index: 0;
  pointer-events: none;
  /* the outer contours fade out toward the stage's sides */
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--white) 18%, var(--white) 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, var(--white) 18%, var(--white) 82%, transparent);
}
.platform-hero__pattern::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(30% 34% at 50% 50%, color-mix(in srgb, var(--sage-ink) 24%, transparent), transparent 100%),
    radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--sage-ink) 16%, transparent), transparent 100%);
}
.platform-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.platform-field__band { fill: none; stroke: color-mix(in srgb, var(--accent-text) 6%, transparent); stroke-width: 75; }
.platform-field__contour { fill: none; stroke: color-mix(in srgb, var(--accent-text) calc(var(--fade) * 100%), transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.platform-field .platform-track__lane { animation: none; }
/* the gate: an 8px Ember outline, as the outer loop's, that fills as the runner passes (--at) */
.platform-field__gate { animation-delay: calc((var(--at) - 1) * var(--lap)); }
.platform-hero__head { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.platform-hero--stage .platform-hero__eyebrow { margin-bottom: var(--space-5); }
.platform-hero--stage h1 { max-width: 14em; }
.platform-hero__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-5) var(--space-8);
  padding-block: 0 var(--space-9);   /* no hairline under it (25 Nov, user); 80 under it, so it sits in the hero, not on the screen's edge */
}
.platform-hero__foot .lede { max-width: 50em; margin: 0; }   /* wider (25 Nov, user): three lines at 1440 */
.platform-hero__foot .btn-group { margin: 0; flex-wrap: nowrap; }
@media (max-width: 960px) {
  .platform-hero__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .platform-hero__stage { padding-block: calc(var(--nav-h) + var(--space-7)) var(--space-7); }
  .platform-hero__foot { padding-bottom: var(--space-8); }
  .platform-hero__foot .btn-group { flex-wrap: wrap; }
}

/* Tablets and phones: one column, the mark under the copy, smaller. */
@media (max-width: 960px) {
  .platform-hero { padding-top: calc(var(--nav-h) + var(--space-7)); }
  .platform-hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; row-gap: var(--space-6); }
  .platform-hero__art { justify-self: center; max-width: 420px; }
}
@media (max-width: 640px) {
  .platform-hero .btn-group .btn { width: 100%; }
  .platform-hero__art { max-width: 320px; }
}

/* ---- Interfaces (25 Nov, user: the homepage section's design; Rohit's
   Platform copy). The heads hold a longer line than the homepage's (the
   Desktop app's two sentences), so they are a line taller; the coding-
   agents note sits under the columns as one quiet line, led by a label. */
#interfaces .interfaces__head { min-height: calc(3lh + 2 * var(--space-4)); }
@media (max-width: 1199px) { #interfaces .interfaces__head { min-height: calc(4lh + 2 * var(--space-4)); } }
.platform-agents {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4);
  margin: var(--space-6) 0 0; font-size: var(--size-body); line-height: 1.5; color: var(--ink);
}
.platform-agents .platform-agents__label { color: var(--ink-muted); }   /* a quiet DM Mono lead, not a section label: muted, not Sage */

/* ---- Interfaces, connected (26 Nov, user, after prowork.ai's section under
   its logos: three blocks, one below, joined as you scroll; the look ours).
   On the teal (later the same day, user: "use [the teal] … dont switch to light
   just yet"; on the sand first, kept as connected-curves.html). Rohit's three
   surfaces as cards in the Problems cards' make on a dark band (the heading
   colour 6% into the band, an 8% edge, 6px corners, 24px inside), each with
   a small line drawing in Sage, its name at 24 and his line at 16; the wires
   squared with 8px corners (user: "can we have the arrows more structured?";
   curves before): a drop from each card's centre, the outer two turning along
   one line half way down, one trunk on into the Unlock.ai mark — drawn top
   to bottom as the section scrolls (--p, platform-connect.js: a clip from the
   foot), the mark lighting as they arrive; his intro under it as the
   statement at the card titles' size (user: heading size "too big"), "the
   same agent" in Sage, his second sentence quiet; his coding-agents line
   last. Below 1024: the cards stacked, the trunk alone from the last card. */
.platform-connect { --gap: var(--space-3); --wire: color-mix(in srgb, var(--accent-text) 70%, transparent); }
.platform-connect__cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  margin: 0; padding: 0; list-style: none;
}
.platform-connect__card {
  display: grid; align-content: start; gap: var(--space-3);
  padding: var(--space-5); border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 6%, transparent);
}
.section--sand .platform-connect__card { border: 0; background: var(--white); }   /* the first look, on the sand */
.platform-connect__glyph {
  width: 48px; height: 40px; margin-bottom: var(--space-6); overflow: visible;
  fill: none; stroke: var(--accent-text); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
}
.platform-connect__glyph .is-bar { stroke: color-mix(in srgb, var(--accent-text) 45%, transparent); stroke-width: 2.5; }
.platform-connect__glyph .is-fill { fill: var(--accent-text); stroke: none; }
.platform-connect__card h3 { margin: 0; font-size: var(--size-h3); font-weight: 500; line-height: 1.15; letter-spacing: var(--display-tracking); color: var(--heading); }
.platform-connect__card p { margin: 0; font-size: var(--size-body); line-height: 1.55; color: var(--ink); text-wrap: pretty; }

/* The join: from the first card's centre to the last's, 112px tall. Boxes
   with borders, so the corners stay round at any width. */
.platform-connect__join {
  position: relative; height: var(--space-10);
  margin-inline: calc((100% - 2 * var(--gap)) / 6);
  clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0);
}
.platform-connect__wire { position: absolute; top: 0; border: 0 solid var(--wire); }
.platform-connect__wire--left { left: 0; width: 50%; height: 50%; border-width: 0 0 var(--border-w) var(--border-w); border-bottom-left-radius: 8px; }
.platform-connect__wire--right { right: 0; width: 50%; height: 50%; border-width: 0 var(--border-w) var(--border-w) 0; border-bottom-right-radius: 8px; }
.platform-connect__wire--trunk { left: 50%; bottom: 0; translate: -0.5px 0; border-left-width: var(--border-w); }
/* the first look's curves (connected-curves.html) */
.platform-connect__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.platform-connect__wires path { fill: none; stroke: var(--accent-text); stroke-width: 1; vector-effect: non-scaling-stroke; }
.platform-connect__hub { display: flex; justify-content: center; }
.platform-connect__mark {
  width: 40px; height: 40px; color: var(--heading);
  transition: opacity 300ms var(--motion-ease-out), scale 300ms var(--motion-ease-out);
}
.platform-connect__mark .wordmark__in { fill: var(--logo-mint); }   /* the logo's pair on dark: cream, the mint centre */
.section--sand .platform-connect__mark .wordmark__in { fill: var(--accent-text); }
.platform-connect.is-scroll-drawn:not([data-arrived]) .platform-connect__mark { opacity: 0.25; scale: 0.92; }
.platform-connect__statement {
  max-width: 30em; margin: var(--space-5) auto 0; text-align: center; text-wrap: balance;
  font-family: var(--font-headline, var(--font-display)); font-size: var(--size-h3); font-weight: var(--display-weight);
  line-height: 1.2; letter-spacing: var(--display-tracking); color: var(--heading);
}
.platform-connect__lit { color: var(--accent-text); }
.platform-connect__statement .h-quiet { display: block; margin-top: var(--space-1); }
.platform-connect__agents { justify-content: center; max-width: none; margin-top: var(--space-7); text-align: center; }
/* The routes, drawn along their paths by the scroll (platform-connect.js
   makes them and hides the bordered wires, which stand without it). */
.is-routed .platform-connect__wire { display: none; }
.platform-connect__routes { position: absolute; inset: 0; overflow: visible; }
.platform-connect__routes path { fill: none; stroke: var(--wire); stroke-width: 1; stroke-dasharray: 1 1; }

/* The block below (user: "the overall bottom part needs better thinking";
   Prowork's "one block below"): a panel narrower than the row of cards, so
   three funnel into one, the trunk landing on the mark, a station on its top
   edge; a faint Sage tint and edge, Unlock.ai's part, the edge and the
   station's turning Sage as the wires arrive; his intro inside — the first
   sentence at 24, "the same agent" in Sage, the second under it at 16 — and
   his coding-agents line at its foot past a dashed rule, led by a dashed
   robot tile, the layer diagram's coding-agents station: dashed is what sits
   beside. */
.platform-connect__panel {
  position: relative; max-width: 760px; margin: calc(56px / 2) auto 0;   /* half the station, so the trunk lands on its top edge */
  padding: var(--space-8) var(--space-7) var(--space-5); text-align: center;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--accent-text) 5%, transparent);
  transition: border-color 300ms var(--motion-ease-out);
}
.platform-connect__station {
  position: absolute; left: 50%; top: calc(-1 * var(--border-w)); translate: -50% -50%;   /* from the panel's outer edge */
  display: grid; place-items: center; width: 56px; height: 56px;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px);
  background: var(--how-teal);
  transition: border-color 300ms var(--motion-ease-out);
}
.platform-connect__station .platform-connect__mark { width: 30px; height: 30px; }
.platform-connect[data-arrived] .platform-connect__panel { border-color: color-mix(in srgb, var(--accent-text) 30%, transparent); }
.platform-connect[data-arrived] .platform-connect__station { border-color: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.platform-connect__say {
  max-width: 26em; margin: 0 auto; text-wrap: balance;
  font-family: var(--font-headline, var(--font-display)); font-size: var(--size-h3); font-weight: var(--display-weight);
  line-height: 1.2; letter-spacing: var(--display-tracking); color: var(--heading);
}
.platform-connect__sub { max-width: none; margin: var(--space-3) auto 0; font-size: var(--size-body); line-height: 1.55; color: var(--ink); text-wrap: balance; }
.platform-connect__beside {
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 18%, transparent);
  text-align: left;
}
.platform-connect__beside-icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-radius: var(--r-box, 6px);
  color: var(--ink-muted);
}
.platform-connect__beside-icon .icon { --icon-size: 20px; width: 20px; height: 20px; }
.platform-connect__beside p { display: grid; gap: 2px; max-width: none; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.platform-connect__beside .label { color: var(--ink-muted); }
@media (max-width: 767px) {
  .platform-connect__panel { padding: var(--space-8) var(--space-5) var(--space-5); }
  .platform-connect__say { font-size: var(--size-h3); }
  .platform-connect__beside { align-items: flex-start; justify-content: flex-start; }
}
@media (max-width: 1023px) {
  .platform-connect__cards { grid-template-columns: minmax(0, 1fr); }
  .platform-connect__glyph { margin-bottom: var(--space-4); }
  .platform-connect__join { margin-inline: 0; height: var(--space-8); }
  .platform-connect__wire--left, .platform-connect__wire--right, .platform-connect__wires path:not(:nth-child(2)), .platform-connect__routes :is(.is-left, .is-right) { display: none; }
}

/* ---- Workflows and the server-side harness (25 Nov, user: "build
   workflows and Server-side harness sections"). Rohit's copy. Shared parts:
     .platform-points       his three points: a 20px muted duotone icon, a
                            16px title, a 14px line, on a hairline
     .platform-placeholder  his image notes, kept as a slot until the
                            product shots exist: a dashed edge (the
                            drawings' sign for what's still to come), a
                            muted DM Mono label, his title and brief
   Workflows (night-2): the points in three columns, then the support
   playbook — the homepage use cases' Trigger / Playbook / Output rows
   (use-cases.css) on a raised panel — beside its placeholder, then his
   closing line. The harness (teal): the points stacked at the left with
   the support example under them, the placeholder at the right. */
.platform-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.platform-points li { padding-top: var(--space-5); border-top: var(--border-w) solid var(--line); }
.platform-points .icon { --icon-size: 20px; display: block; color: var(--ink-muted); }
.platform-points h3 { margin: var(--space-3) 0 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-points p { margin: var(--space-1) 0 0; max-width: 32em; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }

.platform-placeholder {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6);
  min-height: 320px; margin: 0; padding: var(--space-6);
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 24%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 3%, transparent);
}
.platform-placeholder__label { color: var(--ink-muted); }
.platform-placeholder figcaption { display: grid; gap: var(--space-2); max-width: 32em; }
.platform-placeholder b { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--heading); }
.platform-placeholder figcaption span { font-size: 14px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }

/* Workflows: the example and its placeholder, side by side. */
.platform-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.platform-example__panel {
  padding: var(--space-6);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, var(--ground));
}
.platform-example__lead { margin: 0 0 var(--space-4); font: 500 20px/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--heading); text-wrap: balance; }
.platform-example__flow dd b { display: block; font-weight: 500; color: var(--heading); }
.platform-example__flow dd p { margin: var(--space-1) 0 0; color: var(--ink-muted); text-wrap: pretty; }
.platform-example__flow .use-case__steps { margin-top: var(--space-2); }
/* ---- Workflows, after modal.com's "Built for the enterprise" (26 Nov,
   user): Rohit's support example drawn across three tall cards, one beat
   each, each over its point (icon beside the title, the line under it), then
   his closing note beside his image placeholder. The drawings speak the
   site's illustration language (26 Nov, later, user: "in line with" the
   other illustrations): the cards in the Problems cards' make — a slight
   lift, a faint edge and a still colour field at the foot, a different pair
   of illustration colours each; the panels in the outer loop's floating-card
   make — a firmer edge and the soft two-layer shadow, the head the use
   cases' Trigger / Playbook / Output icon and DM Mono name over a hairline,
   a status dot at the right (Sage moving or done; Ember where a person
   decides), a count where there is one; skeleton bars for what isn't his
   words, Sage bars for what Unlock.ai produced; people as rings with the
   user glyph; things as Phosphor glyphs. Sage chevrons in the gaps carry
   the run from card to card. One column below 1024. */
.platform-flow__lead {
  display: flex; align-items: center; gap: var(--space-2); max-width: none;
  margin: var(--space-8) 0 0; font-size: var(--size-body); font-weight: 500; color: var(--heading);
}
.platform-flow__lead .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-flow {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 var(--space-5);
  margin: var(--space-5) 0 0; padding: 0; list-style: none;
}
/* one grid for the three: the cards share the tallest's height, the points one line */
.platform-flow__item { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.platform-flow__art {
  position: relative; isolation: isolate; display: grid; place-items: center; min-height: 420px; margin: 0; padding: var(--space-6);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
}
.platform-flow__art::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(55% 45% at 26% 100%, var(--field-1), transparent 70%),
    radial-gradient(50% 40% at 82% 94%, var(--field-2), transparent 70%);
  opacity: 0.16;
}
.platform-flow__item:nth-child(1) { --field-1: var(--ill-teal);  --field-2: var(--ill-sage); }
.platform-flow__item:nth-child(2) { --field-1: var(--ill-jade);  --field-2: var(--ill-lime); }
.platform-flow__item:nth-child(3) { --field-1: var(--ill-sage);  --field-2: var(--ill-butter); }
.platform-flow__item + .platform-flow__item .platform-flow__art::before {
  content: ''; position: absolute; top: 50%; left: calc(var(--space-5) / -2 - 4px); width: 7px; height: 7px;
  border: solid color-mix(in srgb, var(--accent-text) 70%, transparent); border-width: 1.5px 1.5px 0 0;
  translate: 0 -50%; rotate: 45deg;
}
.platform-flow__panel {
  display: grid; gap: var(--space-3); width: 100%; max-width: 340px; padding: var(--space-3) var(--space-4) var(--space-4);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, var(--ground)); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 7%, var(--ground));   /* the band's own ground (night-deep for Workflows; teal under Models since 26 Nov) */
  box-shadow:
    0 var(--space-1) var(--space-2) color-mix(in srgb, var(--night-deep) 40%, transparent),
    0 var(--space-4) var(--space-6) color-mix(in srgb, var(--night-deep) 55%, transparent);
  font-size: 12px; line-height: 1.45; color: var(--ink);
}
.platform-flow__panel .icon { --icon-size: 14px; flex: none; width: 14px; height: 14px; }
.platform-flow__head { display: flex; align-items: center; gap: var(--space-2); padding-bottom: var(--space-3); border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); }
.platform-flow__head .icon { color: var(--ink-muted); }
.platform-flow__head .label { color: var(--ink-muted); }
.platform-flow__count { margin-left: auto; font: 500 11px/1 var(--font-label); letter-spacing: var(--label-tracking); color: var(--ink-muted); }
.platform-flow__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--heading) 30%, transparent); }
.platform-flow__head .label + .platform-flow__dot { margin-left: auto; }
.platform-flow__dot.is-lit { background: var(--accent-text); }
.platform-flow__dot.is-person { background: var(--accent); }
.platform-flow__title { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--heading); text-wrap: balance; }
.platform-flow__bar { display: block; width: var(--w); height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 14%, transparent); }
.platform-flow__bar.is-faint { background: color-mix(in srgb, var(--heading) 8%, transparent); }
.platform-flow__bar.is-made { background: color-mix(in srgb, var(--accent-text) 50%, transparent); }
.platform-flow__ticket {
  display: grid; gap: var(--space-3); padding: var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 3%, transparent);
}
.platform-flow__from, .platform-flow__issue { display: flex; align-items: center; gap: var(--space-2); }
.platform-flow__issue { align-items: flex-start; }
.platform-flow__from > span:last-child, .platform-flow__issue > span { display: grid; flex: 1; gap: 5px; }
.platform-flow__ring {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 28%, transparent); color: var(--ink-muted);
}
.platform-flow__ring .icon { --icon-size: 12px; width: 12px; height: 12px; }
.platform-flow__issue .icon { color: var(--ink-muted); margin-top: -4px; }
.platform-flow__chips { display: flex; gap: 6px; }
.platform-flow__chips i { width: var(--w); height: 16px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: 3px; }
.platform-flow__foot { max-width: none; margin: 0; color: var(--ink-muted); text-wrap: pretty; }
.platform-flow__steps { display: grid; margin: 0; padding: 0; list-style: none; }
.platform-flow__steps li {
  display: grid; grid-template-columns: 18px 16px minmax(0, 1fr); gap: var(--space-2); align-items: start;
  padding: var(--space-2) 0; border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent);
}
.platform-flow__steps li:first-child { border-top: 0; padding-top: 0; }
.platform-flow__n { font: 500 11px/1.6 var(--font-label); color: var(--ink-muted); }
.platform-flow__state { display: grid; place-items: center; height: 17px; }
.platform-flow__state .icon { color: var(--accent-text); }
.platform-flow__steps .is-running .platform-flow__state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 22%, transparent); }
.platform-flow__steps .is-next .platform-flow__state::before { content: ''; width: 8px; height: 8px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 30%, transparent); border-radius: 50%; }
.platform-flow__steps .is-done { color: var(--ink-muted); }
.platform-flow__steps .is-running { color: var(--heading); }
.platform-flow__steps .is-next { color: color-mix(in srgb, var(--ink-muted) 75%, transparent); }
.platform-flow__meter { display: flex; gap: 3px; }
.platform-flow__meter i { flex: 1; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--heading) 10%, transparent); }
.platform-flow__meter .is-on { background: var(--accent-text); }
.platform-flow__meter .is-half { background: linear-gradient(90deg, var(--accent-text) 50%, color-mix(in srgb, var(--heading) 10%, transparent) 50%); }
.platform-flow__findings { display: grid; margin: 0; padding: 0; list-style: none; }
.platform-flow__findings li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
.platform-flow__findings li:first-child { border-top: 0; padding-top: 0; }
.platform-flow__findings .icon { color: var(--ink-muted); }
.platform-flow__gate {
  display: flex; align-items: flex-start; gap: var(--space-2); max-width: none; margin: 0; padding: var(--space-2) var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--heading);
}
.platform-flow__gate .icon { --icon-size: 16px; width: 16px; height: 16px; color: var(--accent); }
.platform-flow__point { padding: var(--space-5) var(--space-2) 0; }
.platform-flow__point h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-flow__point .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-flow__point p { max-width: 32em; margin: var(--space-2) 0 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
/* His closing note, then his image placeholder across the full width
   (26 Nov, user: "image can be big so use full width there"; beside the note
   on two columns for an hour): the note at 16 under a hairline on the
   section head's left column, the slot under it at 2 : 1, so the product
   shot has room. */
.platform-flow__after {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7) var(--space-8);
  margin-top: var(--space-9);
}
.platform-flow__after .platform-placeholder { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.platform-flow__note {
  max-width: 32em; margin: 0; padding-top: var(--space-5); border-top: var(--border-w) solid var(--line);
  font-size: var(--size-body); line-height: 1.65; color: var(--ink); text-wrap: pretty;
}
@media (max-width: 1023px) {
  .platform-flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: var(--space-7); }
  .platform-flow__item { grid-row: auto; grid-template-rows: auto auto; }
  .platform-flow__art { min-height: 0; padding: var(--space-5); }
  .platform-flow__item + .platform-flow__item .platform-flow__art::before { display: none; }
  .platform-flow__point { padding-inline: 0; }
  .platform-flow__after { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
  .platform-flow__after .platform-placeholder { aspect-ratio: auto; }
}

.platform-note { max-width: 46em; margin: var(--space-6) 0 0; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }

/* The harness: points stacked at the left, the placeholder at the right. */
/* Server-side harness, after modal.com's Cloud substrate (26 Nov, user):
   his placeholder across the full width at 2 : 1 where Modal has its map,
   then a row of three columns, his points, each after a 1px vertical hairline, 32px in from it, the icon (20px) and
   title (Inter 16, weight 500) on one line in the heading colour, his line
   under it at 16 in the body colour; under them his support example in a box
   in the Interfaces coding-agents foot's make — a dashed 40px tile with the
   headset, the DM Mono label over his line at 14 (user: "show support example
   as Coding agents in box"; not a fourth column, "not that kind"). One
   column below 1024. */
.platform-harness__stage { margin-top: var(--space-8); }
.platform-harness__stage .platform-placeholder { aspect-ratio: 2 / 1; }
.platform-columns {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) 0;
  margin: var(--space-7) 0 0; padding: 0; list-style: none;
}
.platform-columns li { padding: 0 var(--space-5) 0 var(--space-6); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); }
.platform-columns h3 { display: flex; align-items: center; gap: var(--space-3); margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-columns .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--heading); }
.platform-columns p { max-width: 30em; margin: var(--space-3) 0 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
@media (max-width: 1023px) { .platform-columns { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
.platform-harness__example {
  display: flex; align-items: center; gap: var(--space-4); width: fit-content; max-width: 100%;
  margin: var(--space-8) 0 0; padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
}
.platform-harness__example-icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-radius: var(--r-box, 6px);
  color: var(--ink-muted);
}
.platform-harness__example-icon .icon { --icon-size: 20px; width: 20px; height: 20px; }
.platform-harness__example p { display: grid; gap: 2px; max-width: 46em; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.platform-harness__example .label { color: var(--ink-muted); }
@media (max-width: 767px) { .platform-harness__example { align-items: flex-start; padding-right: var(--space-4); } }
@media (max-width: 1023px) { .platform-harness__stage .platform-placeholder { aspect-ratio: auto; } }
@media (max-width: 639px) { .platform-columns li { padding: 0 0 0 var(--space-5); } }
.platform-harness__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: stretch; margin-top: var(--space-8); }
.platform-harness .platform-points { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin: 0; }
.platform-harness .platform-points li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--space-3); padding-top: var(--space-5); }
.platform-harness .platform-points .icon { grid-row: span 2; margin-top: 2px; }
.platform-harness .platform-points h3 { margin: 0; }
.platform-aside {
  display: grid; gap: var(--space-2);
  max-width: none; margin: var(--space-6) 0 0; padding: var(--space-4) var(--space-5);
  border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
  font-size: 14px; line-height: 1.6; color: var(--ink);
}
.platform-aside .platform-aside__label { color: var(--ink-muted); }   /* a quiet DM Mono lead, as the coding-agents line */

@media (max-width: 1023px) {
  .platform-example, .platform-harness__body { grid-template-columns: minmax(0, 1fr); }
  .platform-harness__body { gap: var(--space-6); }
  .platform-placeholder { min-height: 240px; }
}
@media (max-width: 767px) {
  .platform-points { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .platform-points li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--space-3); }
  .platform-points .icon { grid-row: span 2; margin-top: 2px; }
  .platform-points h3 { margin: 0; }
  .platform-example__panel, .platform-placeholder { padding: var(--space-5) var(--space-4); }
}

/* ---- Context engine (night-deep) and Models and your systems (night-2),
   25 Nov, Rohit's copy. The context engine: his three sources as the
   points, then his four facts about it as rows on hairlines (the term at
   the left, 16px; the line at 14) beside his placeholder. The last fact,
   what it cannot know, reads the same: a plain limit, not a warning.
   Models and your systems: his three points only. */
.platform-context__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: stretch; margin-top: var(--space-8); }
.platform-facts { margin: 0; border-top: var(--border-w) solid var(--line); }
.platform-facts div { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: var(--space-5); padding: var(--space-5) 0; border-bottom: var(--border-w) solid var(--line); }
.platform-facts dt { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--heading); }
.platform-facts dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }

@media (max-width: 1023px) {
  .platform-context__body { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}
/* Models and your systems as three illustration cards (26 Nov, user: the
   archived Playbooks and Modules' make, neon.com's "Build your backend"
   layout): three columns standing on one line at their foot, each a
   caption over a card as tall as its own drawing, so the tops step. The
   caption one run, Neon's: the name at 16 weight 500 in the heading colour,
   his line after it in the body colour. The card the Workflows cards' make
   (heading 5%, an 8% edge, 6px corners, a still colour field at the foot at
   16%); inside, the Workflows panels' parts. One column below 1024, each
   drawing at most 400px, centred. */
.platform-models__cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: var(--space-8) var(--space-5);
  margin: var(--space-9) 0 0; padding: 0; list-style: none;
}
.platform-models__caption { max-width: 24em; margin-bottom: var(--space-5); font-size: var(--size-body); line-height: 1.5; text-wrap: pretty; }
.platform-models__caption h3, .platform-models__caption p { display: inline; margin: 0; font: inherit; letter-spacing: 0; }
.platform-models__caption h3 { font-weight: 500; color: var(--heading); }
.platform-models__caption p { color: var(--ink); }
.platform-models__art {
  position: relative; isolation: isolate; display: grid; place-items: center; margin: 0; padding: var(--space-6);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
}
.platform-models__art::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(55% 45% at 26% 100%, var(--field-1), transparent 70%),
    radial-gradient(50% 40% at 82% 94%, var(--field-2), transparent 70%);
  opacity: 0.16;
}
.platform-models__card--models { --field-1: var(--ill-teal); --field-2: var(--ill-sage); }
.platform-models__card--systems { --field-1: var(--ill-jade); --field-2: var(--ill-lime); }
.platform-models__card--enterprise { --field-1: var(--ill-sage); --field-2: var(--ill-butter); }
.platform-models__art .platform-flow__panel { max-width: 320px; }
.platform-models__art .icon { --icon-size: 14px; flex: none; width: 14px; height: 14px; }
.platform-models__state { display: grid; place-items: center; width: 16px; margin-left: auto; color: var(--accent-text); }

/* Models: the harness station over the panel, a Sage wire into it. */
.platform-models__route { display: grid; justify-items: center; width: 100%; max-width: 320px; }
.platform-models__station {
  display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 40%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--accent-text) 8%, var(--ground)); color: var(--accent-text);
}
.platform-models__station .label { color: var(--heading); }
.platform-models__wire { width: var(--border-w); height: var(--space-5); background: color-mix(in srgb, var(--accent-text) 70%, transparent); }
.platform-models__list { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.platform-models__list li {
  display: flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-2) 0 var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); border-radius: var(--r-box, 6px);
  color: var(--ink-muted);
}
.platform-models__list .is-routed { border-color: color-mix(in srgb, var(--accent-text) 50%, transparent); background: color-mix(in srgb, var(--accent-text) 7%, transparent); color: var(--accent-text); }
.platform-models__list .is-routed .platform-flow__bar { background: color-mix(in srgb, var(--accent-text) 50%, transparent); }
.platform-models__list .is-off { border-style: dashed; }
.platform-models__list .is-off .platform-flow__bar { background: color-mix(in srgb, var(--heading) 7%, transparent); }
.platform-models__list .is-off .platform-models__state { color: var(--ink-muted); }
.platform-models__task {
  margin-left: auto; padding: 2px 6px; border-radius: 3px;
  font: 500 10px/1.4 var(--font-label); letter-spacing: var(--label-tracking); text-transform: uppercase;
  background: color-mix(in srgb, var(--accent-text) 16%, transparent); color: var(--accent-text);
}
.platform-models__task + .platform-models__state { margin-left: 0; }
.platform-models__usage {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-2) var(--space-3);
  padding-top: var(--space-3); border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent);
}
.platform-models__usage .label { font-size: 11px; color: var(--ink-muted); }
.platform-models__meter { display: flex; gap: 3px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 7%, transparent); overflow: hidden; }
.platform-models__meter i { width: var(--w); background: color-mix(in srgb, var(--heading) 22%, transparent); }
.platform-models__meter i.is-lit { background: color-mix(in srgb, var(--accent-text) 60%, transparent); }

/* Your existing systems: the mark as the hub, a spine down from it and a
   branch to each system; the connected three Sage, the two to confirm
   dashed. */
.platform-models__tree { display: grid; justify-items: start; width: 100%; max-width: 300px; }
.platform-models__hub {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); border-radius: var(--r-box, 6px);
  background: var(--ground);
}
.platform-models__mark { width: 28px; height: 28px; color: var(--heading); }
.platform-models__mark .wordmark__in { fill: var(--logo-mint); }   /* the logo's pair on dark: cream, the mint centre */
.platform-models__systems {
  --row: 44px; --gap: var(--space-3); --drop: var(--space-5); --in: var(--space-8);
  display: grid; gap: var(--gap); width: 100%; margin: 0; padding: var(--drop) 0 0 var(--in); list-style: none;
}
.platform-models__systems li {
  position: relative; display: flex; align-items: center; gap: var(--space-3); height: var(--row); padding: 0 var(--space-3) 0 var(--space-2);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 6%, var(--ground));
}
/* each row draws its own piece of the spine: down from the row above (the
   hub for the first) and round an 8px corner into its left edge */
.platform-models__systems li::before {
  content: ''; position: absolute; right: calc(100% + var(--border-w)); width: calc(var(--in) - 24px);
  top: calc(-1 * (var(--gap) + var(--row) / 2)); height: calc(var(--gap) + var(--row));
  border: solid color-mix(in srgb, var(--accent-text) 60%, transparent); border-width: 0 0 var(--border-w) var(--border-w);
  border-bottom-left-radius: 8px;
}
.platform-models__systems li:first-child::before { top: calc(-1 * var(--drop)); height: calc(var(--drop) + var(--row) / 2); }
.platform-models__systems .label { font-size: 11px; color: var(--heading); }
/* Production's connections, still to scope: faint dashed rows, a plug each */
.platform-models__links { display: grid; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.platform-models__links li {
  display: flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-3);
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 18%, transparent); border-radius: var(--r-box, 6px);
  color: color-mix(in srgb, var(--ink-muted) 80%, transparent);
}
.platform-models__links .platform-flow__bar { background: color-mix(in srgb, var(--heading) 7%, transparent); }
.platform-models__tile {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 3px;
  background: color-mix(in srgb, var(--accent-text) 12%, transparent); color: var(--accent-text);
}
.platform-models__systems .is-open { border-style: dashed; border-color: color-mix(in srgb, var(--heading) 24%, transparent); background: transparent; }
.platform-models__systems .is-open::before { border-style: dashed; border-color: color-mix(in srgb, var(--heading) 28%, transparent); border-bottom-left-radius: 0; }
.platform-models__systems .is-open .platform-models__tile { background: color-mix(in srgb, var(--heading) 6%, transparent); color: var(--ink-muted); }
.platform-models__systems .is-open .label { color: var(--ink-muted); }
.platform-models__systems .is-open .platform-models__state::before {
  content: ''; width: 10px; height: 10px; border: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-radius: 50%;
}

/* Enterprise implementation: the trial and production side by side, the
   way between them a dashed line stopped at an Ember gate, your
   engineering and security teams under it as Ember rings. */
.platform-models__zones { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; width: 100%; max-width: 400px; }
.platform-models__zone { gap: var(--space-2); padding-inline: var(--space-3); }
.platform-models__zone .label, .platform-models__zone--closed .label { font-size: 11px; white-space: nowrap; }
.platform-models__zone .platform-flow__head .icon { color: var(--accent-text); }
.platform-models__zone--closed {
  display: grid; align-content: start; gap: var(--space-2); padding: var(--space-3);
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, transparent); border-radius: var(--r-box, 6px);
  font-size: 12px; color: var(--ink-muted);
}
.platform-models__zone .platform-flow__head, .platform-models__zone--closed .platform-flow__head { padding-bottom: var(--space-2); margin-bottom: var(--space-1); }
.platform-models__zone--closed .platform-flow__head .icon { color: var(--ink-muted); }
.platform-models__gate { position: relative; display: grid; place-items: center; height: 100%; }
.platform-models__gate::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 0;
  border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent);
}
.platform-models__diamond {
  position: relative; width: 10px; height: 10px; rotate: 45deg;
  border: 1.5px solid var(--accent); border-radius: 2px; background: color-mix(in srgb, var(--accent) 18%, var(--ground));
}
.platform-models__people { position: absolute; top: calc(50% + var(--space-4)); left: 50%; translate: -50% 0; display: flex; gap: 3px; }
.platform-flow__ring.is-person { width: 18px; height: 18px; border-color: color-mix(in srgb, var(--accent) 70%, transparent); color: var(--accent); background: var(--ground); }
.platform-flow__ring.is-person .icon { --icon-size: 10px; width: 10px; height: 10px; }

@media (max-width: 1199px) {   /* three across needs about 380px a card: the panels' labels wrap under it */
  .platform-models__cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); margin-top: var(--space-8); }
  .platform-models__caption { max-width: 36em; }
}
/* Cropped (26 Nov, user: the floating version "is not working"): Neon's
   own move — the illustration is the card. No padding at the foot: each
   drawing fills the card's width and runs off its bottom edge, like
   product seen through a window, so the card is exactly as tall as what
   it shows. Models: the panel's foot cut by the edge. Systems: the rows
   full width, the spine carrying on past the last one (more systems).
   Enterprise turns upright: Trial, the gate on the line down from it,
   Production cut by the edge. */
.platform-models--cropped .platform-models__art { display: block; overflow: hidden; padding: var(--space-6) var(--space-6) 0; }
.platform-models--cropped .platform-models__art .platform-flow__panel { max-width: none; }
.platform-models--cropped .platform-models__route { max-width: none; }
.platform-models--cropped .platform-models__route .platform-flow__panel { width: 100%; }
.platform-models--cropped .platform-models__route .platform-flow__panel { margin-bottom: calc(-1 * var(--space-3)); padding-bottom: calc(var(--space-4) + var(--space-3)); }
.platform-models--cropped .platform-models__tree { max-width: none; }
.platform-models--cropped .platform-models__systems { padding-bottom: var(--space-6); }
.platform-models--cropped .platform-models__systems::after {
  content: ''; position: absolute; left: 23px; bottom: 0; height: calc(var(--space-6) + var(--row) / 2);
  border-left: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, transparent);
}
.platform-models--cropped .platform-models__systems { position: relative; }
.platform-models--cropped .platform-models__systems li::before { right: calc(100% + var(--border-w)); }
.platform-models--cropped .platform-models__zones { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 56px auto; max-width: none; }
.platform-models--cropped .platform-models__zone,
.platform-models--cropped .platform-models__zone--closed { padding-inline: var(--space-4); }
.platform-models--cropped .platform-models__zone--closed { margin-bottom: calc(-1 * var(--space-3)); padding-bottom: calc(var(--space-4) + var(--space-3)); }
.platform-models--cropped .platform-models__gate { justify-items: start; padding-left: calc(var(--space-4) + 2px); }
.platform-models--cropped .platform-models__gate::before {
  top: 0; bottom: 0; left: calc(var(--space-4) + 7px); right: auto; height: auto; width: 0;
  border-top: 0; border-left: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent);
}
.platform-models--cropped .platform-models__people { top: 50%; left: calc(var(--space-4) + 28px); translate: 0 -50%; }

/* Even (26 Nov, user: "all 3 illustration … can be same height"): the
   captions and cards share two rows across the three (subgrid), so the
   captions start on one line and the cards take the tallest's height
   (Systems); each drawing grows to fill its card and is still cut by the
   foot — the models panel and Production stretch down, the systems spine
   runs off. From 1200px, where the three stand side by side. */
@media (min-width: 1200px) {
  .platform-models--even .platform-models__cards { grid-template-rows: auto 1fr; align-items: stretch; row-gap: 0; }
  .platform-models--even .platform-models__card { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .platform-models--even .platform-models__art { display: flex; flex-direction: column; }
  .platform-models--even .platform-models__route,
  .platform-models--even .platform-models__zones { flex: 1; }
  .platform-models--even .platform-models__route { grid-template-rows: auto auto 1fr; }
  .platform-models--even .platform-models__route .platform-flow__panel { align-content: start; }
  .platform-models--even .platform-models__zones { grid-template-rows: auto 56px 1fr; }
}

/* Caption below (26 Nov, user: "better to put this below illustration"):
   the illustration first, its caption under it, 24px down; side by side
   the three captions start on one line under the three cards. The markup
   keeps the caption first (the drawing is aria-hidden), the order is CSS. */
.platform-models--below .platform-models__card { display: flex; flex-direction: column; }
.platform-models--below .platform-models__caption { order: 2; margin: var(--space-5) 0 0; }
@media (min-width: 1200px) {
  .platform-models--below .platform-models__cards { grid-template-rows: auto auto; }
  .platform-models--below .platform-models__card { display: grid; }
  .platform-models--below .platform-models__art { grid-row: 1; }
  .platform-models--below .platform-models__caption { grid-row: 2; align-self: start; }
}

@media (max-width: 479px) {
  .platform-models__art { padding: var(--space-6) var(--space-5); }
  .platform-models--cropped .platform-models__art { padding: var(--space-5) var(--space-5) 0; }
  .platform-models__zone .label, .platform-models__zone--closed .label { white-space: normal; }
}

/* The context engine in the harness's layout (26 Nov, user): the placeholder
   and columns take the harness's rules; under them his four facts as one
   strip in the harness box's make (heading 5%, an 8% edge, 6px corners),
   four equal cells split by hairlines, each its term over its line — the
   layer diagram's Context engine strip. Two by two below 1024, one column
   on phones. */
.platform-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: var(--space-8) 0 0;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
  overflow: hidden;
}
.platform-strip div { padding: var(--space-5) var(--space-6); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
.platform-strip div:first-child { border-left: 0; }
.platform-strip dt { font: 500 16px/1.4 var(--font-body); color: var(--heading); }
.platform-strip dd { margin: var(--space-2) 0 0; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
@media (max-width: 1023px) {
  .platform-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-strip div:nth-child(odd) { border-left: 0; }
  .platform-strip div:nth-child(n+3) { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
}
@media (max-width: 639px) {
  .platform-strip { grid-template-columns: minmax(0, 1fr); }
  .platform-strip div { border-left: 0; padding: var(--space-4) var(--space-5); }
  .platform-strip div + div { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
}
@media (max-width: 767px) {
  .platform-facts div { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); padding: var(--space-4) 0; }
}

/* ---- JUMP LINKS (25 Nov, Rohit: the row of links to the page's sections
   "styled like the slash labels already on the site, with a dotted
   underline under the label and none under the slash"; boxed buttons
   looked heavy). Under the hero headline on the Platform pages: DM Mono
   labels, muted, a Sage slash before each, a dotted underline at rest and
   a solid one in the heading colour on hover and focus. */
.jump-links { margin-top: var(--space-7); }
.jump-links ol { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); margin: 0; padding: 0; list-style: none; }
.jump-links a {
  position: relative; display: inline-block; padding: var(--space-1) 0 var(--space-1) 1.2em;
  font: 500 var(--size-label)/1.65 var(--font-label); letter-spacing: var(--label-tracking); text-transform: uppercase; white-space: nowrap;
  color: var(--ink-muted);
  text-decoration: underline dotted color-mix(in srgb, currentColor 55%, transparent); text-underline-offset: 4px;
  transition: color var(--motion-base) var(--motion-ease);
}
.jump-links a::before { content: "/"; position: absolute; left: 0; color: var(--accent-text); }   /* outside the underlined run, so the slash stays clear */
.jump-links a:hover, .jump-links a:focus-visible { color: var(--heading); text-decoration-style: solid; text-decoration-color: currentColor; }
.platform-section[id], .platform-workflows, .platform-harness, .platform-context, .platform-models, #layers, #interfaces { scroll-margin-top: var(--nav-h); }
@media (max-width: 767px) {
  .jump-links { margin-top: var(--space-6); }
  .jump-links ol { justify-content: flex-start; gap: var(--space-1) var(--space-5); }
  .platform-hero__head:has(.jump-links) { justify-items: start; text-align: left; }
}

/* ---- STACKED HERO AND JUMP BAR (26 Nov, user: "this dont look good with
   hero lede and fold 2 lede, maybe lets do like index.html hero, subheader and
   buttons below h1 and for class="jump-links" do like
   databricks.com/product/platform as a sticky header for links").
   The hero stacks as the homepage's and as Rohit's page sets it: eyebrow,
   headline, lede, buttons, centred, the first screen the hero alone. The
   jump bar is below. Sections land flush under the header and the bar. */

:root { --jump-h: 48px; }
html:has(.jump-bar) { scroll-padding-top: calc(var(--nav-shown) + var(--jump-h)); }
html.is-nav-hidden .jump-bar { transform: translateY(calc(-1 * (var(--nav-h) + var(--nav-float)))); }
/* The tone switch (header-tone.js) holds every transition off for two frames
   (.is-retoning) so new colours don't fade; the bar's slide must keep going
   through it, or it snaps while the header glides on and the two part (29
   Nov, user: "the header should work well with the jump bar and stack
   properly"). */
.jump-bar.is-retoning { transition: transform 500ms var(--motion-ease) !important; }
html:has(.jump-bar) :is(.platform-section[id], .platform-workflows, .platform-harness, .platform-context, .platform-models, #layers, #interfaces) { scroll-margin-top: 0; }
.platform-hero--stacked .platform-hero__stage { padding-block: calc(var(--nav-h) + var(--space-8)) var(--space-9); }
.platform-hero--stacked .lede { max-width: 45em; margin: var(--space-5) 0 0; text-wrap: balance; line-height: 1.75; }
/* The lede as the homepage hero's (26 Nov, user: "similar to hero subhead"):
   each sentence its own line from 768px, 12px apart, the two product names
   in the heading colour at 500. 175% leading, as the homepage's. */
.platform-hero__term { color: var(--heading); font-weight: 500; }
@media (min-width: 768px) {
  .platform-hero__sentence { display: block; text-wrap: balance; }
  .platform-hero__sentence + .platform-hero__sentence { margin-top: var(--space-3); }
}
@media (max-width: 767px) { .platform-hero--stacked .lede { text-wrap: pretty; } }
.platform-hero--stacked .btn-group { justify-content: center; margin-top: var(--space-6); }

/* The wave hero (26 Nov, user, after watershed.com/en-GB/platform/
   sustainability-ai: "they do the wave effect … from the bottom, so I want to
   implement similar thing"): layered wave lines rise from the hero's foot
   (waves.js) under the dot screen, full in the bottom 18% of the hero and
   gone by 42% (12 and 32 on phones), so the copy, set a little above the
   middle, and its buttons keep their dark. The field: --wave-deep at the back, --wave-mid at the front,
   --wave-lit the ribbon, --wave-warm the few warm threads. */
.platform-hero--waves .platform-hero__stage { align-items: start; padding-top: calc(var(--nav-h) + clamp(var(--space-8), 13svh, 144px)); }
.hero__waves {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  --wave-deep: var(--sage-ink); --wave-mid: var(--sage-green); --wave-lit: var(--sage-100); --wave-warm: var(--ember-orange);   /* the lines sketch */
  --streak-a: var(--ember-orange); --streak-b: var(--sage-ink); --streak-b-gain: 2.1; --streak-c: var(--sage-100);   /* the homepage field's own */
  -webkit-mask-image: linear-gradient(to top, var(--white) 0, var(--white) 18%, transparent 42%);
          mask-image: linear-gradient(to top, var(--white) 0, var(--white) 18%, transparent 42%);
}
@media (max-width: 767px) {
  .hero__waves {
    -webkit-mask-image: linear-gradient(to top, var(--white) 0, var(--white) 12%, transparent 32%);
            mask-image: linear-gradient(to top, var(--white) 0, var(--white) 12%, transparent 32%);
  }
}

/* The jump bar (26 Nov; user, in turn: "for class="jump-links" do like
   databricks … as a sticky header", "make them look like proper button. But
   in our design language", "appears randomly, not good, let it be there
   after hero but gets attached when scrolled past"). Part of the page, right
   after the hero, at the top of the layers band; it scrolls up with the page
   and holds under the header once it reaches it (sticky), the two then one
   bar — solid night-2, a hairline under it; paper over the light bands, its
   tone from the band just below it (jump-bar.js, header-tone.js). Its links
   are buttons in the header triggers' make: 32px tall, 12px side padding,
   6px corners, Inter 14 weight 500 in the muted colour after a 16px icon; on
   hover a box of the heading colour at 5%; once it holds, the section in
   view a box at 8% with its name in the heading colour and its icon in Sage,
   as a chosen use-case tab. Centred under the header's links; on phones the
   row scrolls sideways, fading at its right edge. (Rohit's slash labels and
   dotted underline, 25 Nov, before.) */
.jump-bar {
  --bar-bg: var(--night-2); --bar-line: color-mix(in srgb, var(--heading) 9%, transparent);
  position: sticky; top: calc(var(--nav-h) + var(--nav-float)); z-index: 990;
  height: var(--jump-h);
  background: var(--bar-bg); border-bottom: var(--border-w) solid var(--bar-line);
  /* up into the header's place as it hides, on the header's own transform and
     timing so the two move as one (29 Nov, user: "not working smoothly with
     the jump bar"; a `top` change before, overridden by this transition list,
     so it jumped) */
  transition: background-color var(--motion-base) var(--motion-ease), transform 500ms var(--motion-ease);
}
/* A jump link focuses its section (jump-bar.js) so keyboard and screen-reader
   users carry on from there; the section is a landing point, not a control,
   so no ring round the whole band. */
main section[tabindex="-1"]:focus { outline: none; }
/* Joined to the header (header-tone.js, .is-joined while the bar holds):
   the header's light-mode hairline goes, so header and bar are one bar on
   light as on dark (26 Nov). */
.site-header.is-joined.is-light { box-shadow: none; }
.jump-bar.is-light {
  --bar-bg: var(--paper-band); --bar-line: color-mix(in srgb, var(--ember-black) 9%, transparent);
  --heading: var(--ember-black); --ink-muted: var(--ember-muted); --accent-text: var(--sage-ink);
}
.jump-bar > .padding-global, .jump-bar .container { height: 100%; }
.jump-bar ol {
  display: flex; align-items: center; justify-content: center; gap: var(--space-1); height: 100%;
  margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none;
}
.jump-bar ol::-webkit-scrollbar { display: none; }
.jump-bar li { flex: none; }
.jump-bar a {
  display: inline-flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-3);
  border-radius: var(--r-box, 6px);
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  color: var(--ink-muted);
  transition: background-color var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.jump-bar .icon { --icon-size: 16px; width: 16px; height: 16px; flex: none; color: currentColor; transition: color var(--motion-base) var(--motion-ease); }
/* Each tab boxed at rest (30 Nov, Rohit: "Could each tab have a faint box or
   outline at rest … before you scroll, the row does not read as tabs you can
   click"): a 1px inside edge at heading 10% (an inset shadow, so the tab
   keeps its size), firming to 18% on hover and 22% on the chosen one. */
.jump-bar a { box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 10%, transparent); }
.jump-bar a:hover, .jump-bar a:focus-visible { color: var(--heading); background: color-mix(in srgb, var(--heading) 5%, transparent); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 18%, transparent); }
.jump-bar a[aria-current] { color: var(--heading); background: color-mix(in srgb, var(--heading) 8%, transparent); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 22%, transparent); }
.jump-bar a[aria-current] .icon { color: var(--accent-text); }
.jump-bar a:active { transform: scale(0.98); }
/* Sketch: the bar as one segmented control (30 Nov, user: "show segmented
   control example", after Rohit's "no visual differentiation … scattered
   text"; /explorations/jump-bar/segmented-*.html). The buttons sit in one
   track (heading 4% fill, a 10% edge, 6px corners, 4px inside); the chosen
   one is a raised chip behind it (heading 10%, a 16% inside edge, a soft
   shadow) that slides to the next in 280ms on the long ease-out
   (jump-bar.js places it); the buttons themselves carry no box. Reduced
   motion: no slide. Without the script the chosen button keeps its own box. */
.jump-bar--segmented ol {
  position: relative; align-self: center; width: max-content; max-width: 100%; height: auto; margin: 0 auto; padding: var(--space-1); gap: 0;
  border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 4%, transparent);
  box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 10%, transparent);
}
.jump-bar--segmented > .padding-global > .container { display: flex; align-items: center; }
.jump-bar--segmented a, .jump-bar--segmented a:hover, .jump-bar--segmented a:focus-visible, .jump-bar--segmented a[aria-current] { box-shadow: none; }
.jump-bar--segmented a { position: relative; z-index: 1; }
.jump-bar--segmented a:hover, .jump-bar--segmented a:focus-visible { background: transparent; color: var(--heading); }
.jump-bar--segmented.has-thumb a[aria-current] { background: transparent; }
.jump-bar__thumb {
  position: absolute; top: var(--space-1); left: 0; height: 32px; width: 0; z-index: 0; pointer-events: none; list-style: none;
  border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 10%, transparent);
  box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 16%, transparent), 0 1px 2px color-mix(in srgb, var(--ember-black) 24%, transparent);
}
.jump-bar--segmented.is-ready .jump-bar__thumb { transition: transform 280ms var(--motion-ease-out), width 280ms var(--motion-ease-out); }
@media (prefers-reduced-motion: reduce) { .jump-bar--segmented.is-ready .jump-bar__thumb { transition: none; } }
@media (max-width: 767px) { .jump-bar.jump-bar--segmented ol { margin: 0; padding: var(--space-1); } }   /* phones: the track scrolls sideways from the left under the bar's own right-edge fade (its 32px end padding not needed inside the track) */
@media (max-width: 767px) {
  .jump-bar ol { justify-content: flex-start; padding-right: var(--space-7); -webkit-mask-image: linear-gradient(90deg, var(--white) calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, var(--white) calc(100% - 48px), transparent); }
}

/* ---- GOVERNANCE AND SECURITY (/platform/governance-and-security; 25 Nov,
   Rohit's page, built in the Platform page's parts; design to follow,
   user). The breadcrumb eyebrow links back to Platform. */
.platform-hero__trail a { color: inherit; text-decoration: underline dotted color-mix(in srgb, currentColor 55%, transparent); text-underline-offset: 4px; }
.platform-hero__trail a:hover, .platform-hero__trail a:focus-visible { text-decoration-style: solid; }

.platform-block { margin-top: var(--space-8); }
.platform-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: stretch; margin-top: var(--space-8); }
.platform-block + .platform-split { margin-top: var(--space-7); }
.platform-split--points .platform-points { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin: 0; }
.platform-split--points .platform-points li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: var(--space-3); }
.platform-split--points .platform-points .icon { grid-row: span 2; margin-top: 2px; }
.platform-split--points .platform-points h3 { margin: 0; }
/* Six points: three to a row, two rows. */
#server .platform-points { row-gap: var(--space-7); }

/* Tables (his note: built in HTML, read closely, wording may change).
   DM Mono column heads, muted; rows on hairlines; the row head in the
   heading colour. The comparison's platform column is the answer: its
   head in Sage, its cells in the heading colour. On phones each row
   becomes a block, every cell led by its column's name. */
.spec-table { overflow-x: auto; }
.spec-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; text-align: left; }
.spec-table th, .spec-table td { padding: var(--space-4) var(--space-5) var(--space-4) 0; vertical-align: top; border-bottom: var(--border-w) solid var(--line); }
.spec-table thead th {
  padding-top: 0; padding-bottom: var(--space-3);
  font: 500 var(--size-label)/1.4 var(--font-label); letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--ink-muted);
}
.spec-table tbody th { width: 22%; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--heading); }
.spec-table td { color: var(--ink); }
.spec-table code { font: inherit; font-weight: 500; padding: 2px var(--space-1);   /* Inter, not a mono: DM Mono is for uppercase labels and IBM Plex Mono for product shots only */  border-radius: 3px; background: color-mix(in srgb, var(--heading) 8%, transparent); color: var(--heading); }
.spec-table--compare thead th:last-child { color: var(--accent-text); }
.spec-table--compare td:last-child { color: var(--heading); }
.spec-table--compare td:nth-child(2) { color: var(--ink-muted); }

.platform-security__intro { max-width: 32em; margin: var(--space-4) 0 0; font-size: 16px; line-height: 1.65; color: var(--ink); text-wrap: pretty; }

@media (max-width: 1023px) {
  .platform-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}
@media (max-width: 767px) {
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spec-table table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table tr { padding: var(--space-4) 0; border-bottom: var(--border-w) solid var(--line); }
  .spec-table tr:first-child { border-top: var(--border-w) solid var(--line); }
  .spec-table th, .spec-table td { padding: 0; border: 0; }
  .spec-table td { margin-top: var(--space-3); }
  .spec-table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: var(--space-1);
    font: 500 var(--size-label)/1.4 var(--font-label); letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--ink-muted);
  }
  .spec-table--compare td:last-child::before { color: var(--accent-text); }
}

/* ==========================================================================
   27 Nov — the image frames and the four sections round them (user: "improve
   the other sites around it … whenever I get the placeholder image, it simply
   will need to be inserted"; after a study of neon.com, modal.com,
   oxide.computer, prowork.ai and supabase.com). Markup and how to insert an
   image: scripts/build-platform.mjs, frame(). Before: the dashed 2 : 1 slot
   (.platform-placeholder), kept for the sketches.
   ========================================================================== */
/* "You are here": the layer stack before a section's eyebrow, its layer lit. */
.platform-eyebrow { display: inline-flex; align-items: center; gap: var(--space-3); }
.platform-here { flex: none; width: 16px; height: 23px; overflow: visible; }
.platform-here path { fill: var(--ground); stroke: color-mix(in srgb, var(--heading) 34%, var(--ground)); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.platform-here path.is-lit { fill: color-mix(in srgb, var(--accent-text) 55%, var(--ground)); stroke: var(--accent-text); }

/* The frame: window bar, 2 : 1 stage, caption strip. */
.platform-frame {
  display: grid; grid-template-rows: auto 1fr auto; margin: 0; overflow: hidden;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 3%, var(--ground));
}
.platform-frame__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 40px; padding: 0 var(--space-4);
  border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
  font: 500 var(--size-label)/1.4 var(--font-label); letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--ink-muted);
}
.platform-frame__id { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.platform-frame__logo { flex: none; width: 16px; height: 16px; color: var(--heading); }
.platform-frame__logo .wordmark__in { fill: var(--accent-text); }
.platform-frame__run { color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platform-frame__meta { white-space: nowrap; }
.platform-frame__stage {
  position: relative; display: grid; grid-template-columns: minmax(120px, 18%) minmax(0, 1fr); aspect-ratio: 2 / 1; min-height: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--heading) 9%, transparent) 1px, transparent 1px); background-size: 12px 12px;
}
.platform-frame__skeleton { display: contents; }
.platform-frame__side, .platform-frame__main { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-5); }
.platform-frame__side { border-right: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); background: color-mix(in srgb, var(--heading) 3%, var(--ground)); }
.platform-frame__main { padding: var(--space-6); }
.platform-frame__main .platform-flow__bar { height: 8px; }
.platform-frame__brief {
  position: absolute; left: calc(max(120px, 18%) + var(--space-6)); bottom: var(--space-6); display: grid; gap: var(--space-2); max-width: min(34em, 60%);
}
.platform-frame__brief .label { margin-bottom: var(--space-2); color: var(--ink-muted); }
.platform-frame__brief b { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--heading); }
.platform-frame__brief > span:not(.label) { font-size: 14px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }
.platform-frame.has-image .platform-frame__stage { display: block; background-image: none; }
.platform-frame__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.platform-frame__marker {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 3px; background: var(--accent-text); color: var(--ground);
  font: 500 11px/1 var(--font-label); font-style: normal;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 22%, transparent);
}
.platform-frame__caption {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent);
  font-size: 14px; line-height: 1.4; color: var(--ink);
}
.platform-frame__fig {
  flex: none; padding: 2px var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 24%, transparent); border-radius: 3px;
  font: 500 var(--size-label)/1.4 var(--font-label); letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--ink-muted);
}
/* The status card in the stage's corner while the image is to come. */
.platform-frame__card {
  position: absolute; top: var(--space-5); right: var(--space-5); display: grid; gap: var(--space-2); width: min(240px, 44%); padding: var(--space-3) var(--space-4) var(--space-4);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--white) 70%, var(--ground));
  box-shadow: 0 var(--space-2) var(--space-5) color-mix(in srgb, var(--heading) 8%, transparent);
}
.platform-frame__card-head { display: flex; align-items: center; gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); color: var(--ink-muted); }
.platform-frame__card-head .icon { --icon-size: 14px; flex: none; width: 14px; height: 14px; }
.platform-frame__card-head .platform-flow__dot { margin-left: auto; }
.platform-frame__card-line { font-size: 12px; line-height: 1.45; color: var(--ink); }

/* A section's foot row: a lead at the left, the points beside it. */
.platform-foot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 3fr); gap: var(--space-7) var(--space-7); margin-top: var(--space-7); }
.platform-foot__lead { display: grid; align-content: start; gap: var(--space-3); }
.platform-foot__lead .label { color: var(--ink-muted); }
.platform-foot__lead p { max-width: 24em; margin: 0; font-size: var(--size-body); line-height: 1.6; color: var(--heading); text-wrap: pretty; }
.platform-foot .platform-columns { margin: 0; }
.platform-columns__n { display: block; margin-bottom: var(--space-3); font: 500 var(--size-label)/1.4 var(--font-label); letter-spacing: var(--label-tracking); color: var(--ink-muted); }
.platform-columns--stack { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-content: center; margin: 0; }
.platform-more {
  display: inline-flex; align-items: center; gap: var(--space-2); width: fit-content; margin-top: var(--space-2);
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--accent-text); text-decoration: none;
}
.platform-more .icon { --icon-size: 16px; width: 16px; height: 16px; transition: translate var(--motion-base, 200ms) var(--motion-ease); }
.platform-more:hover .icon, .platform-more:focus-visible .icon { translate: 3px 0; }
.platform-more:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }

/* Context engine: the frame beside the three sources. */
.platform-split { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--space-8); align-items: stretch; margin-top: var(--space-8); }
.platform-strip--limit .platform-strip__limit { background: var(--ground); border-left: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, transparent); }
.platform-strip--limit .platform-strip__limit dt { color: var(--ink); }

/* Workflows: the figure, then the note beside the playbooks. */
.platform-flow__figure { margin-top: var(--space-9); }
.platform-foot--note { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7) var(--space-8); margin-top: var(--space-7); }
.platform-foot--note .platform-flow__note { max-width: 34em; }
.platform-tags { display: grid; align-content: start; gap: var(--space-4); padding-top: var(--space-5); border-top: var(--border-w) solid var(--line); }
.platform-tags .label { color: var(--ink-muted); }
.platform-tags ul { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.platform-tags li {
  display: inline-flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 4%, transparent);
  font-size: 14px; line-height: 1; color: var(--heading); white-space: nowrap;
}
.platform-tags li.is-own { border-style: dashed; background: none; color: var(--ink); }
.platform-tags .icon { --icon-size: 16px; flex: none; width: 16px; height: 16px; color: var(--ink-muted); }
/* The Playbook card's run moves on (platform-flow.js): each step carries its
   check, shown once it is done. */
.platform-flow__steps li:not(.is-done) .platform-flow__state .icon { display: none; }
.platform-flow__steps li { transition: color var(--motion-base, 200ms) var(--motion-ease); }
.platform-flow__meter i { transition: background-color 400ms var(--motion-ease); }

/* Models: the numbered label over each caption; the trial lit. */
.platform-models__caption .platform-columns__n { margin-bottom: var(--space-2); }
.platform-models__zone:not(.platform-models__zone--closed) { border-color: color-mix(in srgb, var(--accent-text) 40%, var(--ground)); }

@media (max-width: 1023px) {
  .platform-foot, .platform-foot--note, .platform-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .platform-foot__lead p { max-width: 36em; }
}
@media (max-width: 767px) {
  .platform-frame__stage { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; min-height: 280px; }
  .platform-frame.has-image .platform-frame__stage { min-height: 0; aspect-ratio: 2 / 1; }
  .platform-frame__side, .platform-frame__main, .platform-frame__card { display: none; }
  .platform-frame__brief { position: static; max-width: none; padding: var(--space-5) var(--space-4); align-content: end; }
  .platform-frame__meta { display: none; }
  .platform-tags li { white-space: normal; height: auto; min-height: 32px; padding-block: var(--space-1); line-height: 1.35; }
}
@media (max-width: 1199px) {   /* the harness's lead over its three points: four across was cramped at 1024 */
  .platform-foot:not(.platform-foot--note) { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .platform-foot__lead p { max-width: 36em; }
}
@media (max-width: 639px) {   /* stacked: the limit's dashed edge on top */
  .platform-strip--limit .platform-strip__limit { border-left: 0; border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, transparent); }
}

/* 27 Nov, later — the subtraction pass (user: the page "looks like it's AI
   made … not much of a designer input"; every point carried a number, an
   icon, a hairline and a label, and every section the same shape). One
   marker a point; the frames' bars and captions quieter; the harness plain;
   the context engine's limit as the page's one large line. */
.platform-frame__fig { padding: 0; border: 0; border-radius: 0; font: inherit; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.platform-frame__caption { gap: var(--space-2); }
.platform-frame__fig::after { content: '.'; }
/* The harness, plain: three lines of text under the image, no icons, numbers
   or rules; the example and its link on one line under a hairline. */
.platform-plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-8); margin: var(--space-7) 0 0; padding: 0; list-style: none; }
.platform-plain h3 { margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-plain p { max-width: 30em; margin: var(--space-2) 0 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.platform-plain__note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-5); max-width: none;
  margin: var(--space-7) 0 0; padding-top: var(--space-5); border-top: var(--border-w) solid var(--line);
  font-size: 14px; line-height: 1.6; color: var(--ink);
}
.platform-plain__note .label { color: var(--ink-muted); }
.platform-plain__note > span:not(.label) { flex: 1 1 28em; max-width: 46em; text-wrap: pretty; }
.platform-plain__note .platform-more { margin: 0 0 0 auto; }
/* Three facts in the strip; the fourth, the limit, as one large line. */
.platform-strip--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platform-limit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4) clamp(32px, 5vw, 80px); align-items: start; margin: var(--space-9) 0 0; }
.platform-limit dt { font: 500 16px/1.4 var(--font-body); color: var(--ink-muted); }
.platform-limit dd { margin: 0; font: 500 28px/1.2 var(--font-display); letter-spacing: var(--display-tracking); color: var(--heading); text-wrap: balance; }
@media (max-width: 1023px) {
  .platform-plain { grid-template-columns: minmax(0, 1fr); }
  .platform-strip--three { grid-template-columns: minmax(0, 1fr); }
  .platform-strip--three div { border-left: 0; }
  .platform-strip--three div + div { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
  .platform-limit { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-8); }
  .platform-limit dd { font-size: 24px; }
  .platform-plain__note .platform-more { margin-left: 0; }
}

/* The hero sized by its copy, as the homepage's since 26 Nov (27 Nov, user:
   "rohit asked for hero to be shorter coz there was empty space, but in our
   overview page, we have big hero, lets be consistent"; one full screen
   before): 112px from the header to the eyebrow, and under the buttons 112px
   plus room for the waves to rise in (80 and 80 on phones). Both Platform
   pages. */
.section.platform-hero--stage.platform-hero--stacked { min-height: 0; }
.platform-hero--stacked .platform-hero__stage,
.platform-hero--waves.platform-hero--stacked .platform-hero__stage { padding-block: calc(var(--nav-h) + var(--space-10)) calc(var(--space-10) + var(--space-9)); }
@media (max-width: 767px) {
  .platform-hero--stacked .platform-hero__stage,
  .platform-hero--waves.platform-hero--stacked .platform-hero__stage { padding-block: calc(var(--nav-h) + var(--space-9)) calc(var(--space-9) + var(--space-8)); }
}
/* Short screens: the jump bar inside the first screen (29 Nov, user: "are
   our heros responsive enough"; at 1280 × 720 the bar sat half cut at the
   screen's foot). Where the hero and the bar (737px) would not fit, from
   768px wide and up to 740px tall, the hero tightens — 80px from the header
   to the eyebrow and 160 under the buttons — so the bar sits whole on the
   first screen. It never grows to fill the screen (user: "im not looking for
   hero to be 100vh"). */
@media (min-width: 768px) and (max-height: 740px) {
  .platform-hero--stacked .platform-hero__stage,
  .platform-hero--waves.platform-hero--stacked .platform-hero__stage { padding-block: calc(var(--nav-h) + var(--space-9)) calc(var(--space-9) * 2); }
}
/* In the shorter hero the waves stay under the buttons: gone by 24% (42 in the full-screen hero). */
.platform-hero--stacked .hero__waves {
  -webkit-mask-image: linear-gradient(to top, var(--white) 0, var(--white) 9%, transparent 24%);
          mask-image: linear-gradient(to top, var(--white) 0, var(--white) 9%, transparent 24%);
}
@media (max-width: 767px) {
  .platform-hero--stacked .hero__waves {
    -webkit-mask-image: linear-gradient(to top, var(--white) 0, var(--white) 7%, transparent 18%);
            mask-image: linear-gradient(to top, var(--white) 0, var(--white) 7%, transparent 18%);
  }
}
/* No rules over the Workflows note and its playbooks (27 Nov, user: "remove top line"). */
.platform-foot--note .platform-flow__note, .platform-foot--note .platform-tags { border-top: 0; padding-top: 0; }

/* The systems' spine as one line (27 Nov, user: "make the lines connect",
   then "connected, but not straight and smooth": each row drew its own piece
   of the spine, and the pieces overlapped unevenly). Now the list draws the
   spine once — solid from the mark down to where the last connected row
   (--on of them) turns in, dashed from there to the foot — and each row draws
   only its own way in: an 8px corner off the spine for a connected row, a
   straight dashed line for one still to confirm. */
.platform-models__systems { position: relative; --spine: 23px; --turn: 8px; --on: 3; }
.platform-models__systems::before, .platform-models--cropped .platform-models__systems::after {
  content: ''; position: absolute; left: var(--spine); width: 0;
}
.platform-models__systems::before {
  top: 0; height: calc(var(--drop) + (var(--on) - 1) * (var(--row) + var(--gap)) + var(--row) / 2 - var(--turn));
  border-left: var(--border-w) solid color-mix(in srgb, var(--accent-text) 60%, var(--ground));
}
.platform-models--cropped .platform-models__systems::after {
  top: calc(var(--drop) + (var(--on) - 1) * (var(--row) + var(--gap)) + var(--row) / 2 - var(--turn)); bottom: 0; height: auto;
  border-left: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, var(--ground));
}
.platform-models__systems li::before,
.platform-models__systems li:first-child::before,
.platform-models--cropped .platform-models__systems li::before {
  box-sizing: border-box; right: calc(100% + var(--border-w)); width: calc(var(--in) - var(--spine));
  top: calc(var(--row) / 2 - var(--border-w) - var(--turn)); height: calc(var(--turn) + var(--border-w));
  border: solid color-mix(in srgb, var(--accent-text) 60%, var(--ground)); border-width: 0 0 var(--border-w) var(--border-w);
  border-bottom-left-radius: var(--turn);
}
.platform-models__systems li.is-open::before,
.platform-models--cropped .platform-models__systems li.is-open::before {
  top: calc(var(--row) / 2 - var(--border-w)); height: 0; border-width: 0 0 var(--border-w) 0;
  border-style: dashed; border-color: color-mix(in srgb, var(--heading) 28%, var(--ground)); border-radius: 0;
}

/* Workflows' closing note as a progression (27 Nov, user: the paragraph was
   "just bunch of text, not really doing in terms of design"): Rohit's four
   sentences as four columns under the figure, its
   opening words in the heading colour at 500 and the rest in the body
   colour; two by two below 1024, one column on phones. */
.platform-next { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-7); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.platform-next li { font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.platform-next b { font-weight: 500; color: var(--heading); }
@media (max-width: 1023px) { .platform-next { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .platform-next { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } }

/* The frame's words over the image's foot (27 Nov, user: "i want this to
   appear over image, in some bottom area blurring out that ui part of
   image"): the title and Rohit's two lines lie across the stage's foot on a
   band that blurs what is behind it (12px) and fades it into the ground,
   the blur easing out at the band's top; with the image and without it. */
.platform-frame__brief {
  left: 0; right: 0; bottom: 0; max-width: none; isolation: isolate;
  padding: var(--space-9) var(--space-6) var(--space-6);
}
.platform-frame__brief::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  background: linear-gradient(to top, color-mix(in srgb, var(--ground) 92%, transparent) 0, color-mix(in srgb, var(--ground) 78%, transparent) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, var(--white) 0, var(--white) 62%, transparent 100%);
          mask-image: linear-gradient(to top, var(--white) 0, var(--white) 62%, transparent 100%);
}
.platform-frame__brief > * { max-width: 40rem; }
.section--paper .platform-frame__brief::before {
  background: linear-gradient(to top, color-mix(in srgb, var(--white) 94%, transparent) 0, color-mix(in srgb, var(--white) 80%, transparent) 55%, transparent 100%);
}
.platform-frame.has-image .platform-frame__stage { position: relative; }
@media (max-width: 767px) {
  .platform-frame:not(.has-image) .platform-frame__brief { padding: var(--space-5) var(--space-4); }
  .platform-frame:not(.has-image) .platform-frame__brief::before { display: none; }
  .platform-frame.has-image .platform-frame__stage { aspect-ratio: auto; }
  .platform-frame.has-image .platform-frame__brief { position: static; padding: var(--space-4); }
  .platform-frame.has-image .platform-frame__brief::before { display: none; }
}

/* The harness's three points, after supabase.com/compute (27 Nov, user: the
   plain text columns were "not good to look at … try this"): each point its
   icon (24px, muted) over a hairline that runs the column's width, a 32px
   piece of it under the icon lit Sage; then the title at the card-title size
   and his line in the body colour. The support example under them with no
   rule over it. One column below 1024. */
.platform-marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) var(--space-8); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.platform-marks li { display: grid; align-content: start; }
.platform-marks .icon { --icon-size: 24px; width: 24px; height: 24px; color: var(--ink-muted); }
.platform-marks h3 {
  position: relative; margin: var(--space-4) 0 0; padding-top: var(--space-5);
  border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent);
  font: 500 var(--size-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); color: var(--heading);
}
.platform-marks h3::before { content: ''; position: absolute; top: calc(-1 * var(--border-w)); left: 0; width: var(--space-6); border-top: var(--border-w) solid var(--accent-text); }
.platform-marks p { max-width: 28em; margin: var(--space-3) 0 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.platform-harness .platform-plain__note { margin-top: var(--space-8); padding-top: 0; border-top: 0; }
@media (max-width: 1023px) { .platform-marks { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .platform-marks h3 { font-size: 20px; } }

/* The frames scale in as they come into view (27 Nov, user: "have scale
   section in view effect on class="platform-frame""): driven by the scroll,
   from 94% to full size while the frame's first 70% enters the screen, and
   back if the page scrolls up; from its top edge, so it grows downward. No
   script (a view timeline); still for reduced motion and where the browser
   has no view timelines. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .platform-frame {
      transform-origin: 50% 0; will-change: transform;
      animation: platform-frame-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
  }
}
@keyframes platform-frame-in { from { scale: 0.94; opacity: 0.6; } to { scale: 1; opacity: 1; } }

/* The context engine's three sources, wired into the figure (27 Nov, user:
   the stacked columns were "again random left border and basic design"; in
   the site's own diagram language, sources wired into a panel): three white
   cards as tall together as the frame, each its icon in a tile, its title
   and his line; a short wire runs from each card's left edge across the gap
   into the frame, ending on a Sage dot at the frame's edge — the three
   brought together. No wires below 1024, where the cards stand under the
   figure. */
.platform-sources { position: relative; display: grid; grid-auto-rows: 1fr; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.platform-sources li {
  position: relative; display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-5);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 6%, transparent);
}
.platform-sources__tile {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--accent-text) 8%, var(--white)); color: var(--accent-text);
}
.platform-sources__tile .icon { --icon-size: 20px; width: 20px; height: 20px; }
.platform-sources h3 { margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-sources p { margin: var(--space-1) 0 0; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
@media (min-width: 1024px) {
  .platform-split { gap: var(--space-8); }
  .platform-sources li::before {   /* the wire, from the card to the frame */
    content: ''; position: absolute; top: 50%; right: 100%; width: var(--space-8);
    border-top: var(--border-w) solid color-mix(in srgb, var(--accent-text) 45%, transparent);
  }
  .platform-sources li::after {   /* where it lands on the frame's edge */
    content: ''; position: absolute; top: 50%; right: calc(100% + var(--space-8)); width: 7px; height: 7px; translate: 50% -50%;
    border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 18%, transparent);
  }
}

/* The limit as the empty slot (27 Nov, user: as a large line on the section
   head's grid it "looks like a heading of some section"): What it cannot
   know sits right under the three facts, as wide as their strip, in the
   drawings' sign for what is not there — a dashed edge, no fill — its term in
   the strip's first column and his sentence beside it, at the facts' sizes. */
.platform-limit {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0; align-items: baseline;
  margin: var(--space-3) 0 0; padding: var(--space-5) var(--space-6);
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, transparent); border-radius: var(--r-box, 6px);
}
.platform-limit dt { font: 500 16px/1.4 var(--font-body); color: var(--heading); }
.platform-limit dd { padding-left: calc(var(--space-6) * 2 / 3); /* lands on the strip's second column of text */ font: 400 14px/1.6 var(--font-body); letter-spacing: 0; color: var(--ink); text-wrap: pretty; }
@media (max-width: 1023px) {
  .platform-limit { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); margin-top: var(--space-3); padding: var(--space-4) var(--space-5); }
  .platform-limit dd { padding-left: 0; font-size: 14px; }
}

/* The harness's points as main items (27 Nov, user: family 1 "in a box"):
   each a white card on the paper (the light bands' surface), its 24px icon
   over the title at 24 and his line at 16; the hairline with its lit piece
   went with the box. */
.platform-marks { gap: var(--space-3); }
.platform-marks li {
  padding: var(--space-5); border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 6%, transparent);
}
.platform-marks h3 { margin-top: var(--space-3); padding-top: 0; border-top: 0; }
.platform-marks h3::before { display: none; }
.platform-marks p { max-width: none; }

/* The Interfaces cards' drawings at the main items' icon size (27 Nov, user:
   "class="platform-connect__glyph" is still 48px"): 24px tall (the drawing
   is 48 by 40, so about 29 wide), 12px over the title as the Governance
   cards' icons; its lines a little lighter so they hold at this size. */
.platform-connect__glyph { width: auto; height: 24px; margin-bottom: 0; stroke-width: 2; }   /* the card's own 12px gap carries it */
@media (max-width: 1023px) { .platform-connect__glyph { margin-bottom: 0; } }

/* ==========================================================================
   Supporting points, one scale (27 Nov, user, family 2 of the item audit:
   "do 16px text size, find consistent gap title to text. for icon … i like
   icon as prefix and text suffix, but when image is above, keep these
   outside box"). Every supporting point on the Platform pages: the title in
   Inter 16 weight 500 with its 20px icon before it on the same line (muted),
   his line at 16 in the body colour 8px under it, from the icon's left edge.
   A point that captions a drawing sits under the drawing's card, outside it
   (the Workflows points, the Models captions). Before: lines at 14 inside
   boxes, 4px gaps, icons above the title or in a tile, the Models captions
   as one run with no icon.
   ========================================================================== */
/* the Governance page's points (and the sketches') */
.platform-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-2); align-items: center; }
.platform-points .icon { grid-column: 1; grid-row: 1; }
.platform-points h3 { grid-column: 2; grid-row: 1; margin: 0; }
.platform-points p { grid-column: 1 / -1; margin: var(--space-2) 0 0; font-size: var(--size-body); line-height: 1.6; }
.platform-facts dd { font-size: var(--size-body); }
/* the context engine's sources, facts and limit */
.platform-sources li { display: block; }
.platform-sources h3 { display: flex; align-items: center; gap: var(--space-2); }
.platform-sources h3 .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-sources p { margin: var(--space-2) 0 0; font-size: var(--size-body); line-height: 1.6; }
.platform-strip dd { font-size: var(--size-body); }
.platform-limit dd { font-size: var(--size-body); }
/* the Models captions, as the Workflows points */
.platform-models__caption--point h3 { display: flex; align-items: center; gap: var(--space-2); font: 500 16px/1.4 var(--font-body); }
.platform-models__caption--point h3 .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-models__caption--point p { display: block; margin: var(--space-2) 0 0; line-height: 1.6; text-wrap: pretty; }
.platform-models__caption--point { max-width: 26em; }

/* The icon-first style on the points that had no icon (27 Nov, user: "apply
   to those with no images too"): the context engine's three facts and its
   limit, the Workflows note's four sentences, the Governance page's facts —
   each a 20px muted icon before its title, as the rest of the family. */
.platform-strip dt, .platform-limit dt, .platform-facts dt { display: flex; align-items: center; gap: var(--space-2); }
.platform-strip dt .icon, .platform-limit dt .icon, .platform-facts dt .icon, .platform-next .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-facts dt { align-items: flex-start; }
.platform-facts dt .icon { margin-top: 2px; }
.platform-next .icon { display: inline-block; vertical-align: -4px; margin-right: var(--space-2); }

/* The harness's support example as a run (27 Nov, later, user: the label, a
   sentence and a link on one line were "still not good enough"): one white
   card under the three points, as wide as their row — at the left the example
   in the supporting points' make (headset, the name at 16, his sentence at
   16, the Explore link), at the right what the sentence says, drawn in the
   diagrams' language: Investigation done (a Sage check), Findings lit for
   review, and a dashed wire on to the gate, a neutral outlined diamond, since
   the team's policy decides who approves. The drawing is aria-hidden; his
   words are the text. */
.platform-example {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-6) var(--space-8); align-items: center;
  margin: var(--space-3) 0 0; padding: var(--space-5); border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 6%, transparent);
}
.platform-example h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-example h3 .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-example__copy p { max-width: 34em; margin: var(--space-2) 0 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.platform-example__copy .platform-more { margin-top: var(--space-4); }
.platform-example__run { --wire: var(--space-6); display: flex; gap: var(--wire); margin: 0; padding: 0; list-style: none; }
.platform-example__run li {
  position: relative; flex: 1 1 0; display: flex; align-items: center; gap: var(--space-3); min-width: 0;
  padding: var(--space-3) var(--space-4); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 3%, transparent);
}
.platform-example__run li + li::before { content: ''; position: absolute; top: 50%; right: 100%; width: var(--wire); margin-right: var(--border-w); border-top: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); }
.platform-example__run li.is-gate::before { border-top-style: dashed; border-top-color: color-mix(in srgb, var(--heading) 36%, transparent); }
.platform-example__run .icon { --icon-size: 16px; flex: none; width: 16px; height: 16px; color: var(--accent-text); }
.platform-example__run li > span { display: grid; min-width: 0; }
.platform-example__run b { font: 500 14px/1.4 var(--font-body); color: var(--heading); }
.platform-example__run li > span > span { font-size: 12px; line-height: 1.4; color: var(--ink-muted); }
.platform-example__run li.is-lit { border-color: color-mix(in srgb, var(--accent-text) 45%, transparent); background: color-mix(in srgb, var(--accent-text) 6%, transparent); }
.platform-example__gate { flex: none; width: 10px; height: 10px; margin: 0 3px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 70%, transparent); border-radius: 2px; background: color-mix(in srgb, var(--heading) 9%, transparent); rotate: 45deg; }
@media (max-width: 1199px) { .platform-example { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  .platform-example__run { --wire: var(--space-4); flex-direction: column; }
  .platform-example__run li + li::before { top: auto; right: auto; bottom: 100%; left: calc(var(--space-4) + 8px); width: 0; height: var(--wire); margin: 0 0 var(--border-w); border-top: 0; border-left: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); }
  .platform-example__run li.is-gate::before { border-left-style: dashed; border-left-color: color-mix(in srgb, var(--heading) 36%, transparent); }
}

/* Supporting points without cards (27 Nov, later, user: for the harness's
   three points and the context engine's three facts, "use the 20x20px icon
   prefix and 16px title and no cards bg style"; and for the Workflows note,
   "give each a title, dont start other color text from right there"): all
   three blocks in the one make — a 20px muted icon before the title (Inter
   16, weight 500), the line at 16 under it — open on the band, no surface,
   edge, shadow or dividers. The harness's points leave the main items for
   this family; the Workflows note's opening words are each sentence's title
   on its own line, the rest of the sentence under it. */
.platform-marks { gap: var(--space-6) var(--space-8); }
.platform-marks li { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-2); align-items: center; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.platform-marks .icon { --icon-size: 20px; width: 20px; height: 20px; }
.platform-marks h3 { margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-marks p { grid-column: 1 / -1; max-width: 30em; margin: var(--space-2) 0 0; }
.platform-harness .platform-example { margin-top: var(--space-8); }
.section.section .platform-strip--three { gap: var(--space-6) var(--space-8); border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.section .platform-strip--three div, .section .platform-strip--three div + div, .section .platform-strip--three div:nth-child(n) { padding: 0; border: 0; }
.platform-strip--three dd { max-width: 30em; }
.platform-strip--three + .platform-limit { margin-top: var(--space-7); }
.platform-next h3 { text-wrap: wrap; display: flex; align-items: flex-start; gap: var(--space-2); margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-next h3 .icon { display: block; margin: 1px 0 0; vertical-align: 0; }
.platform-next p { margin: var(--space-2) 0 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }

/* What it cannot know in the Support example's make (27 Nov, later, user:
   "can we use same design for … What it cannot know with different
   illustration"): the same white card, his term and sentence at the left; at
   the right the context graph lit in the middle, and either side of it the
   two things his sentence names as the drawings' empty slots — dashed, no
   fill, muted — their dashed wires stopping half way, short of the graph.
   The dashed row it replaces is in the sketches. */
.platform-example--limit { margin-top: var(--space-8); }
.platform-example__run li.is-missing { border-style: dashed; border-color: color-mix(in srgb, var(--heading) 28%, transparent); background: none; }
.platform-example__run li.is-missing .icon { color: var(--ink-muted); }
.platform-example__run li.is-missing b { color: var(--ink); }
.platform-example--limit .platform-example__run li + li::before { width: calc(var(--wire) / 2); border-top-style: dashed; border-top-color: color-mix(in srgb, var(--heading) 36%, transparent); }
.platform-example--limit .platform-example__run li.is-missing + li::before { right: calc(100% + var(--wire) / 2); }
@media (max-width: 639px) {
  .platform-example--limit .platform-example__run li + li::before { width: 0; height: calc(var(--wire) / 2); border-left-style: dashed; border-left-color: color-mix(in srgb, var(--heading) 36%, transparent); }
  .platform-example--limit .platform-example__run li.is-missing + li::before { right: auto; bottom: calc(100% + var(--wire) / 2); }
}

/* The Workflows note in the Support example's make (27 Nov, later, user:
   "give this same treatment as … platform-example since breaking into 4 is
   not working"): his four sentences back as one paragraph in a card (the
   dark bands' card: the heading colour 5% into the band, an 8% edge), and at
   the right what they say, drawn: Playbooks to start with, then Your own
   (lit), forking on two rounded wires into Agent and App. */
.platform-example--next { margin-top: var(--space-8); border-color: color-mix(in srgb, var(--heading) 8%, transparent); background: color-mix(in srgb, var(--heading) 5%, transparent); box-shadow: none; }
.platform-example--next .platform-example__copy p { max-width: 38em; }
@media (min-width: 640px) {
  .platform-example--next .platform-example__run { --row: var(--space-3); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: var(--row) var(--wire); align-items: center; }
  .platform-example--next .platform-example__run li:nth-child(-n+2) { grid-row: 1 / 3; }
  .platform-example--next .platform-example__run li:nth-child(n+3) { grid-column: 3; }
  .platform-example--next .platform-example__run li:nth-child(2)::after { content: ''; position: absolute; top: 50%; left: 100%; width: calc(var(--wire) / 2); margin-left: var(--border-w); border-top: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); }
  .platform-example--next .platform-example__run li:nth-child(n+3)::before { width: calc(var(--wire) / 2); height: calc(50% + var(--row) / 2 + var(--border-w)); border-left: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); }
  .platform-example--next .platform-example__run li:nth-child(3)::before { top: 50%; border-top-left-radius: var(--r-box, 6px); }
  .platform-example--next .platform-example__run li:nth-child(4)::before { top: auto; bottom: 50%; border-top: 0; border-bottom: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); border-bottom-left-radius: var(--r-box, 6px); }
}

/* 27 Nov, later (user): Rohit's three other Explore links are in — under the
   Interfaces statement, in the Workflows note's card and in the What it
   cannot know card (their pages are still to build). And the Context engine
   takes the harness's layout (user: "use same big placeholder image as
   Server-first harness and right side 3 items are below it no boxes"): Fig. 3
   at full width, his three sources under it as open supporting points, then
   the three facts and the limit card. */
.platform-connect__panel .platform-more { margin: var(--space-5) auto 0; }
.platform-context .platform-marks + .platform-strip--three { margin-top: var(--space-7); }

/* The Context engine's four facts as four equal points (27 Nov, later, user:
   "should be 4 equal looking ui. so current is wrong"): What it cannot know
   is the fourth in the row, in the others' make — the card with its drawing
   went — and the Explore link sits under the row. */
.section.section .platform-strip--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-7); }
.platform-context .platform-strip--four + .platform-more { margin-top: var(--space-6); }
@media (max-width: 1023px) { .section.section .platform-strip--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .section.section .platform-strip--four { grid-template-columns: minmax(0, 1fr); } }

/* The Context engine's two rows told apart (27 Nov, later, user: "both the
   rows have different use case"): the sources stay points under the figure
   (what it reads); the four facts (how it is built, kept and checked) are a
   spec sheet — four rows, the term in the points' first column and its line
   beside it, a hairline between rows only, 64px under the sources. */
@media (min-width: 768px) {
  .section.section .platform-strip--four { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .platform-context .platform-marks + .platform-strip--four { margin-top: var(--space-8); }
  .section .platform-strip--four div:nth-child(n) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-8); align-items: start; padding: var(--space-4) 0; }
  .section .platform-strip--four div + div:nth-child(n) { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); }
  .section .platform-strip--four div:first-child { padding-top: 0; }
  .platform-strip--four dt { line-height: 1.6; }
  .platform-strip--four dd { grid-column: 2 / -1; max-width: 40em; margin: 0; }
  .platform-context .platform-strip--four + .platform-more { margin-top: var(--space-4); }
}

/* Workflows, the figure first (27 Nov, later, user: the image "will be doing
   the heavy lifting"): Fig. 1, his three points open under it, then his
   support example as one card — the dark bands' card, its lead as the title
   and Trigger, Playbook and Output as three columns, each a DM Mono label
   after its 16px icon, his title at 16 weight 500 and his words at 16; the
   Playbook's four steps numbered in DM Mono — and the closing note open on
   the band, its drawing kept. */
.platform-run { margin: var(--space-8) 0 0; padding: var(--space-5); border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 5%, transparent); }
.platform-run__lead { display: flex; align-items: center; gap: var(--space-2); margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-run__lead .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-run__parts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-6) var(--space-8); margin-top: var(--space-5); }
.platform-run__part { display: grid; align-content: start; }
.platform-run__part .label { display: flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); }
.platform-run__part .label .icon { --icon-size: 16px; width: 16px; height: 16px; }
.platform-run__part b { margin-top: var(--space-2); font: 500 16px/1.4 var(--font-body); color: var(--heading); text-wrap: pretty; }
.platform-run__part p, .platform-run__part ol { margin: var(--space-2) 0 0; padding: 0; font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.platform-run__part ol { display: grid; gap: var(--space-2); list-style: none; counter-reset: step; }
.platform-run__part ol li { display: grid; grid-template-columns: var(--space-5) minmax(0, 1fr); counter-increment: step; }
.platform-run__part ol li::before { content: counter(step) '.'; font: 500 var(--size-label)/2.2 var(--font-label); color: var(--ink-muted); }
.platform-example--next { padding: 0; border: 0; background: none; }
@media (max-width: 1023px) { .platform-run__parts { grid-template-columns: minmax(0, 1fr); } }

/* 27 Nov, later still (user): the harness's Support example without its box
   ("remove box from here") — the example and its run open on the paper; and
   Workflows' three drawn cards back under Fig. 1, the lead a full step under
   the figure. */
.platform-harness .platform-example { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.platform-flow__figure + .platform-flow__lead { margin-top: var(--space-8); }
.section-head + .platform-flow__figure { margin-top: var(--space-8); }

/* The Context engine's four facts as four small drawings (27 Nov, later
   still, user: "for better design, rows are not good"; before: spec rows):
   four equal cards in a row, each a white stage (the light bands' surface)
   holding one line of three 40px stations on a wire, shapes only — setup,
   the graph, an agent; a merge, the graph, a release; the graph, a
   question, a check; and the graph between two empty dashed slots whose
   wires stop short — the graph lit Sage in all four; under each stage,
   outside it, the fact as a supporting point. */
.platform-traits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.platform-traits__art {
  --wire: var(--space-5); display: flex; align-items: center; justify-content: center; gap: var(--wire); height: 112px; margin-bottom: var(--space-4);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px); background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 6%, transparent);
}
.platform-traits__art i { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 3%, transparent); color: var(--ink-muted); }
.platform-traits__art .icon { --icon-size: 20px; width: 20px; height: 20px; }
.platform-traits__art i.is-lit { border-color: color-mix(in srgb, var(--accent-text) 45%, transparent); background: color-mix(in srgb, var(--accent-text) 6%, transparent); color: var(--accent-text); }
.platform-traits__art i.is-done { color: var(--accent-text); }
.platform-traits__art i.is-missing { border-style: dashed; border-color: color-mix(in srgb, var(--heading) 28%, transparent); background: none; }
.platform-traits__art i + i::before { content: ''; position: absolute; top: 50%; right: 100%; width: var(--wire); margin-right: var(--border-w); border-top: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); }
.platform-traits__art--cut i + i::before { width: calc(var(--wire) / 2); border-top-style: dashed; border-top-color: color-mix(in srgb, var(--heading) 36%, transparent); }
.platform-traits__art--cut i.is-missing + i::before { right: calc(100% + var(--wire) / 2); }
.platform-traits h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--heading); }
.platform-traits h3 .icon { --icon-size: 20px; flex: none; width: 20px; height: 20px; color: var(--ink-muted); }
.platform-traits p { margin: var(--space-2) 0 0; padding-right: var(--space-4); font-size: var(--size-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.platform-context .platform-traits + .platform-more { margin-top: var(--space-6); }
@media (max-width: 1023px) { .platform-traits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .platform-traits { grid-template-columns: minmax(0, 1fr); } .platform-traits__art { height: 96px; } }

/* The icon cut (27 Nov, user): points are a title and its line, no icon —
   so the lists that kept a column for one go back to plain blocks. */
.platform-marks li, .platform-points li { display: block; }
.platform-points h3 { margin: 0; }

/* The points' vertical line, after unkey.com (27 Nov, user: "use the
   vertical line from unkey.com" on the harness's points and the Context
   engine's sources): a 1px line down each point's left, faint beside the
   text (heading 16%) and in the heading colour beside the title, the point
   set 24px in from it. */
.platform-marks li { position: relative; padding-left: var(--space-5); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); }
.platform-marks li::before { content: ''; position: absolute; top: 0; left: calc(-1 * var(--border-w)); height: calc(16px * 1.4); border-left: var(--border-w) solid var(--heading); }

/* The same line on the examples' copy (27 Nov, user: "add line on this"):
   the Support example and the Workflows note. */
.platform-example__copy { position: relative; padding-left: var(--space-5); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); }
.platform-example__copy::before { content: ''; position: absolute; top: 0; left: calc(-1 * var(--border-w)); height: calc(16px * 1.4); border-left: var(--border-w) solid var(--heading); }

/* 27 Nov, later still (user): the Context engine's four facts lose their
   small drawings ("this dont look good") and become four equal points with
   the vertical line, 24px apart; and the Workflows points under the drawn
   cards take the line too ("add line too"). */
.platform-traits { gap: var(--space-6) var(--space-5); }
.platform-traits li, .platform-flow__point { position: relative; padding: 0 var(--space-4) 0 var(--space-5); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); }
.platform-traits li::before, .platform-flow__point::before { content: ''; position: absolute; top: 0; left: calc(-1 * var(--border-w)); height: calc(16px * 1.4); border-left: var(--border-w) solid var(--heading); }
.platform-traits p { padding-right: 0; }
.platform-flow__point { margin-top: var(--space-5); }

/* The points' vertical lines at 2px (27 Nov, user: "increase stroke of
   these vertical lines … by 1px"). */
.platform-marks li, .platform-example__copy, .platform-traits li, .platform-flow__point { --rail: calc(var(--border-w) * 2); border-left-width: var(--rail); }
.platform-marks li::before, .platform-example__copy::before, .platform-traits li::before, .platform-flow__point::before { left: calc(-1 * var(--rail)); border-left-width: var(--rail); }

/* The Context engine's two rows apart (27 Nov, user: the four facts were
   "not sitting well with 3 items above"): the three sources move up, between
   the head and Fig. 3 — what it reads, then the figure, then the four facts
   under it. */
.platform-context .platform-harness__stage + .platform-traits { margin-top: var(--space-8); }

/* The line on the Models captions too (27 Nov, user: "vertical lines here
   too"). */
.platform-models__caption--point { --rail: calc(var(--border-w) * 2); position: relative; max-width: none; padding: 0 var(--space-4) 0 var(--space-5); border-left: var(--rail) solid color-mix(in srgb, var(--heading) 16%, transparent); }
.platform-models__caption--point::before { content: ''; position: absolute; top: 0; left: calc(-1 * var(--rail)); height: calc(16px * 1.4); border-left: var(--rail) solid var(--heading); }

/* 27 Nov, the phone and tablet pass.
   The jump bar's row starts at the left and scrolls wherever it does not fit
   (up to 1023px; from 768 it was centred and its first button ran off the
   left edge). */
@media (max-width: 1023px) { .jump-bar ol { justify-content: flex-start; } }
/* Points that lost their icon keep no column for one (the Governance page's
   record points sat 32px right of their own text). */
.platform-split--points .platform-points li { display: block; }
/* The layer names stay inside the screen at tablet widths (12px of sideways
   scroll at 768). */
@media (max-width: 1151px) { .layers-section { overflow-x: clip; } }

/* Governance and security in the Overview page's parts (27 Nov, late, user:
   "Whatever can be kept consistent with the platform overview page, I want
   you to carry over"): the call-out open on the band (copy behind the line,
   a small run drawing beside it), the points 48px under a table or a figure,
   and a figure 64px under the points that lead to it. */
.platform-example--open { margin-top: var(--space-8); padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.platform-block + .platform-marks { margin-top: var(--space-7); }
.platform-marks + .platform-harness__stage { margin-top: var(--space-8); }
@media (max-width: 767px) { .spec-table tbody th { width: auto; } }   /* a row's name runs the row's width on phones (27 Nov, QA: "Write, in / sandbox" in a 22% column) */

/* The server-first bento (27 Nov, late, user, after supabase.com's product
   grid). Seven columns, 3 · 2 · 2 over 2 · 2 · 3, so the wide card sits at
   the left above and the right below (the homepage Governance cards' grid);
   cards in the Problems cards' make on this band; in each the title and line
   at the top and the drawing held to the foot. Two columns below 1200 (the
   wide cards full width), one on phones. */
.platform-bento { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.platform-bento__card {
  grid-column: span 2; display: flex; flex-direction: column; min-width: 0; padding: var(--space-5) var(--space-5) 0;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent); overflow: hidden;
}
.platform-bento__card:nth-child(1), .platform-bento__card:nth-child(6) { grid-column: span 3; }
.platform-bento__card h3 { margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: var(--text-tracking); color: var(--heading); text-wrap: pretty; }
.platform-bento__card p { max-width: 34em; margin: var(--space-2) 0 0; font-size: var(--text-size); line-height: var(--text-leading); letter-spacing: var(--text-tracking); color: var(--ink); text-wrap: pretty; }
.platform-bento__art { display: flex; align-items: flex-end; justify-content: center; margin-top: auto; padding: var(--space-6) 0 var(--space-5); }
.bento-art { display: block; width: 100%; max-width: 520px; height: auto; overflow: visible; }
.platform-bento__card:not(:nth-child(1), :nth-child(6)) .bento-art { max-width: 340px; }
.bento-art__tile { fill: color-mix(in srgb, var(--heading) 5%, transparent); stroke: color-mix(in srgb, var(--heading) 16%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-art__tile--lit { fill: color-mix(in srgb, var(--accent-text) 9%, transparent); stroke: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.bento-art__tile--dash { fill: none; stroke: color-mix(in srgb, var(--heading) 26%, transparent); stroke-dasharray: 3 3; }
.bento-art__icon { color: var(--ink-muted); }
.bento-art__icon--lit { color: var(--accent-text); }
.bento-art__icon--person { color: var(--accent); }
.bento-art__bar { fill: color-mix(in srgb, var(--heading) 18%, transparent); }
.bento-art__bar--lit { fill: color-mix(in srgb, var(--accent-text) 60%, transparent); }
.bento-art__wire { fill: none; stroke: color-mix(in srgb, var(--heading) 28%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-art__wire--lit { stroke: color-mix(in srgb, var(--accent-text) 60%, transparent); }
.bento-art__wire--dash { stroke-dasharray: 3 3; }
.bento-art__rule { fill: none; stroke: color-mix(in srgb, var(--heading) 12%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-art__dot--lit { fill: var(--accent-text); }
.bento-art__gate { fill: color-mix(in srgb, var(--heading) 9%, transparent); stroke: color-mix(in srgb, var(--heading) 70%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-art__person { fill: color-mix(in srgb, var(--accent) 10%, transparent); stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 1199px) {
  .platform-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-bento__card { grid-column: span 1; }
  .platform-bento__card:nth-child(1), .platform-bento__card:nth-child(6) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .platform-bento { grid-template-columns: minmax(0, 1fr); }
  .platform-bento__card, .platform-bento__card:nth-child(1), .platform-bento__card:nth-child(6) { grid-column: auto; }
}

/* The bento drawings, second pass (27 Nov, late, user: "What happened to the
   icon color? There's no story. Every single thing looks the same"): icons
   in the heading colour unless lit (Sage), a person (Ember) or absent (quiet
   and dashed); panels a step lighter than their card; the working path lit,
   with a pulse on it. */
.bento-art__icon { color: color-mix(in srgb, var(--heading) 82%, transparent); }
.bento-art__icon--lit { color: var(--accent-text); }
.bento-art__icon--person { color: var(--accent); }
.bento-art__icon--quiet { color: color-mix(in srgb, var(--heading) 34%, transparent); }
.bento-art__tile { fill: color-mix(in srgb, var(--heading) 7%, transparent); stroke: color-mix(in srgb, var(--heading) 22%, transparent); }
.bento-art__tile--panel { fill: color-mix(in srgb, var(--heading) 5%, var(--ground)); stroke: color-mix(in srgb, var(--heading) 18%, transparent); }
.bento-art__tile--lit { fill: color-mix(in srgb, var(--accent-text) 14%, transparent); stroke: color-mix(in srgb, var(--accent-text) 70%, transparent); }
.bento-art__tile--key { fill: color-mix(in srgb, var(--accent-text) 18%, transparent); stroke: color-mix(in srgb, var(--accent-text) 45%, transparent); }
.bento-art__tile--person { fill: color-mix(in srgb, var(--accent) 16%, transparent); stroke: color-mix(in srgb, var(--accent) 75%, transparent); }
.bento-art__tile--deny { fill: color-mix(in srgb, var(--heading) 12%, transparent); stroke: color-mix(in srgb, var(--heading) 60%, transparent); }
.bento-art__tile--cell { fill: none; stroke: color-mix(in srgb, var(--heading) 12%, transparent); }
.bento-art__tile--dash { fill: none; stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-dasharray: 3 3; }
.bento-art__bar { fill: color-mix(in srgb, var(--heading) 26%, transparent); }
.bento-art__bar--strong { fill: color-mix(in srgb, var(--heading) 62%, transparent); }
.bento-art__bar--faint { fill: color-mix(in srgb, var(--heading) 13%, transparent); }
.bento-art__bar--lit { fill: color-mix(in srgb, var(--accent-text) 75%, transparent); }
.bento-art__wire { stroke: color-mix(in srgb, var(--heading) 30%, transparent); }
.bento-art__wire--lit { stroke: color-mix(in srgb, var(--accent-text) 80%, transparent); }
.bento-art__wire--person { stroke: color-mix(in srgb, var(--accent) 80%, transparent); }
.bento-art__dot--lit { fill: var(--accent-text); }
.bento-art__dot--person { fill: var(--accent); }
.bento-art__dot--faint { fill: color-mix(in srgb, var(--heading) 26%, transparent); }
.bento-art__ring { stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-art__ring--person { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); }
.bento-art__ring--lit { fill: color-mix(in srgb, var(--accent-text) 16%, transparent); stroke: color-mix(in srgb, var(--accent-text) 70%, transparent); }
.bento-art__ring--faint { fill: none; stroke: color-mix(in srgb, var(--heading) 30%, transparent); }
.bento-art__ring--dash { fill: none; stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-dasharray: 3 3; }
.bento-art__gate { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); }

/* The bento's drawings as the things themselves (27 Nov, late, third pass;
   user: "more technical … more developer friendly … just illustration icon
   or boxes are not enough", after firecrawl.dev): each a small window in the
   terminal mockup's make — a bar with three dots and a name, IBM Plex Mono
   11px — holding real lines: a request, a policy table, a role file, a
   run's output, the log, a playbook file with its run status. Bright for
   keys and calls, Sage for what the platform did or allowed, Ember where a
   person is asked or approves, muted for comments. The window runs to the
   card's foot and fades out there. */
.platform-bento__art--code { display: block; margin-top: auto; padding: var(--space-6) 0 0; }
.platform-bento__card:has(.platform-bento__art--code) { padding-bottom: 0; }
.bento-code {
  min-width: 0; border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-bottom: 0; border-radius: var(--r-box, 6px) var(--r-box, 6px) 0 0;
  background: color-mix(in srgb, var(--night-deep) 70%, transparent);
  font: 400 11px/1.9 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: 0; color: color-mix(in srgb, var(--heading) 62%, transparent); white-space: pre;
  -webkit-mask-image: linear-gradient(var(--white) calc(100% - 28px), transparent); mask-image: linear-gradient(var(--white) calc(100% - 28px), transparent);
}
.bento-code :is(b, i, em, u) { font-style: normal; font-weight: 400; text-decoration: none; }
.bento-code b { color: var(--heading); }
.bento-code i { color: color-mix(in srgb, var(--heading) 36%, transparent); }
.bento-code em { color: var(--accent-text); }
.bento-code u { color: var(--accent); }
.bento-code__bar { display: flex; align-items: center; gap: var(--space-3); height: 28px; padding: 0 var(--space-3); border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); color: color-mix(in srgb, var(--heading) 46%, transparent); }
.bento-code__dots { display: flex; gap: 4px; }
.bento-code__dots i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--heading) 20%, transparent); }
.bento-code__body { display: grid; padding: var(--space-3) var(--space-3) var(--space-6); min-height: 148px; align-content: start; overflow: hidden; }
.bento-code__line { display: block; padding: 0 var(--space-2); margin: 0 calc(-1 * var(--space-2)); border-radius: 3px; overflow: hidden; text-overflow: clip; }
.bento-code__line--add { background: color-mix(in srgb, var(--accent-text) 14%, transparent); color: var(--heading); box-shadow: inset 2px 0 0 var(--accent-text); }
.bento-code__line--slot { outline: var(--border-w) dashed color-mix(in srgb, var(--heading) 26%, transparent); outline-offset: -1px; }
.bento-code__line--note { margin-top: var(--space-2); padding-top: var(--space-1); border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 16%, transparent); border-radius: 0; }
.bento-code__line--step { padding-left: calc(var(--space-2) + 2ch); }
.bento-code__caret { display: inline-block; width: 6px; height: 12px; margin-left: 4px; vertical-align: -2px; background: var(--accent-text); animation: bento-caret 1.1s steps(2, jump-none) infinite; }
@keyframes bento-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bento-code__caret { animation: none; } }
/* the request, before and after the proxy */
.bento-split { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; }
.bento-split__via { position: relative; display: grid; justify-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-2) 0; font: 400 10px/1.4 'IBM Plex Mono', ui-monospace, monospace; color: color-mix(in srgb, var(--heading) 55%, transparent); white-space: nowrap; }
.bento-split__via::before { content: ''; position: absolute; left: 0; right: 0; top: calc(var(--space-5) + 74px); border-top: var(--border-w) solid color-mix(in srgb, var(--accent-text) 70%, transparent); }
.bento-split__via::after { content: ''; position: absolute; left: 50%; top: calc(var(--space-5) + 24px); height: 38px; border-left: var(--border-w) solid color-mix(in srgb, var(--accent-text) 70%, transparent); }
.bento-split__vault, .bento-split__proxy { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 18%, transparent); border-radius: 4px; background: var(--night-2); }
.bento-split__proxy { margin-top: 14px; border-color: color-mix(in srgb, var(--accent-text) 70%, transparent); background: color-mix(in srgb, var(--accent-text) 16%, var(--night-2)); color: var(--heading); }
.bento-split__via .icon { --icon-size: 12px; width: 12px; height: 12px; color: var(--accent-text); }
/* tables: the policy and the log */
.bento-table { display: grid; gap: 0 var(--space-4); align-items: center; }
.bento-table--policy { grid-template-columns: auto auto 1fr; }
.bento-table--policy > :nth-child(3n) { justify-self: end; }
.bento-table--log { grid-template-columns: auto auto auto 1fr; gap: 0 var(--space-3); }
.bento-table > :nth-child(-n+3):is(i) { padding-bottom: 2px; }
.bento-tag { display: inline-block; height: 18px; padding: 0 var(--space-2); border: var(--border-w) solid; border-radius: 3px; line-height: 16px; }
.bento-tag--allow { color: var(--accent-text); background: color-mix(in srgb, var(--accent-text) 12%, transparent); }
.bento-tag--ask { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.bento-tag--deny { color: color-mix(in srgb, var(--heading) 60%, transparent); border-style: dashed; text-decoration: line-through; }
/* the playbook file with its run beside it */
.bento-run { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--space-5); }
.bento-run__code, .bento-run__state { padding: 0 var(--space-2); }
.bento-run__code { margin-left: calc(-1 * var(--space-2)); border-radius: 3px 0 0 3px; }
.bento-run__state { margin-right: calc(-1 * var(--space-2)); border-radius: 0 3px 3px 0; text-align: right; }
.bento-run__state--ok { color: var(--accent-text); }
.bento-run__code--at, .bento-run__state--wait { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.bento-run__code--at { box-shadow: inset 2px 0 0 var(--accent); color: var(--heading); }
.bento-run__state--wait { color: var(--accent); }
.bento-run__code--later, .bento-run__code--later b, .bento-run__state--later { color: color-mix(in srgb, var(--heading) 34%, transparent); }
.bento-run__from { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); padding-top: var(--space-2); border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 16%, transparent); }
.bento-run__from span { height: 18px; padding: 0 var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 18%, transparent); border-radius: 3px; line-height: 16px; }
.bento-run__from .is-on { border-color: color-mix(in srgb, var(--accent-text) 70%, transparent); color: var(--accent-text); }
@media (max-width: 767px) {
  .bento-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .bento-split .bento-code:first-child { border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px); -webkit-mask-image: none; mask-image: none; }
  .bento-split .bento-code:first-child .bento-code__body { min-height: 0; padding-bottom: var(--space-3); }
  .bento-split__via { display: flex; justify-content: center; padding: 0; }
  .bento-split__via::before, .bento-split__via::after { display: none; }
  .bento-split__proxy { margin-top: 0; }
  .bento-code { font-size: 10px; }
}
@media (max-width: 767px) {
  .bento-run { gap: 0 var(--space-3); }
  .bento-run__more { display: none; }
  .bento-run__from { flex-wrap: wrap; white-space: normal; }
}
/* the tables give way before they run off a narrow card */
.bento-table > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bento-table--policy { grid-template-columns: auto minmax(0, 1fr) auto; }
.bento-table--log { grid-template-columns: auto auto auto minmax(0, 1fr); gap: 0 var(--space-2); }

/* The Governance and security hero's glyph matrix (27 Nov, user;
   glyph-matrix.js): the canvas fills the hero behind the copy; the script
   fades it out towards the top and hushes it behind the words. Sage glyphs,
   the brightest in mint, one in fourteen Ember. A soft fade at the foot so
   the band below starts clean. */
.hero__glyphs {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  --glyph: var(--sage-green); --glyph-lit: var(--mint-green); --glyph-warm: var(--ember-orange);
  -webkit-mask-image: linear-gradient(var(--white) calc(100% - 64px), transparent); mask-image: linear-gradient(var(--white) calc(100% - 64px), transparent);
}
.platform-hero--glyphs .platform-hero__head { position: relative; z-index: 1; }

/* Connectors available today (27 Nov, Rohit's review: "evaluators look for
   their own tools by name"). Under the Models section's three cells: his title
   on the section head's left column, his table at the right — a category to a
   row on a hairline (a table, so its rows are ruled), every connector a tag
   (the site's 32px tag) so a name is found at a glance. */
.platform-connectors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6) clamp(var(--space-6), 5vw, var(--space-9)); margin-top: var(--space-9); }
.platform-connectors__title { margin: 0; font: 500 20px/1.15 var(--font-display);   /* 20 (30 Nov, user; 24 before) */ letter-spacing: -0.02em; color: var(--heading); }
.platform-connectors__table { width: 100%; border-collapse: collapse; text-align: left; }
.platform-connectors__table tbody th, .platform-connectors__table td { padding: var(--space-3) 0; vertical-align: top; border-bottom: var(--border-w) solid var(--line); }
.platform-connectors__table tbody tr:first-child :is(th, td) { padding-top: 0; }
.platform-connectors__table tbody tr:last-child :is(th, td) { padding-bottom: 0; border-bottom: 0; }
.platform-connectors__table tbody th { width: 38%; padding-right: var(--space-5); font: 500 var(--text-size)/32px var(--font-body); letter-spacing: var(--text-tracking); color: var(--heading); }
.platform-connectors__table ul { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.platform-connectors__table li { display: inline-flex; align-items: center; min-height: 32px; padding: var(--space-1) var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 4%, transparent); font: 400 14px/1.4 var(--font-body); color: var(--heading); }
@media (max-width: 1023px) { .platform-connectors { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-8); } }
@media (max-width: 639px) {
  .platform-connectors__table, .platform-connectors__table tbody, .platform-connectors__table tr, .platform-connectors__table tbody th, .platform-connectors__table td { display: block; width: auto; }
  .platform-connectors__table tbody th { padding: var(--space-4) 0 var(--space-2); border-bottom: 0; line-height: 1.4; }
  .platform-connectors__table td { padding: 0 0 var(--space-4); }
}

/* The closing, one line and the button (27 Nov, Rohit's review: the homepage
   has the full board). The board's surface with the line at the left and the
   button at the right; stacked on phones. */
.cta__board.cta__board--line { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6) var(--space-8); padding: clamp(var(--space-6), 5vw, var(--space-9)); }
.cta__board--line h2 { margin: 0; max-width: 22em; text-wrap: balance; }
.cta__board--line .btn { flex: none; }
@media (max-width: 767px) { .cta__board.cta__board--line { flex-direction: column; align-items: flex-start; padding: var(--space-5); } }
.cta__board.cta__board--line {
  background:
    radial-gradient(60% 120% at 50% 130%, color-mix(in srgb, var(--sage-ink) 62%, transparent), transparent 74%),
    linear-gradient(180deg, color-mix(in srgb, var(--how-teal) 92%, var(--night-deep)), var(--night-deep));
}
/* Second pass, the same hour: the title over the table, and the table's eight
   rows two abreast from 1024px (the title beside it left half the band
   empty); the closing line one sentence to a line. */
.platform-connectors { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
@media (min-width: 640px) {
  .platform-connectors__table, .platform-connectors__table tbody { display: grid; }
  .platform-connectors__table tbody { grid-template-columns: minmax(0, 1fr); column-gap: clamp(var(--space-6), 5vw, var(--space-9)); }
  .platform-connectors__table tbody tr { display: grid; grid-template-columns: 208px minmax(0, 1fr); border-bottom: var(--border-w) solid var(--line); }
  .platform-connectors__table tbody tr :is(th, td), .platform-connectors__table tbody tr:first-child :is(th, td), .platform-connectors__table tbody tr:last-child :is(th, td) { width: auto; padding: var(--space-3) 0; border-bottom: 0; }
  .platform-connectors__table tbody th { padding-right: var(--space-4); }
  .platform-connectors__table tbody tr:first-child { border-top: var(--border-w) solid var(--line); }
}
@media (min-width: 1024px) {
  .platform-connectors__table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-connectors__table tbody tr:nth-child(2) { border-top: var(--border-w) solid var(--line); }
}
.cta .cta__board--line h2 { max-width: none; text-wrap: pretty; }
@media (min-width: 1024px) { .cta .cta__board--line h2 .h-quiet { display: block; } }
@media (max-width: 639px) { .platform-connectors__table tbody tr:last-child th { padding-bottom: var(--space-2); } }

/* Connectors, as one panel of eight cells (27 Nov, user, on the ruled table:
   "improve visuals of this"). The cards' make on the band (heading 5%, an 8%
   edge, 6px corners, a faint Sage field at the foot's right); inside, equal
   cells split by 1px of the line colour showing through the grid's gaps —
   four across from 1200px, two below, one on phones. A cell: the category as
   a DM Mono label, its connectors as tags under it. */
.platform-connectors__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--border-w);
  margin: 0; padding: 0; list-style: none;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 8%, var(--ground, var(--how-teal)));
  overflow: clip;
}
.platform-connectors__cell {
  display: flex; flex-direction: column; gap: var(--space-4);
  min-height: 136px; padding: var(--space-5);
  background: color-mix(in srgb, var(--heading) 4%, var(--ground, var(--how-teal)));
  transition: background-color var(--motion-fast, 200ms) linear;
}
@media (hover: hover) { .platform-connectors__cell:hover { background: color-mix(in srgb, var(--heading) 7%, var(--ground, var(--how-teal))); } }
.platform-connectors__label { margin: 0; color: var(--ink-muted); }
.platform-connectors__list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.platform-connectors__list li {
  display: inline-flex; align-items: center; min-height: 32px; padding: var(--space-1) var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 5%, transparent);
  font: 500 14px/1.4 var(--font-body); color: var(--heading);
}
@media (max-width: 1199px) { .platform-connectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .platform-connectors__cell { min-height: 0; } }
@media (max-width: 639px) { .platform-connectors__grid { grid-template-columns: minmax(0, 1fr); } .platform-connectors__cell { gap: var(--space-3); padding: var(--space-4); } }
/* The connectors' own marks (27 Nov, user: "can you use icons here?"): 16px,
   one colour, a step quieter than the name; the heading colour on hover. */
.platform-connectors__list li { gap: var(--space-2); }
.platform-connectors__list :is(.brand-mark, .icon) { flex: none; width: 16px; height: 16px; --icon-size: 16px; color: color-mix(in srgb, var(--heading) 62%, transparent); transition: color var(--motion-fast, 200ms) linear; }
@media (hover: hover) { .platform-connectors__list li:hover :is(.brand-mark, .icon) { color: var(--heading); } }

/* Harness and Context engine as one light band (27 Nov, user: "single
   flowing in colours … a subtle separator line between them"): both on the
   paper; the band's colour field is shared — butter at the harness's top
   left, lime at the Context engine's foot right, nothing restarting where
   they meet — and a hairline at the content's width parts them. */
.platform-harness.section--paper:has(+ .platform-context--joined)::before { background: radial-gradient(38% 52% at 4% 0%, color-mix(in srgb, var(--ill-butter) 22%, transparent), transparent 70%); }
.platform-context--joined.section--paper::before { background: radial-gradient(44% 62% at 90% 100%, color-mix(in srgb, var(--ill-lime) 24%, transparent), transparent 72%); }
.platform-context--joined::after {
  content: ''; position: absolute; top: 0; pointer-events: none;
  left: max(var(--space-6), calc((100% - 1600px) / 2 + var(--space-6))); right: max(var(--space-6), calc((100% - 1600px) / 2 + var(--space-6)));
  border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent);
}
@media (max-width: 767px) { .platform-context--joined::after { left: 20px; right: 20px; } }

/* The server-first bento, each card its own form (27 Nov, late, user, after
   supabase.com's product grid: "every single thing looks the same … Same
   shade happening everywhere"). The drawing runs the card's full width and
   off its foot; mostly neutral lines, one spot of Sage, Ember only on the
   person; a different faint colour field under each (teal, Sage, lime,
   butter, teal, ember), so no two cards share a shade. */
.platform-bento__art--form { display: block; margin: auto calc(-1 * var(--space-5)) 0; padding: var(--space-5) 0 0; background: radial-gradient(70% 90% at 50% 110%, color-mix(in srgb, var(--tint, var(--ill-sage)) 14%, transparent), transparent 72%); }
.platform-bento__card:has(.platform-bento__art--form) { padding-bottom: 0; }
.platform-bento__art--credentials { --tint: var(--ill-teal); }
.platform-bento__art--policy { --tint: var(--ill-sage); }
.platform-bento__art--service { --tint: var(--ill-lime); }
.platform-bento__art--headless { --tint: var(--ill-butter); }
.platform-bento__art--audit { --tint: var(--ill-teal); }
.platform-bento__art--gates { --tint: var(--ill-ember); }
.bento-form { display: block; width: 100%; height: auto; overflow: hidden; }
.platform-bento__art--policy .bento-form, .platform-bento__art--audit .bento-form { -webkit-mask-image: linear-gradient(180deg, var(--white) 62%, transparent); mask-image: linear-gradient(180deg, var(--white) 62%, transparent); }
.bento-form__line { fill: none; stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-form__line--faint { stroke: color-mix(in srgb, var(--heading) 8%, transparent); }
.bento-form__line--mid { stroke: color-mix(in srgb, var(--heading) 55%, transparent); }
.bento-form__line--lit { stroke: color-mix(in srgb, var(--accent-text) 75%, transparent); }
.bento-form__line--person { stroke: color-mix(in srgb, var(--accent) 70%, transparent); stroke-dasharray: 3 3; }
.bento-form__line--dash { stroke-dasharray: 3 4; }
.bento-form__box { fill: none; stroke: color-mix(in srgb, var(--heading) 22%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-form__box--ghost { stroke: color-mix(in srgb, var(--heading) 10%, transparent); }
.bento-form__box--frame { fill: color-mix(in srgb, var(--heading) 6%, var(--ground)); stroke: color-mix(in srgb, var(--heading) 26%, transparent); }
.bento-form__box--panel { fill: color-mix(in srgb, var(--heading) 6%, var(--ground)); stroke: color-mix(in srgb, var(--heading) 18%, transparent); }
.bento-form__box--lit { fill: color-mix(in srgb, var(--accent-text) 8%, var(--ground)); stroke: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.bento-form__box--key { fill: color-mix(in srgb, var(--accent-text) 18%, transparent); stroke: color-mix(in srgb, var(--accent-text) 50%, transparent); }
.bento-form__box--dash { stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-dasharray: 3 3; }
.bento-form__box--slot { stroke: color-mix(in srgb, var(--heading) 34%, transparent); }
.bento-form__box--tag { fill: color-mix(in srgb, var(--accent-text) 10%, transparent); stroke: color-mix(in srgb, var(--accent-text) 50%, transparent); }
.bento-form__box--chip { stroke: color-mix(in srgb, var(--heading) 20%, transparent); }
.bento-form__box--run { fill: color-mix(in srgb, var(--accent-text) 20%, transparent); stroke: color-mix(in srgb, var(--accent-text) 60%, transparent); }
.bento-form__box--tape { fill: color-mix(in srgb, var(--heading) 4%, transparent); stroke: none; }
.bento-form__box--row { fill: color-mix(in srgb, var(--accent-text) 10%, transparent); stroke: color-mix(in srgb, var(--accent-text) 40%, transparent); }
.bento-form__box--focus { stroke: var(--heading); }
.bento-form__box--cell-allow { fill: color-mix(in srgb, var(--accent-text) 16%, transparent); stroke: color-mix(in srgb, var(--accent-text) 30%, transparent); }
.bento-form__box--a1 { fill: color-mix(in srgb, var(--accent-text) 28%, transparent); }
.bento-form__box--a2 { fill: color-mix(in srgb, var(--accent-text) 9%, transparent); }
.bento-form__box--a3 { fill: color-mix(in srgb, var(--accent-text) 42%, transparent); stroke: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.bento-form__box--cell-ask { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: var(--accent); }
.bento-form__box--cell-deny { stroke: color-mix(in srgb, var(--heading) 40%, transparent); stroke-dasharray: 2 2; }
.bento-form__icon { color: color-mix(in srgb, var(--heading) 62%, transparent); }
.bento-form__icon--strong { color: color-mix(in srgb, var(--heading) 88%, transparent); }
.bento-form__icon--quiet { color: color-mix(in srgb, var(--heading) 36%, transparent); }
.bento-form__icon--lit { color: var(--accent-text); }
.bento-form__icon--person { color: var(--accent); }
.bento-form__dot--lit { fill: var(--accent-text); }
.bento-form__dot--faint { fill: color-mix(in srgb, var(--heading) 30%, transparent); }
.bento-form__dot--person { fill: var(--accent); }
.bento-form__ring { fill: color-mix(in srgb, var(--accent-text) 14%, var(--ground)); stroke: color-mix(in srgb, var(--accent-text) 60%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-form__ring--person { fill: color-mix(in srgb, var(--accent) 14%, var(--ground)); stroke: var(--accent); }
.bento-form__gate { fill: color-mix(in srgb, var(--heading) 9%, var(--ground)); stroke: color-mix(in srgb, var(--heading) 70%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bento-form__bar { fill: color-mix(in srgb, var(--heading) 24%, transparent); }
.bento-form__bar--lit { fill: color-mix(in srgb, var(--accent-text) 75%, transparent); }
.bento-form__bar--person { fill: color-mix(in srgb, var(--accent) 70%, transparent); }
.bento-form__text { font: 500 10px/1 "IBM Plex Mono", ui-monospace, monospace; fill: color-mix(in srgb, var(--heading) 78%, transparent); }
.bento-form__text--label { font-size: 9px; letter-spacing: 0.1em; fill: color-mix(in srgb, var(--heading) 42%, transparent); }
.bento-form__text--muted { fill: color-mix(in srgb, var(--heading) 46%, transparent); }
.bento-form__text--lit { fill: var(--accent-text); }
.bento-form__icon { fill: currentColor; }

/* Playbooks: a small drawing over each of the three points (27 Nov, user:
   "quick illustration of each of 3 cards", from the discarded support cards'
   parts). The cards a little over half their old height, no chevrons between
   (three parts of a playbook, not three beats of one run). */
.platform-flow--mini { margin-top: var(--space-8); }
.platform-flow--mini .platform-flow__art { min-height: 0; height: 232px; padding: var(--space-5); }
.platform-flow--mini .platform-flow__item + .platform-flow__item .platform-flow__art::before { content: none; }
.platform-flow--mini .platform-flow__panel { max-width: 280px; padding: var(--space-4); }
.platform-flow--mini .platform-flow__steps li span:last-child { font-size: 12px; }
.platform-flow__sources li { min-height: 24px; }
.platform-flow__sources li.is-on .icon { color: var(--accent-text); }
.platform-flow__sources .platform-flow__bar, .platform-flow--mini .platform-flow__findings .platform-flow__bar { flex: 0 1 var(--w); }
.platform-flow__fire { display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); border-radius: 3px; background: color-mix(in srgb, var(--accent-text) 12%, transparent); }
.platform-flow__fire .icon { color: var(--accent-text); }
.platform-flow__approve { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding-top: var(--space-3); border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
.platform-flow__approve .platform-example__gate { margin-right: var(--space-1); }
.platform-flow__ring.is-agent { width: 18px; height: 18px; border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); color: var(--accent-text); background: var(--ground); }
.platform-flow__ring.is-agent .icon { --icon-size: 10px; width: 10px; height: 10px; }
@media (max-width: 1023px) { .platform-flow--mini .platform-flow__art { height: auto; } }

/* Playbooks, the three as forms of their own (27 Nov, user: "take inspiration
   from supabase.com, as we did earlier … The one in governance page we did
   were good"): the drawing is the card — full width, no padding, cut by the
   card's edge — on its own faint field (butter, Sage, teal). */
.platform-flow--mini .platform-flow__art--form { display: block; height: auto; padding: 0; overflow: hidden; }
.platform-flow--mini .platform-flow__art--form::after { background: radial-gradient(70% 80% at 50% 110%, var(--field-1), transparent 72%); opacity: 0.14; }
.platform-flow--mini .platform-flow__item:nth-child(1) { --field-1: var(--ill-butter); }
.platform-flow--mini .platform-flow__item:nth-child(2) { --field-1: var(--ill-sage); }
.platform-flow--mini .platform-flow__item:nth-child(3) { --field-1: var(--ill-teal); }
.bento-form__box--sheet { fill: color-mix(in srgb, var(--heading) 10%, var(--ground)); stroke: color-mix(in srgb, var(--heading) 34%, transparent); }
/* No mono in illustrations (27 Nov, user: "don't use mono typeface in
   illustrations"): the drawings' few words are Inter, the labels in sentence
   case with no letter spacing. */
.bento-form__text { font: 500 11px/1 var(--font-body); letter-spacing: 0; }
.bento-form__text--label { font-size: 10px; font-weight: 400; letter-spacing: 0; }

/* Playbooks, one drawing for the three (27 Nov, user, after neon.com's wide
   stages: one unboxed stage on a field of thin vertical hairlines, small
   nodes joined by one line, the points on the same grid). From 1024px the
   wide drawing runs the section's width, fading at its ends, over three soft
   fields (butter, Sage, teal), and the three points stand under their thirds
   with no cards; below 1024 the three cards return, one over each point. */
.platform-anatomy { display: none; margin: var(--space-8) 0 0; }
.bento-form__line--hair { stroke: color-mix(in srgb, var(--heading) 5%, transparent); }
@media (min-width: 1024px) {
  .platform-anatomy {
    display: block; position: relative; isolation: isolate;
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--white) 6%, var(--white) 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, var(--white) 6%, var(--white) 94%, transparent);
  }
  .platform-anatomy::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(22% 70% at 15% 55%, color-mix(in srgb, var(--ill-butter) 9%, transparent), transparent 72%),
      radial-gradient(24% 70% at 50% 55%, color-mix(in srgb, var(--ill-sage) 9%, transparent), transparent 72%),
      radial-gradient(22% 70% at 83% 55%, color-mix(in srgb, var(--ill-teal) 10%, transparent), transparent 72%);
  }
  .platform-flow--under { margin-top: var(--space-5); }
  .platform-flow--under .platform-flow__art { display: none; }
  .platform-flow--under .platform-flow__point { margin-top: 0; }
}

/* The harness's one drawing, on the light band (27 Nov, user: "Server-first
   harness"). The same wide stage as Playbooks; the paper is its ground, so
   the lines read darker and the fields are the band's own lime and butter. */
.platform-anatomy--light { --ground: var(--paper-band); }
.platform-anatomy--light::before { background: radial-gradient(24% 70% at 50% 55%, color-mix(in srgb, var(--ill-lime) 16%, transparent), transparent 72%); }
.platform-anatomy--light .bento-form__line--hair { stroke: color-mix(in srgb, var(--heading) 6%, transparent); }
.bento-form__box--wall { fill: color-mix(in srgb, var(--heading) 2.5%, transparent); stroke: color-mix(in srgb, var(--heading) 20%, transparent); }
.bento-form__line--faint2 { stroke: color-mix(in srgb, var(--heading) 18%, transparent); stroke-dasharray: 2 4; }
.bento-form__dot--deny { fill: color-mix(in srgb, var(--heading) 30%, transparent); }
.bento-form__bar--faint { fill: color-mix(in srgb, var(--heading) 12%, transparent); }
.platform-anatomy--light .bento-form__box--tape { fill: var(--white); stroke: none; }
.platform-anatomy--light .bento-form__box--panel, .platform-anatomy--light .bento-form__box--frame { fill: var(--white); }
@media (min-width: 1024px) { .platform-marks--under { margin-top: var(--space-5); } }

/* ==========================================================================
   The board: a section's three points drawn as one object in three regions
   (27 Nov, late, user: "the illustration should make sense and look good,
   should work for that section"; Playbooks and the Server-first harness).
   One surface across the row — the band's card make over a field of thin
   vertical hairlines (after neon.com's stages), the regions parted by
   hairlines, each over its own point. Below 1024px each region is its own
   card over its point.
   ========================================================================== */
.anatomy { --board: color-mix(in srgb, var(--heading) 4%, var(--ground)); --rule: color-mix(in srgb, var(--heading) 9%, transparent);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0; margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.anatomy--light { --ground: var(--paper-band); --board: var(--white); --rule: color-mix(in srgb, var(--heading) 10%, transparent); }
.anatomy__item { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; }
.anatomy__art {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4); min-height: 296px; margin: 0; padding: var(--space-5);
  border: solid var(--rule); border-width: var(--border-w) 0 var(--border-w) var(--border-w);
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--heading) 3%, transparent) 0 var(--border-w), transparent var(--border-w) 24px), var(--board);
  font-size: 12px; line-height: 1.4; color: var(--ink);
}
.anatomy__item:first-child .anatomy__art { border-radius: var(--r-box, 6px) 0 0 var(--r-box, 6px); }
.anatomy__item:last-child .anatomy__art { border-right-width: var(--border-w); border-radius: 0 var(--r-box, 6px) var(--r-box, 6px) 0; }
.anatomy--light .anatomy__art { box-shadow: 0 var(--space-1) var(--space-2) color-mix(in srgb, var(--heading) 4%, transparent), 0 var(--space-4) var(--space-6) color-mix(in srgb, var(--heading) 5%, transparent); }
.anatomy__label { font: 500 12px/1 var(--font-body); color: var(--ink-muted); }
.anatomy__point { padding-right: var(--space-5); }
.anatomy .icon { --icon-size: 16px; flex: none; width: 16px; height: 16px; }
/* the run passing from region to region */
.anatomy__item + .anatomy__item .anatomy__art::before {
  content: ''; position: absolute; top: 50%; left: -5px; z-index: 1; width: 8px; height: 8px; border: solid color-mix(in srgb, var(--accent-text) 75%, transparent); border-width: 1.5px 1.5px 0 0;
  background: var(--board); rotate: 45deg; translate: 0 -50%;
}
.anatomy-shape { flex: none; width: 20px; height: 20px; fill: color-mix(in srgb, var(--heading) 6%, transparent); stroke: color-mix(in srgb, var(--heading) 50%, transparent); stroke-width: 1.5; }

/* Trigger: a pick-list, one chosen */
.anatomy-pick, .anatomy-steps, .anatomy-docs { display: grid; margin: auto 0; padding: 0; list-style: none; }
.anatomy-pick { gap: var(--space-2); }
.anatomy-pick li { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 3%, var(--board)); font-size: 14px; color: var(--ink); }
.anatomy-pick li > .icon { color: var(--ink-muted); }
.anatomy-pick li i { width: 14px; height: 14px; margin-left: auto; border: var(--border-w) solid color-mix(in srgb, var(--heading) 30%, transparent); border-radius: 50%; }
.anatomy-pick .is-on { border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); background: color-mix(in srgb, var(--accent-text) 9%, var(--board)); color: var(--heading); }
.anatomy-pick .is-on > .icon { color: var(--accent-text); }
.anatomy-pick .is-on i { border-color: var(--accent-text); background: radial-gradient(circle, var(--accent-text) 0 3px, transparent 4px); }
.anatomy-pick__ring, .anatomy-approve__agent { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin: 0 -2px; border: var(--border-w) solid var(--accent); border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.anatomy .anatomy-pick__ring .icon, .anatomy .anatomy-approve__agent .icon { --icon-size: 12px; width: 12px; height: 12px; }
.anatomy-approve__agent { border-color: color-mix(in srgb, var(--accent-text) 70%, transparent); background: color-mix(in srgb, var(--accent-text) 14%, transparent); color: var(--accent-text); }

/* Steps: one line, a shape for each kind */
.anatomy-steps { position: relative; gap: var(--space-4); }
.anatomy-steps::before { content: ''; position: absolute; left: 9.5px; top: 10px; bottom: 10px; border-left: var(--border-w) dashed color-mix(in srgb, var(--heading) 26%, transparent); }
.anatomy-steps::after { content: ''; position: absolute; left: 9.5px; top: 10px; height: 58%; border-left: var(--border-w) solid var(--accent-text); }
.anatomy-steps li { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); }
.anatomy-steps .anatomy-shape { fill: var(--board); }
.anatomy-steps .is-done, .anatomy-steps .is-now { color: var(--heading); }
.anatomy-steps .is-done .anatomy-shape { fill: color-mix(in srgb, var(--accent-text) 16%, var(--board)); stroke: var(--accent-text); }
.anatomy-steps .is-now .anatomy-shape { stroke: var(--heading); }
.anatomy-steps li > .icon { margin-left: auto; color: var(--accent-text); }
.anatomy-steps__now { width: 6px; height: 6px; margin: 0 5px 0 auto; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 22%, transparent); }

/* Output: the four it can end with, and who approves */
.anatomy-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: 0; }
.anatomy-docs li { display: grid; gap: var(--space-2); align-content: start; min-height: 64px; padding: var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 3%, var(--board)); font-size: 12px; line-height: 1.3; color: var(--ink); }
.anatomy-docs .icon { color: var(--ink-muted); }
.anatomy-docs .is-on { border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); background: color-mix(in srgb, var(--accent-text) 9%, var(--board)); color: var(--heading); }
.anatomy-docs .is-on .icon { color: var(--accent-text); }
.anatomy-approve { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: 0 0 auto; padding-top: var(--space-3); border-top: var(--border-w) solid var(--rule); color: var(--heading); }
.anatomy-approve small { flex-basis: 100%; font-size: 12px; color: var(--ink-muted); }
.anatomy-approve > span { display: inline-flex; align-items: center; gap: var(--space-2); }

/* Harness 1: the server, a laptop stopped outside it */
.anatomy-run { display: flex; align-items: center; gap: var(--space-2); margin: auto 0; }
.anatomy-run__laptop { display: grid; justify-items: center; gap: var(--space-1); flex: none; padding: var(--space-2); border: var(--border-w) dashed color-mix(in srgb, var(--heading) 30%, transparent); border-radius: var(--r-box, 6px); color: var(--ink-muted); }
.anatomy-run__stop { flex: 1 1 16px; min-width: 12px; height: 9px; border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-right: 2px solid color-mix(in srgb, var(--heading) 60%, transparent); translate: 0 4px; }
.anatomy-run__server { display: grid; gap: var(--space-2); flex: 0 1 240px; min-width: 0; padding: var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 45%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--accent-text) 5%, var(--board)); }
.anatomy-run__sandbox { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-3); border: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-radius: var(--r-box, 6px); background: var(--board); color: var(--heading); }
.anatomy-run__sandbox small { justify-self: start; color: var(--ink-muted); }
.anatomy-run__sandbox b { font-weight: 500; }
.anatomy-run__agent { display: grid; place-items: center; width: 40px; height: 40px; border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 60%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--accent-text) 12%, var(--board)); color: var(--accent-text); }
.anatomy .anatomy-run__agent .icon { --icon-size: 20px; width: 20px; height: 20px; }
.anatomy-run__keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.anatomy-run__keys span { display: flex; align-items: center; gap: var(--space-2); min-width: 0; padding: var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); background: var(--board); color: var(--heading); }
.anatomy-run__keys .icon { color: var(--accent-text); }

/* Harness 2: systems by read, write, execute */
.anatomy-perm, .anatomy-log { width: 100%; margin: auto 0; border-collapse: collapse; text-align: left; }
.anatomy-perm { margin-bottom: 0; }
.anatomy-perm th, .anatomy-perm td, .anatomy-log th, .anatomy-log td { padding: var(--space-2) 0; border-bottom: var(--border-w) solid var(--rule); font-weight: 400; }
.anatomy-perm thead th, .anatomy-log thead th { padding-top: 0; font-size: 12px; color: var(--ink-muted); }
.anatomy-perm thead th:not(:first-child), .anatomy-perm td { width: 54px; text-align: center; }
.anatomy-perm tbody th { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; color: var(--heading); }
.anatomy-perm tbody th .icon { color: var(--ink-muted); }
.anatomy-perm td > * { display: inline-block; vertical-align: middle; }
.anatomy-perm .is-yes { color: var(--accent-text); }
.anatomy-perm .is-no i, .anatomy-key__no { display: inline-block; width: 10px; border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 34%, transparent); }
.anatomy-perm tbody tr:last-child :is(th, td), .anatomy-log tbody tr:last-child td { border-bottom: 0; }
.anatomy-key { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0 0 auto; color: var(--ink-muted); }
.anatomy-key span { display: inline-flex; align-items: center; gap: var(--space-2); }
.anatomy-key .icon { color: var(--accent-text); }

/* Harness 3: the run's record */
.anatomy-log td:first-child { display: flex; align-items: center; gap: var(--space-2); }
.anatomy-log td:first-child .platform-flow__bar { flex: 0 1 var(--w); }
.anatomy-log th:nth-child(2), .anatomy-log td:nth-child(2) { width: 48px; text-align: center; }
.anatomy-log th:last-child, .anatomy-log td:last-child { width: 84px; text-align: right; }
.anatomy-log .anatomy-shape { width: 16px; height: 16px; vertical-align: middle; }
.anatomy-log .anatomy-shape.is-on { fill: color-mix(in srgb, var(--accent-text) 16%, transparent); stroke: var(--accent-text); }
.anatomy-log__who { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: var(--border-w) solid var(--accent); border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.anatomy-log__who.is-agent { border-color: color-mix(in srgb, var(--accent-text) 70%, transparent); background: color-mix(in srgb, var(--accent-text) 14%, transparent); color: var(--accent-text); }
.anatomy .anatomy-log__who .icon { --icon-size: 12px; width: 12px; height: 12px; }
.anatomy-log__to { display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: 3px; color: var(--ink-muted); }
.anatomy .anatomy-log__to .icon { --icon-size: 12px; width: 12px; height: 12px; }
.anatomy-log .is-on td { background: color-mix(in srgb, var(--accent-text) 7%, transparent); }

@media (max-width: 1023px) {
  .anatomy { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-7); }
  .anatomy__item { grid-row: auto; grid-template-rows: none; }
  .anatomy__art, .anatomy__item:first-child .anatomy__art, .anatomy__item:last-child .anatomy__art { min-height: 0; border-width: var(--border-w); border-radius: var(--r-box, 6px); }
  .anatomy__item + .anatomy__item .anatomy__art::before { content: none; }
  .anatomy__point { padding-right: 0; }
}
.anatomy-perm tbody th { display: table-cell; white-space: nowrap; }
.anatomy-perm tbody th .icon { margin-right: var(--space-2); vertical-align: -3px; }
.anatomy-steps { gap: var(--space-5); }
@media (max-width: 479px) { .anatomy-run__keys { grid-template-columns: minmax(0, 1fr); } }

/* Steps as rows (27 Nov, user: the region was "too empty"): four full-width
   rows in the pick-list's make — number, shape, the kind over who does it,
   the state at the right; done rows plain with a Sage shape, the running row
   edged in the heading colour, the waiting row dashed. */
.anatomy-steps--rows { gap: var(--space-2); }
.anatomy-steps--rows::before, .anatomy-steps--rows::after { content: none; }
.anatomy-steps--rows li { gap: var(--space-3); min-height: 48px; padding: 0 var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 3%, var(--board)); }
.anatomy-steps--rows li > b { width: 16px; font: 500 12px/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.anatomy-steps--rows li > span { display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.2; }
.anatomy-steps--rows small { font-size: 12px; color: var(--ink-muted); }
.anatomy-steps--rows em { display: inline-flex; align-items: center; gap: var(--space-2); margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-muted); }
.anatomy-steps--rows em .icon { margin: 0; color: var(--accent-text); }
.anatomy-steps--rows .anatomy-steps__now { margin: 0 3px; }
.anatomy-steps--rows .is-now { border-color: color-mix(in srgb, var(--heading) 46%, transparent); background: color-mix(in srgb, var(--heading) 6%, var(--board)); }
.anatomy-steps--rows .is-now em { color: var(--heading); }
.anatomy-steps--rows .is-next { border-style: dashed; background: none; }

/* ==========================================================================
   The harness board, with real content (27 Nov, late, user: "no polish or
   care … just put together different phosphor icons and shapes"). No icons
   and no skeleton bars: type, states and controls. One rhythm through the
   three regions — 12px for labels and meta, 14px for the thing itself, rows
   on hairlines, numbers in tabular figures.
   ========================================================================== */
.anatomy--real .anatomy__art { gap: var(--space-5); min-height: 372px; padding: var(--space-5) var(--space-5) var(--space-6); font-size: 12px; line-height: 1.45; }
.anatomy--real .anatomy__label { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); }
.anatomy--real .anatomy__item + .anatomy__item .anatomy__art::before { content: none; }
.anatomy-dot { display: inline-block; width: 6px; height: 6px; margin-right: var(--space-2); border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 18%, transparent); vertical-align: 1px; }

/* 1. where it runs */
.anatomy-zone { display: grid; gap: 0; }
.anatomy-zone__laptop { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: var(--border-w) dashed color-mix(in srgb, var(--heading) 30%, transparent); border-radius: var(--r-box, 6px); }
.anatomy-zone__laptop b, .anatomy-zone__head dt, .anatomy-zone__name { font-size: 14px; font-weight: 500; color: var(--heading); }
.anatomy-zone__laptop span { color: var(--ink-muted); }
.anatomy-zone__link { position: relative; display: flex; align-items: center; height: var(--space-6); margin: 0 0 0 var(--space-5); padding-left: var(--space-4); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 30%, transparent); color: var(--ink-muted); }
.anatomy-zone__link::after { content: ''; position: absolute; left: -4px; bottom: 0; width: 7px; height: 7px; border: solid color-mix(in srgb, var(--heading) 45%, transparent); border-width: 0 var(--border-w) var(--border-w) 0; rotate: 45deg; translate: 0 -1px; }
.anatomy-zone__server { display: grid; gap: var(--space-2); padding: var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 40%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--accent-text) 4%, var(--board)); }
.anatomy-zone__name { padding: 0 var(--space-1) var(--space-1); }
.anatomy-zone__card { display: grid; margin: 0; padding: 0 var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); background: var(--board); }
.anatomy-zone__card > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-top: var(--border-w) solid var(--rule); }
.anatomy-zone__card > div:first-child { border-top: 0; padding: var(--space-3) 0 var(--space-2); }
.anatomy-zone__card dt { color: var(--ink-muted); }
.anatomy-zone__card dd { margin: 0; color: var(--heading); text-align: right; }
.anatomy-zone__head dd { color: var(--ink-muted); }
.anatomy-zone__card--vault { border-style: solid; border-color: color-mix(in srgb, var(--heading) 22%, transparent); }
.anatomy-secret { display: inline-block; width: 44px; height: 6px; margin-right: var(--space-3); border-radius: 3px; vertical-align: 1px; background: radial-gradient(circle, color-mix(in srgb, var(--heading) 55%, transparent) 0 2px, transparent 2.5px) 0 50% / 8px 6px repeat-x; }

/* 2. what it can do */
.anatomy-policy, .anatomy-record { display: grid; gap: var(--space-3); }
.anatomy-policy__for, .anatomy-record__for { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin: 0; padding: var(--space-3) var(--space-4); border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); border-radius: var(--r-box, 6px); color: var(--ink-muted); }
.anatomy-policy__for b, .anatomy-record__for b { font-size: 14px; font-weight: 500; color: var(--heading); }
.anatomy-policy ul, .anatomy-record ol { display: grid; margin: 0; padding: 0; list-style: none; }
.anatomy-policy li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; border-top: var(--border-w) solid var(--rule); }
.anatomy-policy li:first-child { border-top: 0; }
.anatomy-policy li > span:first-child { display: grid; gap: 2px; min-width: 0; }
.anatomy-policy li b { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--heading); }
.anatomy-policy li small { font-size: 12px; color: var(--ink-muted); }
.anatomy-seg { display: inline-grid; grid-template-columns: repeat(3, auto); flex: none; padding: 2px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 3%, var(--board)); }
.anatomy-seg i { padding: var(--space-1) var(--space-2); border-radius: 4px; font-style: normal; font-size: 12px; line-height: 1.35; color: color-mix(in srgb, var(--ink-muted) 80%, transparent); }
.anatomy-seg i.is-on { font-weight: 500; }
.anatomy-seg[data-on="allow"] .is-on { background: color-mix(in srgb, var(--accent-text) 14%, var(--board)); color: var(--accent-text); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--accent-text) 40%, transparent); }
.anatomy-seg[data-on="ask"] .is-on { background: color-mix(in srgb, var(--accent) 20%, var(--board)); color: var(--heading); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--accent) 80%, transparent); }
.anatomy-seg[data-on="deny"] .is-on { background: color-mix(in srgb, var(--heading) 10%, var(--board)); color: var(--heading); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 40%, transparent); }

/* 3. what it did */
.anatomy-record ol { position: relative; }
.anatomy-record ol::before { content: ''; position: absolute; top: 18px; bottom: 18px; left: 3px; border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); }
.anatomy-record li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-3); padding: var(--space-3) 0 var(--space-3) var(--space-5); border-top: var(--border-w) solid var(--rule); }
.anatomy-record li:first-child { border-top: 0; }
.anatomy-record li::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--board); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 45%, transparent); translate: 0 -50%; }
.anatomy-record .is-agent::before { background: var(--accent-text); box-shadow: none; }
.anatomy-record .is-person::before { background: var(--accent); box-shadow: none; }
.anatomy-record time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.anatomy-record li > span { font-size: 14px; line-height: 1.3; color: var(--heading); }
.anatomy-record em { padding: 2px var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: 4px; font-style: normal; font-size: 12px; color: var(--ink); white-space: nowrap; }
.anatomy-record .is-person em { border-color: color-mix(in srgb, var(--accent) 70%, transparent); }

@media (max-width: 1199px) {
  .anatomy--real { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-7); }
  .anatomy--real .anatomy__item { grid-row: auto; grid-template-rows: none; }
  .anatomy--real .anatomy__art, .anatomy--real .anatomy__item:first-child .anatomy__art, .anatomy--real .anatomy__item:last-child .anatomy__art { min-height: 0; border-width: var(--border-w); border-radius: var(--r-box, 6px); }
  .anatomy--real .anatomy__point { padding-right: 0; }
}
/* the regions' own labels repeat the points under them; the board's content
   names itself. A plain surface, no hairline field behind real text. */
.anatomy--real .anatomy__label { display: none; }
.anatomy--real .anatomy__art { background: var(--board); padding-top: var(--space-5); }
.anatomy--real .anatomy-zone, .anatomy--real .anatomy-policy, .anatomy--real .anatomy-record { margin: 0; }

/* ==========================================================================
   The board, minimal (27 Nov, late, user: the filled board was "too crowded …
   we used to show skeleton like item. Not every single thing was shown … the
   height is also too much … very minimal and only focus on one part").
   A short board (200px). In each region one thing in focus, real and with
   its state; round it skeleton bars that fade out. Playbooks and the
   Server-first harness.
   ========================================================================== */
.anatomy--min .anatomy__art { justify-content: center; gap: 0; min-height: 200px; padding: var(--space-5) var(--space-6); overflow: hidden; }
.anatomy--min .anatomy__label { display: none; }
.anatomy--min.anatomy--light .anatomy__art { background: var(--board); }
.anatomy--min .platform-flow__bar { flex: 0 1 var(--w); }

/* one row in focus between two ghost rows */
.mini-list { display: grid; gap: var(--space-2); width: 100%; max-width: 340px; margin: 0 auto; padding: 0; list-style: none; }
.mini-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 40px; padding: 0 var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 9%, transparent); border-radius: var(--r-box, 6px); opacity: 0.6; }
.mini-list li:first-child { -webkit-mask-image: linear-gradient(0deg, var(--white), transparent); mask-image: linear-gradient(0deg, var(--white), transparent); }
.mini-list li:last-child { -webkit-mask-image: linear-gradient(180deg, var(--white), transparent); mask-image: linear-gradient(180deg, var(--white), transparent); }
.mini-list .is-focus { min-height: 48px; border-color: color-mix(in srgb, var(--heading) 22%, transparent); background: color-mix(in srgb, var(--heading) 4%, var(--board)); opacity: 1; box-shadow: 0 var(--space-2) var(--space-5) color-mix(in srgb, var(--night-deep) 14%, transparent); }
.mini-list .is-focus b { font-size: 14px; font-weight: 500; color: var(--heading); white-space: nowrap; }
.mini-list .is-lit { border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); background: color-mix(in srgb, var(--accent-text) 9%, var(--board)); }
.mini-list__radio { flex: none; width: 14px; height: 14px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 30%, transparent); border-radius: 50%; }
.mini-list__radio.is-on { border-color: var(--accent-text); background: radial-gradient(circle, var(--accent-text) 0 3px, transparent 4px); }
.anatomy-seg.is-ghost { gap: 2px; border-color: color-mix(in srgb, var(--heading) 9%, transparent); background: none; }
.anatomy-seg.is-ghost i { width: 26px; height: 16px; padding: 0; background: color-mix(in srgb, var(--heading) 7%, transparent); }
.mini-list--log li { justify-content: flex-start; }
.mini-list--log time { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.mini-list__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--heading) 26%, transparent); }
.mini-list__dot.is-person { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

/* harness 1: a laptop stopped outside the server */
.mini-zone { display: flex; align-items: center; gap: var(--space-2); width: 100%; max-width: 340px; margin: 0 auto; }
.mini-zone__laptop { flex: none; padding: var(--space-2) var(--space-3); border: var(--border-w) dashed color-mix(in srgb, var(--heading) 30%, transparent); border-radius: var(--r-box, 6px); font-size: 12px; color: var(--ink-muted); }
.mini-zone__stop { flex: 1 1 24px; min-width: 16px; height: 9px; border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-right: 2px solid color-mix(in srgb, var(--heading) 55%, transparent); translate: 0 4px; }
.mini-zone__server { display: grid; flex: 0 1 200px; min-width: 0; padding: var(--space-1) var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 45%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--accent-text) 5%, var(--board)); box-shadow: 0 var(--space-2) var(--space-5) color-mix(in srgb, var(--night-deep) 10%, transparent); }
.mini-zone__server p { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 32px; margin: 0; border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 9%, transparent); }
.mini-zone__server p:first-child { border-top: 0; }
.mini-zone__on { justify-content: flex-start !important; gap: 0 !important; font-size: 14px; font-weight: 500; color: var(--heading); }
.mini-zone .anatomy-secret { flex: none; margin: 0; }

/* playbooks 2: the four kinds on one line, the running one named */
.mini-steps { position: relative; display: flex; align-items: flex-start; justify-content: space-between; width: 100%; max-width: 300px; margin: 0 auto; padding: 0 0 var(--space-5); list-style: none; }
.mini-steps::before { content: ''; position: absolute; top: 15.5px; left: 16px; right: 16px; border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 28%, transparent); }
.mini-steps::after { content: ''; position: absolute; top: 15.5px; left: 16px; width: calc((100% - 32px) * 2 / 3); border-top: var(--border-w) solid var(--accent-text); }
.mini-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-2); width: 32px; }
.mini-steps .anatomy-shape { width: 32px; height: 32px; fill: var(--board); stroke-width: 1.1; stroke: color-mix(in srgb, var(--heading) 40%, transparent); }
.mini-steps .is-done .anatomy-shape { fill: color-mix(in srgb, var(--accent-text) 16%, var(--board)); stroke: var(--accent-text); }
.mini-steps .is-now .anatomy-shape { stroke: var(--heading); }
.mini-steps b { font-size: 12px; font-weight: 500; color: var(--heading); white-space: nowrap; }
.mini-steps .is-now::after { content: ''; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 22%, transparent); }

/* playbooks 3: one sheet lit over two ghost sheets */
.mini-doc { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: var(--space-4); width: 100%; margin: var(--space-4) auto calc(-1 * var(--space-7)); }
.mini-doc__sheet { position: relative; display: grid; align-content: start; gap: var(--space-2); width: 168px; height: 150px; padding: var(--space-4); border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 50%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 6%, var(--board)); }
.mini-doc__sheet::before, .mini-doc__sheet::after { content: ''; position: absolute; inset: 0; z-index: -1; border: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); border-radius: inherit; background: color-mix(in srgb, var(--heading) 3%, var(--board)); translate: 14px -10px; }
.mini-doc__sheet::after { z-index: -2; border-color: color-mix(in srgb, var(--heading) 10%, transparent); translate: 28px -20px; }
.mini-doc__sheet b { margin-bottom: var(--space-1); font-size: 14px; font-weight: 500; color: var(--heading); }
.mini-doc { isolation: isolate; }
.mini-doc__by { display: flex; gap: var(--space-2); margin: 0 0 calc(var(--space-7) + var(--space-3)) var(--space-5); }

/* Three regions, three forms (27 Nov, late, user: the trigger, the policy
   and the record "look the same … the same UI you copy pasted" — each was a
   lit row between two ghost rows). */
/* the trigger: an event arrives from the edge and fires; the line runs on */
.mini-fire { display: flex; align-items: center; width: calc(100% + var(--space-6) * 2); margin: 0 calc(-1 * var(--space-6)); }
.mini-fire__event { display: flex; align-items: center; gap: var(--space-3); flex: 0 1 252px; min-width: 0; padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6); border: solid color-mix(in srgb, var(--heading) 18%, transparent); border-width: var(--border-w) var(--border-w) var(--border-w) 0; border-radius: 0 var(--r-box, 6px) var(--r-box, 6px) 0; background: color-mix(in srgb, var(--heading) 5%, var(--board)); box-shadow: 0 var(--space-2) var(--space-5) color-mix(in srgb, var(--night-deep) 30%, transparent); }
.mini-fire__event > span:last-child { display: grid; gap: var(--space-2); flex: 1; min-width: 0; }
.mini-fire__event b { font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--heading); white-space: nowrap; }
.mini-fire__wire { flex: 1 1 24px; min-width: 16px; border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 30%, transparent); }
.mini-fire__wire.is-lit { flex-grow: 2; border-top: var(--border-w) solid color-mix(in srgb, var(--accent-text) 80%, transparent); }
.mini-fire__spark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 65%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--accent-text) 12%, var(--board)); color: var(--accent-text); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-text) 7%, transparent), 0 0 0 14px color-mix(in srgb, var(--accent-text) 4%, transparent); }
.anatomy .mini-fire__spark .icon { --icon-size: 20px; width: 20px; height: 20px; }

/* the policy: the decision itself, one control */
.mini-ask { display: grid; justify-items: center; gap: var(--space-3); margin: 0 auto; text-align: center; }
.mini-ask b { font-size: 14px; font-weight: 500; color: var(--heading); }
.mini-ask small { font-size: 12px; color: var(--ink-muted); }
.mini-ask .anatomy-seg { padding: 3px; box-shadow: 0 var(--space-2) var(--space-5) color-mix(in srgb, var(--night-deep) 10%, transparent); }
.mini-ask .anatomy-seg i { min-width: 72px; padding: var(--space-2) var(--space-4); font-size: 14px; text-align: center; }

/* the record: a timeline, one moment called out */
.mini-time { display: grid; gap: var(--space-4); width: calc(100% + var(--space-6) * 2); margin: 0 calc(-1 * var(--space-6)); }
.mini-time__tip { position: relative; display: flex; align-items: baseline; gap: var(--space-3); justify-self: start; margin: 0 0 0 calc(64% - 128px); padding: var(--space-3) var(--space-4); border: var(--border-w) solid color-mix(in srgb, var(--heading) 18%, transparent); border-radius: var(--r-box, 6px); background: var(--board); box-shadow: 0 var(--space-2) var(--space-5) color-mix(in srgb, var(--night-deep) 12%, transparent); white-space: nowrap; }
.mini-time__tip::after { content: ''; position: absolute; left: 128px; bottom: -5px; width: 8px; height: 8px; border: solid color-mix(in srgb, var(--heading) 18%, transparent); border-width: 0 var(--border-w) var(--border-w) 0; background: var(--board); rotate: 45deg; translate: -50% 0; }
.mini-time__tip b { font-size: 14px; font-weight: 500; color: var(--heading); }
.mini-time__tip time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.mini-time__line { position: relative; height: 12px; }
.mini-time__line::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 18%, transparent); }
.mini-time__line i { position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--board); box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 40%, transparent); translate: -50% -50%; }
.mini-time__line i:nth-child(1) { left: 10%; } .mini-time__line i:nth-child(2) { left: 26%; } .mini-time__line i:nth-child(3) { left: 44%; } .mini-time__line i:nth-child(4) { left: 64%; } .mini-time__line i:nth-child(5) { left: 86%; }
.mini-time__line .is-agent { background: var(--accent-text); box-shadow: none; }
.mini-time__line .is-person { width: 12px; height: 12px; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

/* Steps, as a numbered stepper (27 Nov, late, user, on the four shapes on a
   line: "This one is not good"). Four kinds, all named, in order on one
   spine: two done (Sage nodes), the third running (the heading colour, a
   pulse), the fourth — approval, a person's — the gate's diamond on a dashed
   spine. What is not the point stays skeleton. */
.mini-stepper { position: relative; display: grid; width: 100%; max-width: 264px; margin: 0 auto; padding: 0; list-style: none; }
.mini-stepper li { position: relative; display: flex; align-items: center; gap: var(--space-3); height: 38px; font-size: 14px; color: var(--ink-muted); }
.mini-stepper li + li::before { content: ''; position: absolute; left: 11.5px; top: -7px; height: 14px; border-left: var(--border-w) solid var(--accent-text); }
.mini-stepper .is-next::before { border-left: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); }
.mini-stepper__node { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 34%, transparent); border-radius: 50%; background: var(--board); font: 500 12px/1 var(--font-body); font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.mini-stepper .is-done .mini-stepper__node { border-color: color-mix(in srgb, var(--accent-text) 70%, transparent); background: color-mix(in srgb, var(--accent-text) 16%, var(--board)); color: var(--accent-text); }
.mini-stepper .is-now .mini-stepper__node { border-color: var(--heading); color: var(--heading); box-shadow: 0 0 0 4px color-mix(in srgb, var(--heading) 8%, transparent); }
.mini-stepper__node--gate { width: 17px; height: 17px; margin: 0 3.5px; border-radius: 2px; border-color: color-mix(in srgb, var(--heading) 70%, transparent); background: color-mix(in srgb, var(--heading) 9%, var(--board)); rotate: 45deg; }
.mini-stepper b { font-weight: 400; color: var(--ink); }
.mini-stepper .is-now b { font-weight: 500; color: var(--heading); }
.mini-stepper .is-next b { color: var(--ink-muted); }
.mini-stepper li > :last-child { margin-left: auto; }
.mini-stepper .platform-flow__bar { flex: 0 0 var(--w); opacity: 0.7; }
.mini-stepper em { display: inline-flex; align-items: center; font-style: normal; font-size: 12px; color: var(--heading); }
/* The closing line as a heading and its line (27 Nov, late, user: "does the
   entire thing in same font size look good?" — the second sentence was too
   long for heading size and read as a paragraph set large). The first
   sentence is the heading; the second sits under it at the text size. */
.cta__line { display: grid; gap: var(--space-3); min-width: 0; }
.cta .cta__board--line .cta__line h2 { margin: 0; }
.cta__line p { margin: 0; font-size: 16px; line-height: 1.6; letter-spacing: var(--text-tracking); color: var(--ink); }

/* The closing panel with the mark (27 Nov, late, user: "having the button
   bottom to the heading, and on the right show like a half cutout of unlock
   icon. The logo only."). The copy and its button stack at the left; at the
   right the mark, large, its lower half cut by the panel's foot — the logo's
   own dark pair (cream, the mint centre), the whole of it held back to 16%
   so it sits behind the offer, not beside it. No outline, no gradient. */
.cta__board.cta__board--line { position: relative; align-items: flex-start; min-height: 272px; overflow: clip; }
.cta__board--line .cta__line { position: relative; z-index: 1; justify-items: start; }
.cta__board--line .cta__line .btn { margin-top: var(--space-5); }
.cta__mark { position: absolute; right: clamp(var(--space-6), 7vw, var(--space-10)); bottom: -168px; width: 336px; height: 336px; color: var(--heading); opacity: 0.16; pointer-events: none; }
.cta__mark .wordmark__in { fill: var(--mint-green); }
@media (max-width: 1023px) { .cta__mark { right: calc(-1 * var(--space-7)); bottom: -128px; width: 256px; height: 256px; opacity: 0.12; } }
@media (max-width: 767px) { .cta__board.cta__board--line { min-height: 0; } .cta__mark { right: calc(-1 * var(--space-8)); bottom: -112px; width: 208px; height: 208px; } }
@media (min-width: 1024px) { .cta__mark { bottom: -200px; width: 400px; height: 400px; } }
/* The mark in dots (29 Nov, user, after Bencho's Particles, toned down;
   mark-particles.js): the canvas takes the SVG mark's place and size once the
   script runs, drawn in the logo's pair (the loop and gate in the heading
   colour, the centre in mint) and held back less than the solid mark, since
   dots carry less ink. The panel takes the pointer; the canvas never does. */
.cta__particles { display: none; }
.has-particles .cta__particles { display: block; opacity: 0.42; }
.has-particles svg.cta__mark { display: none; }
/* The closing band, open, after modal.com's CTA (29 Nov, user: "it glows
   from one part, also section is not … bound, its free, its open so its
   flows freely"): no board — no edge, surface or field — the copy low at the
   left on the band itself, and the mark large at the right, running off the
   band's right edge and foot, lit from its top left (mark-particles.js draws
   the light: the dots near it bright over a faint Sage field, the rest
   falling away into the band). */
.platform-close { padding-bottom: 0; }
/* the glow from one part: a soft Sage B900 field behind the mark's lit top
   left corner, on the band itself */
.platform-close::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 55% at 60% 38%, color-mix(in srgb, var(--sage-ink) 34%, transparent), transparent 70%);
}
@media (max-width: 767px) { .platform-close::before { background: radial-gradient(70% 40% at 30% 72%, color-mix(in srgb, var(--sage-ink) 34%, transparent), transparent 70%); } }
.platform-close .cta__board.cta__board--line {
  align-items: flex-end; min-height: clamp(440px, 38vw, 560px);
  padding: 0 0 var(--space-10); border: 0; border-radius: 0; background: none; overflow: visible;
}
.platform-close .cta__mark {
  right: 0; bottom: -300px; width: 720px; height: 720px; opacity: 0.16;
  /* held to the container's right edge like every section (29 Nov, user: it
     looked like it broke the max width), and faded out from below so it
     dissolves before the band's foot instead of being cut there */
  -webkit-mask-image: linear-gradient(var(--white) 20%, transparent 56%); mask-image: linear-gradient(var(--white) 20%, transparent 56%);
}
.platform-close.has-particles .cta__particles, .platform-close .has-particles .cta__particles { opacity: 1; }
@media (max-width: 1023px) { .platform-close .cta__mark { right: 0; bottom: -260px; width: 560px; height: 560px; } }
@media (max-width: 767px) {
  .platform-close .cta__board.cta__board--line { min-height: 0; padding-bottom: 240px; }
  .platform-close .cta__mark { right: 0; bottom: -180px; width: min(400px, 100%); height: auto; aspect-ratio: 1; }
}

/* ==========================================================================
   PERMISSIONS: THE TOOL-CALL CLASSES AS A GRID (Governance and security page,
   28 Nov; user, after fingerprint.com's "Your platform. Your decisions."
   grid and its Smart Signals code window, on our dark band). One bordered
   block of four cells on hairlines: the section's head in the first, lifted
   a step, its label at the top and the heading and intro at its foot; each
   class in a cell of its own — a code window centred with air round it,
   then Rohit's row of the table (the class, Side effect, Examples). One
   column below 1024px. Markup: build-platform.mjs (PERMISSION_CLASSES).
   ========================================================================== */
.permission-classes {
  --cell-line: color-mix(in srgb, var(--heading) 10%, transparent);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--border-w) solid var(--cell-line); border-radius: var(--r-box, 6px); overflow: hidden;
}
.permission-classes > ul { display: contents; margin: 0; padding: 0; list-style: none; }
/* every cell on a solid surface, night-2, a step up from the night-deep band
   (28 Nov, user: "give [them] a solid fill but different than current
   section dark"); the windows fade out into it */
.permission-classes__lead, .permission-class { background: var(--night-2); }
.permission-classes__lead {
  position: relative; overflow: hidden;
  padding: var(--space-7) var(--space-7) 152px;   /* the copy at the top, room under it for the glyphs */
}   /* on the band itself, as every section head (the 5% lift after Fingerprint's tinted cell went, 28 Nov, user) */
/* the copy at the top: the label, then the heading 24px under it, the intro 16px under that */
.permission-classes__copy { position: relative; z-index: 1; }
.permission-classes__lead h2 { margin: 0; max-width: 14em; }
.permission-classes__lead p { margin: var(--space-4) 0 0; max-width: 34em; color: var(--ink); text-wrap: pretty; }   /* sized with every section head's intro (components.css, TEXT SCALE) */
/* the glyph matrix in the lower part (glyph-matrix.js fades it out towards
   its top); quieter than the hero's, a soft edge at the sides */
.permission-classes__glyphs {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 144px; z-index: 0; pointer-events: none; opacity: 0.7;
  --glyph: var(--sage-green); --glyph-lit: var(--mint-green); --glyph-warm: var(--ember-orange);
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--white) 48px, var(--white) calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, var(--white) 48px, var(--white) calc(100% - 48px), transparent);
}
/* Each class a card in supabase.com's "Kickstart your next project" make:
   the text at the top — the class as the title, his side effect under it,
   then "Examples" and his sentence, quieter — and under it the window,
   inset from the card's sides and cut by its foot, no rule between them.
   Each row of the block is two shared rows (subgrid), so two windows side
   by side start on one line whatever the text above them runs to. */
.permission-classes { grid-template-rows: auto 1fr auto auto; }   /* text rows as tall as their text; the height the head cell adds goes to the first row's windows, the second row keeps its own */
.permission-classes__lead { grid-row: span 2; }
.permission-class { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; min-width: 0; border-top: var(--border-w) solid var(--cell-line); }
.permission-class:nth-child(odd) { border-left: var(--border-w) solid var(--cell-line); }   /* the right-hand column: the first and third of the list */
.permission-class:first-child { border-top: 0; }
.permission-class__text { padding: var(--space-6) var(--space-6) 0; }
.permission-class__text h3 { margin: 0 0 var(--space-1); font: 500 16px/1.4 var(--font-body); letter-spacing: var(--text-tracking); color: var(--heading); }
.permission-class__text dl { display: grid; gap: var(--space-1); margin: 0; }
.permission-class__text dl div { display: block; }
.permission-class__text dd { display: inline; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.permission-class__text dl div + div { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.permission-class__text dl div + div dt { display: inline; margin-right: 0.3em; }
.permission-class__text dl div + div dt::after { content: ':'; }
.permission-class__text dl div + div dd { color: var(--ink-muted); }
.permission-class__text code { padding: 0 4px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 8%, transparent); font: 400 13px/1 'IBM Plex Mono', ui-monospace, monospace; color: var(--ink); }
/* the window under the text, inset from the sides, cut by the card's foot */
.permission-class__stage { display: grid; min-width: 0; padding: var(--space-6) var(--space-6) 0; overflow: hidden; }
/* the window fills whatever height its row has, so it starts 24px under the
   text in every card and is always cut by the card's foot */
.permission-class__art { position: relative; display: grid; width: 100%; min-width: 0; }
.permission-class__art .code-window {
  display: grid; grid-template-rows: auto 1fr;
  /* the homepage terminal's ground, fading out into the card towards its foot */
  background: var(--term-bg);
  -webkit-mask-image: linear-gradient(var(--white) calc(100% - 72px), transparent); mask-image: linear-gradient(var(--white) calc(100% - 72px), transparent);   /* the last 72px, whatever the window's height */
}
.permission-classes + .platform-marks { margin-top: var(--space-8); }
/* Without the windows (30 Nov, Rohit: "This section does not need an
   image"; permissions-windows.html keeps them): the head and its glyphs at
   the left, the three classes as rows at the right, each its title over its
   line, split by the block's hairlines. One column below 1024px, as before. */
.permission-classes--list .permission-class__text { padding: var(--space-6); }
/* Side effect and Examples shown (30 Nov, Rohit, point 5): two named lines
   under the class, the name in a 96px muted column, his words beside it in
   the body colour, so the three rows scan as one small table. */
/* Later the same day (user: "show this better"): a small spec block in
   place of the 96px name column — Side effect and Examples side by side
   under the class, as the columns of his table, each a DM Mono label over
   its value; the side effect, what tells the classes apart, in the heading
   colour, the examples in the body colour. Stacked on phones. */
.permission-classes--list .permission-class__text h3 { margin-bottom: var(--space-4); }
.permission-classes--list .permission-class__text dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); }
.permission-classes--list .permission-class__text dl div { display: block; font-size: 14px; line-height: 1.6; color: inherit; }
.permission-classes--list .permission-class__text dt,
.permission-classes--list .permission-class__text dl div + div dt {
  display: block; margin: 0 0 var(--space-1);
  font: 500 12px/1.65 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.permission-classes--list .permission-class__text dl div + div dt::after { content: none; }
.permission-classes--list .permission-class__text dd { display: block; color: var(--heading); }
.permission-classes--list .permission-class__text dl div + div dd { color: var(--ink); }
@media (max-width: 559px) { .permission-classes--list .permission-class__text dl { grid-template-columns: minmax(0, 1fr); } }
/* Each class led by its icon (30 Nov, user: "It's very text heavy … at least
   add icons for read, write"; an agreed icon with text): the icon alone, 24px
   in Sage, above the title, 12px over it — the main items' make (DESIGN.md:
   a 24px icon above the title). A grey 40px tile beside the title for an
   hour before (user: "nah show in sage green and no box and put above
   title"). */
.permission-class__icon { display: block; margin-bottom: var(--space-3); color: var(--accent-text); line-height: 0; }
.permission-class__icon .icon { --icon-size: 24px; width: 24px; height: 24px; }
.permission-class--head { display: none; }
@media (min-width: 1024px) {
  .permission-classes--list { grid-template-rows: auto repeat(3, 1fr); }
  .permission-classes--list .permission-classes__lead { grid-column: 1; grid-row: 1 / span 4; }
  .permission-classes--list .permission-class { display: flex; flex-direction: column; justify-content: center; grid-column: 2; grid-row: auto; border-left: var(--border-w) solid var(--cell-line); }
  /* A table on desktop (30 Nov, user: "section height increased, there must
     be a better way to organize"): the column names once, in a head row,
     and each class one row — its icon over its name in the first column,
     the side effect and the examples beside it — so no label repeats. */
  .permission-classes--list .permission-class--head,
  .permission-classes--list .permission-class__text {
    display: grid; grid-template-columns: 152px minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-6);
  }
  .permission-classes--list .permission-class--head {
    padding: var(--space-4) var(--space-6);
    font: 500 12px/1.65 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
  }
  .permission-classes--list .permission-class__text { grid-template-areas: "icon effect examples" "title effect examples"; grid-template-rows: auto auto; align-items: center; }
  .permission-classes--list .permission-class__icon { grid-area: icon; margin-bottom: var(--space-2); }
  .permission-classes--list .permission-class__text h3 { grid-area: title; margin: 0; }
  .permission-classes--list .permission-class__text dl { display: contents; }
  .permission-classes--list .permission-class__text dl > div:first-child { grid-area: effect; }
  .permission-classes--list .permission-class__text dl > div:last-child { grid-area: examples; }
  .permission-classes--list .permission-class__text dt {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }   /* the head row names the columns; each dt stays for screen readers */
}
@media (max-width: 767px) { .permission-classes--list .permission-class__text { padding: var(--space-5); } }

/* The code window: a bar (three dots, what it is, a branch where there is
   one), a few lines of real code, a foot strip with the decision. IBM Plex
   Mono, as code in the site's product screens. b bright (commands,
   keywords), i muted (prompts, times, comments). */
.code-window {
  min-width: 0; overflow: hidden;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-bottom: 0; border-radius: var(--r-box, 6px) var(--r-box, 6px) 0 0;   /* it runs off the stage's foot */
  background: color-mix(in srgb, var(--night-deep) 76%, transparent);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--night-deep) 40%, transparent), 0 16px 40px -16px color-mix(in srgb, var(--night-deep) 70%, transparent);
  font: 400 12px/1.9 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: 0; color: color-mix(in srgb, var(--term-text) 76%, var(--term-bg));
}
.code-window :is(b, i, em) { font-style: normal; font-weight: 400; }
.code-window b { color: var(--term-text); }
.code-window i { color: var(--term-dim); }
.code-window__prompt { color: var(--ill-sage); }   /* the prompt, as the homepage terminal's */
/* the bar, the homepage terminal's exactly (interfaces.css .win__bar, .term):
   31px at its 12px scale, 12px in, 11.4px traffic lights 6.6px apart, the
   title centred in Inter 500 at 11.4px, the dim grey; its own bar grey */
.code-window__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 7px; height: 31px; padding: 0 12px; background: var(--term-bar); color: var(--term-dim); }
.code-window__lights { display: flex; gap: 6.6px; }
.code-window__lights i { width: 11.4px; height: 11.4px; border-radius: 50%; }
.code-window__lights i:nth-child(1) { background: var(--mac-close); }
.code-window__lights i:nth-child(2) { background: var(--mac-min); }
.code-window__lights i:nth-child(3) { background: var(--mac-zoom); }
.code-window__name { position: absolute; left: 50%; translate: -50% 0; font: 500 11.4px/1 var(--font-body); color: var(--term-dim); white-space: nowrap; }
.code-window__note { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font: 400 11px/20px 'IBM Plex Mono', ui-monospace, monospace; color: var(--term-dim); white-space: nowrap; overflow: hidden; }
.code-window__note .icon { --icon-size: 12px; flex: none; width: 12px; height: 12px; }
.code-window__body { display: grid; align-content: start; min-height: calc(5 * 1.9em + var(--space-3) + var(--space-6)); padding: var(--space-3); white-space: pre; overflow: hidden; }
.code-window__line { display: block; margin: 0 calc(var(--space-2) * -1); padding: 0 var(--space-2); border-radius: 3px; overflow: hidden; }
.code-window__line.is-add { background: color-mix(in srgb, var(--accent-text) 14%, transparent); box-shadow: inset 2px 0 0 var(--accent-text); color: var(--term-text); }
.code-window__line.is-del { background: color-mix(in srgb, var(--heading) 5%, transparent); box-shadow: inset 2px 0 0 color-mix(in srgb, var(--heading) 26%, transparent); color: color-mix(in srgb, var(--heading) 40%, transparent); }
.code-window__line.is-del b { color: inherit; }
.code-window__no { display: inline-block; width: 2ch; text-align: right; }
.code-window__sign { display: inline-block; width: 3ch; text-align: center; }
.code-window__line.is-add .code-window__sign { color: var(--accent-text); }
/* the call held where a person is asked: an Ember dot, the words in the heading colour */
.code-window__held { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--term-text); }
.code-window__held i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent); }
/* The decision, a tag floating over the window's lower right corner: a dot
   and the words in the heading colour; the dot and edge Sage (allowed),
   neutral, or Ember (a person is asked). */
.decision-tag {
  position: absolute; right: calc(var(--space-4) * -1); bottom: var(--space-5); z-index: 1;
  display: inline-flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--mark, var(--heading)) 44%, var(--ground)); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--mark, var(--heading)) 12%, color-mix(in srgb, var(--heading) 8%, var(--night-deep)));
  box-shadow: 0 1px 2px color-mix(in srgb, var(--night-deep) 50%, transparent), 0 12px 28px -8px color-mix(in srgb, var(--night-deep) 80%, transparent);
  font: 500 13px/30px var(--font-body); letter-spacing: 0; color: var(--heading); white-space: nowrap;
}
.decision-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--mark, color-mix(in srgb, var(--heading) 55%, transparent)); }
.decision-tag.is-allow { --mark: var(--accent-text); }
.decision-tag.is-ask { --mark: var(--accent); }

@media (max-width: 1199px) {
  .code-window__note { display: none; }   /* the branch's name does not fit beside the centred title */
  /* a long line runs out under a short fade, not a hard cut */
  .code-window__body { -webkit-mask-image: linear-gradient(90deg, var(--white) calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, var(--white) calc(100% - 24px), transparent); }
}
@media (max-width: 1023px) {
  .permission-classes { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .permission-classes__lead { padding-bottom: 176px; }
  .permission-classes__glyphs { height: 160px; }
  .permission-classes__lead { grid-row: auto; }
  .permission-class, .permission-class:first-child, .permission-class:nth-child(odd) { border-top: var(--border-w) solid var(--cell-line); border-left: 0; }   /* nth-child(odd) too: its desktop left edge doubled the block's on the third row (30 Nov) */
  .permission-class { grid-row: auto; grid-template-rows: auto auto; }
}
@media (max-width: 767px) {
  .permission-classes__lead { padding: var(--space-5) var(--space-5) 176px; }
  .permission-class__text { padding: var(--space-5) var(--space-5) 0; }
  .permission-class__stage { padding: var(--space-5) var(--space-5) 0; }
  .decision-tag { right: calc(var(--space-2) * -1); }
  .code-window { font-size: 11px; }
}

/* ==========================================================================
   HOW IT IS ENFORCED: one run, played two ways (28 Nov, user). Over Rohit's
   table, one board split in two: at the left, quiet, a rule in a prompt —
   the prompt, the agent's reply, the push that went through, and the two
   things that never happened as empty dashed slots; at the right, in focus,
   the harness running the playbook as a stepper, held at the approval for a
   person (Ember), the push waiting. Markup: build-platform.mjs (ENFORCE_DEMO).
   ========================================================================== */
.enforce-demo {
  --ground: var(--how-teal);
  --board: color-mix(in srgb, var(--heading) 4%, var(--ground));
  --rule: color-mix(in srgb, var(--heading) 10%, transparent);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: var(--space-8);
  border: var(--border-w) solid var(--rule); border-radius: var(--r-box, 6px); overflow: hidden;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--heading) 3%, transparent) 0 var(--border-w), transparent var(--border-w) 24px), var(--board);
}
.enforce-demo__side { display: grid; align-content: start; gap: var(--space-3); min-width: 0; padding: var(--space-6) var(--space-7) var(--space-7); }
.enforce-demo__side + .enforce-demo__side { border-left: var(--border-w) solid var(--rule); }
.enforce-demo__head { margin: 0 0 var(--space-2); font: 500 14px/1.4 var(--font-body); color: var(--ink-muted); }
.enforce-demo__side--platform .enforce-demo__head { color: var(--heading); }
.enforce-demo__tag { display: block; font: 500 12px/1.3 var(--font-body); color: var(--ink-muted); }
.enforce-demo code { padding: 1px 5px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 8%, transparent); font: 500 12px/1.4 var(--font-body); color: inherit; }

/* the prompt side: everything a step quieter */
.enforce-demo__prompt { display: grid; gap: var(--space-1); max-width: 420px; padding: var(--space-3) var(--space-4); border: var(--border-w) solid var(--rule); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 3%, var(--board)); }
.enforce-demo__prompt p, .enforce-demo__reply p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.enforce-demo__reply { display: flex; align-items: center; gap: var(--space-3); }
.enforce-demo__agent { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: var(--border-w) solid var(--rule); border-radius: 50%; color: var(--ink-muted); }
.enforce-demo__agent .icon, .enforce-demo__result .icon { --icon-size: 14px; width: 14px; height: 14px; }
.enforce-demo__result { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); }
.enforce-demo__result span { display: inline-flex; align-items: center; gap: var(--space-1); }
.enforce-demo__missed { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-1) 0 0; padding: 0; list-style: none; }
.enforce-demo__missed li { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--space-3); border: var(--border-w) dashed color-mix(in srgb, var(--heading) 26%, transparent); border-radius: var(--r-box, 6px); font-size: 12px; color: var(--ink-muted); }

/* the platform side: the harness round the run, its steps on one spine */
.enforce-demo__harness { display: grid; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-4); border: var(--border-w) solid color-mix(in srgb, var(--accent-text) 30%, transparent); border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--accent-text) 4%, var(--board)); }
.enforce-demo__harness > .enforce-demo__tag { color: var(--accent-text); }
.enforce-steps { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.enforce-steps li { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 40px; padding: 0 var(--space-3); border: var(--border-w) solid transparent; border-radius: var(--r-box, 6px); font-size: 14px; color: var(--ink); }
.enforce-steps li + li::before { content: ''; position: absolute; left: calc(var(--space-3) + 10.5px); top: -9px; height: 10px; border-left: var(--border-w) solid var(--accent-text); }
.enforce-steps .is-next::before { border-left-style: dashed; border-color: color-mix(in srgb, var(--heading) 34%, transparent); }
.enforce-steps b { font-weight: 400; }
.enforce-steps em { margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-2); font-style: normal; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.enforce-steps__node { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 34%, transparent); border-radius: 50%; background: var(--board); color: var(--accent-text); }
.enforce-steps__node .icon { --icon-size: 12px; width: 12px; height: 12px; }
.enforce-steps .is-done .enforce-steps__node { border-color: color-mix(in srgb, var(--accent-text) 70%, transparent); background: color-mix(in srgb, var(--accent-text) 16%, var(--board)); }
.enforce-steps__node--gate { width: 15px; height: 15px; margin: 0 3.5px; border-radius: 2px; border-color: color-mix(in srgb, var(--heading) 70%, transparent); background: color-mix(in srgb, var(--heading) 9%, var(--board)); rotate: 45deg; }
.enforce-steps__model { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: var(--border-w) solid var(--rule); border-radius: 3px; font-size: 12px; color: var(--ink-muted); }
/* the step in focus: the run holds here */
.enforce-steps .is-now { border-color: color-mix(in srgb, var(--heading) 30%, transparent); background: color-mix(in srgb, var(--heading) 5%, var(--board)); box-shadow: 0 1px 2px color-mix(in srgb, var(--night-deep) 40%, transparent), 0 12px 28px -14px color-mix(in srgb, var(--night-deep) 80%, transparent); }
.enforce-steps .is-now b { font-weight: 500; color: var(--heading); }
.enforce-steps .is-now em { color: var(--heading); }
.enforce-steps__person { display: grid; place-items: center; width: 20px; height: 20px; border: var(--border-w) solid var(--accent); border-radius: 50%; color: var(--accent); }
.enforce-steps__person .icon { --icon-size: 12px; width: 12px; height: 12px; }
.enforce-steps .is-next { color: var(--ink-muted); }
.enforce-steps .is-next .enforce-steps__node { border-style: dashed; }

@media (max-width: 1023px) {
  .enforce-demo { grid-template-columns: minmax(0, 1fr); }
  .enforce-demo__side + .enforce-demo__side { border-left: 0; border-top: var(--border-w) solid var(--rule); }
}
@media (max-width: 767px) {
  .enforce-demo__side { padding: var(--space-5); }
  /* each step's state under its name, so nothing wraps in a narrow row */
  .enforce-steps li { flex-wrap: wrap; row-gap: 2px; padding-block: var(--space-2); }
  .enforce-steps em { flex-basis: 100%; margin-left: calc(22px + var(--space-3)); white-space: normal; }
}

/* ==========================================================================
   HOW IT IS ENFORCED, AFTER ATTIO (28 Nov, user, after attio.com/platform/
   custom-agents' "You choose how it thinks": "light section color … 4 items
   on left with timed progress … box on right, so 2 column grid … clean
   illustration. we can show UI prompt box"). One bordered box on the sand:
   the head and Rohit's four rows as steps at the left, the step in view dark
   with a progress line, the rest quiet; at the right, per step, a prompt box
   with a rule typed into it, quiet, and over it in focus the control that
   does the job. Markup: build-platform.mjs (ENFORCE_ROWS); enforce.js.
   ========================================================================== */
.enforce-box {
  --enforce-time: 6s;
  --edge: color-mix(in srgb, var(--heading) 10%, transparent);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 640px;
  border: var(--border-w) solid var(--edge); border-radius: var(--r-box, 6px); overflow: hidden;
  background: color-mix(in srgb, var(--white) 35%, transparent);
}
.enforce-box__copy { display: grid; grid-template-rows: auto 1fr; gap: var(--space-8); padding: var(--space-7); }
.enforce-box__head h2 { margin: 0; max-width: 15em; }
.enforce-box__intro { margin: var(--space-4) 0 0; max-width: 34em; color: var(--ink); text-wrap: pretty; }   /* sized with every section intro (components.css, TEXT SCALE) */
.enforce-box__list { display: grid; align-content: end; gap: var(--space-2); max-width: 30em; margin: 0; padding: 0; list-style: none; }
.enforce-box__item {
  position: relative; display: grid; gap: var(--space-1); width: 100%;
  padding: var(--space-3) 0 var(--space-4); border: 0; background: none; cursor: pointer;
  font: inherit; text-align: left; color: inherit;
}
.enforce-box__title { font: 500 16px/1.4 var(--font-body); color: var(--ink-muted); transition: color var(--motion-fast, 200ms) ease; }
.enforce-box__line { font-size: 14px; line-height: 1.6; color: var(--ink-muted); opacity: 0.8; transition: color var(--motion-fast, 200ms) ease, opacity var(--motion-fast, 200ms) ease; }
.enforce-box__item:hover .enforce-box__title { color: var(--heading); }
.enforce-box__item.is-active .enforce-box__title { color: var(--heading); }
.enforce-box__item.is-active .enforce-box__line { color: var(--ink); opacity: 1; }
.enforce-box__item:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; border-radius: 3px; }
/* the progress line: a track under each step, filling on the step in view */
.enforce-box__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--edge); overflow: hidden; }
.enforce-box__progress::after { content: ''; position: absolute; inset: 0; background: var(--heading); transform: scaleX(0); transform-origin: left; }
.enforce-box__item.is-active .enforce-box__progress::after { transform: scaleX(1); }
.enforce-box.is-timed .enforce-box__item.is-active .enforce-box__progress::after { animation: enforce-progress var(--enforce-time) linear both; }
.enforce-box.is-paused .enforce-box__item.is-active .enforce-box__progress::after { animation-play-state: paused; }
@keyframes enforce-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the stage: a lighter panel, the scenes in one cell, cropped at its right */
.enforce-box__stage {
  position: relative; display: grid; align-items: center; min-width: 0; overflow: hidden;
  border-left: var(--border-w) solid var(--edge);
  background:
    radial-gradient(60% 50% at 85% 100%, color-mix(in srgb, var(--ill-lime) 22%, transparent), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, color-mix(in srgb, var(--ill-butter) 18%, transparent), transparent 70%),
    color-mix(in srgb, var(--white) 55%, transparent);
}
.enforce-scene {
  grid-area: 1 / 1; display: grid; gap: var(--space-6); padding: var(--space-8) 0 var(--space-8) var(--space-8);
  opacity: 0; transform: translateY(8px); filter: blur(2px); visibility: hidden;
  transition: opacity 260ms var(--motion-ease-out), transform 260ms var(--motion-ease-out), filter 260ms var(--motion-ease-out), visibility 0s 260ms;
  -webkit-mask-image: linear-gradient(90deg, var(--white) calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, var(--white) calc(100% - 64px), transparent);
}
.enforce-scene.is-active { opacity: 1; transform: none; filter: none; visibility: visible; transition-delay: 0s; }
.enforce-scene__label { display: block; margin-bottom: var(--space-2); font: 500 12px/1.3 var(--font-body); color: var(--ink-muted); }
.enforce-scene__label--lit { color: var(--accent-text); }

/* the prompt: the rule typed in, quiet — it is only a request */
.enforce-prompt { width: 400px; max-width: calc(100% - var(--space-6)); opacity: 0.7; }
.enforce-prompt__box { display: grid; gap: var(--space-5); padding: var(--space-4); border: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); border-radius: var(--r-box, 6px); background: var(--white); box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent); }
.enforce-prompt__box p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--heading); }
.enforce-prompt__caret { display: inline-block; width: 1px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--heading); }
.enforce-prompt__tools { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); color: var(--ink-muted); }
.enforce-prompt__tools .icon { --icon-size: 16px; width: 16px; height: 16px; }
.enforce-prompt__send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 12%, transparent); color: var(--heading); }
.enforce-prompt__send .icon { --icon-size: 14px; width: 14px; height: 14px; }
.enforce-prompt__note { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-2) 0 0; font-size: 12px; line-height: 1.4; color: var(--ink-muted); }

/* the control: in focus, a step in and over */
.enforce-control { width: 440px; max-width: calc(100% - var(--space-6)); margin-left: var(--space-8); }
.enforce-card {
  display: grid; gap: var(--space-3); padding: var(--space-4);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: var(--r-box, 6px); background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-4) var(--space-7) color-mix(in srgb, var(--heading) 8%, transparent);
  font-size: 14px; color: var(--ink);
}
.enforce-card__head { padding-bottom: var(--space-3); border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); font: 500 12px/1.3 var(--font-body); color: var(--ink-muted); }
.enforce-card__rows { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.enforce-card__rows li { display: flex; align-items: center; gap: var(--space-3); min-height: 40px; padding: 0 var(--space-3); border-radius: var(--r-box, 6px); color: var(--ink-muted); }
.enforce-card__rows li > span { flex: 1; min-width: 0; }
.enforce-card__rows .icon { --icon-size: 16px; flex: none; width: 16px; height: 16px; }
.enforce-card__rows em { font-style: normal; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.enforce-card__rows .is-focus { border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); background: color-mix(in srgb, var(--heading) 3%, var(--white)); color: var(--heading); }
.enforce-card__rows .is-focus > span { font-weight: 500; }
/* switches: on in Sage, off an outline */
.enforce-toggle { position: relative; flex: none; width: 28px; height: 16px; border-radius: 8px; background: color-mix(in srgb, var(--heading) 14%, transparent); }
.enforce-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 20%, transparent); }
.enforce-toggle.is-on { background: var(--accent-text); }
.enforce-toggle.is-on::after { left: 14px; }
/* steps: nodes on a spine */
.enforce-node { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: var(--border-w) dashed color-mix(in srgb, var(--heading) 34%, transparent); border-radius: 50%; color: var(--accent-text); }
.enforce-node .icon { --icon-size: 12px; width: 12px; height: 12px; }
.enforce-card__rows .is-done .enforce-node { border-style: solid; border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); background: color-mix(in srgb, var(--accent-text) 10%, var(--white)); }
.enforce-card__rows--steps .is-focus em { color: var(--accent-text); }
.enforce-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: 3px; font-size: 12px; font-weight: 500; color: var(--ink); }
.enforce-node--gate { width: 14px; height: 14px; margin: 0 3px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 70%, transparent); border-radius: 2px; background: color-mix(in srgb, var(--heading) 6%, var(--white)); rotate: 45deg; }
/* the approval: the run held, the person it waits on */
.enforce-gate { display: grid; gap: var(--space-3); }
.enforce-gate__step { display: flex; align-items: center; gap: var(--space-3); font-weight: 500; color: var(--heading); }
.enforce-gate__who { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 14px; color: var(--ink); }
.enforce-person { display: grid; place-items: center; width: 22px; height: 22px; border: var(--border-w) solid var(--accent); border-radius: 50%; color: var(--accent); }
.enforce-person .icon { --icon-size: 12px; width: 12px; height: 12px; }
.enforce-gate__actions { display: flex; gap: var(--space-2); margin-top: var(--space-1); }
.enforce-button { display: inline-flex; align-items: center; height: 32px; padding: 0 var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); border-radius: var(--r-box, 6px); font-size: 14px; font-weight: 500; color: var(--heading); }
.enforce-button--main { border-color: var(--heading); background: var(--heading); color: var(--paper); }
/* the record: timed rows */
.enforce-card__rows--log time { flex: none; width: 3em; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.enforce-card__rows--log li > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.enforce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1199px) {
  .enforce-box__copy { padding: var(--space-6); }
  .enforce-scene { padding: var(--space-7) 0 var(--space-7) var(--space-6); }
  .enforce-control { margin-left: var(--space-5); }
}
@media (max-width: 1023px) {
  .enforce-box { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .enforce-box__copy { gap: var(--space-6); }
  .enforce-box__list { max-width: none; }
  .enforce-box__stage { border-left: 0; border-top: var(--border-w) solid var(--edge); min-height: 440px; }
}
@media (max-width: 767px) {
  .enforce-box__copy { padding: var(--space-5); }
  .enforce-scene { gap: var(--space-5); padding: var(--space-6) 0 var(--space-6) var(--space-5); }
  .enforce-control { margin-left: var(--space-4); }
  .enforce-box__stage { min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .enforce-scene { transition: none; transform: none; filter: none; }
  .enforce-box.is-timed .enforce-box__item.is-active .enforce-box__progress::after { animation: none; transform: scaleX(1); }
}
/* the scenes size to the stage, not to their cards */
.enforce-box__stage, .enforce-scene { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) {
  /* on phones nothing is cropped: the prompt and the control fit the width */
  .enforce-scene { padding-right: var(--space-5); -webkit-mask-image: none; mask-image: none; }
  .enforce-prompt, .enforce-control { width: auto; max-width: none; }
  .enforce-control { margin-left: 0; }
}

/* Each step its own drawing (28 Nov, later, user: "why all 4 illustration
   have same design … be creative, only design what makes sense for that
   content"). Over each, his prompt sentence as one quiet line; under it the
   platform's answer as what it is. Played in as each comes up. */
.enforce-scene__prompt { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); max-width: 30em; margin: 0 0 var(--space-6); font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.enforce-scene__prompt b { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-2); border: var(--border-w) dashed color-mix(in srgb, var(--heading) 26%, transparent); border-radius: 3px; font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.enforce-scene { align-content: center; gap: 0; }
.enforce-scene :is(.enforce-map, .enforce-runs, .enforce-pipe, .enforce-log) { --white-edge: color-mix(in srgb, var(--heading) 9%, transparent); --lift: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 7%, transparent); }

/* Access: a connection map; the database has no wire */
.enforce-map { display: block; width: 100%; max-width: 470px; height: auto; overflow: visible; }
.enforce-map use { fill: currentColor; }
.enforce-map__sandbox { fill: color-mix(in srgb, var(--heading) 3%, transparent); stroke: color-mix(in srgb, var(--heading) 28%, transparent); stroke-dasharray: 4 4; }
.enforce-map__node { fill: var(--white); stroke: color-mix(in srgb, var(--heading) 10%, transparent); filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--heading) 6%, transparent)); }
.enforce-map__node--off { fill: none; stroke: color-mix(in srgb, var(--heading) 26%, transparent); stroke-dasharray: 4 4; filter: none; }
.enforce-map__icon { color: var(--heading); }
.enforce-map__icon--off { color: var(--ink-muted); }
.enforce-map__name { font: 500 14px var(--font-body); fill: var(--heading); dominant-baseline: central; }
.enforce-map__name--off { font-weight: 400; fill: var(--ink-muted); }
.enforce-map__small { font: 400 12px var(--font-body); fill: var(--ink-muted); dominant-baseline: central; }
.enforce-map__wire { fill: none; stroke: var(--accent-text); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.enforce-map__on { fill: var(--accent-text); }
.enforce-map__stub { fill: none; stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-dasharray: 3 4; }
.enforce-map__plug { color: var(--ink-muted); }
.enforce-scene--access.is-active .enforce-map__wire { animation: enforce-draw 700ms var(--motion-ease-out) both 120ms; }
@keyframes enforce-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Required checks: runs, one under another; Tests ticked in every row */
.enforce-runs { display: grid; max-width: 470px; border: var(--border-w) solid var(--white-edge); border-radius: var(--r-box, 6px); background: var(--white); box-shadow: var(--lift); overflow: hidden; font-size: 14px; color: var(--ink-muted); }
.enforce-runs__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 132px minmax(0, 0.8fr); align-items: center; min-height: 44px; }
.enforce-runs__row > span { display: flex; align-items: center; gap: var(--space-2); height: 100%; padding: 0 var(--space-3); }
.enforce-runs__row + .enforce-runs__row > span { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 6%, transparent); }
.enforce-runs__row--head { min-height: 40px; font-size: 12px; font-weight: 500; }
.enforce-runs__row:not(.enforce-runs__row--head) > span:first-child { font-size: 12px; font-variant-numeric: tabular-nums; }
.enforce-runs__req { background: color-mix(in srgb, var(--accent-text) 7%, transparent); color: var(--heading); }
.enforce-runs__row--head .enforce-runs__req { box-shadow: inset 0 2px 0 var(--accent-text); }
.enforce-runs__req b { margin-left: auto; padding: 1px 6px; border-radius: 3px; background: var(--accent-text); font-size: 11px; font-weight: 500; color: var(--white); }
.enforce-runs__bar { display: block; width: var(--w); height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 12%, transparent); }
.enforce-runs__tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-text); color: var(--white); }
.enforce-runs__tick .icon { --icon-size: 11px; width: 11px; height: 11px; }
.enforce-runs__row:nth-child(5) { opacity: 0.6; }
.enforce-runs__row:nth-child(6) { opacity: 0.32; }
.enforce-scene--checks.is-active .enforce-runs__tick { animation: enforce-pop 320ms var(--motion-ease-out) both; animation-delay: calc(150ms + var(--k) * 110ms); }
@keyframes enforce-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* Approval: the run's line, filled to the gate and stopped there */
.enforce-pipe { position: relative; display: grid; justify-items: start; gap: var(--space-5); }
.enforce-pipe__steps { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 124px; margin: 0; padding: 0; list-style: none; }
.enforce-pipe__steps::before, .enforce-pipe__steps::after { content: ''; position: absolute; top: 13px; left: 14px; height: 2px; border-radius: 1px; }
.enforce-pipe__steps::before { right: 0; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--heading) 24%, transparent) 0 4px, transparent 4px 8px); }
.enforce-pipe__steps::after { width: 248px; background: var(--accent-text); transform-origin: left; }
.enforce-scene--approval.is-active .enforce-pipe__steps::after { animation: enforce-fill 900ms var(--motion-ease-out) both 120ms; }
@keyframes enforce-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.enforce-pipe__steps li { position: relative; display: grid; justify-items: start; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); }
.enforce-pipe__node { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: var(--border-w) dashed color-mix(in srgb, var(--heading) 30%, transparent); border-radius: 50%; background: var(--paper-band); color: var(--white); }
.enforce-pipe__node .icon { --icon-size: 14px; width: 14px; height: 14px; }
.enforce-pipe__steps .is-done .enforce-pipe__node { border: 0; background: var(--accent-text); }
.enforce-pipe__steps .is-done { color: var(--ink); }
.enforce-pipe__node--gate { width: 20px; height: 20px; margin: 4px; border: 1.5px solid var(--heading); border-radius: 3px; background: var(--white); rotate: 45deg; box-shadow: 0 0 0 6px color-mix(in srgb, var(--heading) 6%, transparent); }
.enforce-pipe__steps .is-gate { font-weight: 500; color: var(--heading); }
/* the request hangs from the gate */
.enforce-pipe__request { position: relative; display: grid; gap: var(--space-3); width: 300px; margin-left: calc(248px - 150px + 14px); padding: var(--space-4); border: var(--border-w) solid var(--white-edge); border-radius: var(--r-box, 6px); background: var(--white); box-shadow: var(--lift); }
.enforce-pipe__request::before { content: ''; position: absolute; left: 50%; bottom: 100%; height: calc(var(--space-5) + 22px); border-left: 1.5px solid var(--heading); }
.enforce-pipe__paused { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.enforce-pipe__who { display: flex; align-items: center; gap: var(--space-3); margin: 0; font-size: 14px; color: var(--ink); }
.enforce-pipe__who > span:last-child { display: grid; }
.enforce-pipe__who b { font-weight: 500; color: var(--heading); }
.enforce-pipe__who .enforce-person { width: 32px; height: 32px; }
.enforce-pipe__who .enforce-person .icon { --icon-size: 16px; width: 16px; height: 16px; }
.enforce-scene--approval.is-active .enforce-pipe__request { animation: enforce-hang 420ms var(--motion-ease-out) both 800ms; }
@keyframes enforce-hang { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Record: the server's log of one run, a step a line */
.enforce-log { display: grid; max-width: 470px; border: var(--border-w) solid var(--white-edge); border-radius: var(--r-box, 6px); background: var(--white); box-shadow: var(--lift); overflow: hidden; }
.enforce-log__server { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); background: color-mix(in srgb, var(--heading) 4%, var(--white)); border-bottom: var(--border-w) solid var(--white-edge); font-size: 12px; font-weight: 500; color: var(--heading); }
.enforce-log__server .icon { --icon-size: 16px; width: 16px; height: 16px; color: var(--ink-muted); }
.enforce-log__server em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--ink-muted); }
.enforce-log ol { position: relative; display: grid; margin: 0; padding: var(--space-3) var(--space-4) var(--space-4); list-style: none; }
.enforce-log ol::before { content: ''; position: absolute; left: calc(var(--space-4) + 3em + var(--space-3) + 3.5px); top: var(--space-5); bottom: var(--space-6); border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); }
.enforce-log li { position: relative; display: grid; grid-template-columns: 3em 8px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); min-height: 36px; font-size: 14px; color: var(--ink); }
.enforce-log time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.enforce-log em { font-style: normal; font-size: 12px; color: var(--ink-muted); }
.enforce-log__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px var(--white); }
.enforce-log .is-person { font-weight: 500; color: var(--heading); }
.enforce-log .is-person .enforce-log__dot { background: var(--accent); box-shadow: 0 0 0 3px var(--white), 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.enforce-scene--record.is-active .enforce-log li { animation: enforce-hang 320ms var(--motion-ease-out) both; animation-delay: calc(120ms + var(--k) * 140ms); }

@media (max-width: 767px) {
  .enforce-pipe__steps { grid-auto-columns: 96px; font-size: 12px; }
  .enforce-pipe__steps::after { width: 192px; }
  .enforce-pipe__request { width: auto; margin-left: 0; margin-right: var(--space-5); }
  .enforce-pipe__request::before { left: calc(192px + 14px); }
  .enforce-runs__row { grid-template-columns: 52px minmax(0, 1fr) 108px; }
  .enforce-runs__row > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .enforce-scene.is-active :is(.enforce-map__wire, .enforce-runs__tick, .enforce-pipe__steps, .enforce-pipe__request, .enforce-log li) { animation: none; }
  .enforce-scene.is-active .enforce-pipe__steps::after { animation: none; }
}
/* the request's line stops under the gate's label, clear of the word */
.enforce-pipe__request::before { height: var(--space-3); }
@media (max-width: 767px) {
  .enforce-runs__row { grid-template-columns: 56px minmax(0, 1fr) 136px; }
  .enforce-log em { display: none; }
  .enforce-log li { grid-template-columns: 3em 8px minmax(0, 1fr); }
  .enforce-pipe__steps { -webkit-mask-image: linear-gradient(90deg, var(--white) 70%, transparent); mask-image: linear-gradient(90deg, var(--white) 70%, transparent); }
}

/* The steps as an accordion (28 Nov, later, user: "only show description
   text for the active item and make each an accordion and smooth. make UI
   better looks bland"): every step its name and a caret; the chosen one
   opens to its line (rows 0fr to 1fr, 420ms on the long ease-out, the line
   fading up with it) while the one before closes, so the list keeps its
   height. The caret turns as it opens. */
.enforce-box__list { gap: 0; }
.enforce-box__item { gap: 0; padding: var(--space-5) 0; }
.enforce-box__title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.enforce-box__title .icon { --icon-size: 16px; flex: none; width: 16px; height: 16px; color: var(--ink-muted); transition: transform 300ms var(--motion-ease-out), color var(--motion-fast, 200ms) ease; }
.enforce-box__item:hover .enforce-box__title .icon { color: var(--heading); }
.enforce-box__item.is-active .enforce-box__title .icon { transform: rotate(180deg); color: var(--heading); }
.enforce-box__more { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-4px); transition: grid-template-rows 420ms var(--motion-ease-out), opacity 300ms var(--motion-ease-out), transform 420ms var(--motion-ease-out); }
.enforce-box__more > span { min-height: 0; overflow: hidden; }
.enforce-box__line { display: block; padding-top: var(--space-2); max-width: 26em; }
.enforce-box__item.is-active .enforce-box__more { grid-template-rows: 1fr; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .enforce-box__more, .enforce-box__title .icon { transition: none; } }

/* Less bland: the stage gets a field of its own — a fine dot grid that
   fades out from the drawing, over a warmer wash (butter at the top left,
   lime and a breath of Sage at the foot) — and the box a cleaner white */
.enforce-box { background: color-mix(in srgb, var(--white) 55%, transparent); box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 4%, transparent), 0 var(--space-4) var(--space-8) color-mix(in srgb, var(--heading) 5%, transparent); }
.enforce-box__stage {
  background:
    radial-gradient(70% 60% at 90% 105%, color-mix(in srgb, var(--ill-lime) 34%, transparent), transparent 70%),
    radial-gradient(45% 40% at 60% 110%, color-mix(in srgb, var(--sage-green) 14%, transparent), transparent 70%),
    radial-gradient(55% 45% at 0% 0%, color-mix(in srgb, var(--ill-butter) 30%, transparent), transparent 70%),
    color-mix(in srgb, var(--paper) 70%, var(--white));
}
.enforce-box__stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--heading) 13%, transparent) 1px, transparent 1.2px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(60% 55% at 45% 55%, var(--white), transparent 100%); mask-image: radial-gradient(60% 55% at 45% 55%, var(--white), transparent 100%);
}
.enforce-scene { position: relative; z-index: 1; }
/* the chosen step on a raised white card, its progress line along the card's
   foot; the others plain rows that tint on hover, no rules between them */
.enforce-box__list { gap: var(--space-1); margin-inline: calc(var(--space-5) * -1); max-width: calc(30em + var(--space-5) * 2); }
.enforce-box__item { padding: var(--space-4) var(--space-5); border: var(--border-w) solid transparent; border-radius: var(--r-box, 6px); transition: background-color var(--motion-fast, 200ms) ease, border-color var(--motion-fast, 200ms) ease, box-shadow var(--motion-fast, 200ms) ease; }
.enforce-box__item:hover { background: color-mix(in srgb, var(--heading) 3%, transparent); }
.enforce-box__item.is-active { border-color: color-mix(in srgb, var(--heading) 9%, transparent); background: var(--white); box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 6%, transparent); }
.enforce-box__progress { left: var(--space-5); right: var(--space-5); bottom: -1px; background: transparent; }
.enforce-box__item.is-active .enforce-box__progress { background: color-mix(in srgb, var(--heading) 8%, transparent); }
.enforce-box__progress::after { background: var(--accent-text); }
.enforce-box__stage::before { background-image: radial-gradient(circle, color-mix(in srgb, var(--heading) 18%, transparent) 1px, transparent 1.3px); -webkit-mask-image: radial-gradient(75% 70% at 45% 55%, var(--white), transparent 100%); mask-image: radial-gradient(75% 70% at 45% 55%, var(--white), transparent 100%); }
@media (max-width: 767px) { .enforce-box__list { margin-inline: calc(var(--space-3) * -1); } .enforce-box__item { padding: var(--space-4) var(--space-3); } .enforce-box__progress { left: var(--space-3); right: var(--space-3); } }
/* The timer as a rail down the card's left edge, not a line under it
   (28 Nov, later, user: "the horizontal progress line is not right try
   something else"): 2px, inset from the card's top and foot, filling top
   to bottom in Sage over the step's 6s; only on the open step. */
.enforce-box__progress { left: -1px; right: auto; top: var(--space-4); bottom: var(--space-4); width: 2px; height: auto; border-radius: 1px; }
.enforce-box__progress::after { transform: scaleY(0); transform-origin: top; }
.enforce-box__item.is-active .enforce-box__progress::after { transform: scaleY(1); }
.enforce-box.is-timed .enforce-box__item.is-active .enforce-box__progress::after { animation-name: enforce-progress-rail; }
@keyframes enforce-progress-rail { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 767px) { .enforce-box__progress { left: -1px; right: auto; } }
@media (prefers-reduced-motion: reduce) { .enforce-box.is-timed .enforce-box__item.is-active .enforce-box__progress::after { animation: none; transform: scaleY(1); } }
/* the run log's systems by their own marks (one colour, muted) */
.enforce-log em { display: inline-flex; align-items: center; gap: 6px; }
.enforce-log em :is(.brand-mark, .icon) { --icon-size: 12px; width: 12px; height: 12px; flex: none; color: var(--ink-muted); }

/* The steps in fingerprint.com's "What we solve" make (28 Nov, later, user:
   "check fingerprint.com's What we solve section accordion, its white fill
   and icons"): one white block across the left column's foot, edge to edge,
   rows split by dashed hairlines, no card on the chosen one; each row a 28px
   white icon tile (a hairline edge, a soft shadow, the icon in Sage B900),
   the name, and a Sage caret at the right; the line opens under the name,
   in line with it. The timer's rail stays on the open row's left edge.
   An agreed use of icons beside text: the steps are controls. */
.enforce-box__copy { padding-bottom: 0; }
.enforce-box__list {
  gap: 0; max-width: none; margin: 0 calc(var(--space-7) * -1);
  border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 16%, transparent);
  background: var(--white);
}
.enforce-box__list li + li { border-top: var(--border-w) dashed color-mix(in srgb, var(--heading) 16%, transparent); }
.enforce-box__item, .enforce-box__item.is-active { padding: var(--space-5) var(--space-7); border: 0; border-radius: 0; background: none; box-shadow: none; }
.enforce-box__item:hover { background: color-mix(in srgb, var(--heading) 2%, var(--white)); }
.enforce-box__title { justify-content: flex-start; gap: var(--space-3); }
.enforce-box__name { flex: 1; }
.enforce-box__tile { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 9%, transparent); border-radius: var(--r-box, 6px); background: var(--white); box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 7%, transparent); color: var(--accent-text); }
.enforce-box__tile .icon { --icon-size: 16px; width: 16px; height: 16px; }
.enforce-box__title > .icon, .enforce-box__item:hover .enforce-box__title > .icon, .enforce-box__item.is-active .enforce-box__title > .icon { color: var(--accent-text); }
.enforce-box__line { padding-left: calc(28px + var(--space-3)); max-width: calc(26em + 40px); }
.enforce-box__progress { left: 0; top: 0; bottom: 0; }
.enforce-box__item.is-active .enforce-box__progress { background: color-mix(in srgb, var(--heading) 6%, transparent); }
@media (max-width: 1199px) { .enforce-box__list { margin-inline: calc(var(--space-6) * -1); } .enforce-box__item, .enforce-box__item.is-active { padding-inline: var(--space-6); } }
@media (max-width: 767px) { .enforce-box__list { margin-inline: calc(var(--space-5) * -1); } .enforce-box__item, .enforce-box__item.is-active { padding: var(--space-4) var(--space-5); } .enforce-box__progress { left: 0; } }
/* only the caret turns; the tile's icon stays put, in Sage */
.enforce-box__item .enforce-box__tile .icon, .enforce-box__item:hover .enforce-box__tile .icon, .enforce-box__item.is-active .enforce-box__tile .icon { transform: none; transition: none; color: var(--accent-text); }

/* The prompt line as one piece of UI, in one place (28 Nov, later, user:
   "this thing can have consistency in a UI"): a small prompt field pinned to
   the top of every scene — the "In a prompt" tag, his sentence, a send
   button — as wide as the drawings (470px at most); the drawing takes the
   room under it, centred there. Only the sentence changes from step to step. */
.enforce-box__stage { align-items: stretch; }
.enforce-scene { grid-template-rows: auto 1fr; align-content: stretch; padding-top: var(--space-8); }
.enforce-scene > :last-child { align-self: center; }
.enforce-scene__prompt {
  display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-3);
  width: 100%; max-width: 470px; min-height: 48px; margin: 0; padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 10%, transparent); border-radius: var(--r-box, 6px); background: var(--white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent);
}
.enforce-scene__prompt b { flex: none; }
.enforce-scene__prompt p { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.enforce-scene__send { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--r-box, 6px); background: color-mix(in srgb, var(--heading) 8%, transparent); color: var(--ink-muted); }
.enforce-scene__send .icon { --icon-size: 14px; width: 14px; height: 14px; }
@media (max-width: 1199px) { .enforce-scene { padding-top: var(--space-7); } }
@media (max-width: 767px) { .enforce-scene { padding-top: var(--space-6); } .enforce-scene > :last-child { margin-top: var(--space-6); } .enforce-scene__prompt { flex-wrap: wrap; } }

/* Shorter, and the prompt in the step (28 Nov, later, user: "can we shrink
   the height of this section? the in a prompt is not really working out"):
   no minimum height, tighter spacing; his prompt sentence leaves the stage
   and sits in the open step under his platform sentence, a step quieter
   ("In a prompt:" and the sentence, as his table's two columns), so each
   drawing stands alone, centred in the stage. */
.enforce-box { min-height: 0; }
.enforce-box__copy { gap: var(--space-7); padding-top: var(--space-7); }
.enforce-box__item, .enforce-box__item.is-active { padding-block: var(--space-4); }
.enforce-box__stage { align-items: center; }
.enforce-scene { grid-template-rows: auto; align-content: center; padding-block: var(--space-7); }
.enforce-scene > :last-child { margin-top: 0; }
.enforce-box__prompt { display: block; padding: var(--space-2) 0 0 calc(28px + var(--space-3)); max-width: calc(26em + 40px); font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.enforce-box__prompt b { font-weight: 500; }
@media (max-width: 1199px) { .enforce-box__copy { padding-top: var(--space-6); gap: var(--space-6); } .enforce-scene { padding-block: var(--space-6); } }
@media (max-width: 767px) { .enforce-box__copy { padding-top: var(--space-5); } .enforce-box__prompt { padding-left: calc(28px + var(--space-3)); } }

/* ==========================================================================
   HOW IT IS ENFORCED, AFTER FRIGADE (28 Nov, later, user: "check frigade.com
   From answer to action section"; shorter, the prompt in the step). The
   section head above the block; at the left the steps as cells, at the
   right the stage. Scoped to .enforce-box--cells (the sketches keep theirs).
   ========================================================================== */
.enforce-box--cells { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); min-height: 0; background: var(--white); }
.enforce-box--cells .enforce-box__list { display: grid; align-content: stretch; gap: 0; max-width: none; margin: 0; border: 0; background: none; }
.enforce-box--cells .enforce-box__list li + li { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); }
.enforce-box--cells .enforce-box__list li { display: grid; }
.enforce-box--cells .enforce-box__item, .enforce-box--cells .enforce-box__item.is-active { display: grid; align-content: center; gap: 0; padding: var(--space-5) var(--space-6); border: 0; border-radius: 0; background: none; box-shadow: none; }
.enforce-box--cells .enforce-box__item:hover { background: color-mix(in srgb, var(--heading) 2%, var(--white)); }
.enforce-box--cells .enforce-box__item.is-active { background: color-mix(in srgb, var(--accent-text) 5%, var(--white)); }
.enforce-cell__label { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--ink-muted); transition: color var(--motion-fast, 200ms) ease; }
.enforce-box--cells .enforce-box__tile { width: 24px; height: 24px; }
.enforce-box--cells .enforce-box__tile .icon { --icon-size: 14px; width: 14px; height: 14px; color: var(--ink-muted); }
.enforce-box--cells .is-active .enforce-cell__label { color: var(--accent-text); }
.enforce-box--cells .is-active .enforce-box__tile .icon { color: var(--accent-text); }
.enforce-cell__title { display: block; margin-top: var(--space-3); font: 500 16px/1.45 var(--font-body); letter-spacing: var(--text-tracking); color: var(--ink-muted); text-wrap: pretty; transition: color var(--motion-fast, 200ms) ease; }
.enforce-box--cells .enforce-box__item:hover .enforce-cell__title { color: var(--ink); }
.enforce-box--cells .is-active .enforce-cell__title { color: var(--heading); }
.enforce-cell__prompt { display: block; padding-top: var(--space-2); font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.enforce-cell__prompt b { font-weight: 500; color: var(--ink); }
/* the timer: a Sage rail the chosen cell's full height, at the block's left */
.enforce-box--cells .enforce-box__progress { left: 0; right: auto; top: 0; bottom: 0; width: 2px; background: transparent; }
.enforce-box--cells .enforce-box__item.is-active .enforce-box__progress { background: color-mix(in srgb, var(--accent-text) 16%, transparent); }
/* the stage at the right, the drawing centred in it */
.enforce-box--cells .enforce-box__stage { min-height: 440px; align-items: center; }
.enforce-box--cells .enforce-scene { padding: var(--space-7) 0 var(--space-7) var(--space-8); }
@media (max-width: 1199px) {
  .enforce-box--cells { grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); }
  .enforce-box--cells .enforce-scene { padding-left: var(--space-6); }
}
@media (max-width: 1023px) {
  .enforce-box--cells { grid-template-columns: minmax(0, 1fr); }
  .enforce-box--cells .enforce-box__stage { min-height: 400px; }
}
@media (max-width: 767px) {
  .enforce-box--cells .enforce-box__item, .enforce-box--cells .enforce-box__item.is-active { padding: var(--space-4) var(--space-5); }
  .enforce-box--cells .enforce-scene { padding: var(--space-6) var(--space-5); }
}

/* ==========================================================================
   HOW IT IS ENFORCED: THE DRAWINGS, AFTER TAILARK (28 Nov, later, user: "fix
   the illustrations, content not connecting, some not centered, and also too
   monochrome … if we have too much space, we can do 50-50 … the dotted grid
   background is not working out … study pro.tailark.com/illustrations").
   A plain light stage; crisp white cards (8px inside the drawings, a
   hairline edge, a soft shadow) with faint ghost cards stacked behind the
   main one; colour in small tinted pills — lime for on and passed, butter
   for a person waiting — and a dark hub where the wires meet. Each drawing
   centred in its stage. Markup: build-platform.mjs (ENFORCE_ART).
   ========================================================================== */
.enforce-box--cells { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.enforce-box--cells .enforce-box__stage { background: radial-gradient(70% 60% at 85% 110%, color-mix(in srgb, var(--ill-lime) 16%, transparent), transparent 70%), color-mix(in srgb, var(--paper) 60%, var(--white)); }
.enforce-box--cells .enforce-box__stage::before { display: none; }
.enforce-box--cells .enforce-scene { justify-items: center; padding: var(--space-7) var(--space-6); -webkit-mask-image: none; mask-image: none; }
.enforce-box--cells .enforce-scene > * { width: 100%; max-width: 470px; }

/* shared parts */
.enf-card { position: relative; border: var(--border-w) solid color-mix(in srgb, var(--heading) 9%, transparent); border-radius: 8px; background: var(--white); box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 5%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 7%, transparent); }
.enf-stack { isolation: isolate; }
.enf-stack::before, .enf-stack::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 40px; z-index: -1; border: var(--border-w) solid color-mix(in srgb, var(--heading) 8%, transparent); border-radius: 8px; background: var(--white); }
.enf-stack::before { transform: translateY(-8px) scaleX(0.94); opacity: 0.8; }
.enf-stack::after { transform: translateY(-15px) scaleX(0.88); opacity: 0.5; }
.enf-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: var(--border-w) solid color-mix(in srgb, var(--heading) 7%, transparent); font-size: 13px; font-weight: 500; color: var(--heading); }
.enf-card__head > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.enf-card__head .icon { --icon-size: 16px; width: 16px; height: 16px; color: var(--ink-muted); }
.enf-pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.enf-pill .icon { --icon-size: 12px; width: 12px; height: 12px; }
.enf-pill--on { background: color-mix(in srgb, var(--ill-lime) 30%, var(--white)); color: var(--sage-ink); }
.enf-pill--on .icon { color: var(--sage-ink); }
.enf-pill--wait { background: color-mix(in srgb, var(--ill-butter) 40%, var(--white)); color: color-mix(in srgb, var(--ill-flame) 80%, var(--heading)); }
.enf-pill--wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.enf-bar { display: block; width: var(--w); height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--heading) 10%, transparent); }

/* Access: the hub and the cards; the database has no wire */
.enf-map { display: block; height: auto; overflow: visible; }
.enf-map use, .enf-map svg { fill: currentColor; }
.enf-map__halo { fill: none; stroke: color-mix(in srgb, var(--heading) 8%, transparent); }
.enf-map__hub { fill: var(--heading); filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--heading) 22%, transparent)); }
.enf-map__hub-icon { color: var(--white); }
.enf-map__card { fill: var(--white); stroke: color-mix(in srgb, var(--heading) 9%, transparent); filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--heading) 6%, transparent)); }
.enf-map__card--off { fill: color-mix(in srgb, var(--heading) 2%, transparent); stroke: color-mix(in srgb, var(--heading) 24%, transparent); stroke-dasharray: 4 4; filter: none; }
.enf-map__logo { color: var(--heading); }
.enf-map__icon-off, .enf-map__plug { color: var(--ink-muted); }
.enf-map__name { font: 500 14px var(--font-body); fill: var(--heading); dominant-baseline: central; }
.enf-map__name--off { font-weight: 400; fill: var(--ink-muted); }
.enf-map__name--mid { text-anchor: middle; }
.enf-map__small { font: 400 12px var(--font-body); fill: var(--ink-muted); dominant-baseline: central; }
.enf-map__chip { fill: color-mix(in srgb, var(--ill-lime) 30%, var(--white)); }
.enf-map__chip-text { font: 500 12px var(--font-body); fill: var(--sage-ink); text-anchor: middle; dominant-baseline: central; }
.enf-map__wire { fill: none; stroke: var(--accent-text); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 0; }
.enf-map__end { fill: var(--accent-text); }
.enf-map__stub { fill: none; stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-dasharray: 3 4; }
.enforce-scene--access.is-active .enf-map__wire { animation: enforce-draw 700ms var(--motion-ease-out) both 120ms; }

/* Required checks: the playbook's runs, Tests passed in every one */
.enf-runs { font-size: 13px; color: var(--ink-muted); }
.enf-runs__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 140px; align-items: center; min-height: 42px; }
.enf-runs__row > span { display: flex; align-items: center; gap: var(--space-2); height: 100%; padding: 0 var(--space-4); }
.enf-runs__row + .enf-runs__row > span { border-top: var(--border-w) solid color-mix(in srgb, var(--heading) 6%, transparent); }
.enf-runs__row--head { min-height: 36px; font-size: 12px; font-weight: 500; }
.enf-runs__row:not(.enf-runs__row--head) > span:first-child { font-variant-numeric: tabular-nums; }
.enf-runs__req { background: color-mix(in srgb, var(--ill-lime) 9%, transparent); color: var(--heading); }
.enf-runs__row--head .enf-runs__req b { margin-left: auto; padding: 1px 6px; border-radius: 4px; background: var(--sage-ink); font-size: 11px; font-weight: 500; color: var(--white); }
.enf-runs__row:nth-child(6) { opacity: 0.6; }
.enf-runs__row:nth-child(7) { opacity: 0.32; }
.enf-runs__row:last-child > span:last-child { border-bottom-right-radius: 8px; }
.enforce-scene--checks.is-active .enf-runs__row .enf-pill { animation: enforce-pop 320ms var(--motion-ease-out) both; animation-delay: calc(150ms + var(--k) * 110ms); }

/* Approval: the run stopped at the gate, the request hanging from it */
.enf-pipe { --col: 128px; display: grid; justify-items: center; }
.enf-pipe__steps { position: relative; display: grid; grid-template-columns: repeat(4, var(--col)); margin: 0; padding: 0; list-style: none; }
.enf-pipe__steps::before, .enf-pipe__steps::after { content: ''; position: absolute; top: 45px; left: calc(var(--col) / 2); height: 2px; border-radius: 1px; }
.enf-pipe__steps::before { right: calc(var(--col) / 2); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--heading) 24%, transparent) 0 4px, transparent 4px 8px); }
.enf-pipe__steps::after { width: calc(var(--col) * 2); background: var(--accent-text); transform-origin: left; }
.enforce-scene--approval.is-active .enf-pipe__steps::after { animation: enforce-fill 900ms var(--motion-ease-out) both 120ms; }
.enf-pipe__steps li { display: grid; justify-items: center; gap: var(--space-3); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.enf-pipe__steps .is-done { color: var(--ink); }
.enf-pipe__steps .is-gate { font-weight: 500; color: var(--heading); }
.enf-pipe__node { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: var(--border-w) dashed color-mix(in srgb, var(--heading) 30%, transparent); border-radius: 50%; background: var(--white); color: var(--white); }
.enf-pipe__node .icon { --icon-size: 14px; width: 14px; height: 14px; }
.enf-pipe__steps .is-done .enf-pipe__node { border: 0; background: var(--accent-text); }
.enf-pipe__node--gate { width: 20px; height: 20px; margin: 4px; border: 1.5px solid var(--heading); border-radius: 3px; rotate: 45deg; box-shadow: 0 0 0 6px color-mix(in srgb, var(--ill-butter) 40%, transparent); }
.enf-pipe__request { display: grid; justify-items: start; gap: var(--space-3); width: 288px; margin-top: var(--space-6); margin-left: calc(var(--col) * 1); padding: var(--space-4); }
.enf-pipe__request > .enf-pill { position: relative; z-index: 1; }
/* the line from the gate down to the card's top */
.enf-pipe__request { box-sizing: border-box; }
.enf-pipe::after { content: ''; position: absolute; }
.enf-pipe { position: relative; }
.enf-pipe::before { content: ''; position: absolute; top: 60px; left: calc(50% + var(--col) * 0.5); height: var(--space-6); border-left: 1.5px solid var(--heading); }
.enf-pipe__who { display: flex; align-items: center; gap: var(--space-3); margin: 0; font-size: 13px; color: var(--ink-muted); }
.enf-pipe__who > span:last-child { display: grid; }
.enf-pipe__who b { font-size: 14px; font-weight: 500; color: var(--heading); }
.enf-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--ill-butter) 45%, var(--white)); color: color-mix(in srgb, var(--ill-flame) 85%, var(--heading)); }
.enf-avatar .icon { --icon-size: 16px; width: 16px; height: 16px; }
.enf-pipe__actions { display: flex; gap: var(--space-2); }
.enf-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 var(--space-3); border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--heading); }
.enf-btn--main { border-color: var(--heading); background: var(--heading); color: var(--paper); }
.enforce-scene--approval.is-active .enf-pipe__request { animation: enforce-hang 420ms var(--motion-ease-out) both 800ms; }

/* Record: the server's log, the spine through every dot */
.enf-log ol { position: relative; display: grid; margin: 0; padding: var(--space-2) var(--space-2) var(--space-3); list-style: none; font-size: 13px; }
.enf-log ol::before { content: ''; position: absolute; left: calc(var(--space-2) + var(--space-3) + 40px + var(--space-3) + 4px - 0.5px); top: 26px; bottom: 30px; border-left: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent); }
.enf-log li { position: relative; display: grid; grid-template-columns: 40px 8px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); min-height: 38px; padding: 0 var(--space-3); border-radius: 6px; color: var(--ink); }
.enf-log time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.enf-log__dot { position: relative; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 3px var(--white); }
.enf-log__sys { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 9%, transparent); border-radius: 4px; font-style: normal; font-size: 12px; color: var(--ink-muted); }
.enf-log__sys :is(.brand-mark, .icon) { --icon-size: 12px; width: 12px; height: 12px; flex: none; color: var(--heading); }
.enf-log .is-person { background: color-mix(in srgb, var(--ill-butter) 26%, var(--white)); font-weight: 500; color: var(--heading); }
.enf-log .is-person .enf-log__dot { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ill-butter) 26%, var(--white)); }
.enf-log .is-person .enf-log__sys { background: var(--white); }
.enforce-scene--record.is-active .enf-log li { animation: enforce-hang 320ms var(--motion-ease-out) both; animation-delay: calc(120ms + var(--k) * 140ms); }

@media (max-width: 767px) {
  .enf-pipe { --col: 76px; }
  .enf-pipe__steps li { font-size: 11px; }
  .enf-pipe__request { width: 100%; margin-left: 0; }
  .enf-runs__row { grid-template-columns: 60px minmax(0, 1fr) 112px; }
  .enf-log__sys { display: none; }
  .enf-log li { grid-template-columns: 40px 8px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .enforce-scene.is-active :is(.enf-map__wire, .enf-runs__row .enf-pill, .enf-pipe__request, .enf-log li) { animation: none; }
  .enforce-scene.is-active .enf-pipe__steps::after { animation: none; }
}
/* ghosts behind the card, not over it: they join the scene's stacking
   context (the scene is one: it fades), so they paint under the card */
.enf-stack { isolation: auto; }
.enforce-scene { isolation: isolate; }
/* the request centred under the gate (column 3 of 4), the line from the
   gate's lower tip down to the card's top */
.enf-pipe { width: calc(var(--col) * 4); max-width: none !important; justify-items: start; }
.enf-pipe__request { justify-self: start; margin-left: calc(var(--col) * 2.5 - 144px); }
.enf-pipe::before { top: 60px; left: calc(var(--col) * 2.5 - 0.75px); height: var(--space-6); }
@media (max-width: 767px) {
  .enf-pipe { width: calc(var(--col) * 4); }
  .enf-pipe__request { width: 240px; margin-left: calc(var(--col) * 2.5 - 120px); }
}
.enforce-box--cells .enforce-scene > .enf-pipe { width: calc(var(--col) * 4); max-width: none; }
/* 50-50 only from 1024; one column below, the stage under the cells */
@media (max-width: 1023px) { .enforce-box--cells { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .enforce-box--cells .enforce-scene { padding: var(--space-6) var(--space-4); } .enf-map { max-width: 100%; } }

/* Words inside the Models drawings in Inter (28 Nov, the illustration
   audit): the panel heads, counts and the Task tag, sentence case */
:root .platform-models .platform-flow__head .label, :root .platform-models .label.platform-models__name { font: 500 12px/1.4 var(--font-body); letter-spacing: 0; text-transform: none; }
:root .platform-models .platform-flow__count { font: 500 12px/1 var(--font-body); letter-spacing: 0; }
:root .platform-models__task { font: 500 11px/1.4 var(--font-body); letter-spacing: 0; text-transform: none; }
:root .platform-models__cards .label, :root .platform-models__card .label { font: 500 12px/1.4 var(--font-body); letter-spacing: 0; text-transform: none; }
/* the text floor (28 Nov, illustration audit): nothing in a drawing under 11px */
.bento-form__text--label { font-size: 11px; }
/* Plain grounds in drawings (28 Nov, illustration audit, after Tailark: no
   textures, the same call as the dot grid): the boards' vertical hairlines
   and the Models cards' leftover colour glows go (the Problems cards lost
   theirs on 27 Nov), with the drop shadow those cards carry instead */
.anatomy__art, .enforce-demo { background: var(--board); }
.platform-models__art::after { display: none; }
.platform-models__art { box-shadow: 0 1px 2px color-mix(in srgb, var(--night-deep) 60%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--night-deep) 55%, transparent); }

/* Lines that land (28 Nov, illustration audit). The boards: no chevrons
   floating on the dividers; the trigger's lit line runs to the divider and
   ends on a port there (the run passes on to the steps); the laptop's line
   ends in an open dot short of the server, not a stray tick. */
.anatomy--min .anatomy__item + .anatomy__item .anatomy__art::before { content: none; }
.anatomy--min .mini-fire { position: relative; width: calc(100% + var(--space-5) * 2); margin: 0 calc(-1 * var(--space-5)); }
.anatomy--min .mini-fire::after { content: ''; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); translate: 0 -50%; box-shadow: 0 0 0 3px var(--board); }
.mini-zone__stop { position: relative; border-right: 0; }
.mini-zone__stop::after { content: ''; position: absolute; right: -2px; top: -4px; width: 7px; height: 7px; border: var(--border-w) solid color-mix(in srgb, var(--heading) 45%, transparent); border-radius: 50%; background: var(--board); }
/* people a size up, so the person reads: the rings at 26px */
.anatomy-pick__ring, .anatomy-approve__agent { width: 26px; height: 26px; margin: 0; }
.anatomy-pick__ring .icon, .anatomy-approve__agent .icon { --icon-size: 14px; width: 14px; height: 14px; }
.mini-doc__by { gap: var(--space-2); }
.platform-models .platform-flow__ring.is-person { width: 26px; height: 26px; background: color-mix(in srgb, var(--accent) 12%, var(--ground)); }
.platform-models .platform-flow__ring.is-person .icon { --icon-size: 13px; width: 13px; height: 13px; }
/* the Enterprise card's gate says whose it is */
.platform-models__signoff { position: absolute; top: 50%; left: calc(var(--space-4) + 28px + 64px); translate: 0 -50%; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--ink-muted); white-space: nowrap; }
/* 6px corners, the brand's (28 Nov, illustration audit: the How it is
   enforced drawings had taken 8px) */
.enf-card, .enf-stack::before, .enf-stack::after { border-radius: var(--r-box, 6px); }
.enf-map__card { rx: 6; }

/* THE SUPABASE PASS (28 Nov, user: "apply"; after supabase.com — on dark,
   green is a small accent, never a fill, never everywhere).
   Models: the harness station, its wire, the systems tree, the hub's edge
   and the system tiles go grey; the small checks, the one routed model and
   its Task tag keep the green; the meters' used parts grey; Pilot grey. */
.platform-models__station { border-color: color-mix(in srgb, var(--heading) 16%, transparent); background: color-mix(in srgb, var(--heading) 6%, var(--ground)); color: var(--ink-muted); }
.platform-models__wire { background: color-mix(in srgb, var(--heading) 28%, transparent); }
.platform-models__systems li::before { border-color: color-mix(in srgb, var(--heading) 26%, transparent); }
.platform-models__hub { border-color: color-mix(in srgb, var(--heading) 20%, transparent); }
.platform-models__tile { background: color-mix(in srgb, var(--heading) 8%, transparent); color: var(--ink-muted); }
.platform-models__meter i.is-lit { background: color-mix(in srgb, var(--heading) 40%, transparent); }
.platform-models__zone.platform-flow__panel { border-color: color-mix(in srgb, var(--heading) 16%, transparent); }
.platform-models__zone .platform-flow__head .icon { color: var(--ink-muted); }
/* From playbooks to agents and apps: only Your own lit; the rest grey */
.platform-example--next .platform-example__run li:not(.is-lit) { border-color: color-mix(in srgb, var(--heading) 12%, transparent); }
.platform-example--next .platform-example__run li:not(.is-lit) .icon { color: var(--ink-muted); }
.platform-example--next .platform-example__run li + li::before,
.platform-example--next .platform-example__run li:nth-child(2)::after,
.platform-example--next .platform-example__run li:nth-child(n+3)::before { border-color: color-mix(in srgb, var(--heading) 28%, transparent); }
/* Playbooks board: the trigger firing and the running check keep the green;
   the done steps are quiet grey nodes on a grey spine, the halo smaller,
   the Findings sheet's edge grey (its one made line stays Sage) */
.anatomy--min .mini-stepper .is-done .mini-stepper__node { border-color: color-mix(in srgb, var(--heading) 30%, transparent); background: color-mix(in srgb, var(--heading) 6%, var(--board)); color: var(--ink-muted); }
.anatomy--min .mini-stepper li + li::before { border-left-color: color-mix(in srgb, var(--heading) 26%, transparent); }
.anatomy--min .mini-fire__spark { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-text) 5%, transparent); }
.anatomy--min .mini-doc__sheet { border-color: color-mix(in srgb, var(--heading) 16%, transparent); }
/* Governance bento. Policy: allowed calls in quiet greys (four strengths),
   Ask in Ember, Deny dashed; the legend's Allow swatch and the cell in focus
   are the only green. Service accounts: the read wires grey, the badge
   green. Headless: the run bars grey, their small checks and dots green. */
.platform-bento__art--policy .bento-form__box--cell-allow { fill: color-mix(in srgb, var(--heading) 10%, transparent); stroke: color-mix(in srgb, var(--heading) 16%, transparent); }
.platform-bento__art--policy .bento-form__box--a1 { fill: color-mix(in srgb, var(--heading) 15%, transparent); }
.platform-bento__art--policy .bento-form__box--a2 { fill: color-mix(in srgb, var(--heading) 6%, transparent); }
.platform-bento__art--policy .bento-form__box--a3 { fill: color-mix(in srgb, var(--heading) 20%, transparent); stroke: color-mix(in srgb, var(--heading) 26%, transparent); }
.platform-bento__art--policy .bento-form__box--cell-allow:not([class*="--a"]) { fill: color-mix(in srgb, var(--accent-text) 30%, transparent); stroke: var(--accent-text); }
.platform-bento__art--policy .bento-form__box--focus { fill: color-mix(in srgb, var(--accent-text) 30%, transparent); stroke: var(--accent-text); }
.platform-bento__art--service .bento-form__line--lit { stroke: color-mix(in srgb, var(--heading) 34%, transparent); }
.platform-bento__art--headless .bento-form__box--row { fill: color-mix(in srgb, var(--heading) 8%, transparent); stroke: color-mix(in srgb, var(--heading) 22%, transparent); }
/* the systems tree: spine and turns grey (the rules above are more specific) */
.platform-models .platform-models__systems::before { border-left-color: color-mix(in srgb, var(--heading) 28%, var(--ground)); }
.platform-models .platform-models__systems li:not(.is-open)::before { border-color: color-mix(in srgb, var(--heading) 28%, var(--ground)); }
/* headless: the run bars grey, their checks and start dots stay green */
.platform-bento__art--headless .bento-form__box--run { fill: color-mix(in srgb, var(--heading) 9%, transparent); stroke: color-mix(in srgb, var(--heading) 24%, transparent); }
/* Governance hero: the glyphs reach the top now (data-top), so they fade
   out under the header bar, keeping the logo and menu clear */
.platform-hero--glyphs .hero__glyphs { -webkit-mask-image: linear-gradient(transparent var(--nav-h), var(--white) calc(var(--nav-h) + var(--space-8))); mask-image: linear-gradient(transparent var(--nav-h), var(--white) calc(var(--nav-h) + var(--space-8))); }

/* GOVERNANCE HERO: CALLS DECIDED (28 Nov, user: "once you load a page, some
   UI elements come in then the hero heading appears"; policy-hero.js). Six
   tool calls drop in round the middle, each decided, then move out to the
   edges as the heading comes up; one at a time is then replaced and decided.
   Reworked later the same day (user: "I don't see the glyph matrix … improve
   the UI of the multiple elements … are they right?"): the glyph matrix
   stays behind them at every width (it was hidden from 1360px), each call is
   a small card — an icon for its class in a quiet tile (eye Read, pencil
   Write in sandbox, arrow-out Write external), the class over the call —
   with Rohit's decision in his words on a footer line under a hairline: a
   Sage dot for Allow without a prompt, Ember for Ask once and remember and
   Ask every time (a person is asked), a hollow square and the call struck
   for Deny; "Checking policy" with a pulsing dot until decided. The edge
   slots sit at different depths (opacity and scale), so they read as
   layers. From 1360px (the sides need room beside the 720px copy). */
.platform-hero--policy .platform-hero__head { position: relative; z-index: 2; }
.policy-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; }
@media (min-width: 1360px) {
  .policy-field { display: block; }
  .platform-hero--policy .hero__glyphs { opacity: 0.85; }
}
/* 29 Nov (user: the cards looked "like basic UI chip with icon and text …
   every single thing looks the same"): each class of call its own object, in
   the diagram language, the call itself as code (IBM Plex Mono, code in a
   drawing). Read: the query over the rows it brought back, one a hit. Write
   in sandbox: the change inside the sandbox's dashed wall, a line out and a
   line in. Write external: the call inside the wall, a wire through the
   wall to the system it changes, the gate's diamond on the wall. The
   decision is a stamp over the card's foot, in Rohit's words. Greys carry
   it; Sage marks what went through, Ember where a person is asked; the
   newest call is in focus and the settled ones sit back. */
.policy-call {
  --line: color-mix(in srgb, var(--heading) 11%, transparent);
  --bar: color-mix(in srgb, var(--heading) 12%, transparent);
  position: absolute; left: var(--cx); top: var(--cy);
  display: flex; flex-direction: column; gap: var(--space-2);
  width: 224px; padding: var(--space-3) 14px 20px; translate: -50% -50%;
  border: var(--border-w) solid var(--line); border-radius: var(--r-box, 6px);
  background: color-mix(in srgb, var(--heading) 4%, var(--night-deep));
  box-shadow: 0 1px 2px color-mix(in srgb, var(--night-deep) 50%, transparent), 0 16px 40px -16px color-mix(in srgb, var(--night-deep) 90%, transparent);
  font-family: var(--font-body);
  opacity: 0; scale: 0.96; filter: blur(3px);
  transition: opacity 320ms var(--motion-ease-out), scale 320ms var(--motion-ease-out), filter 320ms var(--motion-ease-out), border-color 320ms var(--motion-ease), left 900ms var(--motion-ease-out), top 900ms var(--motion-ease-out);
}
.policy-call--external { width: 320px; }
.policy-call.is-in { opacity: 1; scale: 1; filter: none; }
.policy-field.is-settled .policy-call { left: var(--x); top: var(--y); }
/* settled calls sit back by their contents, not the whole card, so the card
   stays solid and the glyph field never shows through it */
.policy-field.is-settled .policy-call.is-in { scale: var(--s, 1); }
.policy-call :is(.policy-call__body > *, .policy-call__tag) { transition: opacity 320ms var(--motion-ease); }
.policy-field.is-settled .policy-call.is-in :is(.policy-call__body > *, .policy-call__tag) { opacity: var(--o, 0.55); }
.policy-field.is-settled .policy-call.is-in.is-fresh { scale: 1; border-color: color-mix(in srgb, var(--heading) 22%, transparent); }
.policy-field.is-settled .policy-call.is-in.is-fresh :is(.policy-call__body > *, .policy-call__tag) { opacity: 1; }
.policy-call__body { display: contents; }
.policy-call__class { font-size: 11px; line-height: 1.3; color: var(--ink-muted); }
.policy-call__code {
  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 400 12px/1.4 'IBM Plex Mono', ui-monospace, monospace; color: var(--heading);
  transition: color 240ms var(--motion-ease);
}
.policy-call b { font: 500 11px/1 var(--font-body); color: var(--ink-muted); white-space: nowrap; }
/* Read: the rows it brought back, one a hit */
.policy-call__rows { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 4px; align-items: end; margin-top: 2px; }
.policy-call__rows i { grid-column: 1; display: block; height: 4px; border-radius: 2px; background: var(--bar); }
.policy-call__rows i:nth-child(1) { width: 86%; }
.policy-call__rows i:nth-child(2) { width: 70%; }
.policy-call__rows i:nth-child(3) { width: 58%; }
.policy-call__rows b { grid-column: 2; grid-row: 1 / span 3; }
.policy-call--allow.is-decided .policy-call__rows i.is-hit { background: color-mix(in srgb, var(--sage-green) 55%, transparent); }
/* the sandbox's wall: dashed, as everywhere in the drawings */
.policy-call__wall {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 6px; align-items: end;
  min-width: 0; padding: var(--space-2) 10px;
  border: var(--border-w) dashed color-mix(in srgb, var(--heading) 24%, transparent); border-radius: 4px;
}
.policy-call__wall .policy-call__code { grid-column: 1 / -1; }
.policy-call__diff { display: grid; row-gap: 8px; }
.policy-call__diff i { position: relative; display: block; height: 4px; margin-left: 12px; border-radius: 2px; background: var(--bar); }
.policy-call__diff i::before { position: absolute; left: -12px; top: 50%; translate: 0 -50%; font: 500 10px/1 'IBM Plex Mono', ui-monospace, monospace; color: var(--ink-muted); }
.policy-call__diff i.is-out { width: 64%; }
.policy-call__diff i.is-out::before { content: '−'; }
.policy-call__diff i.is-in { width: 82%; }
.policy-call__diff i.is-in::before { content: '+'; }
.policy-call:is(.policy-call--allow, .policy-call--once).is-decided .policy-call__diff i.is-in { background: color-mix(in srgb, var(--sage-green) 50%, transparent); }
/* Write external: through the wall on a wire, the gate on the wall */
.policy-call__cross { display: grid; grid-template-columns: minmax(0, 1fr) 40px auto; align-items: center; }
.policy-call__wire { position: relative; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--heading) 30%, transparent) 50%, transparent 0) 0 0 / 6px 1px repeat-x; }
.policy-call__gate {
  position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; translate: 0 -50%; rotate: 45deg;
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 45%, transparent); border-radius: 1.5px;
  background: color-mix(in srgb, var(--heading) 6%, var(--night-deep));
  transition: background-color 240ms var(--motion-ease), border-color 240ms var(--motion-ease);
}
.policy-call__system {
  padding: 5px var(--space-2); border: var(--border-w) solid color-mix(in srgb, var(--heading) 16%, transparent); border-radius: 4px;
  font: 500 12px/1 var(--font-body); color: var(--heading); white-space: nowrap;
  transition: opacity 240ms var(--motion-ease), border-color 240ms var(--motion-ease);
}
.policy-call--allow.is-decided .policy-call__wire { background: var(--sage-green); }
.policy-call--allow.is-decided .policy-call__gate { border-color: var(--sage-green); }
.policy-call:is(.policy-call--ask, .policy-call--once).is-decided .policy-call__gate { border-color: var(--ember-orange); background: color-mix(in srgb, var(--ember-orange) 30%, var(--night-deep)); }
.policy-call--deny.is-decided .policy-call__wire { background: none; }
.policy-call--deny.is-decided .policy-call__system { opacity: 0.4; border-style: dashed; }
/* the decision: a stamp over the card's foot */
.policy-call__tag {
  position: absolute; right: 12px; bottom: -12px;
  display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 var(--space-2);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 14%, transparent); border-radius: 4px;
  background: color-mix(in srgb, var(--heading) 7%, var(--night-deep));
  font: 500 11px/1 var(--font-body); color: var(--ink-muted); white-space: nowrap;
}
.policy-call__tag i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: policy-check 800ms var(--motion-ease) infinite; }
.policy-call__tag span { font-size: 0; }                          /* "Checking policy" until decided */
.policy-call__tag span::before { content: 'Checking policy'; font-size: 11px; }
.policy-call.is-decided .policy-call__tag { color: var(--heading); }
.policy-call.is-decided .policy-call__tag span { font-size: 11px; animation: policy-stamp 320ms var(--motion-ease-out); }
.policy-call.is-decided .policy-call__tag span::before { content: none; }
.policy-call.is-decided .policy-call__tag i { animation: none; }
.policy-call--allow.is-decided .policy-call__tag i { background: var(--sage-green); }
.policy-call:is(.policy-call--ask, .policy-call--once).is-decided .policy-call__tag { border-color: color-mix(in srgb, var(--ember-orange) 36%, transparent); }
.policy-call:is(.policy-call--ask, .policy-call--once).is-decided .policy-call__tag i { background: var(--ember-orange); }
.policy-call--deny.is-decided .policy-call__tag i { border-radius: 1px; background: none; box-shadow: inset 0 0 0 1.25px currentColor; }
.policy-call--deny.is-decided .policy-call__code { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--heading) 50%, transparent); }
.policy-call--deny.is-decided :is(.policy-call__rows, .policy-call__diff) i { background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--heading) 12%, transparent); }
@keyframes policy-check { 50% { opacity: 0.25; } }
@keyframes policy-stamp { 0% { opacity: 0; translate: -4px 0; } 100% { opacity: 1; translate: 0 0; } }
/* the heading waits for the calls, then comes up (CSS alone, so it shows even if the script fails) */
.platform-hero--policy.is-intro .platform-hero__head > * { opacity: 0; translate: 0 10px; filter: blur(4px); animation: policy-head-in 700ms var(--motion-ease-out) forwards; animation-delay: calc(1650ms + var(--i, 0) * 90ms); }
.platform-hero--policy.is-intro .platform-hero__head > :nth-child(2) { --i: 1; }
.platform-hero--policy.is-intro .platform-hero__head > :nth-child(3) { --i: 2; }
.platform-hero--policy.is-intro .platform-hero__head > :nth-child(4) { --i: 3; }
@keyframes policy-head-in { to { opacity: 1; translate: 0 0; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .policy-call { transition: none; }
  .policy-call__tag i, .policy-call__tag span { animation: none !important; }
}

/* Reload drift (28 Nov, user: "when I load governance page the hero is scrolled
   up a little"): Chrome restores scroll on reload by anchoring to an element,
   and it picked the moving calls (they start in the middle and slide out), so
   each reload landed further down (1, 84, 167px). Nothing in this hero is an
   anchor; the page anchors to the stable sections below. */
.platform-hero--policy, .platform-hero--policy * { overflow-anchor: none; }

/* The Platform overview's hero entrance (29 Nov, user: "add entrances
   animation to homepage and platform overview"): its copy rises in line by
   line as the homepage's and the Playbooks page's do, 120ms apart, and the
   waves fade up from the foot behind it. The Governance page keeps its own
   (the calls decided). CSS only; reduced motion: no entrance. */
@media (prefers-reduced-motion: no-preference) {
  .platform-hero--waves:not(.platform-hero--policy) .platform-hero__head > * { animation: page-hero-rise 700ms var(--motion-ease-out) both; }
  .platform-hero--waves:not(.platform-hero--policy) .platform-hero__head > :nth-child(1) { animation-delay: 80ms; }
  .platform-hero--waves:not(.platform-hero--policy) .platform-hero__head > :nth-child(2) { animation-delay: 200ms; }
  .platform-hero--waves:not(.platform-hero--policy) .platform-hero__head > :nth-child(3) { animation-delay: 320ms; }
  .platform-hero--waves:not(.platform-hero--policy) .platform-hero__head > :nth-child(4) { animation-delay: 440ms; }
  .platform-hero--waves:not(.platform-hero--policy) .hero__waves { animation: page-hero-waves 1800ms var(--motion-ease-out) 250ms both; }
}
@keyframes page-hero-waves { from { opacity: 0; transform: translateY(24px); } }

/* ==========================================================================
   SKETCH: SHAPES INSIDE THE HERO HEADINGS (29 Nov, user, after cal.com's
   hero: small tiles set between the headline's words). Only on
   .platform-hero--inline (the heading-shapes sketches). Each tile is a
   drawing of the word before it, in the diagram language, at the heading's
   own scale (em), aria-hidden; gone below 768px, where the heading wraps.
   ========================================================================== */
.platform-hero--inline h1 { max-width: 16em; }
.h1-tile {
  /* inline-block with overflow clipped, so its baseline is its own foot:
     the tile stands on the text's baseline (less 0.04em) whatever is in it,
     its top near the capitals' */
  display: inline-block; overflow: hidden;
  height: 0.76em; padding-inline: 0.2em; margin-left: 0.14em;
  vertical-align: -0.04em;
  border-radius: var(--r-box, 6px);
  background: linear-gradient(color-mix(in srgb, var(--heading) 9%, var(--night-deep)), color-mix(in srgb, var(--heading) 4%, var(--night-deep)));
  box-shadow: inset 0 0 0 var(--border-w) color-mix(in srgb, var(--heading) 16%, transparent), inset 0 1px 0 color-mix(in srgb, var(--heading) 12%, transparent), 0 16px 32px -16px color-mix(in srgb, var(--night-deep) 90%, transparent);
}
@media (max-width: 767px) { .h1-tile { display: none; } }
.h1-tile__in { display: flex; align-items: center; justify-content: center; gap: 0.14em; height: 100%; }
.h1-keep { white-space: nowrap; }   /* the tile stays with its word */
/* Round 2 (29 Nov, user: "very basic looking and icon again"): each tile a
   small working drawing in SVG, no icons. The tile hugs it. */
.h1-tile:has(.h1-tile__art) { padding-inline: 0.06em; }
.h1-tile__art { display: block; height: 100%; width: auto; overflow: visible; fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.h1-tile__hair { stroke: color-mix(in srgb, var(--heading) 5%, transparent); }
/* the run */
.h1-run__wire { stroke: color-mix(in srgb, var(--heading) 18%, transparent); }
.h1-run__lit { stroke: var(--sage-green); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.h1-run__plate > rect { fill: color-mix(in srgb, var(--heading) 7%, var(--night-deep)); stroke: color-mix(in srgb, var(--heading) 18%, transparent); }
.h1-run__shape { stroke: color-mix(in srgb, var(--heading) 45%, transparent); stroke-width: 2.4; }
@media (prefers-reduced-motion: no-preference) {
  .h1-run__lit { animation: h1-run-lit 5.4s var(--motion-ease) infinite 0.8s; }
  .h1-run__plate--0 .h1-run__shape { animation: h1-run-0 5.4s var(--motion-ease) infinite 0.8s; }
  .h1-run__plate--1 .h1-run__shape { animation: h1-run-1 5.4s var(--motion-ease) infinite 0.8s; }
  .h1-run__plate--2 .h1-run__shape { animation: h1-run-2 5.4s var(--motion-ease) infinite 0.8s; }
  .h1-run__plate--3 .h1-run__shape { animation: h1-run-3 5.4s var(--motion-ease) infinite 0.8s; }
  .h1-run__plate--3 > rect { animation: h1-run-3-plate 5.4s var(--motion-ease) infinite 0.8s; }
}
@media (prefers-reduced-motion: reduce) {
  .h1-run__lit { stroke-dasharray: 0.66 1; stroke-dashoffset: 0; }
  .h1-run__plate:not(.h1-run__plate--3) .h1-run__shape { stroke: var(--sage-green); }
  .h1-run__plate--3 .h1-run__shape { stroke: var(--ember-orange); }
}
@keyframes h1-run-lit { 0% { stroke-dashoffset: 1; opacity: 1; } 58% { stroke-dashoffset: 0.34; } 70% { stroke-dashoffset: 0.34; } 80%, 90% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes h1-run-0 { 0%, 9% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } 13%, 90% { stroke: var(--sage-green); } 98%, 100% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } }
@keyframes h1-run-1 { 0%, 23% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } 27%, 90% { stroke: var(--sage-green); } 98%, 100% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } }
@keyframes h1-run-2 { 0%, 37% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } 41%, 90% { stroke: var(--sage-green); } 98%, 100% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } }
@keyframes h1-run-3 { 0%, 54% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } 58%, 72% { stroke: var(--ember-orange); } 76%, 90% { stroke: var(--sage-green); } 98%, 100% { stroke: color-mix(in srgb, var(--heading) 45%, transparent); } }
@keyframes h1-run-3-plate { 0%, 54% { stroke: color-mix(in srgb, var(--heading) 18%, transparent); } 58%, 72% { stroke: color-mix(in srgb, var(--ember-orange) 60%, transparent); } 76%, 100% { stroke: color-mix(in srgb, var(--heading) 18%, transparent); } }
/* the rack */
.h1-rack__unit > rect:first-child { fill: color-mix(in srgb, var(--heading) 6%, var(--night-deep)); stroke: color-mix(in srgb, var(--heading) 18%, transparent); }
.h1-rack__unit--mid > rect:first-child { stroke: color-mix(in srgb, var(--heading) 28%, transparent); }
.h1-rack__vent { stroke: color-mix(in srgb, var(--heading) 20%, transparent); }
.h1-rack__led { fill: color-mix(in srgb, var(--heading) 30%, transparent); stroke: none; }
.h1-rack__sandbox { stroke: color-mix(in srgb, var(--heading) 40%, transparent); stroke-dasharray: 2 1.5; }
.h1-rack__agent { fill: var(--sage-green); stroke: none; }
.h1-rack__line { stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .h1-rack__led { animation: h1-led 2.4s steps(1) infinite; }
  .h1-rack__led--1 { animation-delay: -0.6s; } .h1-rack__led--3 { animation-delay: -1.5s; } .h1-rack__led--4 { animation-delay: -0.9s; } .h1-rack__led--5 { animation-delay: -1.9s; } .h1-rack__led--6 { animation-delay: -0.3s; }
  .h1-rack__agent { animation: h1-agent 1.6s var(--motion-ease) infinite; }
  .h1-rack__line { stroke-dasharray: 13 13; animation: h1-agent-line 1.6s var(--motion-ease) infinite; }
}
@keyframes h1-led { 0%, 60% { fill: color-mix(in srgb, var(--heading) 30%, transparent); } 61%, 100% { fill: color-mix(in srgb, var(--heading) 70%, transparent); } }
@keyframes h1-agent { 50% { opacity: 0.35; } }
@keyframes h1-agent-line { 0% { stroke-dashoffset: 13; } 60%, 100% { stroke-dashoffset: 0; } }
/* the policy: one call, the gate on the wall, three outcomes in turn */
.h1-policy__wall { stroke: color-mix(in srgb, var(--heading) 30%, transparent); stroke-dasharray: 2.5 2; }
.h1-policy__in { stroke: color-mix(in srgb, var(--heading) 24%, transparent); }
.h1-policy__call { fill: var(--heading); stroke: none; }
.h1-policy__path { stroke: color-mix(in srgb, var(--heading) 16%, transparent); }
.h1-policy__path--deny { stroke-dasharray: 2.5 2; }
.h1-policy__end--allow { fill: color-mix(in srgb, var(--heading) 16%, transparent); stroke: none; }
.h1-policy__end--ask { stroke: color-mix(in srgb, var(--heading) 24%, transparent); stroke-width: 1.25; }
.h1-policy__stop { stroke: color-mix(in srgb, var(--heading) 24%, transparent); stroke-width: 1.5; }
.h1-policy__gate { fill: color-mix(in srgb, var(--heading) 7%, var(--night-deep)); stroke: color-mix(in srgb, var(--heading) 50%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .h1-policy__call { animation: h1-call 6.6s var(--motion-ease-out) infinite 0.8s; }
  .h1-policy__path--allow { animation: h1-allow 6.6s var(--motion-ease) infinite 0.8s; }
  .h1-policy__end--allow { animation: h1-allow-end 6.6s var(--motion-ease) infinite 0.8s; }
  .h1-policy__path--ask { animation: h1-ask 6.6s var(--motion-ease) infinite 0.8s; }
  .h1-policy__end--ask { animation: h1-ask 6.6s var(--motion-ease) infinite 0.8s; }
  .h1-policy__path--deny, .h1-policy__stop { animation: h1-deny 6.6s var(--motion-ease) infinite 0.8s; }
  .h1-policy__gate { animation: h1-gate 6.6s var(--motion-ease) infinite 0.8s; }
}
@media (prefers-reduced-motion: reduce) {
  .h1-policy__path--allow { stroke: var(--sage-green); } .h1-policy__end--allow { fill: var(--sage-green); }
  .h1-policy__path--ask, .h1-policy__end--ask { stroke: var(--ember-orange); }
}
/* three beats of 2.2s: the call runs to the wall (0–10% of a beat), then its outcome holds */
@keyframes h1-call { 0% { transform: translateX(0); opacity: 0; } 2% { opacity: 1; } 9% { transform: translateX(33px); opacity: 1; } 11%, 33.3% { transform: translateX(33px); opacity: 0; }
  33.4% { transform: translateX(0); opacity: 0; } 35.3% { opacity: 1; } 42.3% { transform: translateX(33px); opacity: 1; } 44.3%, 66.6% { transform: translateX(33px); opacity: 0; }
  66.7% { transform: translateX(0); opacity: 0; } 68.6% { opacity: 1; } 75.6% { transform: translateX(33px); opacity: 1; } 77.6%, 100% { transform: translateX(33px); opacity: 0; } }
@keyframes h1-allow { 0%, 9% , 32%, 100% { stroke: color-mix(in srgb, var(--heading) 16%, transparent); } 11%, 30% { stroke: var(--sage-green); } }
@keyframes h1-allow-end { 0%, 9%, 32%, 100% { fill: color-mix(in srgb, var(--heading) 16%, transparent); } 11%, 30% { fill: var(--sage-green); } }
@keyframes h1-ask { 0%, 42%, 65%, 100% { stroke: color-mix(in srgb, var(--heading) 20%, transparent); } 44%, 63% { stroke: var(--ember-orange); } }
@keyframes h1-deny { 0%, 75%, 98%, 100% { stroke: color-mix(in srgb, var(--heading) 18%, transparent); } 77%, 96% { stroke: color-mix(in srgb, var(--heading) 62%, transparent); } }
@keyframes h1-gate { 0%, 8% { stroke: color-mix(in srgb, var(--heading) 50%, transparent); } 11%, 30% { stroke: var(--sage-green); } 33%, 42% { stroke: color-mix(in srgb, var(--heading) 50%, transparent); } 44%, 63% { stroke: var(--ember-orange); } 66%, 100% { stroke: color-mix(in srgb, var(--heading) 50%, transparent); } }

/* How it is enforced: Rohit's link to the Playbooks page under the box (30 Nov,
   his note: in once that page is built). The Explore links' make. */
.enforce-more { margin: var(--space-5) 0 0; }

/* How it is enforced, Rohit's content (30 Nov, his mail, point 6): his four
   cards in place of the prompt-versus-platform steps (kept as
   enforced-frigade.html) — white on the sand, the light bands' surface (a
   hairline edge, the two-layer shadow), each its 24px Sage icon above its
   title (Inter 16, 500) and his line at 14; four across from 1200px, two by
   two to 640, one on phones. Under them his "What is deterministic" in
   Private deployment's make (.platform-example--open): his words behind the
   line, and the playbook's four kinds of step on one wire, the AI step's
   station dashed, the only one whose output varies. */
.enforce-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.enforce-point {
  padding: var(--space-6); border-radius: var(--r-box, 6px); background: var(--white);
  border: var(--border-w) solid color-mix(in srgb, var(--heading) 12%, transparent);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--heading) 7%, transparent), 0 var(--space-3) var(--space-6) color-mix(in srgb, var(--heading) 8%, transparent);
}
.enforce-point__icon { display: block; margin-bottom: var(--space-3); color: var(--accent-text); line-height: 0; }
.enforce-point__icon .icon { --icon-size: 24px; width: 24px; height: 24px; }
.enforce-point h3 { margin: 0; font: 500 16px/1.4 var(--font-body); letter-spacing: var(--text-tracking); color: var(--heading); }
.enforce-point p { margin: var(--space-2) 0 0; font-size: 14px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.enforce-note.platform-example--open { margin-top: var(--space-8); }
.enforce-note .platform-example__run li { padding: var(--space-3); }
@media (min-width: 1024px) { .enforce-note .platform-example__run b { white-space: nowrap; } }   /* each kind on one line where there is room; below 1024 a long name may wrap */
@media (min-width: 1360px) { .enforce-note.platform-example { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); } }   /* the four stations need more of the row than Private deployment's three */
@media (max-width: 1359px) { .enforce-note.platform-example { grid-template-columns: minmax(0, 1fr); } }   /* below it the text over the drawing, which then has the full width */
@media (max-width: 767px) {   /* four stations: stacked on their wire from 767 (Private deployment's three from 639) */
  .enforce-note .platform-example__run { --wire: var(--space-4); flex-direction: column; }
  .enforce-note .platform-example__run li + li::before { top: auto; right: auto; bottom: 100%; left: calc(var(--space-3) + 8px); width: 0; height: var(--wire); margin: 0 0 var(--border-w); border-top: 0; border-left: var(--border-w) solid color-mix(in srgb, var(--accent-text) 55%, transparent); }
}
.enforce-note .platform-example__run li.is-varies { border-style: dashed; border-color: color-mix(in srgb, var(--heading) 30%, transparent); background: transparent; }
.enforce-note .platform-example__run li.is-varies .icon { color: var(--ink-muted); }
@media (max-width: 1199px) { .enforce-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .enforce-points { grid-template-columns: minmax(0, 1fr); } .enforce-point { padding: var(--space-5); } }
