/* Georgy Consulting — v2 design system. Self-hosted fonts, no frameworks. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-sunk: #f4f4f5;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #2a2a2e;
  --muted: #64646b;
  --faint: #8e8e96;
  --line: #e8e8eb;
  --line-2: #d6d6db;
  --dot: #e2e2e6;
  --accent: #2f54eb;
  --accent-soft: #e9eeff;
  --ok: #157a50;
  --ok-soft: #e7f5ee;
  --warn: #9a5b00;
  --warn-soft: #fdf3e2;
  --dark: #0b0b0c;
  --dark-2: #161618;
  --dark-line: #2a2a2e;
  --dark-ink: #f2f2f3;
  --dark-muted: #a3a3ab;
  --focus: #2f54eb;
  --owner-bg: #fff3b0;
  --owner-ink: #4a3b00;
  --band: #f6f5f2;
  --section-y: clamp(72px, 9vw, 128px);
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 4px 16px -6px rgb(0 0 0 / 8%);
  --shadow-lg: 0 1px 2px rgb(0 0 0 / 4%), 0 24px 60px -24px rgb(0 0 0 / 18%);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
/* Light is the default for everyone (owner order). Dark only when the visitor picks it with the
   header toggle; main.js stores the choice and an inline head script applies it before paint. */
:root[data-theme="dark"] {
  color-scheme: dark;
    --band: #121214;
    --bg: #0a0a0b; --bg-soft: #0f0f11; --bg-sunk: #18181b; --surface: #121214;
    --ink: #f0f0f2; --ink-2: #d4d4d8; --muted: #a1a1aa; --faint: #7a7a83;
    --line: #232327; --line-2: #36363d; --dot: #222226;
    --accent: #8197ff; --accent-soft: #1a2140; --ok: #4cc38a; --ok-soft: #10261b; --warn: #e5a54b; --warn-soft: #2a1f0e;
    --dark: #141416; --dark-2: #1b1b1e; --dark-line: #2c2c31;
    --focus: #8ea2ff; --owner-bg: #574800; --owner-ink: #fff4c2;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 4px 16px -6px rgb(0 0 0 / 50%);
    --shadow-lg: 0 1px 2px rgb(0 0 0 / 40%), 0 24px 60px -24px rgb(0 0 0 / 70%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }  /* the attribute must win over component display rules (e.g. .bk-steps) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bars, 80px) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 450; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
mark.owner { background: var(--owner-bg); color: var(--owner-ink); padding: .05em .35em; border-radius: 3px; outline: 1px dashed currentColor; outline-offset: -1px; font-weight: 500; font-size: .9em; letter-spacing: 0; font-family: var(--sans); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 840px; }
.center { text-align: center; }
.center-x { justify-content: center; }
.mono { font-family: var(--mono); }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }

/* ------------------------------------------------------------- type scale */
.h-hero { font-size: clamp(2.75rem, 7.2vw, 5.75rem); letter-spacing: -0.05em; line-height: .98; font-weight: 450; margin-bottom: .32em; }
.h-xl { font-size: clamp(2.3rem, 5.4vw, 4.25rem); letter-spacing: -0.045em; line-height: 1.02; }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.04em; line-height: 1.06; }
.h-md { font-size: clamp(1.45rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.15; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.55; max-width: 40em; }
.center .lede, .lede.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); margin-top: 20px; }
.small-note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line-2); padding-left: 12px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .78rem; font-weight: 450; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 6px; border-bottom: 1px solid currentColor; margin-bottom: 22px; }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); font: inherit; font-size: .95rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-lg { min-height: 48px; padding: 12px 22px; font-size: 1rem; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: var(--bg-sunk); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--line-2); }
.btn.is-placeholder { cursor: default; white-space: normal; flex-wrap: wrap; text-align: left; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow .i { transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ------------------------------------------------------------- announcement + header */
.announce { background: var(--dark); color: var(--dark-ink); font-size: .85rem; }
.announce-inner { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 38px; text-align: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.announce a { min-height: 28px; color: var(--dark-ink); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding-left: 14px; border-left: 1px solid #3a3a40; font-weight: 500; }
.announce a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; font-size: 1.12rem; white-space: nowrap; }  /* concept-7 lockup: mark + Geist 500 */
.brand-mark { width: 24px; height: 24px; }
.m-bg { fill: var(--ink); }
.m-g { fill: none; stroke: var(--bg); stroke-width: 2.2; stroke-linecap: round; }
.m-dot { fill: var(--bg); }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0 auto; padding: 0; }
.nav-list > li { margin: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font: inherit; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-btn[aria-expanded="true"] { background: var(--bg-sunk); color: var(--ink); }
.nav-link[aria-current="page"], .nav-btn.is-current { color: var(--ink); font-weight: 500; }
.chev { width: 14px; height: 14px; transition: transform .15s; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; gap: 8px; }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { margin: 0; }
.menu a { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--bg-sunk); }
.menu-title { display: block; font-weight: 500; font-size: .95rem; color: var(--ink); }
.menu-desc { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.has-menu.is-open .menu { display: block; }
html:not(.js) .has-menu:hover .menu, html:not(.js) .has-menu:focus-within .menu { display: block; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; } .bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--hdr, 102px); background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 8px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line); }
  .js .site-nav.is-open { display: flex; }
  .js .nav-list { flex-direction: column; margin: 0; gap: 0; }
  .js .nav-list > li { border-bottom: 1px solid var(--line); }
  .js .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; }
  .js .nav-link:hover, .js .nav-btn[aria-expanded="true"] { background: none; }
  .js .menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; background: none; }
  .js .has-menu.is-open .menu { display: block; }
  .js .nav-actions .btn { flex: 1; min-height: 48px; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 8px 0; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
  html:not(.js) .nav-list { flex-wrap: wrap; margin: 0; }
}

