/* tokens.css */
/* The tokens every landing page shares: the paper, the ink, the materials, the type and the motion. They are the same for
   every app; only the accent differs, and that comes from accents.css (the page's <html data-app="…">). Change a value here
   and every page changes with it. guidelines.md, "Colour", says what each token is for. */
/* Inter, served with the kit (fonts/, the variable latin subset, weights 100–900; the page preloads it): no font from
   another host. Glyphs outside the subset, such as the arrows, come from the next font in --sans. */
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-var.woff2?v=dd8a4575") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --paper: #f7f4ed;
    --paper-deep: #eeeadf;
    --surface: #fffdf8;
    --ink: #302536;
    --muted: #706773;
    --line: #ded8d5;
    --hollow: #cbc2c8;
    --green: #547565;
    --pencil: #42364a;
    --h-green: #547565;
    --h-kraft: #a78d6c;
    --slab: #302536;
    --slab-muted: #a99bab;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --grid: color-mix(in srgb, var(--pencil) 24%, transparent);
    --grid-major: color-mix(in srgb, var(--pencil) 11%, transparent);
    /* Mixed from the app's accent. */
    --tape: color-mix(in srgb, var(--accent) 45%, transparent);
    color-scheme: light;
}
:root[data-theme="dark"] {
    --paper: #1b151e;
    --paper-deep: #231b27;
    --surface: #281f2c;
    --ink: #f2ebf1;
    --muted: #a99fad;
    --line: #3a2f3e;
    --hollow: #514657;
    --green: #9cc0aa;
    --pencil: #dcd2e0;
    --h-green: #8fb39d;
    --h-kraft: #c9ad87;
    --slab: #120d14;
    --grid: color-mix(in srgb, var(--pencil) 20%, transparent);
    --grid-major: color-mix(in srgb, var(--pencil) 9%, transparent);
    --tape: color-mix(in srgb, var(--accent) 38%, transparent);
    color-scheme: dark;
}

/* accents.css */
/* Each app's accent, the one colour that differs between the landing pages. A page picks its app with
   <html data-app="<id>"> (the build sets it from the content file's app.id). Everything else is in tokens.css.

   --accent           emphasised words, hovers, callout numbers, aisle lines, the drawings' "acc" material
   --accent-deep      strong accents (the drawings' callout discs)
   --accent-light     light fills: the demo card's shadow, the pictograms' hover
   --accent-material  the drawings' tinted material ("lilac" and "glass" in the drawing code)
   --slab-hi          a highlight on the dark material (keycaps, grip tape)

   A new app: copy a block, give it the app's id and its colours in both themes, and check text in the accent against
   --paper at 4.5:1 or more in each theme. */

/* Assemblified: berry. */
:root[data-app="assemblified"] {
    --accent: #7d466b;
    --accent-deep: #583956;
    --accent-light: #dfd2e4;
    --accent-material: #92749b;
    --slab-hi: #e3b9d4;
}
:root[data-app="assemblified"][data-theme="dark"] {
    --accent: #dba6c9;
    --accent-deep: #e2d2e5;
    --accent-light: #4a3750;
    --accent-material: #b79bc0;
}

/* Logistified: harbour blue, from its sky-blue brand (docs site sky, company site cyan), deepened for the paper. */
:root[data-app="logistified"] {
    --accent: #1c6a92;
    --accent-deep: #154d6a;
    --accent-light: #d4e5ee;
    --accent-material: #6b9fbe;
    --slab-hi: #b6d9ec;
}
:root[data-app="logistified"][data-theme="dark"] {
    --accent: #86c5e8;
    --accent-deep: #d2e8f4;
    --accent-light: #22404f;
    --accent-material: #7fb2cf;
}

/* Floormode: signal yellow on ink. Its yellow is a fill and a mark, never text on paper (guidelines.md), so in the light
   theme the text accent is a deep amber and the emphasised words are ink over a yellow band; in the dark theme the yellow
   reads as text. */
:root[data-app="floormode"] {
    --accent: #8a5a00;
    --accent-deep: #5e3d00;
    --accent-light: #fbe8a8;
    --accent-material: #f5bd0f;
    --slab-hi: #ffd84d;
    --em-ink: var(--ink);
    --em-mark: linear-gradient(transparent 58%, var(--accent-material) 58% 92%, transparent 92%);
}
:root[data-app="floormode"][data-theme="dark"] {
    --accent: #f5bd0f;
    --accent-deep: #ffe28a;
    --accent-light: #43361a;
    --accent-material: #d9a40d;
    --em-ink: var(--accent);
    --em-mark: none;
}

/* Alertified: crimson, from its icon and docs site (rose-700 #be123c, rose-400 #fb7185 in the dark), the red side of the
   family, clear of Guardified's rust and Movified's orange. Text in the accent on --paper: #be123c 5.72:1 (light),
   #fb7185 6.65:1 (dark); on the band (--paper-deep) 5.23:1 and 6.20:1. */
