/* The public pages in the front page's design (stage 1, 2026-11-05): warm paper, ink, one accent.
   Loaded LAST on every public page whose <body> carries class "front". The tokens themselves are in
   home.css (body.front); this layer re-skins the shared public components of site.css, services.css,
   lab.css, trial.css and blueprint.css so they read as one site:
   - paper and ink, a 1-px graph-paper grid under boards, hairline rules, square corners;
   - no glow, no glass, no gradient fills, no pointer spotlights;
   - no fade-up on sections and no word-by-word headings: content is simply there;
   - status colours darkened for text on paper (each >= 4.5:1 on #f4f1ea and #fbfaf6).
   The console ("Your service" app) and admin are out of scope and do not load this file. */

body.front {
  --green: #1d7a4a; --green-rgb: 29 122 74; --green-soft: rgb(29 122 74 / .09); --green-line: rgb(29 122 74 / .4); --green-ink: #145a36;
  --person: #b8360e; --person-rgb: 184 54 14; --person-soft: rgb(229 72 28 / .1); --person-line: rgb(184 54 14 / .45); --on-person: #fff;
  --amber: #b8360e; --amber-rgb: 184 54 14; --amber-soft: rgb(229 72 28 / .1); --amber-line: rgb(184 54 14 / .45); --amber-ink: #8f2a0b;
  --rose: #a3242c; --rose-rgb: 163 36 44; --rose-soft: rgb(163 36 44 / .08); --rose-line: rgb(163 36 44 / .4); --rose-ink: #7d1b21; --red: var(--rose);
  --violet: #5b48b0; --violet-rgb: 91 72 176; --violet-soft: rgb(91 72 176 / .09);
  --accent-2: #b8360e; --accent-2-rgb: 184 54 14; --accent-3: #8f2a0b; --accent-4: #f9dccf; --accent-hi: #b8360e; --accent-deep: #8f2a0b;
  --accent-soft: rgb(229 72 28 / .1); --accent-line: rgb(184 54 14 / .45);
  --deep: #f8f6f0; --deep-rgb: 248 246 240; --deep-2: #f1ede4; --abyss: #ebe6da; --node: var(--card-bg); --dot: rgb(22 21 19 / .3);
  --surface-3: #ebe6da; --surface-3-rgb: 235 230 218;
  --approve-bg: #c93d14; --approve-fg: #fff; --mark-1: #e5481c; --mark-2: #e5481c; --mark-3: #b8360e; --mark-ink: #fff;
  --shadow-3: none; --radius: 4px; --seal-ink: var(--acc-ink); --viridian: var(--green);
  --grid-line: rgb(22 21 19 / .055); --grid-node: transparent;
  font-family: var(--sans);
}

/* ---------------------------------------------------------------- motion: none of the scroll theatre */
body.front [data-reveal], body.front [data-split] .wi, body.front .eyebrow2::before { opacity: 1 !important; transform: none !important; transition: none !important; }
body.front [data-split] .w { display: inline; }
body.front .scroll-progress, body.front .aurora { display: none !important; }
body.front [data-spot]::before { display: none; }
body.front [data-tilt] { transform: none !important; }
body.front *, body.front *::before, body.front *::after { text-shadow: none; }
body.front .marquee .track { animation-duration: 90s; }
@media (prefers-reduced-motion: reduce) { body.front *, body.front *::before, body.front *::after { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- page frame + type */
body.front > main { max-width: 1360px; padding: 24px 28px 40px; }
body.front .h-display, body.front .h-2, body.front .h-3, body.front .cat-hero h1, body.front .svc-hero2 h1 { font-family: var(--display); font-weight: 650; letter-spacing: -.03em; color: var(--ink); }
body.front .h-display { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; }
body.front .h-display.sm { font-size: clamp(30px, 3vw, 42px); }
body.front .h-2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; }
body.front .h-display em, body.front .h-2 em, body.front .h-3 em { font-style: normal; color: var(--ink-3); background: none; -webkit-text-fill-color: currentColor; }
body.front .eyebrow2, body.front .eyebrow { display: flex; align-items: center; gap: 8px; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
body.front .eyebrow2::before, body.front .eyebrow::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--acc); border-radius: 0; box-shadow: none; }
body.front .lede-lg, body.front .promise-xl { color: var(--ink-2); }
body.front .promise-xl { font-family: var(--display); font-weight: 500; color: var(--ink); }
body.front .sec { margin-top: 96px; scroll-margin-top: 84px; }
body.front .sec-head { max-width: 900px; }
body.front .mono-note, body.front .bp-dim, body.front .use-note { color: var(--ink-3); }
body.front main a:not(.btn):not(.fp-btn):not(.svc-row):not(.run-card):not(.talk-chip) { color: var(--ink); text-underline-offset: 3px; }
body.front :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------------------------------------------------------------- the stage marker: 01 Build · 02 Run · 03 Prove */
.stage-k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.stage-k::before { content: ""; width: 8px; height: 8px; background: var(--acc); }
.stage-k b { color: var(--acc-ink); font-weight: 500; }