/* ------------------------------------------------------------- sections */
.section { padding: clamp(80px, 11vw, 144px) 0; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.head.center { margin-left: auto; margin-right: auto; }
.head-split { display: grid; grid-template-columns: 1.65fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.head-split .lede { margin-bottom: 0; }

/* ------------------------------------------------------------- hero */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); text-align: center; }
.hero .lede { max-width: 36em; margin: 0 auto; font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.hero .actions { justify-content: center; }
.hero-note { margin-top: 28px; font-size: .9rem; color: var(--muted); }
.hero-note::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin: -2px 10px 0 0; }
.hero-visual { padding-bottom: clamp(64px, 9vw, 120px); }
.page-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); text-align: center; border-bottom: 1px solid var(--line); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 22px 22px; background-position: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; max-width: 15em; margin-left: auto; margin-right: auto; }
.page-hero .lede { margin: 0 auto; }
.page-hero .actions { justify-content: center; }

/* ------------------------------------------------------------- frames & dotted grid */
.frame { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.frame-dots { background-color: var(--bg-soft); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 18px 18px; }
.frame-pad { padding: clamp(20px, 3vw, 40px); }

/* ------------------------------------------------------------- HERO WORKFLOW CANVAS */
.wf { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.wf-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .8rem; background: var(--surface); }
.wf-bar-l, .wf-bar-r { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wf-dots { display: inline-flex; gap: 6px; }
.wf-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.wf-bar-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-badge { font-family: var(--mono); font-size: .7rem; letter-spacing: .02em; color: var(--warn); background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.wf-run { font-family: var(--mono); color: var(--muted); font-size: .74rem; white-space: nowrap; }
.wf-run b { color: var(--ink); font-weight: 500; }
.wf-toggle { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .78rem; padding: 5px 10px; min-height: 30px; border-radius: 5px; border: 1px solid var(--line); background: var(--bg-sunk); color: var(--ink); cursor: pointer; }
.wf-toggle .i { width: 12px; height: 12px; }
.wf-stage { position: relative; overflow: hidden; height: 540px; background-color: var(--bg-soft); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 16px 16px; }
html:not(.js) .wf-stage { overflow-x: auto; }
.wf-canvas { position: relative; width: 1200px; height: 540px; transform-origin: 0 0; }
.wf-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.wf-wires .wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; transition: stroke .3s; }
.wf-wires .wire.is-hot { stroke: var(--accent); }
.wf-wires .port { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.wf-wires .pulse { fill: var(--accent); }
.wf-node { position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 12px 0; font-size: 12.5px; line-height: 1.45; transition: border-color .3s, box-shadow .3s; }
.wf-node[data-state="running"], .wf-node[data-state="waiting"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.wf-head { display: flex; align-items: center; gap: 7px; font-weight: 550; font-size: 13px; letter-spacing: -0.01em; }
.wf-head .i { width: 14px; height: 14px; padding: 4px; box-sizing: content-box; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-2); }
.wf-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-kind { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--muted); border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; text-transform: uppercase; letter-spacing: .03em; }
.wf-desc { color: var(--muted); margin: 6px 0 8px; font-size: 12px; }
.wf-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 8px 0 4px; }
.wf-chip-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wf-chip-row .wf-label { margin: 0; }
.wf-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; font-size: 11.5px; }
.wf-chip .i { width: 12px; height: 12px; }
.wf-tools { display: flex; flex-wrap: wrap; gap: 4px; }
.wf-tools code { font-size: 10.5px; background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.wf-steps { list-style: none; padding: 8px 0 0; margin: 10px 0 0; border-top: 1px dashed var(--line); }
.wf-steps li { position: relative; padding-left: 18px; color: var(--muted); margin: 3px 0; transition: color .3s; }
.wf-steps li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .3s; }
.wf-steps li.on { color: var(--ink); }
.wf-steps li.on::before { background: var(--ok); border-color: var(--ok); }
.wf-mail { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 6px; padding: 7px 8px; font-size: 11.5px; }
.wf-mail div { display: flex; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-mail span { color: var(--muted); width: 48px; flex: none; }
.wf-attach { margin-top: 5px; align-items: center; font-family: var(--mono); font-size: 10.5px; }
.wf-attach .i { width: 12px; height: 12px; }
.wf-kv { margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.wf-kv div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; font-size: 11.5px; }
.wf-kv div + div { border-top: 1px solid var(--line); }
.wf-kv dt { color: var(--muted); }
.wf-kv dd { margin: 0; text-align: right; font-weight: 500; }
.wf-approve { display: flex; gap: 6px; }
.wf-btn { flex: 1; text-align: center; font-size: 11.5px; padding: 4px; border-radius: 5px; border: 1px solid var(--line); background: var(--bg-sunk); }
.wf-btn-ok { background: var(--ink); color: var(--bg); border-color: var(--ink); transition: background .3s; }
.wf-node[data-state="done"] .wf-btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.wf-log { display: flex; flex-wrap: wrap; gap: 4px; }
.wf-log span { font-family: var(--mono); font-size: 10.5px; background: var(--ok-soft); color: var(--ok); border-radius: 4px; padding: 1px 6px; }
.wf-foot { display: flex; justify-content: space-between; align-items: center; margin: 10px -12px 0; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); font-family: var(--mono); }
.wf-status { display: inline-flex; align-items: center; gap: 6px; }
.wf-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.wf-node[data-state="running"] .wf-status i { background: var(--accent); animation: blink 1s infinite; }
.wf-node[data-state="waiting"] .wf-status i { background: var(--warn); animation: blink 1s infinite; }
.wf-node[data-state="done"] .wf-status i { background: var(--ok); }
.wf-node:not([data-state="done"]) .wf-time { visibility: hidden; }
@keyframes blink { 50% { opacity: .3; } }
.wf-cap { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); background: var(--surface); }