:root[data-app="alertified"] {
    --accent: #be123c;
    --accent-deep: #881337;
    --accent-light: #f7d8de;
    --accent-material: #cf7487;
    --slab-hi: #f4b2bf;
}
:root[data-app="alertified"][data-theme="dark"] {
    --accent: #fb7185;
    --accent-deep: #fecdd3;
    --accent-light: #4a2230;
    --accent-material: #d9798c;
}

/* Guardified: oxblood, the dark red-brown that is most of its icon (#700800, #500000 beside the rust #902800 and the burnt
   orange #b04800), lifted a little for text. The family's warm side has three apps: Alertified crimson, Movified orange, and
   this one between them, so it keeps apart by depth in the light theme and by a muted clay in the dark one, where crimson
   and orange are bright. Text in the accent on --paper: #7c1d12 9.36:1 (light), #f0b0a0 9.74:1 (dark); on the band
   (--paper-deep) 8.56:1 and 9.08:1. CIEDE2000 from crimson and orange: 15.6 and 17.9 (light), 17.4 and 17.9 (dark); the
   guidelines' rust (#9a2a0f / #fb8d6e) would be 14.7 and 10.6, 15.3 and 13.3. */
:root[data-app="guardified"] {
    --accent: #7c1d12;
    --accent-deep: #5a120b;
    --accent-light: #f0dcd6;
    --accent-material: #b0705f;
    --slab-hi: #ebb9ab;
}
:root[data-app="guardified"][data-theme="dark"] {
    --accent: #f0b0a0;
    --accent-deep: #f8dcd4;
    --accent-light: #47261f;
    --accent-material: #c98b7a;
}

/* The blueprint's placeholder: a slate blue that is no app's colour, to show the swap. */
:root[data-app="example"] {
    --accent: #3f5f8a;
    --accent-deep: #2f4566;
    --accent-light: #d3dcea;
    --accent-material: #7189ab;
    --slab-hi: #b9cbe6;
}
:root[data-app="example"][data-theme="dark"] {
    --accent: #9fbbe3;
    --accent-deep: #d3dff0;
    --accent-light: #34445c;
    --accent-material: #93a9c9;
}

/* Movified: orange, from its mark (the orange-to-amber M) and the guidelines' start (#c2410c, #fb923c in the dark), turned
   from #c2410c's red side (hue 17°) to a true orange (hue 25°) and deepened for the paper, clear of Alertified's crimson
   and Guardified's rust. Text in the accent on --paper: #b04800 5.07:1 (light), #fb923c 7.91:1 (dark); on the band
   (--paper-deep) 4.63:1 and 7.38:1. */
:root[data-app="movified"] {
    --accent: #b04800;
    --accent-deep: #7a3300;
    --accent-light: #f6dcc6;
    --accent-material: #df8a4c;
    --slab-hi: #f9c497;
}
:root[data-app="movified"][data-theme="dark"] {
    --accent: #fb923c;
    --accent-deep: #fed7aa;
    --accent-light: #4a2c1a;
    --accent-material: #e3965c;
}