/* ---------------------------------------------------------------- buttons */
body.front .btn { border-radius: 4px; min-height: 44px; box-shadow: none; background-image: none; font-weight: 550; }
body.front .btn-sm { min-height: 44px; }
body.front .btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
body.front .btn-primary:hover:not(:disabled) { background: #000; color: var(--paper); }
body.front .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
body.front .btn-ghost:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
body.front .btn::after, body.front .btn::before { display: none; }
body.front .linkish { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* ---------------------------------------------------------------- surfaces: flat paper cards, hairlines, square corners */
body.front .panel, body.front .svc-row, body.front .run-card, body.front .act-card, body.front .case, body.front .sys-tile, body.front .scard,
body.front .own-systems, body.front .try-out, body.front .try-form, body.front .callout, body.front .tile, body.front .talk-card, body.front .shot,
body.front .bp-canvas, body.front .bp-card, body.front .bp-side, body.front .bp-mode, body.front .lr, body.front .lr-card, body.front .cat-side,
body.front .extra-rules, body.front .faq details, body.front .brief, body.front .ag-kind, body.front .proof-card, body.front .numbers > div {
  border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; background-image: none; }
body.front .svc-row, body.front .run-card, body.front .act-card, body.front .case, body.front .sys-tile, body.front .scard, body.front .own-systems,
body.front .try-form, body.front .tile, body.front .talk-card, body.front .extra-rules, body.front .ag-kind { background-color: var(--card-bg); border: 1px solid var(--rule-2); }
body.front .svc-row:hover, body.front .run-card:hover { background: var(--paper-2); }
body.front .browse-bar { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.front .cat-art, body.front .cat-glyph { background-image: none; }
body.front .card-cat, body.front .cat-count { color: var(--ink-2); }
body.front .cchip, body.front .chip2, body.front .pill, body.front .tag, body.front .talk-chip, body.front .cx-chip { border-radius: 2px; }
body.front .cchip { min-height: 44px; }
body.front .cchip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.front .cchip.on span { color: var(--paper); }
body.front .search2 { border-radius: 2px; min-height: 44px; background: var(--card-bg); }
body.front .shot .bar { background: var(--paper); border-bottom: 1px solid var(--rule-2); }
body.front .shot .bar i { display: none; }
body.front .callout { border: 1px solid var(--rule-2); border-left: 3px solid var(--acc); background: var(--card-bg); color: var(--ink); }
body.front .callout.bad { border-left-color: var(--rose); }
body.front .flow::before, body.front .flow::after { background: var(--rule-2); box-shadow: none; animation: none; }
body.front .flow-step .node { border-radius: 0; background: var(--card-bg); border: 1px solid var(--ink); box-shadow: none; }
body.front .bq { border-left: 2px solid var(--acc); }
body.front .numbers b, body.front .cat-hero-stats b { font-family: var(--display); }
body.front .cat-hero-stats > div { border-radius: 0; background: var(--card-bg); border: 1px solid var(--rule-2); box-shadow: none; }
body.front .svc-hero2 .eyebrow2::before { background: var(--acc); }
body.front .pill.p-approval { color: var(--acc-ink); border-color: var(--person-line); background: var(--person-soft); }

/* graph paper under every board / canvas */
body.front .bp-canvas, body.front .lr-board, body.front .sc-board {
  background-color: #f8f6f0;
  background-image: linear-gradient(rgb(22 21 19 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(22 21 19 / .055) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
body.front .bp { --bp-wait: #b8360e; --bp-bg: #f8f6f0; --bp-card: var(--card-bg); }
body.front .bp-ctrl button, body.front .bp-search, body.front .bp-views button { min-height: 44px; border-radius: 2px; }
body.front .bp-views { border-radius: 2px; }

/* ---------------------------------------------------------------- tests panel (tests-panel.js) */
.tp-sw { display: flex; gap: 0; margin: 10px 14px 0; border: 1px solid var(--rule-2); width: fit-content; background: var(--paper); }
.tp-sw[hidden] { display: none; }
.tp-tab { min-height: 44px; padding: 8px 14px; border: 0; background: transparent; color: var(--ink-2); font: 550 14px var(--sans); cursor: pointer; }
.tp-tab + .tp-tab { border-left: 1px solid var(--rule); }
.tp-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tp-cmp { margin: 10px 14px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tp-cmp:empty { display: none; }
.tp-bad { color: var(--acc-ink); }

/* ---------------------------------------------------------------- an automation's page: build · run · prove */
.svc-story { margin-top: 18px; }
.svc-stage { margin-top: 88px; scroll-margin-top: 84px; }
.svc-stage > .sec-head { margin-bottom: 22px; }
.svc-stage .fp-sheet .bd { min-height: 200px; }
.svc-stage .sec { margin-top: 56px; }
.svc-get { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.svc-get li { padding: 16px 20px 18px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.svc-get li:nth-child(3n+2), .svc-get li:nth-child(3n) { padding-left: 20px; border-left: 1px solid var(--rule); }
.svc-get b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.svc-jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); max-width: 720px; }
.svc-jump li { flex: 1 1 0; min-width: 0; }
.svc-jump li + li { border-left: 1px solid var(--rule); }
.svc-jump a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font: 600 15px var(--sans); text-decoration: none; color: var(--ink); }
.svc-jump li:first-child a { padding-left: 0; }
.svc-jump a:hover { text-decoration: underline; }
.svc-jump .mono { font-size: 12px; font-weight: 500; color: var(--acc-ink); }

/* ---------------------------------------------------------------- the stand-alone blueprint page */
body.front .bp-page { max-width: 1360px; margin: 0 auto; padding: 24px 28px 40px; }
body.front .bp-page h1 { margin: 12px 0 0; font: 650 clamp(28px, 2.9vw, 42px)/1.06 var(--display); letter-spacing: -.03em; }

@media (max-width: 1100px) {
  .svc-get { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-get li:nth-child(n) { padding-left: 0; border-left: 0; }
  .svc-get li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  body.front > main, body.front .bp-page { padding: 20px 16px 32px; }
  body.front .sec { margin-top: 64px; }
  .svc-stage { margin-top: 64px; }
  .svc-get { grid-template-columns: 1fr; }
  .svc-get li:nth-child(n) { padding-left: 0; border-left: 0; }
  .svc-jump a { padding: 0 8px; }
  .tp-sw { margin: 10px 10px 0; }
}

/* lists of results: each name is a link with a full-size target */
.fp-pv-dept a { display: inline-flex; align-items: center; min-height: 44px; }
.fp-pv-dept li { align-items: center; padding: 0; }
.pf-suite { margin-top: 18px; border-top: 1px solid var(--ink); }
.pf-suite summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 600; }
body.front .bp-page .bp-dim a { display: inline-flex; align-items: center; min-height: 44px; }
body.front .use-note a, body.front #demoMore a { display: inline-flex; align-items: center; min-height: 44px; }

/* The closing call and the line band (proof, agents): site.css paints them as dark ink bands with a
   breathing glow, which on these pages left ink text on near-black (1.07:1). Here they are paper with
   a hairline rule above, the same tokens as the rest of the page, and no glow. */
body.front .cta-xl, body.front .line-band {
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --tint-rgb: 22 21 19; --bg-rgb: 244 241 234;
  --line: rgb(22 21 19 / .1); --line-2: rgb(22 21 19 / .16); --line-3: rgb(22 21 19 / .28);
  --surface: var(--card-bg); --surface-2: #f1ede4; --surface-3: #ebe6da; --node: var(--card-bg);
  --accent: var(--acc); --accent-rgb: 229 72 28; --accent-2: var(--acc-ink); --accent-soft: var(--acc-soft); --accent-line: rgb(184 54 14 / .45);
  --green: #1d7a4a; --green-soft: rgb(29 122 74 / .09); --green-line: rgb(29 122 74 / .4);
  --amber: #b8360e; --amber-soft: rgb(229 72 28 / .1); --amber-line: rgb(184 54 14 / .45);
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bg-hover: #000; --abyss: #ebe6da;
  color: var(--ink); border-top: 1px solid var(--rule-2);
  background:
    linear-gradient(rgb(22 21 19 / .055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgb(22 21 19 / .055) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
}
body.front .cta-xl::after { content: none; animation: none; }
body.front .cta-xl .h-display em { color: var(--acc-ink); }

/* Contrast on paper: the accent #e5481c is 3.5:1 on #f4f1ea, enough only for large text. Small
   labels in the accent colour use its ink shade (#b8360e) instead. */
body.front .ag-who.ai { color: var(--acc-ink); }
body.front .talk-steps .n { color: var(--acc-ink); border-color: var(--accent-line); }

/* Hit areas of at least 44 px for everything a finger presses (WCAG 2.5.5 / Apple HIG). */
body.front input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]), body.front select { min-height: 44px; }
/* Safari on iPhone draws a native select at its own fixed ~23 px height and ignores min-height; drawing it
   ourselves (own chevron, data: URI is allowed by img-src) makes the 44 px hit area hold there too. */
body.front select { -webkit-appearance: none; appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23161513' stroke-width='1.6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px 8px !important; }
body.front select::-ms-expand { display: none; }
body.front .crumbs { margin-top: -8px; margin-bottom: 18px; }
body.front .crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
body.front .journey li > a { min-height: 44px; min-width: 44px; justify-content: center; }
/* The blueprint's edge labels sit densely on the graph, so their box stays small and an invisible
   pseudo-element widens the area that takes the press to at least 44 x 44, centred on the label. */
body.front button.bp-elabel::before { content: ""; position: absolute; left: 50%; top: 50%; width: max(100% + 12px, 44px); height: max(100% + 28px, 44px); transform: translate(-50%, -50%); }
/* Blueprint controls, requirement chips, disclosure rows and the in-text "show" link. Zero-specificity
   (:where) for summaries so any component that already styles its own summary keeps its look. */
body.front .bp-ctrl button { min-width: 44px; min-height: 44px; }
body.front .bp-req { min-height: 44px; }
:where(body.front details:not(.mnav) > summary) { min-height: 44px; padding-block: 11px; }
body.front .bp-link { position: relative; }
body.front .bp-link::before { content: ""; position: absolute; left: 50%; top: 50%; width: max(100% + 12px, 44px); height: max(100% + 24px, 44px); transform: translate(-50%, -50%); }

/* Run log (runlog.js): one row per block of a run; flat, hairlines, numbers in mono. */
.rl { margin: 18px 0 0; }
.rl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.rl-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.rl-sum b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.rl-sum .bad b, .rl-st.bad { color: var(--rose-ink, #7d1b21); }
.rl-scroll { overflow-x: auto; margin-top: 10px; border-top: 1px solid var(--line-2); }
.rl-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rl-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.rl-table th { text-align: left; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 10px 10px 8px 0; border-bottom: 1px solid var(--line-2); }
.rl-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.rl-table td.mono { font-family: var(--mono); white-space: nowrap; }
.rl-table tr.is-bad td { background: rgb(163 36 44 / .05); }
.rl-what { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.rl-st { display: inline-block; font: 500 12px var(--mono); color: var(--ink-2); margin-right: 6px; }
.rl-st.retry { color: var(--acc-ink, #b8360e); }
.rl-st.skip { color: var(--ink-3); }
.rl-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 640px) {
  .rl-table { min-width: 0; }
  .rl-table thead { display: none; }
  .rl-table tr { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .rl-table td { border: 0; padding: 0; }
  .rl-table td:nth-child(n+3) { grid-column: 2; }
  .rl-table td:nth-child(4)::before { content: "time "; color: var(--ink-3); }
  .rl-table td:nth-child(5)::before { content: "calls "; color: var(--ink-3); }
  .rl-table td:nth-child(6)::before { content: "tokens "; color: var(--ink-3); }
  .rl-table td:nth-child(7)::before { content: "est. cost "; color: var(--ink-3); }
}
.limit-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.limit-form label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.limit-form input { width: 7.5em; min-height: 44px; }
.limit-form .btn { min-height: 44px; }
.trig-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: end; max-width: 760px; margin: 6px 0 4px; }
.trig-text .field { margin: 0; }
.trig-text .btn { min-height: 44px; }
.trig-text .why { grid-column: 1 / -1; margin: 0; }
.trig-card { border: 1px solid var(--line-2); border-left: 3px solid var(--acc-ink, #b8360e); padding: 12px 14px; margin: 8px 0 12px; max-width: 760px; background: var(--card-bg, #fbfaf6); }
.trig-card .btn { min-height: 44px; }
.trig-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 6px 0; font-size: 13.5px; }
.trig-kv dt { color: var(--ink-3); } .trig-kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .trig-text { grid-template-columns: 1fr; } }
.skill-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; margin: 10px 0; }
.skill-form .field { margin: 0; } .skill-form .btn { min-height: 44px; }
.skill-list { list-style: none; margin: 10px 0 0; padding: 0; }
.skill-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.skill-list li .why { display: block; }
.skill-list .btn { min-height: 44px; }
.skill-res { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; }
.skill-res li.bad { color: var(--rose-ink, #7d1b21); }
@media (max-width: 640px) { .skill-form { grid-template-columns: 1fr; } }
/* Where a person decides (public.js checkpointsList) */
.cp { padding: 12px 16px 4px; border-top: 1px solid var(--line); }
.cp-h { margin: 0 0 6px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cp-list li { display: grid; grid-template-columns: minmax(7em, max-content) minmax(0, 1fr); gap: 2px 12px; font-size: 14px; color: var(--ink); line-height: 1.45; }
.cp-who { font: 600 12px var(--mono); color: var(--acc-ink, #b8360e); padding-top: 2px; overflow-wrap: anywhere; }
.cp-none { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) { .cp-list li { grid-template-columns: 1fr; } }

/* Talk to us: reply by email or ask for a call (6 Nov 2026); links to the reference pages. */
body.front .talk-reply { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
body.front .talk-reply legend { padding: 0; font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
body.front .talk-reply label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
body.front .talk-reply input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; }
body.front .talk-more { margin: 28px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: 560px; }
body.front .talk-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--acc-ink); }