@media (max-width: 760px) {
  .wf-badge, .wf-run, .wf-dots { display: none; }
  .wf-stage { height: auto !important; }
  .wf-canvas { width: auto; height: auto; transform: none !important; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; padding: 18px 14px 22px; }
  .wf-node { position: relative; left: auto; top: auto; width: auto; }
  .wf-node[data-node="a"], .wf-node[data-node="b"], .wf-node[data-node="e"] { grid-column: 1 / -1; }
  .wf-desc, .wf-steps, .wf-tools, .wf-node .wf-label, .wf-mail div:nth-child(1), .wf-kv div:nth-child(n+2), .wf-kind, .wf-chip-row { display: none; }
  .wf-head { font-size: 12.5px; }
  .wf-title { white-space: normal; }
}

/* ------------------------------------------------------------- tabs (use cases) */
.tablist { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-sunk); margin-bottom: 16px; }
.tab { display: flex; flex-direction: column; justify-content: flex-start; text-align: left; font: inherit; border: 1px solid transparent; background: transparent; padding: 12px 14px; border-radius: var(--r); cursor: pointer; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); color: var(--ink); }
.tab-label { display: block; font-weight: 500; font-size: .98rem; color: inherit; }
.tab-sub { display: block; font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.tabpanel { border: 1px solid var(--line); border-radius: var(--r-lg); background-color: var(--bg-soft); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 18px 18px; padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: 0.8fr 2fr; gap: clamp(24px, 3vw, 40px); }
.js .tabpanel[data-hidden] { display: none; }
html:not(.js) .tabpanel + .tabpanel { margin-top: 16px; }
.tabpanel-meta h3 { font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.2; font-weight: 450; }
.meta-pair { margin: 20px 0 24px; display: grid; gap: 14px; }
.meta-pair dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.meta-pair dd { margin: 0; font-size: .95rem; color: var(--ink-2); }

.uc-panel { display: grid; grid-template-columns: minmax(240px, 0.9fr) 1.1fr; gap: 20px; align-items: start; }
.uc-side { display: grid; gap: 16px; }
.uc-desc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); }
.uc-desc-tag { font-weight: 500; font-size: .95rem; margin-bottom: 4px; }
.uc-desc p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.flow-box { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px 14px 12px; box-shadow: var(--shadow); margin-top: 12px; }
.flow-box-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; background: var(--surface); border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 10px; white-space: nowrap; }
.flow-box-tag .i { width: 13px; height: 13px; color: var(--accent); }
.flow-list { list-style: none; margin: 0; padding: 0; position: relative; }
.flow-list::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; border-left: 1px dashed var(--line-2); }
.fl { position: relative; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; margin: 0; font-size: .92rem; }
.fl .i { width: 16px; height: 16px; padding: 7px; box-sizing: content-box; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; position: relative; z-index: 1; }
.fl-ai .i { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.fl-human .i { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.fl-output .i { color: var(--ok); }
.fl-kind { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.out-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.out-title { font-weight: 500; font-size: .95rem; }
.out-status { font-family: var(--mono); font-size: .7rem; color: var(--warn); background: var(--warn-soft); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.out-rows { margin: 0; }
.out-rows div { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 12px; padding: 10px 16px; font-size: .88rem; }
.out-rows div + div { border-top: 1px solid var(--line); }
.out-rows dt { color: var(--muted); }
.out-rows dd { margin: 0; }
.out-msg { padding: 16px; font-size: .92rem; }
.out-msg p { margin: 0 0 12px; }
.out-q { display: inline-block; background: var(--bg-sunk); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; }
.out-src { display: flex; flex-wrap: wrap; gap: 6px; }
.out-src span { font-family: var(--mono); font-size: .72rem; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 4px; }
.uc-out-note { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin: 8px 2px 0; text-transform: uppercase; letter-spacing: .04em; }

/* ------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-cell { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; min-height: 400px; }
.bento-cell header { padding: 28px 28px 0; }
.bento-cell h3 { font-size: 1.45rem; font-weight: 450; letter-spacing: -0.03em; margin-bottom: 6px; }
.bento-cell header p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 34em; }
.b-agents { grid-column: span 4; } .b-knowledge { grid-column: span 2; }
.b-integrations { grid-column: span 2; } .b-workflows { grid-column: span 4; }
.b-eval { grid-column: span 3; } .b-gov { grid-column: span 3; }
.mini { flex: 1; margin: 24px 0 0; padding: 28px; background-color: var(--bg-soft); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 16px 16px; border-top: 1px solid var(--line); font-size: .85rem; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mini-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); max-width: 520px; width: 100%; margin: 0 auto; }
.mini-card-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mini-card-h .i { color: var(--accent); }
.mini-pill { margin-left: auto; font-family: var(--mono); font-size: .7rem; color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 4px; font-weight: 400; }
.calls { list-style: none; margin: 0; padding: 6px 0; }
.calls li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 14px; margin: 0; }
.calls code { font-size: .78rem; }
.calls li span { color: var(--muted); font-size: .8rem; text-align: right; }
.calls li.ok code::before { content: "✓ "; color: var(--ok); }
.calls li.hold { background: var(--warn-soft); }
.calls li.hold code::before { content: "‖ "; color: var(--warn); }
.calls li.hold span { color: var(--warn); }
.mini-perm { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mini-perm span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 4px 8px; }
.mini-perm .i { width: 12px; height: 12px; }
.mini-chat { gap: 10px; }
.bubble { max-width: 92%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); line-height: 1.45; }
.bubble.q { align-self: flex-end; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bubble sup { color: var(--accent); }
.bubble .cite { margin-top: 8px; font-family: var(--mono); font-size: .7rem; color: var(--accent); }
.muted-b { color: var(--muted); }
.mini-conn { gap: 0; padding: 20px 28px; }
.conn { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: var(--surface); border: 1px solid var(--line); margin-top: -1px; }
.conn:first-child { border-radius: var(--r) var(--r) 0 0; }
.conn:last-child { border-radius: 0 0 var(--r) var(--r); }
.conn span { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.conn span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.conn em { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.conn.off span { color: var(--muted); font-weight: 400; }
.conn.off span::before { background: var(--line-2); }
.mini-chain { flex-direction: row; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.chain-node { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); white-space: nowrap; }
.chain-node.ai { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.chain-node.ai .i { color: var(--accent); }
.chain-node.dim { color: var(--muted); box-shadow: none; }
.chain-wire { display: block; width: 28px; height: 1px; background: var(--line-2); position: relative; }
.chain-wire::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left-color: var(--line-2); }
.chain-split { display: grid; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.mini-table, .mini-audit { width: 100%; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.tr { display: grid; grid-template-columns: 1.4fr 1fr 70px; gap: 10px; padding: 9px 14px; align-items: center; }
.tr + .tr { border-top: 1px solid var(--line); }
.tr.th { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg-sunk); }
.pass, .fail { font-family: var(--mono); font-size: .72rem; text-align: center; border-radius: 4px; padding: 1px 6px; }
.pass { color: var(--ok); background: var(--ok-soft); }
.fail { color: var(--warn); background: var(--warn-soft); }
.audit-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 9px 14px; }
.audit-row + .audit-row { border-top: 1px solid var(--line); }
.audit-row time { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.audit-row.hl { background: var(--ok-soft); }
.audit-row.hl span { color: var(--ok); font-weight: 500; }

/* ------------------------------------------------------------- tools */
.tools { border-top: 1px solid var(--line); }
.tools-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tools-cat { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tools-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.tools-names li { margin: 0; font-size: 1.12rem; letter-spacing: -0.02em; }

/* ------------------------------------------------------------- timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 44px; border-top: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 20px 0 0; margin: 0; }
.tl-num { display: block; font-family: var(--mono); font-size: .8rem; color: var(--muted); height: 30px; }
.tl-dot { display: block; width: 28px; height: 28px; margin: 0 0 22px; border: 1px solid var(--ink); background: var(--bg); border-radius: 5px; position: relative; }
.tl-dot::after { content: ""; position: absolute; inset: 8px; background: var(--ink); border-radius: 2px; }
.timeline li:last-child .tl-dot { background: var(--ink); }
.timeline li:last-child .tl-dot::after { background: var(--bg); }
.timeline h3 { font-size: 1.12rem; margin-bottom: 6px; }
.timeline p { font-size: .92rem; color: var(--muted); margin: 0 0 12px; }
.tl-out { display: inline-block; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }

/* ------------------------------------------------------------- dark band */
.band { margin: 0 clamp(8px, 1.4vw, 16px); border-radius: 20px; background: var(--dark); color: var(--dark-ink); padding: clamp(64px, 9vw, 120px) 0; }
.band .eyebrow { color: var(--dark-ink); }
.band .lede, .band p { color: var(--dark-muted); }
.band h2, .band h3 { color: var(--dark-ink); }
.band .link-arrow { color: var(--dark-ink); border-color: #4a4a52; }
.controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.control { border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 24px; background: var(--dark-2); display: flex; flex-direction: column; min-height: 240px; position: relative; overflow: hidden; }
.control::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 32px 32px; opacity: .5; mask-image: linear-gradient(to bottom, #000, transparent 50%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 50%); pointer-events: none; }
.control .i { width: 22px; height: 22px; color: var(--dark-ink); position: relative; }
.control h3 { font-size: 1.3rem; margin: 48px 0 6px; font-weight: 450; position: relative; }
.control p { font-size: .9rem; margin: 0 0 20px; position: relative; }
.control-foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--dark-muted); margin-top: auto; position: relative; }

/* ------------------------------------------------------------- boundary diagram */
.boundary { margin: 0; display: grid; }
.bd-env { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 20px; background: var(--surface); }
.bd-env-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }
.bd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bd-col { display: grid; gap: 10px; }
.bd-box { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); font-size: .86rem; }
.bd-box .i { grid-row: span 2; color: var(--ink-2); }
.bd-box span { font-weight: 500; color: var(--ink); }
.bd-box em { font-style: normal; color: var(--muted); font-size: .76rem; }
.bd-agent { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--accent-soft); }
.bd-agent .i { color: var(--accent); }
.bd-link { height: 56px; position: relative; display: grid; place-items: center; }
.bd-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1.5px solid var(--accent); }
.bd-link span { position: relative; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; background: var(--surface); color: var(--accent); padding: 2px 8px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: 4px; }
.bd-ext { justify-self: center; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); font-size: .88rem; color: var(--ink); }
.bd-ext span { display: block; font-weight: 500; }
.bd-ext em { font-style: normal; color: var(--muted); font-size: .78rem; }
.bd-ext .i { color: var(--accent); }
.band .bd-env { background: var(--dark-2); border-color: #3a3a42; }
.band .bd-box { background: #1f1f23; border-color: var(--dark-line); }
.band .bd-box span, .band .bd-ext { color: var(--dark-ink); }
.band .bd-box em, .band .bd-ext em, .band .bd-env-label { color: var(--dark-muted); }
.band .bd-box .i { color: var(--dark-ink); }
.band .bd-agent { background: #1b2040; border-color: #3b4a8a; }
.band .bd-agent .i, .band .bd-ext .i, .band .bd-link span { color: #9fb0ff; }
.band .bd-link::before { border-color: #6b80e8; }
.band .bd-link span { background: var(--dark); border-color: #3b4a8a; }
.band .bd-ext { background: var(--dark-2); border-color: var(--dark-line); }

/* ------------------------------------------------------------- generic blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-r { grid-template-columns: 0.85fr 1.15fr; }
.split.mid { align-items: center; }
.sticky { position: sticky; top: 112px; }
.spec-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.spec-grid li { margin: 0; padding: 24px 24px 8px 0; }
.spec-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.spec-grid h3 { font-size: 1.02rem; margin-bottom: 6px; }
.spec-grid p { font-size: .92rem; color: var(--muted); margin: 0; }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: r; }
.rows > li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; counter-increment: r; }
.rows > li::before { content: counter(r, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 3px; }
.rows h3 { font-size: 1.1rem; margin-bottom: 4px; }
.rows p { color: var(--muted); margin: 0; font-size: .97rem; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: clamp(24px, 3vw, 36px); }
.panel h3 { font-size: 1.35rem; font-weight: 450; letter-spacing: -0.03em; }
.panel > p { color: var(--muted); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kicker { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; display: block; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); margin: 0; font-size: .97rem; color: var(--ink-2); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 1.05em; width: 10px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.ticks.cross li::before { width: 12px; height: 0; border-left: 0; transform: none; top: 1.3em; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--r-sm); padding: 16px 20px; background: var(--surface); font-size: .95rem; color: var(--ink-2); max-width: 760px; text-align: left; }
.notice p:last-child { margin: 0; }
.page-hero .notice { margin: 32px auto 0; }
.price-meta { margin: 20px 0 0; border-top: 1px solid var(--line); }
.price-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.price-meta dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 2px; }
.price-meta dd { margin: 0; text-align: right; }

/* founder */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-size: 1.1rem; letter-spacing: -0.015em; font-weight: 450; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
.faq .answer p:last-child { margin: 0; }
.faq .answer a { color: var(--ink); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.toc { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--muted); font-size: .95rem; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc li { margin: 0; }

/* use case + industry sections */
.subnav { position: sticky; top: var(--hdr-h, 64px); z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { margin: 0; flex: none; }
.subnav a { display: block; padding: 14px 12px; font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.uc-section, .ind-section { padding: clamp(64px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.uc-section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 32px; }
.uc-section-head .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.uc-section-head h2 { margin: 0; }
.uc-section-head .meta-pair { margin: 0; }
.uc-section-head .small-note { grid-column: 2; margin: 0; }
.uc-section .frame { padding: clamp(20px, 3vw, 40px); }
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.ind-examples { grid-column: 1 / -1; margin-top: 8px; }
.rules { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 28px; }
.rules th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.rules td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rules td:first-child { color: var(--ink-2); width: 46%; }
.rules td:last-child { color: var(--muted); }

/* how it works */
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); align-items: start; }
.stage:first-child { border-top: 0; }
.stage-num { font-family: var(--mono); font-size: .8rem; color: var(--muted); display: block; margin-bottom: 14px; }
.stage .lede { margin-bottom: 28px; }
.stage-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.stage-cols h3 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 400; }
.stage-cols ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--ink-2); }
.stage-cols li { margin: 0 0 8px; }
.duration { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-top: 16px; }
.art { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; font-size: .88rem; }
.art-h { padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.art .mini-table, .art .mini-audit { border: 0; box-shadow: none; border-radius: 0; max-width: none; }
.art-check, .art-steps { list-style: none; margin: 0; padding: 8px 0; }
.art-check li, .art-steps li { padding: 8px 16px 8px 42px; position: relative; margin: 0; color: var(--muted); }
.art-check li::before { content: ""; position: absolute; left: 16px; top: 11px; width: 14px; height: 14px; border: 1px solid var(--line-2); border-radius: 3px; }
.art-check li.on { color: var(--ink); }
.art-check li.on::before { background: var(--ink); border-color: var(--ink); }
.art-check li.on::after { content: ""; position: absolute; left: 20px; top: 15px; width: 6px; height: 3px; border-left: 1.5px solid var(--bg); border-bottom: 1.5px solid var(--bg); transform: rotate(-45deg); }
.art-steps { counter-reset: a; }
.art-steps li { counter-increment: a; }
.art-steps li::before { content: counter(a); position: absolute; left: 14px; top: 9px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .68rem; display: grid; place-items: center; }
.art-steps li.done { color: var(--ink); }
.art-steps li.done::before { background: var(--ok); border-color: var(--ok); color: #fff; }
.art-steps li.now { color: var(--ink); background: var(--accent-soft); }
.art-steps li.now::before { border-color: var(--accent); color: var(--accent); }
.lvl { font-family: var(--mono); font-size: .72rem; padding: 1px 6px; border-radius: 4px; justify-self: start; }
.lvl.l3 { background: var(--ok-soft); color: var(--ok); }
.lvl.l2 { background: var(--bg-sunk); color: var(--ink-2); }
.lvl.l1 { background: var(--bg-sunk); color: var(--muted); }

/* matrix illustration (services) */
.matrix-wrap { padding: 28px 28px 44px 52px; }
.matrix { position: relative; aspect-ratio: 4 / 3; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.matrix::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed var(--line-2); }
.matrix::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px dashed var(--line-2); }
.mx-axis { position: absolute; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.mx-y { left: -30px; bottom: 0; transform: rotate(-90deg); transform-origin: left bottom; }
.mx-x { bottom: -30px; right: 0; }
.mx-q { position: absolute; font-family: var(--mono); font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; }
.mx-pt { position: absolute; transform: translate(-6px, -6px); display: flex; align-items: center; gap: 6px; font-size: .78rem; white-space: nowrap; z-index: 1; }
.mx-pt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--ink); flex: none; }
.mx-pt.hi::before { background: var(--ink); }
.mx-pt span { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: var(--surface); display: flex; flex-direction: column; scroll-margin-top: 120px; }
.contact-card h2 { font-size: 1.7rem; font-weight: 450; letter-spacing: -0.035em; margin-top: 4px; }
.contact-card p { color: var(--muted); }
.contact-card .actions { margin-top: auto; padding-top: 12px; }
.contact-email { font-size: 1.15rem; overflow-wrap: anywhere; margin-top: auto; padding-top: 12px; }
.compose { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.compose-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.compose-row { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.compose-row span:first-child { color: var(--muted); }
.compose-body { padding: 20px 16px 24px; font-size: .95rem; }
.compose-body ol { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.compose-body li { counter-increment: c; margin: 0 0 16px; padding-left: 36px; position: relative; }
.compose-body li:last-child { margin-bottom: 0; }
.compose-body li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.compose-body strong { display: block; font-weight: 500; }
.compose-body li span { color: var(--muted); }

/* legal prose */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.03em; margin: 2em 0 .6em; font-weight: 450; scroll-margin-top: 110px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 1.4em; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--mono); font-weight: 400; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom-color: var(--line-2); }
.prose .notice { margin-bottom: 40px; }
.table-wrap { overflow-x: auto; }

/* 404 */
.nf { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.nf-code { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
.nf-draw { display: flex; align-items: center; justify-content: center; margin: 40px 0; }
.nf-gap { display: block; width: 80px; height: 1px; border-top: 1.5px dashed var(--line-2); position: relative; }
.nf-gap::after { content: "?"; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-family: var(--mono); font-size: .8rem; color: var(--warn); background: var(--bg); padding: 0 6px; }

/* CTA */
.cta { padding: clamp(96px, 13vw, 176px) 0; border-top: 1px solid var(--line); background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 22px 22px; }
.cta .h-xl { max-width: 15em; margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 28px; font-size: .93rem; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 26em; margin: 16px 0 20px; }
.site-footer h2 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer nav a { display: inline-block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-word { font-size: clamp(2rem, calc(13vw - 14px), 9.4rem); letter-spacing: -0.06em; line-height: .9; font-weight: 450; color: var(--bg-sunk); margin: 56px 0 0; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .tablist { grid-template-columns: repeat(3, 1fr); }
  .tabpanel { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .controls { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .split, .split-r, .head-split, .founder, .faq-wrap, .ind-grid, .stage, .uc-section-head, .contact-grid, .legal { grid-template-columns: 1fr; }
  .uc-section-head .small-note { grid-column: 1; }
  .sticky { position: static; }
  .uc-panel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-agents, .b-workflows, .b-eval, .b-gov { grid-column: 1 / -1; }
  .b-knowledge, .b-integrations { grid-column: span 1; }
  .cols-3 { grid-template-columns: 1fr; }
  .legal .toc-wrap { display: none; }
  .tools-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .announce-inner > span { display: none; }
  .announce a { border-left: 0; padding-left: 0; }
  .tablist { grid-template-columns: 1fr 1fr; }
  .tab-sub { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-knowledge, .b-integrations { grid-column: 1 / -1; }
  .bento-cell { min-height: 0; }
  .bento-cell header { padding: 22px 22px 0; }
  .mini { padding: 20px 16px; }
  .mini-chain { flex-direction: column; }
  .chain-wire { width: 1px; height: 18px; }
  .chain-wire::after { right: auto; left: -3px; top: auto; bottom: -4px; border: 3.5px solid transparent; border-top-color: var(--line-2); }
  .chain-split { padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 0 0 28px; }
  .timeline li > * { grid-column: 2; }
  .timeline .tl-dot { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .timeline .tl-num { height: auto; margin-bottom: 2px; }
  .timeline li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; border-left: 1px solid var(--line-2); }
  .controls { grid-template-columns: 1fr; }
  .control { min-height: 0; }
  .control h3 { margin-top: 24px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid li, .spec-grid li + li { padding: 20px 0 4px; border-left: 0; }
  .spec-grid li + li { border-top: 1px solid var(--line); }
  .cols-2 { grid-template-columns: 1fr; }
  .stage-cols { grid-template-columns: 1fr; }
  .bd-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .tr { grid-template-columns: 1.3fr 1fr 58px; padding: 8px 10px; font-size: .8rem; }
  .out-rows div { grid-template-columns: 1fr; gap: 0; }
  .band { margin: 0 8px; border-radius: 14px; }
  .nf-gap { width: 32px; }
  .matrix-wrap { padding: 16px 12px 40px 40px; }
  .mx-pt { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .announce, .site-header, .site-footer, .cta, .skip-link, .wf-toggle { display: none !important; }
}

/* ------------------------------------------------------------- variants */
.fig0, .compose { margin: 0; }
.founder.top { align-items: start; }
@media (min-width: 1081px) {
  .spec-grid.s3 { grid-template-columns: repeat(3, 1fr); }
  .spec-grid.s3 li:nth-child(4) { padding-left: 0; border-left: 0; }
  .spec-grid.s3 li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .controls.c3 { grid-template-columns: repeat(3, 1fr); }
}
.risk-table td:first-child { width: 22%; color: var(--ink); }
.risk-table td:nth-child(2) { width: 30%; color: var(--ink-2); }
.mx-pt.lft { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -6px); }
.head-split .h-xl { font-size: clamp(2.1rem, 4.3vw, 3.6rem); }

/* ------------------------------------------------------------- menu fixes */
/* backdrop-filter makes .site-header the containing block for position:fixed children,
   so drop it while the phone menu is open; the panel is then sized to the viewport. */
.site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); border-bottom-color: var(--line); }
@media (max-width: 1080px) { .js .site-nav { z-index: 100; } }
/* Invisible bridge over the 8px gap between a desktop nav button and its dropdown, so moving
   the mouse from the button into the menu never leaves the menu's hover area. */
@media (min-width: 1081px) { .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } }

/* ------------------------------------------------------------- booking (/book/) */
.book-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.book-aside .facts { margin-top: 20px; }
.book-aside .small-note { margin-top: 24px; }
.bk { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 36px); }
.bk-steps { list-style: none; margin: 0 0 28px; padding: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-bottom: 1px solid var(--line); }
.bk-step { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; color: var(--muted); position: relative; padding-top: 10px; }
.bk-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; }
.bk-step.is-done::before { background: var(--ink-2); }
.bk-step.is-current { color: var(--ink); font-weight: 500; }
.bk-step.is-current::before { background: var(--accent); }
.bk-step-n { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.bk-panel { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .bk-panel, .js .bk-done { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
  .js .bk-panel.is-in, .js .bk-done.is-in { opacity: 1; transform: none; }
}
.form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form label { font-size: .92rem; font-weight: 500; }
.form .opt { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: 6px; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 12px; min-height: 46px; width: 100%; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-actions { margin-top: 8px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { font-size: .92rem; }
.form-msg:empty { display: none; }
.form-msg.err, .form-msg.ok { margin: 12px 0; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid; }
.form-msg.err { color: #9b1c1c; background: #fdecec; border-color: #f3c4c4; }
.form-msg.ok { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
[data-theme="dark"] .form-msg.err { color: #ff9b91; background: #2c1412; border-color: #5a2520; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bk-tz { font-family: var(--mono); font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 14px; }
.bk-tz a { color: var(--ink); text-transform: none; font-family: var(--sans); font-size: .95rem; letter-spacing: 0; }
.cal-month { max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-weight: 500; font-size: 1.05rem; }
.cal-nav { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-family: var(--mono); font-size: .7rem; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; }
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-day:disabled { border-color: transparent; background: none; color: var(--faint); font-weight: 400; cursor: default; }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cal.is-loading .cal-day { color: var(--line-2); }
.bk-empty { color: var(--muted); }
.bk-pick { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 14px; margin-bottom: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); }
.bk-pick-t { font-weight: 500; }
.bk-link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .9rem; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 32px; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.bk-slot { min-height: 48px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.bk-slot:hover { border-color: var(--ink); }
.bk-slot[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bk-done { text-align: left; }
.bk-done:focus { outline: none; }
.bk-done-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 18px; }
.bk-done-mark .i { width: 22px; height: 22px; stroke-width: 2; }
.bk-done .lede { margin-bottom: 10px; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } .book-aside { order: 2; } }
@media (max-width: 640px) {
  .frow { grid-template-columns: 1fr; }
  .bk-steps { gap: 6px; }
  .bk-step > span:last-child { font-size: .78rem; line-height: 1.25; }
  .cal-month { max-width: none; }
}

/* "who does each stage" panel (home founder section; no picture by owner order) */
.role-list { list-style: none; margin: 0; padding: 4px 0; }
.role-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin: 0; }
.role-list li + li { border-top: 1px solid var(--line); }
.role-list span { font-weight: 500; }
.role-list em { font-style: normal; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.role-foot { padding: 10px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ------------------------------------------------------------- theme toggle (light default) */
.theme-toggle { flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: var(--r-sm); cursor: pointer; }
.theme-toggle:hover { border-color: var(--line-2); background: var(--bg-sunk); }
.theme-toggle .i { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html:not(.js) .theme-toggle { display: none; }
@media (max-width: 1080px) {
  .js .theme-toggle { margin-left: auto; width: 44px; height: 44px; }
  .js .nav-toggle { margin-left: 8px; }
}
/* links standing alone in fact lists and contact cards: a full 24px+ target (WCAG 2.5.8) */
.facts dd a, .contact-email a { display: inline-block; padding: 4px 0; }

/* ------------------------------------------------------------- section separation (SCROLL-SECTIONS.md §2)
   The build tags every top-level <section> in <main> with .zone-a (white) or .zone-b (warm grey band),
   alternating; the one dark .band per page keeps its own color. Every boundary gets a full-width
   hairline, and every section uses the same vertical rhythm (bigger than any gap inside a section). */
.zone { border-top: 1px solid var(--line); }
.zone-a { background-color: var(--bg); }
.zone-b { background-color: var(--band); }
.zone.band { border-top: 0; margin-top: 24px; margin-bottom: 24px; }
.zone.band + .zone { border-top-color: transparent; }
.page-hero { border-bottom: 0; }
.uc-section, .ind-section { border-bottom: 0; }
.section, .section-sm, .uc-section, .ind-section, .section-stages { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.cta { padding-top: calc(var(--section-y) * 1.15); padding-bottom: calc(var(--section-y) * 1.15); }
.section-stages .stage:first-child { padding-top: 0; }
.section-stages .stage:last-child { padding-bottom: 0; }
.zone-b .frame-dots, .zone-b .tabpanel { background-color: var(--bg-soft); }
/* Room between the section tabs and the first section, so the bar can stick with a gap above the
   section heading for the FIRST tab too (SCROLL-SECTIONS.md: 8–32px for every tab). */
.subnav { margin-bottom: 24px; }

/* Logo slots (build.mjs inlines src/brand/mark.svg). Dark theme: the hand-made dark mark if one
   exists, otherwise the one-colour mark inverted. */
.brand-mark-dark { display: none; }
[data-theme="dark"] .brand-mark-light { display: none; }
[data-theme="dark"] .brand-mark-dark { display: inline-block; }
[data-theme="dark"] .brand-mark-invert { filter: invert(1); }
