/* LakehouseBox (lakehousebox.com) — one hand-written stylesheet, no build step.
   Fonts are self-hosted (fonts/fonts.css). No third-party request is made by any page. */

:root {
  --bg: #fbf8f4; --bg-soft: #f5efe7; --ink: #1a1917; --ink-soft: #4f4a44; --muted: #77706a;
  --rule: #e5ded4; --accent: #e0471c; --accent-deep: #c23c14; --tint: #fdece3; --ok: #3ca66a;
  --dark: #1f1d1b; --dark-2: #2b2826; --code: #efe9df; --code-dim: #9a928a; --ok-text: #2a7d4f;
  /* 2026-09-21 LakehouseBox tokens (docs/design/lakehousebox-handoff/tokens.css) */
  --action: #bb3614; --lake: #e0f1f7; --night: #191e21; --width: 1320px; --gutter: 56px;
  --serif: "Newsreader", "Inter Symbols", "Iowan Old Style", Georgia, serif; /* the arrows Newsreader lacks come from our symbols file (fonts/fonts.css), not the system serif */
  --sans: "Inter", "Inter Symbols", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 15px; }
.skip:focus { top: 12px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; font-size: 17px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
/* a link inside running text in a page section (a paragraph, a list item, a table cell) shows it is one; nav, buttons,
   cards and every link with a class keep their own look. Specificity stays that of `.x a`, so a later rule (.fine a) wins */
:where(main section.block :is(p, li, td, li > div)) > a:not([class]) { border-bottom: 1px solid var(--accent); }
:where(main section.block :is(p, li, td, li > div)) > a:not([class]):hover { color: var(--accent-deep); }
p a, td a, .panel li a, article.legal li a, article.doc li a, .docnav a.on { border-bottom: 1px solid var(--accent); }
code, pre { font-family: var(--mono); }
.wrap { max-width: calc(var(--width) + 2 * var(--gutter)); margin: 0 auto; padding: 16px var(--gutter) 0; position: relative; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 20px; }
.eyebrow .n { display: inline-block; border: 1px solid var(--ink); border-radius: 6px; padding: 1px 8px; margin-right: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* nav */
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 72px; margin-bottom: 40px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: -.02em; font-variation-settings: "opsz" 36; white-space: nowrap; }
.brand .mark { flex: none; }
nav.top ul { display: flex; gap: 8px 28px; list-style: none; margin: 0 auto; padding: 0; font-size: 15px; color: var(--ink); flex-wrap: wrap; }
nav.top ul a { display: inline-block; padding: 10px 0 8px; color: var(--ink); font-weight: 500; border-bottom: 3px solid transparent; }
nav.top ul a[aria-current="page"] { border-bottom-color: var(--accent); }
nav.top ul a:hover { color: var(--ink); }
nav.top .menu { display: none; font: inherit; font-size: 15px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 7px; background: transparent; color: var(--ink); cursor: pointer; }
nav.top .menu[aria-expanded="true"] { background: var(--ink); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 7px; background: var(--action); color: #fff; min-height: 44px; font-family: var(--serif); font-size: 20px; font-weight: 500; font-variation-settings: "opsz" 20; border: 0; cursor: pointer; }
.btn:hover { background: #9c2c0f; }
.btn.sm { padding: 8px 20px; font-size: 18px; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { font-family: var(--serif); font-size: 20px; border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }

/* shared: page-level type and the small helpers other pages use */
h1 { font-family: var(--serif); font-weight: 600; font-size: 88px; line-height: 1; letter-spacing: -.025em; margin: 0 0 24px; font-variation-settings: "opsz" 72; }
h1 em { font-style: normal; color: var(--accent); }
.sub { font-family: var(--serif); font-size: 23px; line-height: 1.35; color: var(--ink-soft); margin: 0 0 30px; max-width: 34ch; font-variation-settings: "opsz" 22; }
.ctas { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.fine { font-size: 15px; color: var(--muted); }
.fine a { border-bottom: 1px solid var(--rule); }
button.copy { font: inherit; font-size: 13px; min-height: 36px; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
button.copy:hover { background: var(--ink); color: #fff; }

/* sections */
section.block { padding: 96px 0 0; }
#foundations h2, #benefits h2, #deploy h2 { max-width: none; }
.soon { display: inline-block; margin-left: 12px; border: 1px solid var(--accent); color: var(--accent-deep); border-radius: 6px; padding: 1px 8px; letter-spacing: .14em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 64px; letter-spacing: -.025em; line-height: 1.02; margin: 0 0 44px; font-variation-settings: "opsz" 72; max-width: 22ch; }
h2 em { font-style: normal; color: var(--accent); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 0 0 8px; font-variation-settings: "opsz" 24; }
.lede { font-family: var(--serif); font-size: 23px; line-height: 1.4; color: var(--ink-soft); max-width: 56ch; margin: 0 0 40px; font-variation-settings: "opsz" 22; }
/* minmax(0, 1fr) everywhere a grid holds a pre or a table: a bare 1fr's minimum is its content, and a step card's
   pre.code (white-space: pre) made /agents 2004 px wide at a 1440 px viewport (measured 2026-09-23) */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.three > div { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding-right: 40px; }
.three > div + div { border-left: 1px solid var(--rule); padding-left: 40px; }
.three svg { width: 50px; height: 50px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.three p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 19px; line-height: 1.45; font-variation-settings: "opsz" 18; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.two .left p { font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink-soft); font-variation-settings: "opsz" 20; margin: 0 0 18px; }
table.plain { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.plain th, table.plain td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.plain th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.plain td:first-child { font-family: var(--serif); font-size: 19px; font-variation-settings: "opsz" 18; white-space: nowrap; }
table.plain .yes { color: var(--ok-text); font-weight: 500; }
table.plain .no { color: var(--muted); }
.tablewrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tablewrap > table { margin-top: 0; margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.stepcard { min-width: 0; border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 22px 24px 20px; display: flex; flex-direction: column; }
.stepcard .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--accent-deep); margin-bottom: 10px; }
.stepcard p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
pre.code { margin: auto 0 0; background: var(--dark); color: var(--code); border-radius: 8px; padding: 14px 16px; font-size: 12px; line-height: 1.6; overflow-x: auto; max-width: 100%; white-space: pre; }
pre.code .c { color: var(--code-dim); }
pre.code .k { color: #f0a48a; }
pre.code .s { color: #d9c8a6; }

.agents { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; margin-top: 28px; }
.panel { border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 22px 24px; }
.panel h3 { font-size: 22px; }
.panel ul { margin: 0; padding: 0 0 0 1.1em; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.panel li { margin: 0 0 8px; }
.panel li b { color: var(--ink); font-weight: 500; }
.quote { background: var(--tint); border-radius: 8px; padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink); margin: 0 0 12px; white-space: pre-wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--rule); border-radius: 6px; padding: 4px 10px; color: var(--ink-soft); }

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tier { border: 1px solid var(--ink); border-radius: 10px; background: #fff; padding: 28px 30px; }
.tier .price { font-family: var(--serif); font-size: 64px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin: 6px 0 4px; font-variation-settings: "opsz" 72; }
.tier .price small { font-size: 22px; font-weight: 400; color: var(--ink-soft); margin-left: 6px; letter-spacing: 0; }
.tier ul { margin: 18px 0 0; padding: 0; list-style: none; }
.tier li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 15.5px; display: flex; justify-content: space-between; gap: 16px; }
.tier li span:last-child { color: var(--ink-soft); font-family: var(--mono); font-size: 12.5px; text-align: right; }
.tier .btn { margin-top: 22px; }
.roadmap h3 { margin-bottom: 14px; }
.roadmap ul { margin: 0; padding: 0; list-style: none; }
.roadmap li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-soft); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.roadmap li b { color: var(--ink); font-weight: 500; }
.roadmap li span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); align-self: center; }

footer { margin-top: 110px; border-top: 1px solid var(--rule); padding: 36px 0 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: start; font-size: 14.5px; color: var(--ink-soft); }
footer .brand { font-size: 26px; margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: flex-end; }
footer ul a { display: inline-block; padding: 6px 0; }
footer p { margin: 6px 0 0; max-width: 62ch; }

/* signup */
.form-wrap { max-width: 560px; }
.field { margin: 0 0 18px; }
.field label { display: block; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 7px; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); margin: 0 0 22px; }
.check input { margin-top: 4px; }
.err { display: none; border-left: 3px solid var(--accent); background: var(--tint); color: var(--accent-deep); padding: 12px 16px; margin: 0 0 18px; font-size: 15px; border-radius: 4px; }
.err b { font-family: var(--mono); font-size: 13px; }
.stage { display: none; }
.stage.on { display: block; }
.keybox { background: var(--dark); color: var(--code); padding: 16px 18px; border-radius: 8px; font-family: var(--mono); font-size: 13px; word-break: break-all; position: relative; }
.keybox .copy { position: absolute; right: 10px; top: 10px; background: var(--dark-2); color: var(--code); border: 1px solid #3a3634; border-radius: 6px; padding: 4px 10px; font: inherit; font-size: 11.5px; cursor: pointer; }
.warn { border-left: 3px solid var(--accent); background: var(--bg-soft); padding: 12px 16px; margin: 16px 0; font-size: 15px; }
details { margin: 20px 0; font-size: 14.5px; color: var(--ink-soft); }
details summary { cursor: pointer; }

/* legal + docs (the same long-form article) */
article.legal, article.doc { max-width: 78ch; font-size: 16.5px; line-height: 1.6; overflow-wrap: break-word; }
article.legal h1, article.doc h1 { font-size: 52px; margin-bottom: 18px; }
article.legal h2, article.doc h2 { font-size: 32px; margin: 56px 0 16px; max-width: none; letter-spacing: -.02em; }
article.legal h3, article.doc h3 { font-size: 22px; margin: 28px 0 10px; }
article.legal .tablewrap, article.doc .tablewrap { margin: 18px 0 24px; }
article.legal table, article.doc table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 14.5px; margin: 18px 0 24px; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
article.legal th, article.legal td, article.doc th, article.doc td { border-top: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top; }
article.legal th, article.doc th { border-top: 0; }
article.legal td + td, article.legal th + th, article.doc td + td, article.doc th + th { border-left: 1px solid var(--rule); }
article.legal th, article.doc th { background: var(--bg-soft); font-weight: 500; }
article.legal blockquote, article.doc blockquote { border-left: 3px solid var(--accent); margin: 0 0 20px; padding: 8px 16px; background: var(--tint); }
article.legal code, article.doc code { font-size: 13.5px; background: var(--bg-soft); border: 1px solid #ece4d8; padding: 1px 6px; border-radius: 5px; }
article.legal pre, article.doc pre { background: #15191c; color: var(--code); padding: 18px 20px; border-radius: 10px; overflow-x: auto; max-width: 100%; font-size: 13px; line-height: 1.65; margin: 18px 0 22px; border: 1px solid #2a3237; }
article.legal pre code, article.doc pre code { background: none; color: inherit; padding: 0; border: 0; font-size: inherit; }
.draft { border: 1px solid var(--accent); background: var(--tint); border-radius: 8px; padding: 14px 18px; font-size: 15px; margin: 0 0 32px; max-width: 78ch; }
.legalnav { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.legalnav a.on { color: var(--accent-deep); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
@media (max-width: 1100px) {
  .wrap { padding: 16px 32px 0; }
  h1 { font-size: 60px; } h2 { font-size: 44px; }
  /* minmax(0, 1fr), not 1fr: a bare 1fr's minimum is the content, and a step card's pre.code (white-space: pre) is
     559 px wide, which made the whole page 627 px at a 390 px viewport (measured 2026-09-21); with a 0 minimum the
     card shrinks and the pre scrolls inside it */
  .three, .two, .steps, .agents, .pricing { grid-template-columns: minmax(0, 1fr); }
  .stepcard, .panel, .tier, .roadmap { min-width: 0; }
  .three > div + div { border-left: 0; padding-left: 0; margin-top: 36px; }
  nav.top ul { gap: 6px 20px; font-size: 15px; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 12px 20px 0; }
  .brand { font-size: 26px; gap: 8px; }
  .brand .mark { width: 26px; height: 26px; }
  .btn.sm { padding: 7px 14px; font-size: 16px; }
  h1 { font-size: 44px; } h2 { font-size: 36px; }
  .sub, .lede { font-size: 19px; }
  .ctas { gap: 16px; }
  .tier { padding: 22px 18px; } .tier .price { font-size: 48px; }
  .card-form { padding: 20px 18px; }
  table.plain td:first-child { white-space: normal; font-size: 17px; }
  table.plain th, table.plain td { padding-right: 10px; }
  /* a 52 px h1 with one unbreakable token (lakehousebox.com) was 433 px wide at a 390 px viewport (2026-09-23) */
  article.legal h1, article.doc h1 { font-size: 36px; }
  article.legal h2, article.doc h2 { font-size: 28px; }
  footer ul { gap: 10px 16px; }
}
/* a link that is a button (no navigation, no `#`): the signup page's "Wrong address?" (item 12) */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-deep); text-decoration: underline; cursor: pointer; }

/* docs */
article.doc { max-width: 86ch; }
article.doc h1 { font-size: 46px; }
article.doc .lede { font-size: 20px; margin-bottom: 28px; max-width: none; }
article.doc table { font-size: 14px; }
/* reference pages are looked things up in, not read through (founder, 2026-10-01, after the app's density pass): one step
   smaller than the shared article scale above, for docs only -- the legal pages keep theirs */
article.doc { font-size: 15px; line-height: 1.55; }
article.doc h1 { font-size: 36px; margin-bottom: 12px; }
article.doc h2 { font-size: 24px; margin: 40px 0 12px; }
article.doc h3 { font-size: 18px; margin: 22px 0 8px; }
article.doc .lede { font-size: 17px; margin-bottom: 20px; }
article.doc table { font-size: 13px; }
/* no nowrap on a first-column code: the ingest table's long answer cell pushed its second column out of view
   (1191 px wide, measured 2026-09-23); identifiers without spaces never wrap anyway */
article.doc dl { margin: 0 0 24px; }
article.doc dt { font-weight: 500; margin-top: 16px; }
article.doc dd { margin: 4px 0 0; color: var(--ink-soft); }
article.doc .route { border: 1px solid var(--rule); border-radius: 8px; padding: 14px 18px; margin: 0 0 14px; background: #fff; }
article.doc .route h3 { margin: 0 0 8px; font-family: var(--mono); font-size: 14px; font-weight: 500; }
article.doc .route h3 .m { display: inline-block; min-width: 4.5em; color: var(--accent-deep); }
article.doc .route p { margin: 6px 0; font-size: 13.5px; }
article.doc .route .kv { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0; }
article.doc .route .kv b { color: var(--ink); font-weight: 500; }
article.doc .warnbox { border-left: 3px solid var(--accent); background: var(--tint); padding: 10px 16px; margin: 16px 0; border-radius: 4px; font-size: 15px; }
/* a product page's logo before its title (docs_build.py product_html; marks from web/assets/logos/) */
article.doc h1 .product-logo { width: 40px; height: 40px; vertical-align: -6px; margin-right: 12px; }
.docnav { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.docnav a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.docnav a.on { color: var(--accent-deep); border-bottom-color: var(--accent); }
/* the docs side menu (docs_build.py docs_sidebar): a sticky column beside the article; under 900 px the column hides
   and the same list folds into a <details> above the article. No script. */
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-side { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; font-size: 14.5px; padding: 6px 0 24px; }
.docs-side .docs-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 6px; }
.docs-side .docs-h:first-child { margin-top: 0; }
.docs-side ul { list-style: none; margin: 0; padding: 0; }
.docs-side li a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--rule); color: var(--ink-soft); }
.docs-side li a:hover { color: var(--ink); border-left-color: var(--ink-soft); }
.docs-side li a[aria-current="page"] { color: var(--accent-deep); border-left-color: var(--accent); font-weight: 500; }
.docs-side .docs-m { display: none; margin: 0; }
/* "For agents": every technical page, below the people sections and quieter than them (founder, 2026-10-04) */
.docs-side .docs-h-agents { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--rule); }
.docs-side .docs-sh { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .8; margin: 12px 0 2px 14px; }
.docs-side .docs-agents li a { font-size: 13px; padding: 3px 0 3px 12px; color: var(--muted); }
.docs-side .docs-agents li a:hover { color: var(--ink); }
.docs-side .docs-agents li a[aria-current="page"] { color: var(--accent-deep); }
/* the line at the top of a technical page that has a people page */
.docs-forpeople { font-size: 13px; color: var(--muted); margin: 0 0 18px; padding: 0 0 10px; border-bottom: 1px solid var(--rule); }
.docs-forpeople b { font-weight: 600; color: var(--ink-soft); }
.docs-forpeople a { color: var(--accent-deep); }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .docs-side { position: static; max-height: none; overflow: visible; padding: 0; margin: 0 0 28px; }
  .docs-side .docs-d { display: none; }
  .docs-side .docs-m { display: block; border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: 0 16px; }
  .docs-side .docs-m summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
  .docs-side .docs-m[open] { padding-bottom: 14px; }
}
/* agent-guided community guides (docs_build.py guide2_html; the founder's design of 2026-10-04): a person's page in
   steps, the "Technical reference" tab beside it, an "On this page" rail. Everything scoped under article.guide2. */
article.guide2 { max-width: 1060px; --g2-blue: #edf2f7; --g2-blue-rule: #d6e1eb; --g2-blue-ink: #2f5d86; --g2-tint-rule: #f2c7b4; }
.guide2 .g2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 48px; align-items: start; }
.guide2 .g2-main { min-width: 0; max-width: 780px; }
.guide2 .g2-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 500; }
/* the header: breadcrumb with "For agents ↗" on its right, big title, subtitle, tags, "Before you start" */
.guide2 .g2-head { border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin: 0 0 32px; }
.guide2 .g2-crumbrow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; }
.guide2 .g2-crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 0 10px; }
.guide2 a.g2-agentlink { color: var(--accent-deep); font-size: 13.5px; border-bottom: 0; white-space: nowrap; }
.guide2 a.g2-agentlink:hover { text-decoration: underline; }
.guide2 .g2-crumbs a { border-bottom: 0; }
.guide2 .g2-crumbs a:hover { color: var(--ink); }
article.guide2 .g2-head h1 { font-size: 46px; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 10px; text-wrap: balance; }
.guide2 .g2-sub { font-size: 18.5px; line-height: 1.4; color: var(--ink); margin: 0 0 14px; max-width: 46ch; }
.guide2 .g2-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.guide2 .g2-tags li { font-size: 12.5px; line-height: 1.3; padding: 5px 10px; border-radius: 6px; background: var(--g2-blue); color: var(--g2-blue-ink); }
.guide2 .g2-tags li:first-child { background: var(--tint); color: var(--accent-deep); }
.guide2 .g2-before { display: flex; gap: 12px; align-items: center; background: var(--g2-blue); border-radius: 8px; padding: 11px 16px; font-size: 14px; margin: 0 0 18px; color: var(--ink); }
.guide2 .g2-before svg { flex: none; color: var(--ink-soft); }
.guide2 .g2-before p { margin: 0; }
.guide2 .g2-before b { font-weight: 600; margin-right: 2px; }
.guide2 .g2-before span + span::before { content: "•"; margin: 0 10px; color: var(--muted); }
.guide2 .g2-intro { margin: 0 0 28px; }
/* steps: 01, 02 … in the accent circle, the title and its one-line subtitle, then the step's blocks */
.guide2 .g2-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; margin: 0 0 40px; }
.guide2 .g2-num { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--accent-deep); display: grid; place-items: center; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.guide2 .g2-body { grid-column: 2; min-width: 0; }
article.guide2 .g2-step h2 { font-size: 28px; font-weight: 500; line-height: 1.15; margin: 4px 0 4px; letter-spacing: -.015em; }
.guide2 .g2-stepsub { color: var(--ink-soft); margin: 0 0 16px; }
.guide2 .g2-body > p, .guide2 .g2-body > ul, .guide2 .g2-body > ol { margin: 0 0 14px; }
/* the example conversation */
.guide2 .g2-conv { margin: 0 0 8px; }
.guide2 .g2-card { border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 0 14px 14px; }
.guide2 .g2-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 11px 2px; font-size: 13px; }
.guide2 .g2-term { font-family: var(--mono); font-weight: 600; letter-spacing: -.04em; }
.guide2 .g2-bar b { font-weight: 600; }
.guide2 .g2-or { color: var(--muted); }
.guide2 .g2-bar .g2-label { border-left: 1px solid var(--rule); padding-left: 10px; margin-left: 4px; }
.guide2 .g2-who { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin: 0 0 6px; }
.guide2 .g2-you { background: var(--tint); border-radius: 8px; padding: 12px 14px; }
.guide2 .g2-agent + .g2-you, .guide2 .g2-you + .g2-you { margin-top: 12px; }
.guide2 .g2-prompt { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.guide2 .g2-agent { margin-top: 16px; }
.guide2 .g2-agent .g2-who { color: var(--muted); }
.guide2 .g2-reply { background: var(--g2-blue); border-radius: 8px; padding: 12px 16px; font-family: var(--serif); font-size: 16.5px; line-height: 1.5; font-variation-settings: "opsz" 16; }
.guide2 .g2-reply > :first-child, .guide2 .g2-ytbody > :first-child, .guide2 .g2-note p:first-child, .guide2 .g2-morebody > :first-child { margin-top: 0; }
.guide2 .g2-reply > :last-child, .guide2 .g2-ytbody > :last-child, .guide2 .g2-note p:last-child, .guide2 .g2-morebody > :last-child { margin-bottom: 0; }
.guide2 .g2-reply ul, .guide2 .g2-reply ol { padding-left: 20px; }
.guide2 .g2-conv figcaption, .guide2 .g2-cap { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
/* copy buttons: shipped hidden, shown by /docs/copy.js */
.guide2 .g2-copy { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 500 12.5px/1 var(--sans); letter-spacing: normal; text-transform: none; color: var(--accent-deep); background: #fff; border: 1px solid var(--accent); border-radius: 6px; padding: 6px 10px; min-height: 30px; cursor: pointer; }
.guide2 .g2-copy:hover { background: var(--accent); color: #fff; }
.guide2 .g2-copy[hidden] { display: none; }
.guide2 .g2-copy.g2-done span { display: none; }
.guide2 .g2-copy.g2-done::after { content: "Copied"; }
.guide2 .g2-copy.g2-icon { border-color: transparent; background: transparent; padding: 6px; min-height: 32px; min-width: 32px; justify-content: center; }
.guide2 .g2-copy.g2-icon:hover { border-color: var(--accent); background: #fff; color: var(--accent-deep); }
.guide2 .g2-copy.g2-icon.g2-done::after { font-size: 11.5px; }
/* "Your turn": what only the person can do; side by side when two follow each other */
.guide2 .g2-yt { border: 1px solid var(--g2-tint-rule); border-radius: 10px; background: #fff; padding: 14px 16px 16px; margin: 0 0 16px; min-width: 0; }
.guide2 .g2-yt .g2-label { display: flex; align-items: center; gap: 8px; color: var(--accent-deep); }
.guide2 .g2-yt-agent { background: var(--g2-blue); border-color: var(--g2-blue-rule); }
.guide2 .g2-yt-agent .g2-label { color: var(--g2-blue-ink); }
article.guide2 .g2-yt h3 { font-size: 21px; font-weight: 500; margin: 8px 0 8px; }
.guide2 .g2-ytbody { font-size: 14.5px; color: var(--ink-soft); }
.guide2 .g2-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.guide2 .g2-pair .g2-yt { margin: 0; }
/* checklist, note, verified strip */
.guide2 ul.g2-check { list-style: none; padding: 0; margin: 0 0 16px; }
.guide2 .g2-check li { position: relative; padding-left: 28px; margin: 0 0 8px; }
.guide2 .g2-check li::before, .guide2 .g2-ok::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); }
.guide2 .g2-check li::after, .guide2 .g2-ok::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.guide2 .g2-note { display: flex; gap: 10px; align-items: flex-start; background: var(--g2-blue); color: var(--ink); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.guide2 .g2-note svg { flex: none; color: var(--g2-blue-ink); margin-top: 3px; }
.guide2 .g2-note p { margin: 0 0 6px; }
.guide2 .g2-ver { border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 12px 16px 14px; margin: 0 0 8px; }
.guide2 .g2-verrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 10px; }
.guide2 .g2-ok { position: relative; padding-left: 28px; font-size: 14px; font-weight: 500; }
.guide2 .g2-ok::before { background: var(--ok-text); }
.guide2 .g2-vernote { font-size: 13px; color: var(--muted); border-left: 1px solid var(--rule); padding-left: 24px; }
/* copyable questions */
.guide2 ul.g2-qs { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.guide2 .g2-qs li { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: 10px 8px 10px 14px; font-size: 14px; line-height: 1.45; margin: 0; }
.guide2 .g2-qs p { margin: 2px 0 0; min-width: 0; }
/* collapsible rows (## ? …) and the closing card */
.guide2 .g2-more { border: 1px solid var(--rule); border-radius: 8px; background: #fff; margin: -16px 0 40px 62px; }
.guide2 .g2-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; padding: 8px 16px; font-size: 14.5px; font-weight: 500; }
.guide2 .g2-more summary::-webkit-details-marker { display: none; }
.guide2 .g2-more summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); }
.guide2 .g2-more[open] summary::after { content: "−"; }
.guide2 .g2-morebody { padding: 0 16px 14px; font-size: 14.5px; }
.guide2 .g2-need { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid var(--g2-tint-rule); border-radius: 10px; background: #fff; padding: 16px 20px; margin: 8px 0 0; }
.guide2 .g2-needicon { width: 44px; height: 44px; border-radius: 8px; background: var(--tint); color: var(--accent-deep); display: grid; place-items: center; }
.guide2 .g2-need p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.guide2 .g2-need .g2-needh { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.guide2 .g2-needlinks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.guide2 .g2-needlinks a { color: var(--accent-deep); font-size: 13.5px; white-space: nowrap; }
/* images: platform/docs/user/guides/img/<slug>/ */
.guide2 img { max-width: 100%; height: auto; }
.guide2 .g2-fig { margin: 0 0 16px; }
.guide2 .g2-fig img { display: block; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.guide2 .g2-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
/* a guide's technical page: the recipe as the one-page guides render it */
article.guide2 .g2-ref h1 { margin-top: 0; }
/* "On this page" */
.guide2 .g2-toc { position: sticky; top: 20px; font-size: 13px; line-height: 1.4; padding-top: 2px; }
.guide2 .g2-toc .g2-toc-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.guide2 .g2-toc ol, .guide2 .g2-toc ul { margin: 0 0 4px; padding: 0 0 0 18px; color: var(--muted); }
.guide2 .g2-toc ul { list-style: none; padding: 0; }
.guide2 .g2-toc li { margin: 0 0 9px; }
.guide2 .g2-toc a, article.doc.guide2 .g2-toc li a { color: var(--ink-soft); border-bottom: 0; }
.guide2 .g2-toc a:hover { color: var(--accent-deep); }
@media (max-width: 1100px) {
  .guide2 .g2-grid { grid-template-columns: minmax(0, 1fr); }
  .guide2 .g2-toc { display: none; }
}
@media (max-width: 640px) {
  article.guide2 .g2-head h1 { font-size: 34px; }
  .guide2 .g2-sub { font-size: 17px; }
  .guide2 .g2-before { align-items: flex-start; }
  .guide2 .g2-before span { display: block; }
  .guide2 .g2-before span + span::before { margin: 0 6px 0 0; }
  .guide2 .g2-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; }
  .guide2 .g2-num { width: 34px; height: 34px; font-size: 13px; }
  article.guide2 .g2-step h2 { font-size: 23px; margin-top: 2px; }
  .guide2 .g2-card { padding: 0 10px 10px; }
  .guide2 .g2-pair { grid-template-columns: minmax(0, 1fr); }
  .guide2 .g2-more { margin-left: 0; }
  .guide2 .g2-vernote { border-left: 0; padding-left: 0; }
  .guide2 .g2-need { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide2 .g2-needicon { display: none; }
}
/* 404 */
.notfound { min-height: 40vh; }
.notfound h1 { font-size: 64px; }
@media print {
  nav.top, footer ul, .skip, .btn, .menu, .docs-side { display: none !important; }
  .docs-layout { display: block; }
  body { font-size: 11pt; color: #000; background: #fff; }
  article.legal, article.doc { max-width: none; }
  a { border-bottom: 0; }
}

/* signup (2026-09-20: our own page, two columns; docs/permissions-and-access.md) */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 72px; align-items: start; }
.signup h1 { font-size: 64px; }
.checks { list-style: none; margin: 0 0 40px; padding: 0; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.checks li b { color: var(--ink); font-weight: 500; }
.checks .chk { width: 24px; height: 24px; border-radius: 50%; background: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.checks .chk svg { width: 14px; height: 14px; }
.selfhost { border: 1px solid var(--rule); border-radius: 10px; background: #fff; padding: 20px 24px; max-width: 520px; }
.selfhost h3 { margin: 0 0 8px; font-size: 20px; }
.selfhost p { margin: 0 0 12px; color: var(--ink-soft); font-size: 15.5px; }
.selfhost .link { font-size: 17px; }
.card-form { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 28px 30px; box-shadow: 0 18px 50px rgba(26, 25, 23, .06), 0 1px 3px rgba(26, 25, 23, .05); }
.card-form h2 { font-size: 40px; margin: 0 0 14px; }
.card-form .sub { font-size: 19px; max-width: none; }
.card-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.card-form .nocard { text-align: center; margin: 10px 0 18px; }
.card-form .terms { margin: 0 0 12px; }
.card-form select { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--rule); border-radius: 7px; background: #fff; }
.card-form pre.code { margin: 0 0 18px; }
.card-form h3 { margin: 24px 0 8px; }
.card-form .keybox { margin: 0 0 10px; }
.selfhosted-api { margin-top: 18px; }
.selfhosted-api summary { cursor: pointer; }
.selfhosted-api .field { margin-top: 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.handle { display: flex; align-items: center; border: 1px solid var(--rule); border-radius: 7px; background: #fff; overflow: hidden; }
.handle .pre { font-family: var(--mono); font-size: 13.5px; color: var(--muted); padding: 0 0 0 14px; white-space: nowrap; }
.handle input { border: 0 !important; border-radius: 0 !important; font-family: var(--mono); padding-left: 4px !important; }
.handle input:focus { outline: none !important; } /* the box shows focus instead: overflow: hidden clips the input's own ring */
.handle:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.handle.taken { border-color: var(--accent); }
.handle.free { border-color: var(--ok); }
.hidden { display: none !important; }
.note { border-left: 3px solid var(--ok); background: #eef8f1; color: var(--ok-text); padding: 10px 14px; border-radius: 4px; font-size: 14.5px; margin: 0 0 18px; }
@media (max-width: 1000px) {
  .signup { grid-template-columns: 1fr; gap: 36px; }
  .signup h1 { font-size: 48px; }
}

/* blog (generated by docs_build.py from blog/) */
article.post .eyebrow { margin-bottom: 14px; }
article.post .postfoot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); }
article.post .postlist { list-style: none; padding: 0; margin: 0; }
article.post .postlist li { margin: 0 0 32px; }
article.post .postlist time { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
article.post .postlist h2 { font-size: 26px; margin: 4px 0 8px; }
article.post .postlist h2 a { border-bottom: none; }
article.post .postlist p { margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------------------------------------
   Homepage (2026-09-21, LakehouseBox; docs/design/lakehousebox-site-2026-09-21.md). Full-bleed
   sections carry their own .inner; body.home scopes the type that differs from the other pages. */
.inner { max-width: calc(var(--width) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* The homepage's type, shared by How it works and Agents (2026-10-19). */
:is(body.home, body.hiw, body.ag) .eyebrow { font-size: 11.5px; letter-spacing: .2em; color: var(--accent); margin: 0 0 20px; }
:is(body.home, body.hiw, body.ag) h1 { font-weight: 400; font-size: clamp(48px, 5.9vw, 84px); line-height: 1.0; letter-spacing: -.04em; margin: 0 0 26px; font-variation-settings: "opsz" 72; text-wrap: balance; }
:is(body.home, body.hiw, body.ag) h1 em { font-style: italic; color: var(--accent); }
:is(body.home, body.hiw, body.ag) h2 { font-weight: 400; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; max-width: 22ch; text-wrap: balance; }
:is(body.home, body.hiw, body.ag) h3 { font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
:is(body.home, body.hiw, body.ag) .sub { font-family: var(--sans); font-size: 17.5px; line-height: 1.55; color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
:is(body.home, body.hiw, body.ag) .link { font-size: 18px; border-bottom-color: var(--accent); display: inline-block; padding: 6px 0; }
:is(body.home, body.hiw, body.ag) section.block { padding: 84px 0; }
body.home .soon { font-family: var(--mono); font-size: 11px; text-transform: uppercase; vertical-align: middle; }

/* ------------------------------------------------------------------------------------------------
   Homepage, 2026-10-06 (docs/design/homepage-infrastructure-2026-10-06.md): the service as infrastructure.
   A centred hero, the quickstart's commands in a tabbed terminal (tabs.js, copy.js), the agent prompt row,
   the engine strip, the five parts as rows, the measured runs, six numbered properties, the public-data
   band with three real tables, the pricing row (the .plan cards are shared with /pricing/), the deployment
   strip and a resources row. The .hero / .hero-grid / .art basics also serve /public-data. */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; grid-template-columns: 50fr 50fr; gap: 32px; align-items: center; }
.hero-copy .ctas { margin: 0 0 22px; }
.hero-copy .fine { margin: 0 0 6px; }
.art { position: relative; padding-top: 22%; }
.art picture, .art img { display: block; width: 100%; height: auto; }
.art img { aspect-ratio: 1 / 1; }
.hero-centre { text-align: center; padding-top: 24px; }
body.home .hero-centre .eyebrow { margin-bottom: 18px; }
.hero-centre h1 { margin: 0 auto 20px; font-size: clamp(46px, 6.4vw, 92px); }
body.home .hero-centre .sub { margin: 0 auto 26px; max-width: 70ch; font-size: 18px; }
.hero-centre .ctas { justify-content: center; margin: 0 0 14px; }
.hero-centre .ctas .link { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--accent-deep); }
.hero-centre .ctas .link:hover { color: var(--ink); }
.hero-centre .fine { margin: 0; }

/* the terminal: three tabs, one Copy that follows the visible panel, the box beside the code */
.term { margin-top: 36px; background: linear-gradient(180deg, #24292d, #1b2023); border: 1px solid #3a454b; border-radius: 14px; color: #edf3f5; box-shadow: 0 18px 44px rgba(25, 30, 33, .22), 0 2px 4px rgba(25, 30, 33, .18); overflow: hidden; }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 0 10px; border-bottom: 1px solid #2f383d; }
.term-bar [role="tablist"] { display: flex; }
.term-bar [role="tab"] { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 15px 14px 13px; font: 500 13.5px var(--sans); color: #9fb0b8; cursor: pointer; }
.term-bar [role="tab"]:hover { color: #fff; }
.term-bar [role="tab"][aria-selected="true"] { color: #fff; border-bottom-color: var(--accent); }
button.term-copy { border-color: #4a565d; color: #edf3f5; }
button.term-copy:hover { background: #edf3f5; color: var(--ink); border-color: #edf3f5; }
.term-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px 32px; align-items: center; padding: 16px 26px 14px; }
.term-panels { min-width: 0; }
/* a terminal, not an editor: a prompt before each command (CSS, so Copy copies clean commands), comments green, plain lines dim */
.term-code { margin: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: #edf3f5; white-space: pre; overflow-x: auto; }
.term-code .l::before { content: "$ "; color: #ff946e; }
.term-code .c { color: #9ad38f; }
.term-code .o { color: #c9d5db; }
.term-code.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.term-art { margin: 0; text-align: center; }
.term-art figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #9fb0b8; margin: 0 0 4px; }
/* the hero asset carries transparent margins (the box is the canvas's 8-92 % across and 17-92 % down, measured 2026-10-06): a window the
   size of the box plus 10 px, the image offset so the box sits in it; the design agent's tighter render replaces this */
.term-art .crop { position: relative; width: 230px; height: 206px; margin: 0 auto; overflow: hidden; }
.term-art picture { display: block; }
.term-art img { position: absolute; left: -15px; top: -39px; width: 261px; height: 261px; }
.term-foot { display: flex; flex-wrap: wrap; gap: 8px 36px; padding: 12px 26px; border-top: 1px solid #2f383d; font-family: var(--mono); font-size: 12px; color: #9fb0b8; }
.term-foot span { display: inline-flex; align-items: center; gap: 9px; }
.term-foot .pi { width: 18px; height: 18px; stroke: #9fb0b8; }

/* the agent prompt row (/how-it-works links to #connect-agent) */
.start { margin-top: 28px; }
.start-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; border: 1px solid var(--rule); border-radius: 12px; background: #fff; padding: 18px 22px 16px; }
body.home .start-title { font-size: 26px; font-weight: 400; margin: 0; white-space: nowrap; max-width: none; letter-spacing: -.02em; }
.start-title .p { color: var(--accent); font-family: var(--mono); font-size: 24px; margin-right: 6px; }
.start-row .quote { margin: 0; font-size: 13px; }
.start-row .start-note { grid-column: 2; margin: 0; }
.start-row .start-agents { grid-column: 3; margin: 0; text-align: right; }

/* engine strip: marks from /assets/logos/, the tested version beside each name */
.compat { margin-top: 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.compat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-block: 20px; }
.compat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.compat .logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.compat .logos li { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 500; }
.compat .logos img { width: 22px; height: 22px; display: block; }
.compat .logos small { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--ink-soft); border: 1px solid var(--rule); border-radius: 5px; padding: 2px 7px; background: #fff; }
.compat .link, body.home .compat .link { margin-left: auto; font-family: var(--sans); font-size: 14.5px; padding: 0; border-bottom-color: var(--accent); color: var(--accent-deep); }
.compat .link:hover, body.home .compat .link:hover { color: var(--ink); }

/* the five parts: one row each, the CLI noun, the status the capabilities page records */
.pi { display: block; width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
body.home section.parts-sec { padding: 72px 0 56px; }
.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.parts li { display: grid; grid-template-columns: 34px 180px minmax(0, 1fr) auto 100px auto; gap: 0 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.parts h3 { margin: 0; font-size: 24px; font-weight: 500; }
.parts p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.parts p small { display: block; font-size: 13px; color: var(--muted); }
.parts code { font-size: 12.5px; background: var(--code); border-radius: 5px; padding: 5px 10px; white-space: nowrap; color: var(--ink); }
.st { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st.live { color: var(--ok-text); }
.st.preview { color: #b86e0f; }
.parts a { font-size: 15px; color: var(--accent-deep); border-bottom: 1px solid var(--accent); white-space: nowrap; }
.parts a:hover { color: var(--ink); }

/* the measured runs (dates in the page's head comment) */
.runs { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0 20px; }
body.home .runs .eyebrow { margin-bottom: 10px; }
.runs .run { margin: 0 0 6px; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.runs .run b { font-weight: 600; color: var(--ink); }
.runs .run b.t { color: var(--accent-deep); }
.runs .dim { color: var(--muted); }
.runs .fine { margin: 10px 0 0; font-size: 14px; }
.runs .fine a { border-bottom-color: var(--accent); color: var(--ink-soft); }

/* six properties, numbered */
body.home section.props-sec { padding: 64px 0 56px; }
.props { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; border-top: 1px solid var(--rule); }
.props li { display: grid; grid-template-columns: 26px 26px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 20px 0 18px; border-bottom: 1px solid var(--rule); }
.props .n { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 5px; }
.props h3 { font-size: 18.5px; font-weight: 500; margin: 0 0 3px; }
.props p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* public data: the band and three real tables (names and columns from web/pubdata/registry.json) */
.home-public { background: var(--lake); padding: 60px 0 56px; }
.pub-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hp-pubcopy h2 { margin-bottom: 12px; }
body.home .hp-pubcopy .sub { margin: 0 0 6px; color: #3f4a50; }
.pub-count { margin: 0 0 14px; color: #3f4a50; font-size: 16px; }
.hp-pubcopy .fine { margin: 12px 0 0; color: #3f4a50; }
.ds-cards { list-style: none; margin: 0; padding: 12px 0 18px; display: flex; justify-content: center; align-items: flex-start; }
.ds-cards li { flex: none; width: 34%; max-width: 232px; background: var(--bg); border: 1px solid #c9dde6; border-radius: 9px; padding: 14px 16px 16px; box-shadow: 0 18px 34px rgba(24, 60, 78, .18), 0 2px 4px rgba(24, 60, 78, .08); transform: rotate(-5deg) translateY(8px); transform-origin: 50% 100%; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }
.ds-cards li + li { margin-left: -14px; }
.ds-cards li:nth-child(2) { transform: none; z-index: 1; }
.ds-cards li:nth-child(3) { transform: rotate(5deg) translateY(10px); }
.ds-cards b { display: block; font-weight: 600; color: var(--ink); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #d9e6ec; overflow-wrap: anywhere; }
.ds-cards span { display: block; }

/* pricing (the .plans cards are shared with /pricing/) */
body.home #pricing { padding: 56px 0 28px; }
body.home #pricing .plans { margin-top: 28px; }
.plan .amount small { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; margin-left: 6px; }
body.home #pricing .fine a { border-bottom-color: var(--accent); }

/* where it runs, and the resources row */
.where { margin-top: 20px; }
.where-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; padding-block: 18px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-soft); }
.where-row p { margin: 0; display: inline-flex; align-items: center; gap: 9px; }
.where-row .pi { width: 20px; height: 20px; stroke: var(--ink-soft); }
.where-row .soon { margin-left: 8px; }
.where-row .link, body.home .where-row .link { font-family: var(--sans); font-size: 14.5px; padding: 0; color: var(--accent-deep); }
.res-row { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-block: 14px 0; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-soft); }
.res-row a:hover { color: var(--ink); }

/* homepage footer sits inside .wrap; the shared footer rules apply */
:is(body.home, body.hiw, body.ag) footer { margin-top: 0; }

@media (max-width: 1100px) {
  .inner { padding-inline: 32px; }
  .parts li { grid-template-columns: 34px 160px minmax(0, 1fr) auto 90px auto; gap: 0 16px; }
  .props { gap: 0 28px; }
}
/* Eight menu items no longer fit on one line below ~1200px (2026-10-19): the menu collapses there. */
@media (max-width: 1200px) {
  /* the navigation disclosure: nav.js adds html.js and toggles .open; without it the list wraps */
  html.js nav.top .menu { display: inline-flex; align-items: center; margin-left: auto; }
  html.js nav.top ul { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; margin: 0; padding: 6px 0 12px; border-top: 1px solid var(--rule); }
  html.js nav.top.open ul { display: flex; }
  html.js nav.top ul a { display: block; padding: 12px 0; font-size: 17px; color: var(--ink); }
  html:not(.js) nav.top ul { order: 3; flex-basis: 100%; }
}
@media (max-width: 900px) {
  nav.top { min-height: 64px; margin-bottom: 24px; }
  .hero { padding-top: 16px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .art { max-width: 560px; width: 100%; margin: 0 auto; padding-top: 0; }
  .hero-centre { text-align: left; padding-top: 8px; }
  .hero-centre h1, body.home .hero-centre .sub { margin-left: 0; margin-right: 0; }
  .hero-centre .ctas { justify-content: flex-start; }
  .term { margin-top: 28px; }
  .term-body { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 14px; }
  .term-art .crop { width: 177px; height: 158px; }
  .term-art img { left: -12px; top: -30px; width: 200px; height: 200px; }
  .term-foot { padding: 10px 18px; gap: 6px 22px; }
  .start-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .start-row .start-note, .start-row .start-agents { grid-column: auto; text-align: left; }
  .parts li { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 16px; padding: 16px 0; }
  .parts li > :not(.pi) { grid-column: 2; }
  .parts .pi { grid-row: 1 / span 2; }
  .props { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pub-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ds-cards { padding-bottom: 12px; }
  :is(body.home, body.hiw, body.ag) section.block { padding-top: 56px; padding-bottom: 48px; }
  body.home section.parts-sec, body.home section.props-sec { padding: 56px 0 44px; }
  .home-public { padding: 48px 0; }
  body.home #pricing { padding: 44px 0 24px; }
  .compat { margin-top: 24px; }
}
@media (max-width: 600px) {
  .inner { padding-inline: 20px; }
  /* brand + Menu on one row; the Start free button joins the opened list (the hero has one anyway) */
  html.js nav.top .btn.sm { display: none; }
  html.js nav.top.open .btn.sm { display: inline-flex; order: 4; margin: 4px 0 8px; }
  .hero-centre h1 br { display: none; }
  .term-bar { padding: 0 10px 0 4px; }
  .term-bar [role="tab"] { padding: 13px 10px 11px; font-size: 13px; }
  .term-code { font-size: 12.5px; }
  .compat-row { gap: 12px 20px; }
  .compat .link, body.home .compat .link { margin-left: 0; }
  .ds-cards li { width: 33%; font-size: 10.5px; padding: 10px 10px 12px; }
  .ds-cards li + li { margin-left: -6px; }
  .where-row { gap: 10px 20px; }
}

/* page h1 (review item 33) */
.page-h1 { font-size: clamp(40px, 6vw, 64px); }
.stage-h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 18px; }


/* ============================================================================================================
   The journal's article page (2026-09-22, the founder's mockup): back link, category eyebrow, serif title and
   lede, author row, hero figure, the text beside an "In this article" rail, pull quotes on the lake tint, code
   blocks with a label and Copy (post.js), a closing card, the next article. Generated by docs_build.py.
   ============================================================================================================ */
/* 2026-09-24: the reading surface is white edge to edge (the founder: reading on cream was tiring); nav and footer
   stay cream. The box-shadow + clip-path pair paints the full width without leaving .wrap. */
article.post-article, article.post-index { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); padding-bottom: 64px; }
article.post-article { max-width: 1180px; margin: 0 auto; font-size: 18px; line-height: 1.65; padding-top: 28px; }
.post-crumbs { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin: 0 0 24px; }
.post-crumbs a { color: var(--ink-soft); border-bottom: 1px solid #d9d3ca; padding-bottom: 1px; }
.post-crumbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.post-head { max-width: none; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid #ece6dd; }
.post-cat { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 16px; }
article.post-article h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 18px; max-width: 21ch; text-wrap: balance; font-variation-settings: "opsz" 72; }
article.post-article .lede { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.38; color: var(--ink-soft); margin: 0 0 22px; max-width: 58ch; font-variation-settings: "opsz" 24; }
.post-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0; }
.post-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; color: var(--ink); }
.post-author { color: var(--ink-soft); font-weight: 500; }
.post-dot { color: var(--muted); }
.post-hero { margin: 0 0 44px; max-width: 820px; border-radius: 10px; overflow: hidden; background: var(--lake); height: 260px; }
.post-hero img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 3% 6%; box-sizing: border-box; }
/* a raster hero (an illustration, 16:9) fills the frame at its own ratio instead of sitting padded on the tint */
.post-hero:has(img[src$=".webp"]), .post-hero:has(img[src$=".jpg"]) { height: auto; background: none; }
.post-hero img[src$=".webp"], .post-hero img[src$=".jpg"] { height: auto; aspect-ratio: 16 / 9; object-fit: cover; padding: 0; }
.post-grid { display: grid; grid-template-columns: minmax(0, 820px) 220px; justify-content: space-between; gap: 64px; align-items: start; }
.post-body { min-width: 0; max-width: 820px; }
.post-body > :is(p, ul, ol, blockquote, h2, h3) { max-width: 740px; }
.post-body :not(pre) > code { font-size: .86em; background: #f5f5f3; border: 1px solid #eeeae4; padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.post-body h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 400; letter-spacing: -.018em; line-height: 1.15; margin: 52px 0 16px; color: var(--ink); }
.post-body > h2:first-child, .post-finding + h2 { margin-top: 0; }
.post-body h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 32px 0 10px; color: var(--ink); }
.post-body p { color: #292929; margin: 0 0 20px; }
.post-body li { color: #292929; margin: 0 0 10px; }
.post-body ul, .post-body ol { margin: 0 0 24px; padding-left: 22px; }
.post-body ul li::marker { color: var(--accent); }
.post-body b, .post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { border-bottom: 1px solid var(--accent); }
.post-body a:hover { color: var(--accent-deep); }
.post-body blockquote { display: table; background: #faf4ed; border: 0; border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; margin: 28px 0 32px; padding: 14px 22px; }
.post-body blockquote::before { content: none; }
.post-body blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink); }
.post-body blockquote p::before { content: "\201C"; } .post-body blockquote p::after { content: "\201D"; }
/* optional opening Key findings panel (.post-finding) and compact setup strip (.post-specs) */
.post-finding { background: #faf4ed; border: 1px solid #ede2d4; border-radius: 10px; padding: 28px 32px; margin: 0 0 40px; }
.post-body .post-finding-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.post-body .post-finding-kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); display: inline-block; }
.post-body .post-finding-h { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0 0 10px; max-width: none; }
.post-body .post-finding-sub { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 24px; max-width: 58ch; }
.post-finding-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 24px; padding-top: 20px; border-top: 1px solid #e6dacb; }
.post-finding-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.post-finding-stat + .post-finding-stat { border-left: 1px solid #e6dacb; padding-left: 24px; }
.post-finding-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.post-body .post-finding-val { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; color: var(--accent); }
.post-finding-note { font-family: var(--sans); font-size: 13px; line-height: 1.4; color: var(--muted); }
.post-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; border: 1px solid #e5ded4; border-radius: 10px; background: #fcfaf7; padding: 16px 22px; margin: 20px 0 28px; }
.post-spec { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.post-spec + .post-spec { border-left: 1px solid #e5ded4; padding-left: 22px; }
.post-spec-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-spec-v { font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.post-code { margin: 0 0 8px; border-radius: 10px; overflow: hidden; background: #1e2226; max-width: 100%; }
.post-code-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; font-family: var(--sans); font-size: 12.5px; color: #b9c3c7; background: #2a2f34; }
.post-code-head button { background: none; border: 0; color: #e9eef1; font: inherit; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; border-radius: 4px; }
.post-code-head button:hover { color: #fff; }
.post-body .post-code pre { margin: 0; border-radius: 0; background: #1e2226; color: #e9eef1; padding: 18px 20px; font-size: 13.5px; line-height: 1.7; display: flex; gap: 22px; overflow-x: auto; max-width: 100%; }
.post-body pre .post-gutter { color: #6b747a; text-align: right; user-select: none; flex: none; }
.post-body pre code { white-space: pre; }
.post-body pre + p > em:only-child, .post-code + p > em:only-child { font-style: normal; font-size: 13.5px; color: var(--muted); }
.post-body .post-code + p { margin-top: 6px; }
.post-rail { position: sticky; top: 28px; border-left: 1px solid #ece6dd; padding-left: 22px; font-family: var(--sans); }
.post-toc summary { list-style: none; pointer-events: none; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc-h, .post-rail-h { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink-soft); }
.post-toc ol { list-style: none; margin: 0; padding: 0; }
.post-toc li { margin: 0; }
.post-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--muted); border-bottom: 0; }
.post-toc a:hover { color: var(--ink); }
.post-toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 500; }
.post-rail-sec { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #ece6dd; }
.post-rail-links { list-style: none; margin: 0; padding: 0; }
.post-rail-links li { margin: 0 0 8px; }
.post-rail-links a { font-size: 13.5px; font-weight: 500; color: var(--accent-deep); border-bottom: 0; display: inline-flex; align-items: center; gap: 4px; }
.post-rail-links a:hover { color: var(--ink); }
.post-copylink { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid #ece6dd; width: 100%; background: none; font: inherit; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; text-align: left; }
.post-copylink svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-copylink:hover, .post-copylink.done { color: var(--accent-deep); }
@media (max-width: 1140px) {
  .post-grid { grid-template-columns: minmax(0, 720px) 200px; gap: 40px; }
}
@media (max-width: 960px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .post-rail { position: static; border: 1px solid #ece6dd; border-radius: 10px; padding: 0; order: -1; background: #fcfaf7; }
  .post-toc summary { pointer-events: auto; cursor: pointer; margin: 0; padding: 13px 16px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; }
  .post-toc summary::after { content: "+"; font-family: var(--sans); font-size: 16px; color: var(--muted); }
  .post-toc details[open] summary::after { content: "\2212"; }
  .post-toc ol { padding: 0 16px 12px; }
  .post-rail-sec { margin: 0; padding: 12px 16px; border-top: 1px solid #ece6dd; }
  .post-rail-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .post-rail-links li { margin: 0; }
  .post-copylink { display: none; }
}
@media (max-width: 640px) {
  article.post-article h1 { font-size: clamp(34px, 8vw, 40px); line-height: 1.08; }
  article.post-article .lede { font-size: 19px; }
  .post-hero { height: 200px; }
  .post-finding { padding: 20px 18px; }
  .post-finding-grid, .post-specs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .post-finding-stat + .post-finding-stat, .post-spec + .post-spec { border-left: 0; padding-left: 0; border-top: 1px solid #e6dacb; padding-top: 14px; }
  .post-body blockquote { padding: 14px 16px; }
  .post-body blockquote p { font-size: 19px; }
}


/* The blog's front (2026-09-22, the founder's mockup): eyebrow, serif title, one line with the Atom link, then one
   row per post: thumbnail on its tint, category, title, description, date · author, an arrow. Generated by docs_build.py. */
article.post-index { max-width: none; padding-top: 40px; }
.bl-eyebrow { color: var(--accent); margin-bottom: 14px; }
article.post-index h1 { font-size: clamp(40px, 4.4vw, 56px); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
.bl-head, .bl-list { max-width: 980px; }
.bl-sub { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 32px; border-bottom: 1px solid #eeeae4; }
.bl-sub .lede { font-family: var(--sans); font-size: 21px; color: var(--ink-soft); margin: 0; max-width: none; }
.bl-feed { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--accent-deep); border-bottom: 0; }
.bl-feed:hover { color: var(--ink); }
.bl-feed svg { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bl-feed svg path { fill: none; }
.bl-list { list-style: none; margin: 0; padding: 0; }
.bl-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 36px; align-items: center; padding: 30px 0; border-bottom: 1px solid #eeeae4; }
.bl-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--tint); border-bottom: 0; }
.bl-thumb img, .bl-blank { display: block; width: 100%; height: 100%; object-fit: contain; }
.bl-row:nth-child(odd) .bl-thumb { background: var(--lake); }
.bl-text h2 { font-size: 30px; font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 10px; max-width: none; }
.bl-text h2 a { border-bottom: 0; }
.bl-text h2 a:hover { color: var(--accent-deep); }
.bl-desc { font-family: var(--sans); font-size: 18px; line-height: 1.5; color: #292929; margin: 0 0 12px; max-width: 60ch; }
.bl-meta { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin: 0; display: flex; gap: 10px; }
@media (max-width: 900px) {
  .bl-row { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .bl-thumb { max-width: 420px; }
  .bl-text h2 { font-size: 28px; }
  .bl-desc { font-size: 18px; }
}

/* Code highlighting on the article page (post.js, keyword lists only, no library) */
.post-code .tk-k { color: #8fd3ff; }
.post-code .tk-f { color: #e2c4ff; }
.post-code .tk-s { color: #c3e88d; }
.post-code .tk-n { color: #f8b76b; }
.post-code .tk-c { color: #8a959c; font-style: italic; }
.post-code .tk-v { color: #ffd479; }


/* Every copy control carries the same small icon (2026-09-22): a pseudo-element with a masked SVG, so it survives the
   label swap to "Copied" and takes the button's colour. Site buttons, the key boxes, the article code blocks, the app. */
button.copy::before, .keybox .copy::before, .post-code-head button::before, .copy-ic::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; flex: none;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat; }
.keybox .copy::before { width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; }
.post-code-head button::before { margin-right: 4px; }

/* /pricing/ (redesigned 2026-09-24): three plans, the metering band, use cases */
.ic { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pr-hero { text-align: center; padding: 24px 0 0; }
.pr-hero .eyebrow { color: var(--accent); }
.pr-hero h1 { font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -.035em; max-width: 22ch; margin: 0 auto 20px; text-wrap: balance; }
.pr-hero .lede { font-family: var(--sans); font-size: 18px; color: var(--ink-soft); margin: 0 auto 10px; max-width: none; }
.pr-where { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 0; }
.pr-where .ic { width: 18px; height: 18px; color: #6cb4cf; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 24px; }
.plan { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 28px 28px 30px; display: flex; flex-direction: column; }
.plan.lake { background: var(--lake); border-color: #c9e3ec; }
.plan h2, body.home .plan h2 { font-size: 34px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 6px; max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan .badge { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.plan .for { color: var(--ink-soft); font-size: 15px; margin: 0; min-height: 3em; }
.plan .amount { font-family: var(--serif); font-size: 56px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 22px 0 10px; font-variation-settings: "opsz" 72; }
.plan .plan-note { color: var(--ink-soft); font-size: 15px; margin: 0 0 24px; }
.plan .btn { margin-top: auto; justify-content: center; font-family: var(--sans); font-size: 16px; font-weight: 600; }
.plan .btn.ghost { background: #fff; color: var(--action); border-color: var(--action); }
.plan .btn.ghost:hover { background: var(--action); color: #fff; }
.pr-meter { background: var(--night); color: #fff; border-radius: 12px; padding: 44px 40px 20px; text-align: center; }
.pr-meter h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; letter-spacing: -.02em; margin: 0 auto 8px; max-width: none; }
.meter-sub { margin: 0 0 30px; font-weight: 500; }
.pr-meter ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pr-meter li { display: flex; gap: 16px; padding: 22px 24px; }
.pr-meter li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .15); }
.pr-meter li:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255, 255, 255, .15); }
.pr-meter .ic { color: #8fd0e6; margin-top: 2px; }
.pr-meter h3 { font-size: 19px; font-weight: 500; margin: 0 0 4px; }
.pr-meter li p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.meter-agents { font-size: 15px; color: rgba(255, 255, 255, .85); max-width: 760px; margin: 22px auto 0; }
.meter-agents a { color: #8fd0e6; }
.meter-fine { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 18px 0 0; }
.uses { padding: 64px 0 0; }
.uses h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 400; letter-spacing: -.025em; margin: 0 0 26px; max-width: none; }
.uses ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uses li { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 24px 26px; }
.uses .ic { color: var(--accent); width: 30px; height: 30px; margin-bottom: 14px; }
.uses h3 { font-size: 21px; font-weight: 500; line-height: 1.2; margin: 0 0 8px; }
.uses li p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.uses li p a { border-bottom: 1px solid var(--accent); }
.stack { font-size: 14.5px; color: var(--muted); margin: 26px 0 0; }
.stack a, .pr-links a { color: var(--accent-deep); font-weight: 500; border: 0; }
.pr-links { display: flex; gap: 12px 32px; flex-wrap: wrap; font-size: 15px; margin: 18px 0 0; }
.pr-end { text-align: center; padding: 72px 0 48px; }
.pr-end h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 400; letter-spacing: -.02em; margin: 0 auto 22px; max-width: none; }
.pr-end p { display: flex; align-items: center; justify-content: center; gap: 16px 28px; flex-wrap: wrap; margin: 0; }
@media (max-width: 1100px) {
  .plans, .uses ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pr-meter ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pr-meter li { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .15); }
  .pr-meter li:nth-child(-n+2) { border-top: 0; }
  .pr-meter li:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .15) !important; }
}
@media (max-width: 640px) {
  .plans, .uses ul, .pr-meter ul { grid-template-columns: minmax(0, 1fr); }
  .pr-meter { padding: 32px 18px 16px; }
  .pr-meter li { padding: 16px 4px; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .15) !important; }
  .pr-meter li:first-child { border-top: 0 !important; }
  .plan { padding: 22px 20px 24px; } .plan .amount { font-size: 44px; } .plan .for { min-height: 0; }
}

/* Figures and result tables inside a post (2026-09-24): inline SVG diagrams that explain the argument, drawn with the
   site's fonts so the labels stay sharp; below 640 px a figure scrolls sideways instead of shrinking its labels. */
.post-fig { margin: 32px 0 36px; }
.post-fig .fig-box { background: #eef6fb; border: 1px solid #d6e8f3; border-radius: 10px; padding: 22px 20px; overflow-x: auto; }
.post-fig .fig-box.post-fig-card { background: #fff; border: 1px solid #e5ded4; border-radius: 12px; padding: 24px 26px; }
.post-fig svg { display: block; width: 100%; height: auto; min-width: 560px; }
.post-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.post-fig figcaption { font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 10px 2px 0; }
.post-fig .f-card { fill: #fff; stroke: #d9d3ca; stroke-width: 1.2; }
.post-fig .f-lake { fill: var(--lake); stroke: #b9dbe7; stroke-width: 1.2; }
.post-fig .f-zone { fill: none; stroke: #bdb5aa; stroke-width: 1.2; stroke-dasharray: 6 5; }
.post-fig .f-grid { fill: #fff; stroke: #9cc9d9; stroke-width: 1; }
.post-fig .f-line { fill: none; stroke: #1a1917; stroke-width: 1.4; }
.post-fig .f-dash { stroke-dasharray: 5 4; }
.post-fig .f-tip { fill: #1a1917; }
.post-fig .f-title { font: 400 22px var(--serif); fill: #1a1917; }
.post-fig .f-title-lg { font: 400 28px var(--serif); fill: #1a1917; letter-spacing: -.018em; }
.post-fig .f-kicker { font: 600 10.5px var(--mono); letter-spacing: .16em; fill: var(--accent); }
.post-fig .f-stat { font: 400 32px var(--serif); fill: #1a1917; letter-spacing: -.02em; }
.post-fig .f-stat-accent { font: 400 32px var(--serif); fill: var(--accent); letter-spacing: -.02em; }
.post-fig .f-h { font: 600 14.5px var(--sans); fill: #1a1917; }
.post-fig .f-s { font: 12.5px var(--sans); fill: #66605a; }
.post-fig .f-a { font: 12.5px var(--sans); fill: #1a1917; }
.post-fig .f-m { font: 500 10.5px var(--mono); letter-spacing: .12em; fill: #77706a; }
.post-fig .f-x { font: 600 12.5px var(--sans); fill: var(--accent-deep); }
.post-fig .f-bar15 { fill: #2c2a28; }
.post-fig .f-bar20 { fill: #e0471c; }
.post-fig .f-file15 { stroke: #6a645d; stroke-width: 6; stroke-dasharray: 11 3; }
.post-fig .f-panel { fill: #f7f4ee; stroke: #e5ded4; stroke-width: 1; }
.post-fig .f-unscanned { stroke: #ded7cc; stroke-width: 19; stroke-dasharray: 29 5; }
.post-fig .f-scanned { stroke: #e0471c; stroke-width: 19; stroke-dasharray: 29 5; }
.post-fig .f-qwin { fill: none; stroke: #1a1917; stroke-width: 2.2; }
.post-fig .f-qwin-inner { fill: none; stroke: #fff; stroke-width: 1.4; }
.post-fig .f-conn { stroke: #c6bfb5; stroke-width: 2.2; }
.post-fig .f-conn-reg { stroke: #e0471c; stroke-width: 2.2; stroke-dasharray: 4 3; }
.post-fig .f-dot15 { fill: #fff; stroke: #2c2a28; stroke-width: 2.2; }
.post-fig .f-dot20 { fill: #e0471c; }
.post-fig .f-dc-box { fill: #faf7f2; stroke: #d8cfc2; stroke-width: 1.2; stroke-dasharray: 5 4; }
.post-fig .f-rule { stroke: #eeeae4; stroke-width: 1; }
.post-fig .f-ic { fill: none; stroke: #2f6fb3; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-body .post-details { margin: 18px 0 30px; border: 1px solid #e5ded4; border-radius: 10px; background: #fcfaf7; max-width: 820px; overflow: hidden; }
.post-body .post-details summary { list-style: none; cursor: pointer; padding: 14px 20px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
.post-body .post-details summary::-webkit-details-marker { display: none; }
.post-body .post-details summary::after { content: "+"; font-family: var(--mono); font-size: 16px; font-weight: 400; color: var(--accent); flex: none; }
.post-body .post-details[open] summary { border-bottom: 1px solid #ece6dd; background: #faf6f0; }
.post-body .post-details[open] summary::after { content: "\2212"; }
.post-body .post-details summary:hover { color: var(--accent-deep); }
.post-body .post-details-body { padding: 18px 20px 6px; font-size: 15.5px; line-height: 1.6; }
.post-body .post-details-body > :is(p, ul, ol) { max-width: 720px; margin-bottom: 14px; }
.post-body .post-details-body .tablewrap { margin: 4px 0 14px; }
.post-body .post-details-body .post-code { margin: 8px 0 14px; }
.post-body .tablewrap { margin: 16px 0 30px; border: 1px solid #e5ded4; border-radius: 10px; background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.post-body th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #faf8f5; border-bottom: 1px solid #e5ded4; padding: 11px 16px; white-space: nowrap; }
.post-body td { border-bottom: 1px solid #f0ece6; padding: 11px 16px; color: #292929; vertical-align: top; }
.post-body tr:last-child td { border-bottom: 0; }
.post-body th.num, .post-body td.num { text-align: right; white-space: nowrap; }
/* the article's end (2026-09-24 mock): one link onward and one related article, no cards */
.post-explore { margin: 40px 0 0; font-family: var(--sans); font-size: 16px; }
.post-explore a { color: var(--accent-deep); font-weight: 500; border-bottom: 0; }
.post-explore a:hover { color: var(--ink); }
.post-related { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid #eeeae4; font-family: var(--sans); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.post-related span { font-size: 13px; color: var(--muted); }
.post-related a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); align-self: flex-start; }

/* Legal pages (2026-09-24): the blog's reading surface. White edge to edge behind the documents, cream nav and
   footer, charcoal text in a 720 px column, regular-weight serif headings, quieter tables. */
main:has(> article.legal) { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); padding: 32px 0 64px; }
article.legal { max-width: 720px; font-size: 17.5px; line-height: 1.7; color: #292929; }
article.legal p, article.legal li { color: #292929; }
article.legal p { margin: 0 0 16px; }
article.legal li { margin: 0 0 8px; }
article.legal h1 { font-size: clamp(34px, 4vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
article.legal h2 { font-size: 28px; font-weight: 400; letter-spacing: -.015em; margin: 52px 0 14px; }
article.legal h3 { font-size: 20px; font-weight: 500; margin: 30px 0 8px; }
article.legal table { border-color: #eeeae4; font-size: 15px; }
article.legal th, article.legal td { border-color: #eeeae4; }
article.legal th { background: #f7f7f5; }
article.legal code { background: #f5f5f3; border-color: #eeeae4; }
article.legal blockquote { background: #f3f8fc; border-left-color: #2f6fb3; border-radius: 0 6px 6px 0; }
article.legal blockquote p { margin: 0; }
main:has(> article.legal) .legalnav, main:has(> article.legal) .draft { max-width: 720px; }
article.legal mark { background: #fff1c2; color: inherit; padding: 0 3px; border-radius: 3px; }

/* The site footer (2026-09-24): identity, contact and factual marks on the left; three labelled link columns on the
   right. The marks are facts, not badges: operated in the EU, GDPR as a link to our DPA, SEAL-4 as
   the target the sovereignty page states (nobody has assessed us). Links underline on hover. */
footer.site-foot { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr); gap: 32px 56px; padding: 44px 0 52px; }
footer.site-foot .brand { margin-bottom: 12px; }
footer.site-foot p { margin: 4px 0 0; }
footer.site-foot a { border-bottom: 0; text-decoration: none; text-underline-offset: 3px; }
footer.site-foot a:hover { color: var(--ink); text-decoration: underline; }
footer.site-foot .foot-id p a { text-decoration: underline; text-decoration-color: var(--accent); }
.foot-marks { list-style: none; margin: 22px 0 0 !important; padding: 0; display: flex !important; flex-wrap: wrap; gap: 8px !important; justify-content: flex-start !important; }
.foot-marks li { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--rule); border-radius: 999px; padding: 4px 11px; font-size: 13px; color: var(--ink-soft); background: #fff; }
.foot-marks img { width: 18px; height: 12px; border-radius: 2px; }
.foot-marks a { padding: 0 !important; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px !important; }
.foot-cols ul { display: block !important; }
.foot-cols li { margin: 0; }
.foot-cols a { display: inline-block; padding: 5px 0; }
@media (max-width: 640px) {
  /* one column on a phone: the two-column footer left the link columns 55 px wide at 375 px, and "Sovereignty" pushed
     every page 7 px wider than the screen (launch web audit, 2026-09-26) */
  footer.site-foot { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* a long URL or command in running text breaks instead of widening the page (/agents at 375 px, 2026-09-26) */
p code, li code, td code { overflow-wrap: anywhere; }
/* /pricing/ Enterprise band (2026-10-15): one full-width card under the three plans */
.plan-ent { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 24px; }
.plan-ent .for { min-height: 0; margin-bottom: 10px; }
.plan-ent .plan-note { margin: 0; max-width: 70ch; }
.plan-ent .ent-ctas { display: flex; flex-direction: column; gap: 10px; flex: none; }
.plan-ent .ent-ctas .btn { margin-top: 0; }
@media (max-width: 800px) { .plan-ent { flex-direction: column; align-items: stretch; } }