/* iso.css */
/* Shop drawings: even strokes, flat tones from the palette. The page defines the colour tokens. */
.dwg {
    --e: 0;
    --S: 0;
    --step: 0ms;
    --dur: 1150ms;
    /* Soft at both ends, so parts ease off together and settle together. */
    --ease-mv: cubic-bezier(0.6, 0, 0.25, 1);
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.dwg.open {
    --e: 1;
}
.dwg.now,
.dwg.now * {
    transition: none !important;
}
.dwg path,
.dwg circle {
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.dwg .t,
.dwg .l,
.dwg .r {
    stroke: var(--pencil);
    stroke-width: 1;
}
.m-wood {
    --m: var(--h-kraft);
}
.m-metal {
    --m: var(--muted);
}
.m-acc {
    --m: var(--accent);
}
.m-lilac,
.m-glass {
    --m: var(--accent-material);
}
.m-green {
    --m: var(--h-green);
}
.m-paper {
    --m: var(--line);
}
.m-dark {
    --m: var(--slab);
}
.dwg .t {
    fill: color-mix(in srgb, var(--m) 16%, var(--surface));
}
.dwg .l {
    fill: color-mix(in srgb, var(--m) 36%, var(--surface));
}
.dwg .r {
    fill: color-mix(in srgb, var(--m) 56%, var(--surface));
}
.dwg .m-dark .t {
    fill: color-mix(in srgb, var(--m) 80%, var(--surface));
}
.dwg .m-dark .l {
    fill: color-mix(in srgb, var(--m) 90%, var(--surface));
}
.dwg .m-dark .r {
    fill: var(--m);
}
.dwg .m-glass path {
    fill-opacity: 0.45;
}
.dwg .th {
    fill: none;
    stroke: var(--pencil);
    stroke-width: 0.7;
}
.dwg .cut {
    fill: none;
    stroke: var(--slab-muted);
    stroke-width: 0.8;
}
.dwg .tk {
    fill: none;
    stroke: var(--slab-hi);
    stroke-width: 1.4;
}
/* A thin stroked line; not a moving group with a span (".mv.sp" below), whose parts and text would inherit the stroke. */
.dwg .sp:not(.mv) {
    fill: none;
    stroke: var(--pencil);
    stroke-width: 0.8;
}
.dwg .cable {
    fill: none;
    stroke: var(--pencil);
    stroke-width: 2.4;
}
.dwg .rope {
    fill: none;
    stroke: var(--pencil);
    stroke-width: 1.6;
}
/* A line marked on a rack in the accent: the reorder line. */
.dwg .rl {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.4;
    stroke-dasharray: 6 4;
}
/* A lamp lit on a screen: the whole face in its material (Alertified's status signal). */
.dwg .lit {
    fill: var(--m);
    stroke: var(--pencil);
    stroke-width: 1;
}
/* A scanner's laser: the line it draws across a barcode, and the fan of light to it. */
.dwg .laser {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.6;
}
.dwg .beam {
    fill: none;
    stroke: var(--accent);
    stroke-width: 0.6;
    opacity: 0.6;
}
/* A hero on a ring (landing.js): far (a group in the ring, not in front), its text and callouts fade. */
.dwg.zoomable text,
.dwg.zoomable .co {
    transition: opacity 0.4s;
}
.dwg.far text,
.dwg.far .co,
.dwg.far .marks {
    opacity: 0 !important;
}
.dwg.zoomable .marks {
    transition: opacity 0.4s;
}
/* A data line between things (Logistified's districts): dashed in the accent. */
.dwg .data {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.3;
    stroke-dasharray: 5 4;
    opacity: 0.75;
}
/* A soft shadow on the desk under something floating: fill only, faint (a little more on the dark paper). */
.dwg .shadow {
    fill: var(--slab);
    fill-opacity: 0.1;
    stroke: none;
}
:root[data-theme="dark"] .dwg .shadow {
    fill-opacity: 0.35;
}
/* A tick in a filled box (a confirmed line). */
.dwg .tick {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.2;
}
.dwg .bc {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.1;
}
.dwg .lbl {
    font-family: var(--mono);
    font-weight: 600;
    fill: var(--ink);
}
.dwg .lblw {
    font-family: var(--mono);
    font-weight: 600;
    fill: var(--surface);
}
.dwg .lbl2 {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.06em;
    fill: var(--ink);
}
.dwg .lbl3 {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.06em;
    fill: var(--accent-deep);
}

/* Floor markings: the bay the object stands in, sized to hold it taken apart, and its location code. */
.dwg .fl {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    stroke-dasharray: 7 5;
    opacity: 0.4;
}
.dwg .flc {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.8;
    opacity: 0.65;
}
.dwg .flt {
    font-family: var(--mono);
    font-weight: 600;
    letter-spacing: 0.1em;
    fill: var(--accent);
    opacity: 0.75;
}

/* Every part moves at once; each step starts a beat (--step) after the one outside it, so outer parts lead apart and trail together. */
.dwg .mv {
    transform: translate(calc(var(--tx) * var(--e) * 1px), calc(var(--ty) * var(--e) * 1px));
    transition: transform var(--dur) var(--ease-mv) calc((var(--S) - var(--s)) * var(--step));
}
.dwg.open .mv {
    transition-delay: calc(var(--s) * var(--step));
}
/* A step with a span (iso.js, "spans") follows its own share of --e: it waits until --e reaches --a and is there by --b. On a
   drawing that follows the page its span is its timing, so it takes no beat after the steps before it (a drawing with many
   steps would lag the page); opened (the gallery), the steps keep their beat. */
.dwg .mv.sp {
    --p: clamp(0, calc((var(--e) - var(--a)) / (var(--b) - var(--a))), 1);
    transform: translate(calc(var(--tx) * var(--p) * 1px), calc(var(--ty) * var(--p) * 1px));
}
.dwg:not(.open) .mv.sp {
    transition-delay: 0ms;
}
/* A part that shows with a step, or goes with it (iso.js, a part's show and hide): its opacity follows the step's span. */
.dwg .fd {
    --f: clamp(0, calc((var(--e) - var(--a)) / (var(--b) - var(--a))), 1);
    opacity: var(--f);
    transition: opacity 0.35s;
}
.dwg .fd.out {
    opacity: calc(1 - var(--f));
}
/* A drawing that plays (a hero stage with play: true; landing.js runs --e by the clock): no transitions, each step eases
   in and out over its span, and a callout comes in as its part arrives (--cb, the end of the part's last span). */
.dwg.play .mv,
.dwg.play .fd,
.dwg.play .co {
    transition: none;
}
.dwg.play .mv.sp {
    --q: clamp(0, calc((var(--e) - var(--a)) / (var(--b) - var(--a))), 1);
    --p: calc(var(--q) * var(--q) * (3 - 2 * var(--q)));
}
.dwg.play .co {
    opacity: clamp(0, calc((var(--e) - var(--cb, 0.95)) / 0.04), 1);
}
.dwg.play .gd {
    display: none;
}
/* Shown only apart, once the part has moved clear (a screw's shank, say). */
.dwg .xo {
    opacity: var(--e);
    transition: opacity 0.2s calc((var(--S) - var(--s, 0)) * var(--step));
}
.dwg.open .xo {
    transition: opacity 0.35s calc(var(--s, 0) * var(--step) + var(--dur) * 0.3);
}
/* Drafting marks around the bay: centre lines with grid bubbles, and the bay's size in mm. */
.dwg .cl {
    fill: none;
    stroke: var(--accent);
    stroke-width: 0.7;
    stroke-dasharray: 12 3 2 3;
    opacity: 0.38;
}
.dwg .bub {
    fill: var(--surface);
    stroke: var(--muted);
    stroke-width: 0.7;
    opacity: 0.85;
}
.dwg .bubt {
    font: 500 8px var(--mono);
    fill: var(--muted);
    text-anchor: middle;
}
.dwg .dim {
    fill: none;
    stroke: var(--muted);
    stroke-width: 0.6;
    opacity: 0.6;
}
.dwg .dimk {
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.1;
    opacity: 0.75;
}
.dwg .dimt {
    font-family: var(--mono);
    font-weight: 500;
    letter-spacing: 0.06em;
    fill: var(--muted);
}
.nomarks .dwg .marks {
    display: none;
}

/* Centre lines along which the parts travel, once everything is apart */
.dwg .gd {
    fill: none;
    stroke: var(--accent);
    stroke-width: 0.8;
    stroke-dasharray: 9 3 1.5 3;
    opacity: 0;
    transition: opacity 0.2s;
}
.dwg.open .gd {
    opacity: 0.5;
    transition: opacity 0.6s calc(var(--S) * var(--step) + var(--dur) * 0.5);
}
.dwg .co {
    opacity: 0;
    transition: opacity 0.2s;
}
.dwg.open .co {
    opacity: 1;
    transition: opacity 0.45s calc(var(--sl) * var(--step) + var(--dur) * 0.6);
}
.co .ld {
    fill: none;
    stroke: var(--accent);
    stroke-width: 0.8;
}
.co .dot {
    fill: var(--accent);
}
.co .bal {
    fill: var(--surface);
    stroke: var(--accent);
    stroke-width: 1;
}
.co .bn {
    font: 650 9.5px var(--sans);
    fill: var(--accent);
    text-anchor: middle;
}
.co .lb {
    font: 500 11px var(--mono);
    fill: var(--ink);
}
.co .q {
    fill: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
    .dwg .mv,
    .dwg .co,
    .dwg .xo,
    .dwg .gd {
        transition: none !important;
    }
}

/* ---------- pictograms (pict.js) ----------
   Hairlines, as in the drawings: 1px at any size, in currentColor, so the page colours them. The page sets the height. */
.pict svg {
    display: block;
    height: 100%;
    width: auto;
    overflow: visible;
}
.pict path {
    fill: var(--paper);
    stroke: currentColor;
    stroke-width: 1;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    transition: fill 0.2s;
}
.pict path.t {
    fill: var(--surface);
}
.pict path.s {
    fill: color-mix(in srgb, var(--pencil) 5%, var(--paper));
}
.pict path.ln,
.pict path.dash {
    fill: none;
    stroke-width: 0.75;
}
.pict path.dash {
    stroke-dasharray: 1.5 2;
}
.pict path.hole {
    fill: color-mix(in srgb, var(--pencil) 14%, var(--paper));
    stroke-width: 0.75;
}
.pict text.ai {
    fill: currentColor;
    stroke: none;
    font-family: var(--sans);
    font-weight: 750;
    letter-spacing: 0.2px;
}
/* Parts that move on their own (the agent's): each lifts a little and settles, one after the other. */
.pict .rise {
    animation: pict-rise 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.pict .rise.b {
    animation-delay: 2.4s;
}
@keyframes pict-rise {
    0%,
    50%,
    100% {
        transform: none;
    }
    20%,
    32% {
        transform: translateY(-1.4px);
    }
}
/* Speech bubbles that take turns: each comes forward while the others stay faint. */
.pict .talk {
    opacity: 0.45;
    animation: pict-talk 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.pict .talk.b {
    animation-delay: 1.6s;
}
.pict .talk.c {
    animation-delay: 3.2s;
}
@keyframes pict-talk {
    0%,
    40%,
    100% {
        opacity: 0.45;
    }
    12%,
    28% {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pict .rise,
    .pict .talk {
        animation: none;
    }
}
/* Something switched off (Guardified's paused poster): its text in the muted tone, a film over it (fill only, darker on the
   dark paper), and a word on the accent that reads in both themes (light on it by day, the ink by night). */
.dwg text.dimmed {
    fill: var(--muted);
}
.dwg .film {
    fill: var(--slab);
    fill-opacity: 0.16;
    stroke: none;
}
:root[data-theme="dark"] .dwg .film {
    fill-opacity: 0.45;
}
.dwg .lblon {
    font-family: var(--mono);
    font-weight: 600;
    fill: var(--surface);
}
:root[data-theme="dark"] .dwg .lblon {
    fill: var(--ink);
}
/* An ad platform's mark drawn big (Guardified's marks on its plinth): the ink, a little heavier than a hairline; paused, the accent. */
.dwg .mk {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.8;
}
.dwg .mk.off {
    stroke: var(--accent);
}
/* A face drawn without its outline, so pieces side by side read as one (Guardified's timeline bars). */
.dwg path.bare {
    stroke: none;
}
/* A frame chosen round a picture (Movified's format, 9:16 or 16:9): a solid line in the accent. */
.dwg .crop {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.6;
}
/* Text on the dark material in either theme (a screen that is off, a player's bar): muted, never the paper's colour. */
.dwg .lbls {
    font-family: var(--mono);
    font-weight: 600;
    fill: var(--slab-muted);
}

/* landing.css */
/* The landing page: every part every app's page has, from the header to the footer. The page's HTML comes from page.mjs
   (built from the app's content file); the colours come from tokens.css and accents.css; the behaviour is in landing.js.
   A change here changes every app's page. */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition:
        background 0.5s var(--ease),
        color 0.5s var(--ease);
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h2,
h3 {
    font-weight: 550;
}
/* The emphasised words: the same sans, in the accent. An app whose colour is a fill, never text (Floormode's yellow), sets
   --em-ink and --em-mark in accents.css: ink over a band of its colour, like a marker. */
h1 em,
h2 em,
.tagline em {
    font-style: normal;
    color: var(--em-ink, var(--accent));
    background: var(--em-mark, none);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
/* A section's slogan (content.mjs features.title, agents.title, closing.title) is its tagline, at the size of the old
   section heading; the heading above it (h2.kicker) says what the section is. */
h2,
.tagline {
    font-size: clamp(34px, 3.5vw, 51px);
    font-weight: 550;
    line-height: 1.06;
    letter-spacing: -1.9px;
    text-wrap: balance;
}
/* The small line that names what follows: the product and its category above the headline (in the h1), and each
   section's heading above its tagline. Mono, quiet, the size of the floor codes. */
.kicker {
    display: block;
    margin: 0 0 16px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-wrap: balance;
}
.wrap {
    position: relative;
    z-index: 2;
    width: min(1184px, 100% - 48px);
    margin-inline: auto;
}
.mono {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 0;
    border-radius: 5px;
    background: var(--ink);
    color: var(--paper);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.25s;
}
.primary:hover {
    background: var(--accent);
}
.primary.small {
    padding: 8px 14px;
    font-size: 12px;
}
.textLink:hover {
    color: var(--accent);
}

/* ---------- header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: color-mix(in srgb, var(--paper) 86%, transparent);
}
.bar {
    width: min(1280px, 100% - 32px);
    margin-inline: auto;
    padding: 0 48px;
    height: 84px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid var(--line);
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 25px;
    letter-spacing: -1.2px;
}
/* The app's own mark: the 512px app icon has room round the mark, so it is drawn larger and pulled in. */
.brand img {
    width: 54px;
    height: 54px;
    margin: -12px -9px -12px -8px;
}
.brand b {
    font-weight: 760;
    letter-spacing: -0.9px;
}
.nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
}
.nav a:hover {
    color: var(--accent);
}
.theme {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: transparent;
    display: grid;
    place-items: center;
}
.theme svg {
    width: 16px;
    height: 16px;
}
.theme .moon,
[data-theme="dark"] .theme .sun {
    display: none;
}
[data-theme="dark"] .theme .moon {
    display: block;
}
.headerCta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 44px;
    padding: 0 17px;
    border: 1px solid var(--ink);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}
.headerCta:hover {
    background: var(--ink);
    color: var(--paper);
}

/* ---------- hero: copy on the left, the stage on the right ---------- */
.hero {
    min-height: min(100svh - 84px, 1000px);
    display: flex;
    align-items: center;
    padding-block: 32px 56px;
}
.heroGrid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 48px;
}
/* The headline keeps its lines at every width: the font follows the copy column (keep the longest line near 6.2 em). */
.heroCopy {
    container-type: inline-size;
}
h1 {
    margin: 0 0 32px;
    font-size: clamp(38px, 15cqi, 80px);
    font-weight: 550;
    line-height: 0.99;
    letter-spacing: -0.053em;
    text-wrap: balance;
}
h1 > span {
    display: block;
    white-space: nowrap;
}
h1 > .kicker {
    margin-bottom: 20px;
    white-space: normal;
}
.lede {
    max-width: 27em;
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
    text-wrap: balance;
}
.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 30px;
    margin-top: 34px;
    font-size: 15px;
    font-weight: 600;
}
/* Beside the docs button, for an app without a store listing yet. */
.cta .soon {
    color: var(--muted);
    font-weight: 500;
}

/* The stage:the modes on top (when there are several), the drawing on its board, examples of the mode below (when there are several). */
.stage {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* The modes: the one playing is its word; the others are small drawings of what each makes (a sealed carton, a part
   lowered onto its base, a row of bars from one lot). Selecting one opens its word and folds the last one back into its
   drawing. */
.modes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    min-height: 40px;
    padding-bottom: 4px;
}
.mode {
    display: flex;
    align-items: center;
    padding: 4px 2px;
    border: 0;
    background: none;
    color: color-mix(in srgb, var(--muted) 85%, var(--paper));
    transition: color 0.2s;
}
.mode > span {
    display: block;
    overflow: hidden;
    transition:
        width 0.5s var(--ease),
        opacity 0.35s;
}
.mode .pic {
    width: var(--pw);
    height: 30px;
}
/* The pictogram itself is styled by the kit (iso.css, ".pict"). */
.mode:hover,
.mode:focus-visible {
    color: var(--ink);
}
.mode:hover .pic path.t,
.mode:focus-visible .pic path.t {
    fill: var(--accent-light);
}
.mode .word {
    width: 0;
    opacity: 0;
}
.mode b {
    display: block;
    font-size: clamp(22px, 2.1vw, 28px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--ink);
}
.mode[aria-selected="true"] .pic {
    width: 0;
    opacity: 0;
}
.mode[aria-selected="true"] .word {
    width: var(--ww);
    opacity: 1;
}
.fig {
    position: relative;
    height: clamp(340px, 54vh, 540px);
    cursor: pointer;
}
/* The drawing board: an isometric grid, fading out at the edges, with registration marks in the corners. */
.board {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 74% 70% at 50% 52%, #000 48%, transparent 100%);
    mask-image: radial-gradient(ellipse 74% 70% at 50% 52%, #000 48%, transparent 100%);
}
.board .dotP {
    fill: var(--grid);
}
.board .majP {
    fill: none;
    stroke: var(--grid-major);
    stroke-width: 1;
}
.board .reg {
    fill: none;
    stroke: var(--muted);
    stroke-width: 0.8;
    opacity: 0.55;
}
.board.regs {
    -webkit-mask-image: none;
    mask-image: none;
}
.fig .dwg {
    position: absolute;
    inset: 0;
    transition: opacity 0.45s;
}
/* A hero on a ring (stage.ring, landing.js): each mode's group fills the stage and moves by its transform. */
.fig .ringGroup {
    position: absolute;
    inset: 0;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}
.fig .ringTag {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--accent);
    pointer-events: none;
}
.fig .dwg.off {
    opacity: 0;
    pointer-events: none;
}
.examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding-top: 8px;
}
/* Each example as a small picture of it, closed: grey until pointed at, in colour when pointed at or playing. */
.ex {
    display: block;
    width: 64px;
    height: 56px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    transition:
        border-color 0.2s,
        background-color 0.2s;
}
.ex .thumb {
    display: block;
    width: 100%;
    height: 100%;
    filter: grayscale(1);
    opacity: 0.55;
    transition:
        filter 0.2s,
        opacity 0.2s;
}
.ex .thumb text {
    display: none;
}
.ex:hover,
.ex:focus-visible {
    border-color: var(--ink);
}
.ex:hover .thumb,
.ex:focus-visible .thumb,
.ex[aria-pressed="true"] .thumb {
    filter: none;
    opacity: 1;
}
.ex[aria-pressed="true"] {
    border-color: var(--accent);
}

/* ---------- floor markings: an aisle line with its codes between sections ---------- */
.aisle {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 56px;
    color: var(--accent);
}
.aisle i {
    flex: 1;
    height: 0;
    border-top: 1.5px dashed var(--tape);
}
.aisle b {
    width: 12px;
    height: 12px;
    border: solid var(--accent);
    border-width: 0 0 2px 2px;
    opacity: 0.7;
}
.aisle b:last-child {
    border-width: 0 2px 2px 0;
}

/* ---------- sections ---------- */
.section {
    padding: 108px 0;
}
.band {
    margin-inline: max(16px, calc((100% - 1280px) / 2));
    background: var(--paper-deep);
    border-radius: 3px;
    transition: background 0.5s var(--ease);
}
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.9s var(--ease),
        transform 0.9s var(--ease);
}
.js .reveal.in {
    opacity: 1;
    transform: none;
}
/* A floor drawing in its box: fitted to it, never wider than the page. */
.floorFig {
    position: relative;
    max-width: 100%;
}
.floorFig .dwg {
    position: absolute;
    inset: 0;
}

/* ---------- features: the heading beside a floor drawing, then one row per area ---------- */
.featuresHead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.featuresFloor {
    height: 400px;
}
/* One row per area: its code, a pictogram, the heading and what it means; then the list of what it does, and links to the docs. */
.features {
    border-top: 1px solid var(--line);
}
.feature {
    display: grid;
    grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "code head list"
        "code head more";
    grid-template-rows: auto 1fr;
    column-gap: 32px;
    padding: 40px 0 36px;
    border-bottom: 1px solid var(--line);
}
.feature .code {
    grid-area: code;
    padding-top: 6px;
    color: var(--accent);
    opacity: 0.8;
}
.featureHead {
    grid-area: head;
    display: grid;
    align-content: start;
    gap: 12px;
}
.feature h3 {
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.9px;
    text-wrap: balance;
}
.featureHead p {
    max-width: 30em;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.feature ul {
    grid-area: list;
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 4px 0 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
}
/* Each item hangs from a short pencil tick, like a line on a parts list. */
.feature li {
    position: relative;
    padding-left: 22px;
}
.feature li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 11px;
    border-top: 1px solid var(--accent);
    opacity: 0.7;
}
.tag {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border: 1px solid var(--tape);
    border-radius: 3px;
    color: var(--accent);
    font-size: 9.5px;
    font-style: normal;
    vertical-align: 1px;
}
.feature .more {
    grid-area: more;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding: 18px 0 0 22px;
    font-size: 13px;
    font-weight: 600;
}
.feature .more a {
    color: var(--accent);
}
.feature .more a:hover {
    color: var(--ink);
}
/* The area's pictogram (pict.js), in the drawings' hairlines; it takes the accent while its row is pointed at. */
.featurePic {
    display: block;
    height: 46px;
    margin-bottom: 6px;
    color: var(--muted);
    transition: color 0.3s;
}
.feature:hover .featurePic {
    color: var(--accent);
}
.featurePic[data-pict="agent"] {
    height: 64px;
}

/* ---------- agents: the demo is in agent.css ---------- */

/* ---------- at a glance and pricing: the facts as a spec sheet, then the plans as the App Store listing states them
   (content.mjs facts, pricing). Rows on hairlines with mono labels, like the feature rows. ---------- */
.glance + .faqs {
    padding-top: 0;
}
.facts dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    margin: 0;
    border-top: 1px solid var(--line);
}
.facts dl > div {
    display: grid;
    grid-template-columns: 9.5em minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.6;
}
.facts dt {
    padding-top: 3px;
    color: var(--accent);
    opacity: 0.8;
}
.facts dd {
    margin: 0;
}
.facts + .pricing {
    margin-top: 76px;
}
/* One column per plan, at least three wide, so one or two plans keep the same measure. */
.plans {
    display: grid;
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.plan {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 22px 28px 26px;
}
.plan:first-child {
    padding-left: 0;
}
.plan + .plan {
    border-left: 1px solid var(--line);
}
.plan h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.price b {
    font-size: 38px;
    font-weight: 550;
    line-height: 1.1;
    letter-spacing: -1.4px;
}
.price span {
    color: var(--muted);
    font-size: 13px;
}
.plan .terms {
    color: var(--accent);
}
.plan ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    line-height: 1.55;
}
.plan li,
.pricing .none {
    position: relative;
    padding-left: 22px;
}
.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 11px;
    border-top: 1px solid var(--accent);
    opacity: 0.7;
}
.pricing .none {
    max-width: 44em;
    padding: 20px 0 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.7;
    padding-left: 0;
}
.pricing .source {
    margin-top: 14px;
    max-width: 60em;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}
.pricing .source a,
.pricing .none a {
    text-decoration: underline;
    text-decoration-color: var(--tape);
    text-underline-offset: 3px;
}
.pricing .source a:hover {
    color: var(--accent);
}

/* ---------- questions: two columns of questions on hairlines, each answer under its question ---------- */
.faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    border-top: 1px solid var(--line);
}
.qa {
    padding: 24px 0 28px;
    border-bottom: 1px solid var(--line);
}
.qa h3 {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    text-wrap: balance;
}
.qa p {
    max-width: 36em;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- closing: a floor drawing, the largest heading, the two buttons ---------- */
.close {
    padding: 108px 0 96px;
    text-align: center;
    overflow: hidden;
}
.closeFloor {
    width: min(640px, 100%);
    height: clamp(220px, 28vw, 300px);
    margin: 0 auto 30px;
}
.close .tagline {
    font-size: clamp(40px, 5vw, 68px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}
.close .cta {
    justify-content: center;
}
/* ---------- footer: the page's own row, then the family footer (page.mjs): the groups as quiet columns on a hairline, the
   titles as small mono lines like the section kickers, the links in the muted ink, and the line naming who makes which app.
   The page's own product is in the ink, bolder and underlined in the accent: not colour alone. ---------- */
.footer {
    padding: 30px 0 42px;
    font-size: 12px;
    font-weight: 600;
}
.footer .own {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.footer a:not(.brand):hover {
    color: var(--accent);
}
.footer .brand {
    font-size: 21px;
    margin-right: 10px;
}
.footer .updated {
    margin-left: auto;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
}
.family {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px 28px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 450;
    line-height: 1.45;
}
.family .kicker {
    margin: 0 0 12px;
    font-size: 10px;
}
.family ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.family a {
    color: var(--muted);
    /* A long address wraps in a narrow column instead of widening the page. */
    overflow-wrap: anywhere;
}
/* Each app's name in the ink, its category under it in the muted ink. */
.family .apps a {
    color: var(--ink);
    font-weight: 550;
}
.family li > span {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
}
.family a[aria-current] {
    color: var(--ink);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.familyLine {
    margin-top: 30px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}
.familyLine a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--tape);
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .bar {
        padding: 0 8px;
        height: 68px;
        gap: 14px;
    }
    .nav {
        display: none;
    }
    .theme {
        margin-left: auto;
    }
    .heroGrid,
    .featuresHead {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
    .hero {
        min-height: 0;
        padding-block: 36px 48px;
    }
    .fig {
        height: min(430px, 100vw);
    }
    .section {
        padding: 76px 0;
    }
    .featuresFloor {
        height: 280px;
    }
    .feature {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "code" "head" "list" "more";
        row-gap: 18px;
        padding: 32px 0 30px;
    }
    .feature .code {
        padding-top: 0;
    }
    .feature .more {
        padding-top: 0;
    }
    .facts dl,
    .faq {
        grid-template-columns: minmax(0, 1fr);
    }
    .facts + .pricing {
        margin-top: 56px;
    }
    .family {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .wrap {
        width: calc(100% - 32px);
    }
    .headerCta {
        white-space: nowrap;
        padding: 0 12px;
    }
    .brand {
        font-size: 21px;
    }
    .lede {
        font-size: 17px;
    }
    .aisle {
        margin-bottom: 40px;
    }
    .facts dl > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
    .plans {
        grid-template-columns: minmax(0, 1fr);
    }
    .plan,
    .plan:first-child {
        padding: 20px 0 22px;
    }
    .plan + .plan {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .footer .updated {
        margin-left: 0;
    }
    .family {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row dense;
        gap: 28px 20px;
    }
    /* The apps with their categories read best across the full width; the docs fill the place beside the product's own
       links above them (dense), so no column stands empty. */
    .family .apps {
        grid-column: 1 / -1;
    }
    .family .apps ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* agent.css */
/* The agent demo: the page's heading and text, example requests under them, and a card where the agent works through the
   chosen one and answers. Markup and content are in agent.js; this file is how it looks. The page supplies the colour
   tokens (guidelines, "Colour"); an app changes the demo's colours by setting the --ag-* variables on .agentDemo. */
.agentDemo {
    --ag-ink: var(--ink);
    --ag-muted: var(--muted);
    --ag-line: var(--line);
    --ag-card: var(--surface);
    --ag-paper: var(--paper);
    --ag-bubble: var(--paper-deep);
    --ag-accent: var(--accent);
    --ag-shadow: var(--accent-light);
    --ag-ok: var(--green);
    --ag-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 78px;
}
.agentCopy > p:not(.tagline) {
    margin-top: 22px;
    max-width: 34em;
    color: var(--ag-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- the example requests ---------- */
.agentChips {
    display: grid;
    gap: 7px;
    margin-top: 28px;
    max-width: 30em;
}
.agentChip {
    display: block;
    padding: 10px 14px;
    border: 1px solid var(--ag-line);
    border-radius: 6px;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ag-muted);
    cursor: pointer;
    transition:
        border-color 0.25s,
        color 0.25s,
        background 0.25s,
        box-shadow 0.25s,
        transform 0.25s var(--ag-ease);
}
.agentChip:hover {
    color: var(--ag-ink);
    transform: translateX(3px);
}
.agentChip[aria-pressed="true"] {
    border-color: var(--ag-ink);
    background: var(--ag-card);
    color: var(--ag-ink);
    box-shadow: 4px 4px 0 var(--ag-shadow);
}

/* ---------- the card ---------- */
.agentConsole {
    min-height: 360px;
    padding: 18px 20px 20px;
    border: 1px solid var(--ag-line);
    border-radius: 6px;
    background: var(--ag-card);
    box-shadow: 8px 8px 0 var(--ag-shadow);
    transition:
        background 0.5s var(--ag-ease),
        border-color 0.5s var(--ag-ease),
        box-shadow 0.5s var(--ag-ease);
}
.agentTop {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--ag-line);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.1px;
    color: var(--ag-muted);
}
.agentTop i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--ag-ok);
}
.agentAsk {
    width: fit-content;
    max-width: 88%;
    margin: 0 0 0 auto;
    padding: 10px 14px;
    border-radius: 6px 6px 2px 6px;
    background: var(--ag-bubble);
    color: var(--ag-ink);
    font-size: 13px;
}
.agentSteps {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    gap: 8px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.3px;
    color: var(--ag-muted);
}
.agentSteps li {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.4s var(--ag-ease),
        transform 0.4s var(--ag-ease);
}
.agentSteps li.on {
    opacity: 1;
    transform: none;
}
.agentSteps li::before {
    content: "✓";
    color: var(--ag-ok);
}
.agentResult {
    padding: 14px 16px;
    border: 1px solid var(--ag-line);
    border-radius: 5px;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.5s var(--ag-ease),
        transform 0.5s var(--ag-ease),
        border-color 0.4s;
}
.agentResult.on {
    opacity: 1;
    transform: none;
}
.agentResult.done {
    border-color: var(--ag-ok);
}
.agentResult h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-ink);
}
.agentResult table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--ag-ink);
}
.agentResult td {
    padding: 7px 0;
    border-top: 1px solid var(--ag-line);
}
.agentResult td:last-child {
    text-align: right;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--ag-muted);
}
.agentResult td.warn {
    color: var(--ag-accent);
}
.agentActions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.agentApprove {
    padding: 8px 14px;
    border: 0;
    border-radius: 5px;
    background: var(--ag-ink);
    color: var(--ag-paper);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s;
}
.agentApprove:hover {
    background: var(--ag-accent);
}
.agentState {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.6px;
    color: var(--ag-muted);
}
.agentResult.done .agentState {
    color: var(--ag-ok);
}

@media (max-width: 980px) {
    .agentDemo {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .agentChip,
    .agentConsole,
    .agentSteps li,
    .agentResult {
        transition: none;
    }
}
