/* Inner Management. Layout: calm SaaS pages that drift, very slightly, into alignment. */
:root {
  --display: "Anybody", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}
:root { --bg: #edf0e9; --surface: #f8faf5; --sunk: #e2e7de; --ink: #0f1d16; --muted: #5b685f; --line: rgba(15,29,22,.14); --brand: #1d6a46; --brand-ink: #f3f7f1; --friction: #cf4229; --aligned: #2c9a60; --field: 15, 29, 22; --accent: #d99a2b; --on-aligned: #0b110e; color-scheme: light }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b110e; --surface: #121a16; --sunk: #18221c; --ink: #e3eae1; --muted: #93a198; --line: rgba(227,234,225,.14); --brand: #6ccb96; --brand-ink: #0b110e; --friction: #ff6a4d; --aligned: #5fd393; --field: 227, 234, 225; --accent: #f0b54a; --on-aligned: #0b110e; color-scheme: dark } }
:root[data-theme="dark"] { --bg: #0b110e; --surface: #121a16; --sunk: #18221c; --ink: #e3eae1; --muted: #93a198; --line: rgba(227,234,225,.14); --brand: #6ccb96; --brand-ink: #0b110e; --friction: #ff6a4d; --aligned: #5fd393; --field: 227, 234, 225; --accent: #f0b54a; --on-aligned: #0b110e; color-scheme: dark }
:root[data-palette="clinic"] { --bg: #f3f5f8; --surface: #ffffff; --sunk: #e6eaf1; --ink: #0e1726; --muted: #5a6578; --line: rgba(14,23,38,.12); --brand: #2850c8; --brand-ink: #ffffff; --friction: #e0533d; --aligned: #1f9d7a; --field: 14, 23, 38; --accent: #e3a21a; --on-aligned: #0b0f17; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="clinic"]:not([data-theme="light"]) { --bg: #0b0f17; --surface: #121826; --sunk: #1a2233; --ink: #e5eaf3; --muted: #95a1b5; --line: rgba(229,234,243,.13); --brand: #7d9bff; --brand-ink: #0b0f17; --friction: #ff7a63; --aligned: #4fd1a8; --field: 229, 234, 243; --accent: #ffc857; --on-aligned: #0b0f17; color-scheme: dark } }
:root[data-palette="clinic"][data-theme="dark"] { --bg: #0b0f17; --surface: #121826; --sunk: #1a2233; --ink: #e5eaf3; --muted: #95a1b5; --line: rgba(229,234,243,.13); --brand: #7d9bff; --brand-ink: #0b0f17; --friction: #ff7a63; --aligned: #4fd1a8; --field: 229, 234, 243; --accent: #ffc857; --on-aligned: #0b0f17; color-scheme: dark }
:root[data-palette="lull"] { --bg: #f1eff6; --surface: #fbfaff; --sunk: #e5e1ef; --ink: #1b1626; --muted: #645d74; --line: rgba(27,22,38,.13); --brand: #5b3fd0; --brand-ink: #fbfaff; --friction: #d9483b; --aligned: #3b9e74; --field: 27, 22, 38; --accent: #e0a32a; --on-aligned: #100d18; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="lull"]:not([data-theme="light"]) { --bg: #100d18; --surface: #181424; --sunk: #211b30; --ink: #ebe6f5; --muted: #a39cb5; --line: rgba(235,230,245,.13); --brand: #a993ff; --brand-ink: #100d18; --friction: #ff7466; --aligned: #62d39f; --field: 235, 230, 245; --accent: #ffcd62; --on-aligned: #100d18; color-scheme: dark } }
:root[data-palette="lull"][data-theme="dark"] { --bg: #100d18; --surface: #181424; --sunk: #211b30; --ink: #ebe6f5; --muted: #a39cb5; --line: rgba(235,230,245,.13); --brand: #a993ff; --brand-ink: #100d18; --friction: #ff7466; --aligned: #62d39f; --field: 235, 230, 245; --accent: #ffcd62; --on-aligned: #100d18; color-scheme: dark }
:root[data-palette="pewter"] { --bg: #f2f2f0; --surface: #fbfbfa; --sunk: #e6e6e3; --ink: #141414; --muted: #63635f; --line: rgba(20,20,20,.13); --brand: #141414; --brand-ink: #f2f2f0; --friction: #e2542a; --aligned: #3c8f5f; --field: 20, 20, 20; --accent: #e2a12a; --on-aligned: #0e0e0d; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="pewter"]:not([data-theme="light"]) { --bg: #0e0e0d; --surface: #171716; --sunk: #1f1f1d; --ink: #ececea; --muted: #9c9c97; --line: rgba(236,236,234,.13); --brand: #ececea; --brand-ink: #0e0e0d; --friction: #ff7043; --aligned: #5fcf8d; --field: 236, 236, 234; --accent: #f2c14e; --on-aligned: #0e0e0d; color-scheme: dark } }
:root[data-palette="pewter"][data-theme="dark"] { --bg: #0e0e0d; --surface: #171716; --sunk: #1f1f1d; --ink: #ececea; --muted: #9c9c97; --line: rgba(236,236,234,.13); --brand: #ececea; --brand-ink: #0e0e0d; --friction: #ff7043; --aligned: #5fcf8d; --field: 236, 236, 234; --accent: #f2c14e; --on-aligned: #0e0e0d; color-scheme: dark }
:root[data-palette="primary"] { --bg: #ffffff; --surface: #f8f9fb; --sunk: #eef1f5; --ink: #1f1f1f; --muted: #5f6368; --line: rgba(31,31,31,.12); --brand: #1a73e8; --brand-ink: #ffffff; --friction: #d93025; --aligned: #1e8e3e; --field: 31, 31, 31; --accent: #f9ab00; --on-aligned: #121316; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="primary"]:not([data-theme="light"]) { --bg: #121316; --surface: #1b1c20; --sunk: #24262b; --ink: #e8eaed; --muted: #9aa0a6; --line: rgba(232,234,237,.13); --brand: #8ab4f8; --brand-ink: #121316; --friction: #f28b82; --aligned: #81c995; --field: 232, 234, 237; --accent: #fdd663; --on-aligned: #121316; color-scheme: dark } }
:root[data-palette="primary"][data-theme="dark"] { --bg: #121316; --surface: #1b1c20; --sunk: #24262b; --ink: #e8eaed; --muted: #9aa0a6; --line: rgba(232,234,237,.13); --brand: #8ab4f8; --brand-ink: #121316; --friction: #f28b82; --aligned: #81c995; --field: 232, 234, 237; --accent: #fdd663; --on-aligned: #121316; color-scheme: dark }
:root[data-palette="sorbet"] { --bg: #fbf3f1; --surface: #fffaf8; --sunk: #f3e4e0; --ink: #2a1a1c; --muted: #7a6266; --line: rgba(42,26,28,.12); --brand: #c93f63; --brand-ink: #fffaf8; --friction: #e0622d; --aligned: #2f9474; --field: 42, 26, 28; --accent: #e9a21f; --on-aligned: #160e10; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="sorbet"]:not([data-theme="light"]) { --bg: #160e10; --surface: #1f1517; --sunk: #2a1c1f; --ink: #f6e7e9; --muted: #b39a9e; --line: rgba(246,231,233,.13); --brand: #ff8fab; --brand-ink: #160e10; --friction: #ff8a5c; --aligned: #6fd6b3; --field: 246, 231, 233; --accent: #ffd36b; --on-aligned: #160e10; color-scheme: dark } }
:root[data-palette="sorbet"][data-theme="dark"] { --bg: #160e10; --surface: #1f1517; --sunk: #2a1c1f; --ink: #f6e7e9; --muted: #b39a9e; --line: rgba(246,231,233,.13); --brand: #ff8fab; --brand-ink: #160e10; --friction: #ff8a5c; --aligned: #6fd6b3; --field: 246, 231, 233; --accent: #ffd36b; --on-aligned: #160e10; color-scheme: dark }
:root[data-palette="tidal"] { --bg: #eef4f6; --surface: #f9fcfd; --sunk: #dfe9ed; --ink: #0c1d2a; --muted: #536877; --line: rgba(12,29,42,.13); --brand: #0f6e78; --brand-ink: #f9fcfd; --friction: #d0473a; --aligned: #1f9a73; --field: 12, 29, 42; --accent: #e3a21a; --on-aligned: #08131b; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="tidal"]:not([data-theme="light"]) { --bg: #08131b; --surface: #0f1d27; --sunk: #152733; --ink: #e2eef3; --muted: #8fa7b4; --line: rgba(226,238,243,.13); --brand: #5fd0d6; --brand-ink: #08131b; --friction: #ff7a6b; --aligned: #5fd3a3; --field: 226, 238, 243; --accent: #ffcb57; --on-aligned: #08131b; color-scheme: dark } }
:root[data-palette="tidal"][data-theme="dark"] { --bg: #08131b; --surface: #0f1d27; --sunk: #152733; --ink: #e2eef3; --muted: #8fa7b4; --line: rgba(226,238,243,.13); --brand: #5fd0d6; --brand-ink: #08131b; --friction: #ff7a6b; --aligned: #5fd3a3; --field: 226, 238, 243; --accent: #ffcb57; --on-aligned: #08131b; color-scheme: dark }
:root[data-palette="saffron"] { --bg: #fffbea; --surface: #ffffff; --sunk: #f4edcf; --ink: #16140a; --muted: #6b644b; --line: rgba(22,20,10,.14); --brand: #16140a; --brand-ink: #ffe45c; --friction: #d6452a; --aligned: #2f8a4c; --field: 22, 20, 10; --accent: #f2c200; --on-aligned: #11100a; color-scheme: light }
@media (prefers-color-scheme: dark) { :root[data-palette="saffron"]:not([data-theme="light"]) { --bg: #11100a; --surface: #1a1910; --sunk: #242316; --ink: #f6f1d8; --muted: #aaa385; --line: rgba(246,241,216,.13); --brand: #f5d33b; --brand-ink: #11100a; --friction: #ff7651; --aligned: #6dd38c; --field: 246, 241, 216; --accent: #f5d33b; --on-aligned: #11100a; color-scheme: dark } }
:root[data-palette="saffron"][data-theme="dark"] { --bg: #11100a; --surface: #1a1910; --sunk: #242316; --ink: #f6f1d8; --muted: #aaa385; --line: rgba(246,241,216,.13); --brand: #f5d33b; --brand-ink: #11100a; --friction: #ff7651; --aligned: #6dd38c; --field: 246, 241, 216; --accent: #f5d33b; --on-aligned: #11100a; color-scheme: dark }
/* ---------- base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  font-variation-settings: "wdth" 96;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
a { color: inherit; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 640; font-variation-settings: "wdth" 82; line-height: 1; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.12; }
p { margin: 0; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-variation-settings: "wdth" 90; color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.45vw, 1.22rem); color: var(--muted); max-width: 58ch; }
.sec { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.sec-head { display: grid; gap: 20px; max-width: 880px; margin-bottom: clamp(36px, 6vw, 68px); }
.tint { background: var(--surface); border-block: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 15px/1 var(--body); padding: 15px 22px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -14px var(--brand); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.sm { padding: 10px 15px; font-size: 14px; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; flex: none; }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- header ---------- */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 680; font-variation-settings: "wdth" 76; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.mark { display: inline-grid; width: 32px; height: 28px; flex: none; }
.mark svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mark svg * { transition: transform .5s cubic-bezier(.2,.8,.2,1), fill .4s, stroke .4s; transform-box: fill-box; transform-origin: center; }
nav.links { display: flex; gap: 24px; margin-left: auto; }
nav.links a { text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
nav.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--brand); }
.meter { display: flex; align-items: center; gap: 10px; }
.meter .bar { width: 52px; height: 4px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--friction), var(--aligned)); }
.meter .label { min-width: 92px; font-size: 10px; }
.menu { display: none; }
@media (max-width: 960px) {
  .menu { display: grid; }
  .meter { margin-left: auto; }
  nav.links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  nav.links.open { display: flex; }
  nav.links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .meter, .brand .wm { display: none; } .top .btn.sm { margin-left: auto; } }

/* ---------- ticker ---------- */
.logos { border-block: 1px solid var(--line); overflow: hidden; padding-block: 24px; display: grid; gap: 14px; }
.logos .label { text-align: center; }
.logos .viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos .track { display: flex; gap: 72px; width: max-content; animation: slide 50s linear infinite; }
.logos span.co { white-space: nowrap; color: var(--muted); font-size: 22px; letter-spacing: -.01em; }
.l1 { font-family: var(--display); font-variation-settings: "wdth" 130; font-weight: 300; }
.l2 { font-family: var(--mono); font-size: 15px !important; letter-spacing: .14em !important; text-transform: uppercase; }
.l3 { font-family: var(--body); font-style: italic; font-weight: 500; }
.l4 { font-family: var(--display); font-variation-settings: "wdth" 55; font-weight: 800; text-transform: uppercase; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding-block: 52px 72px; font-size: 14px; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
footer.site h4 { margin: 0 0 12px; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .fine { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.hiring { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-left: 6px; white-space: nowrap; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: min(390px, calc(100vw - 32px)); padding: 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -28px rgba(0,0,0,.4);
  display: grid; gap: 14px; font-size: 14px; line-height: 1.5;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s;
}
.cookie.off { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie .t { font-weight: 600; font-size: 15px; }
.cookie p { color: var(--muted); }
.cookie .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie .linkish { border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.ck-rows { display: grid; border-top: 1px solid var(--line); }
.ck-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ck-row b { font-weight: 600; font-size: 14px; }
.ck-row small { grid-column: 1; color: var(--muted); font-size: 12.5px; }
.ck-row .always { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.switch { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 38px; height: 22px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 22px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- the voice (chat widget that isn't) ---------- */
.voice {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 71;
  width: min(340px, calc(100vw - 32px)); border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 28px 70px -30px rgba(0,0,0,.45);
  display: grid; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s, width .5s cubic-bezier(.2,.8,.2,1), border-radius .5s;
  font-size: 14.5px;
}
.voice.off { transform: translateY(130%); opacity: 0; pointer-events: none; }
.v-head { display: flex; align-items: center; gap: 11px; padding: 14px 12px 12px 14px; background: var(--brand); color: var(--brand-ink); }
.v-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--body); background: color-mix(in oklab, var(--brand-ink) 22%, var(--brand)); color: var(--brand-ink); flex: none; position: relative; }
.v-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--aligned); border: 2px solid var(--brand); }
.v-orb { width: 30px; height: 30px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 35%, var(--aligned), var(--brand) 70%); box-shadow: 0 0 0 4px color-mix(in oklab, var(--aligned) 25%, transparent); animation: breathe 4.5s ease-in-out infinite; display: none; }
@keyframes breathe { 50% { transform: scale(.8); opacity: .8; } }
.v-id { display: grid; gap: 1px; min-width: 0; flex: 1; line-height: 1.25; }
.v-id b { font-weight: 600; font-size: 14.5px; }
.v-id span { font-size: 12px; opacity: .78; }
.v-x { border: 0; background: transparent; color: inherit; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font: 400 20px/1 var(--body); display: grid; place-items: center; transition: background .2s, transform .4s; flex: none; }
.v-x:hover { background: color-mix(in oklab, var(--brand-ink) 18%, transparent); }
.v-x.kept { transform: rotate(360deg); font-size: 15px; }
.v-body { padding: 16px; display: grid; gap: 14px; }
.v-msg { background: var(--sunk); border-radius: 4px 14px 14px 14px; padding: 12px 14px; line-height: 1.45; transition: opacity .3s; }
.v-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.v-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.v-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.v-typing i:nth-child(2) { animation-delay: .15s; } .v-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: .4; } }
/* stage: voice */
.voice[data-stage="voice"] .v-head, .voice[data-stage="mini"] .v-head { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.voice[data-stage="voice"] .v-avatar, .voice[data-stage="mini"] .v-avatar { display: none; }
.voice[data-stage="voice"] .v-orb, .voice[data-stage="mini"] .v-orb { display: block; }
.voice[data-stage="voice"] .v-x:hover { background: var(--sunk); }
.voice[data-stage="voice"] .v-msg { background: transparent; padding: 0; border-radius: 0; font-family: var(--display); font-variation-settings: "wdth" 84; font-weight: 500; font-size: 18px; line-height: 1.25; }
/* stage: mini */
.voice[data-stage="mini"] { width: auto; max-width: min(300px, calc(100vw - 32px)); border-radius: 999px; cursor: pointer; }
.voice[data-stage="mini"] .v-head { padding: 9px 16px 9px 10px; border-bottom: 0; gap: 10px; }
.voice[data-stage="mini"] .v-orb { width: 22px; height: 22px; }
.voice[data-stage="mini"] .v-id b { font-size: 13px; font-weight: 500; }
.voice[data-stage="mini"] .v-sub, .voice[data-stage="mini"] .v-x, .voice[data-stage="mini"] .v-body { display: none; }

/* ---------- shared bits ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.stats div { display: grid; gap: 4px; }
.stats b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 600; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.cta-band { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { max-width: 16ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; text-decoration: none; color: var(--ink); }
.pill b { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--brand); color: var(--brand-ink); padding: 4px 9px; border-radius: 999px; }
.hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 4.9vw, 4.3rem); line-height: 1.02; }
.hero .lede { color: color-mix(in oklab, var(--ink) 72%, var(--bg)); }
.hero-trust { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.faces { display: flex; }
.faces i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; display: grid; place-items: center; font: 600 10px var(--body); font-style: normal; color: var(--brand-ink); background: var(--brand); }
.faces i:first-child { margin-left: 0; }
.faces i:nth-child(2) { background: color-mix(in oklab, var(--brand) 70%, var(--ink)); }
.faces i:nth-child(3) { background: color-mix(in oklab, var(--brand) 55%, var(--bg)); color: var(--ink); }
.faces i:nth-child(4) { background: var(--muted); }

.dash { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 80px -48px rgba(0,0,0,.35); overflow: hidden; font-size: 14px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dash-top .live { display: inline-flex; align-items: center; gap: 7px; font: 400 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dash-top .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--aligned); animation: ping 2.4s ease-out infinite; }
.dash-kpi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 18px 8px; align-items: end; }
.dash-kpi .num { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 620; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.dash-kpi .delta { font: 500 12px var(--mono); color: var(--aligned); }
.dash-kpi svg { grid-column: 1 / -1; width: 100%; height: 46px; }
.dash-kpi .spark { fill: none; stroke: var(--brand); stroke-width: 1.6; }
.dash-kpi .area { fill: color-mix(in oklab, var(--brand) 14%, transparent); stroke: none; }
.dash ul { list-style: none; margin: 0; padding: 4px 0; }
.dash li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); }
.dash li .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--body); background: var(--sunk); color: var(--ink); }
.dash li .nm { display: grid; line-height: 1.25; min-width: 0; }
.dash li .nm b { font-weight: 600; font-size: 14px; }
.dash li .nm span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font: 500 10.5px var(--mono); letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; white-space: nowrap; background: color-mix(in oklab, var(--aligned) 16%, transparent); color: color-mix(in oklab, var(--aligned) 70%, var(--ink)); transition: background .5s, color .5s; }
.chip.busy { background: color-mix(in oklab, var(--accent) 18%, transparent); color: color-mix(in oklab, var(--accent) 72%, var(--ink)); }
.dash-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--sunk); font: 400 11px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--aligned) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .dash { max-width: 520px; } }

/* ---------- statement ---------- */
.statement p.big { font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 560; font-size: clamp(2rem, 5.6vw, 4.8rem); line-height: 1.03; letter-spacing: -.01em; max-width: 18ch; text-wrap: balance; }
.statement .w { color: var(--muted); opacity: .6; transition: color .5s, opacity .5s; }
.statement .w.lit { color: var(--ink); opacity: 1; }
.statement .w.key.lit { color: var(--brand); }
.statement .aside { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: baseline; }

/* ---------- timeline ---------- */
ol.timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.timeline li { list-style: none; padding: 22px 22px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.timeline li.now::before { background: var(--brand); box-shadow: 0 0 0 6px color-mix(in oklab, var(--brand) 20%, transparent); }
.timeline .yr { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 620; font-size: 30px; line-height: 1; }
.timeline p { font-size: 15px; color: var(--muted); max-width: 30ch; }
@media (max-width: 860px) { ol.timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); } .timeline li { padding: 0 0 28px 24px; } .timeline li::before { left: -5px; top: 6px; } }

/* ---------- loop ---------- */
.loop-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.loop-svg { width: 100%; height: auto; display: block; }
.loop-svg .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.loop-svg .flow { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 3 9; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -12; } }
.loop-svg .node rect { fill: var(--surface); stroke: var(--line); }
.loop-svg .node.sv rect { fill: var(--brand); stroke: none; }
.loop-svg .node text { fill: var(--ink); font-family: var(--display); font-variation-settings: "wdth" 76; font-weight: 620; font-size: 19px; }
.loop-svg .node.sv text { fill: var(--brand-ink); }
.loop-svg .node .cap { fill: var(--muted); font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .08em; }
.loop-svg .node.sv .cap { fill: var(--brand-ink); opacity: .75; }
.loop-svg .pulse { fill: var(--brand); }
.loop-svg { overflow: visible; }
.loop-svg .halo { fill: color-mix(in oklab, var(--brand) 22%, transparent); }
.loop-svg .chev { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loop-svg .edge { fill: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.loop-svg .dep { fill: none; stroke: var(--friction); stroke-width: 1.6; stroke-dasharray: 3 6; opacity: .7; }
.loop-svg .dep-chev { fill: none; stroke: var(--friction); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.loop-svg .ghostpulse { fill: var(--friction); }
.loop-svg .deptext { fill: var(--friction); font-family: var(--display); font-variation-settings: "wdth" 80; font-size: 17px; font-weight: 560; }
.loop-svg .depstrike { stroke: var(--friction); stroke-width: 1.6; }
.loop-svg .deptag { fill: var(--muted); font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; }
.roles { display: grid; border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.role h3 { font-size: 21px; margin-bottom: 4px; }
.role p { color: var(--muted); font-size: 15.5px; }
.role.struck h3 { text-decoration: line-through; text-decoration-color: var(--friction); color: var(--muted); }
@media (max-width: 900px) { .loop-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .role { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 24px; align-content: space-between; }
.quote blockquote { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 520; font-size: 23px; line-height: 1.15; }
.quote .who { display: grid; gap: 4px; font-size: 14px; }
.quote .who b { font-weight: 600; }
.quote .who span { color: var(--muted); }
.quote .verify { display: flex; gap: 8px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.quote .verify i { width: 7px; height: 7px; border-radius: 50%; background: var(--aligned); flex: none; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- demo teaser ---------- */
.teaser { background: var(--ink); color: var(--bg); --muted: color-mix(in oklab, var(--bg) 62%, var(--ink)); --line: color-mix(in oklab, var(--bg) 16%, transparent); overflow: hidden; }
.teaser .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.teaser .label { color: var(--muted); }
.teaser .lede { color: color-mix(in oklab, var(--bg) 78%, var(--ink)); }
.teaser canvas { width: 100%; max-width: 440px; aspect-ratio: 1; border-radius: 50%; justify-self: center; display: block; }
.teaser .btn { background: var(--aligned); color: var(--on-aligned); }
@media (max-width: 860px) { .teaser .wrap { grid-template-columns: 1fr; } }

/* ---------- technology ---------- */
.tech-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.prose { display: grid; gap: 18px; color: var(--muted); max-width: 60ch; }
.prose strong { color: var(--ink); font-weight: 600; }
dl.specs { margin: 0; border-top: 1px solid var(--ink); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.specs .src { display: block; font-family: var(--body); font-size: 12px; color: var(--muted); margin-top: 2px; opacity: .8; }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.mod { background: var(--surface); padding: 30px 28px 32px; display: grid; gap: 14px; align-content: start; transition: background .3s; }
.mod:hover { background: var(--sunk); }
.mod .label { color: var(--brand); }
.mod p { color: var(--muted); font-size: 15.5px; }
.mod.wide { grid-column: span 2; }
@media (max-width: 900px) { .tech-intro { grid-template-columns: 1fr; } .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } .mod.wide { grid-column: auto; } }
.loops { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.rings { width: 100%; max-width: 340px; height: auto; justify-self: center; }
.rings circle.o { fill: none; stroke: var(--line); }
.rings .spin { transform-box: view-box; transform-origin: 170px 170px; animation: spin linear infinite; }
.rings .dot { fill: var(--brand); }
.rings .dot.d0 { fill: var(--friction); }
.rings .core { fill: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }
.tablebox { overflow-x: auto; }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plain th { text-align: left; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 14px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
table.plain td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain td.n { font-family: var(--display); font-variation-settings: "wdth" 78; font-weight: 620; font-size: 18px; white-space: nowrap; }
table.plain td.r { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.plain td.m { color: var(--muted); }
@media (max-width: 860px) { .loops { grid-template-columns: 1fr; } }
.code { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.code pre { margin: 0; background: var(--ink); color: var(--bg); border-radius: 18px; padding: 26px 28px; overflow-x: auto; font: 400 13px/1.75 var(--mono); font-variation-settings: "wdth" 88; }
.code pre .c { opacity: .5; }
.code pre .k { color: color-mix(in oklab, var(--aligned) 70%, var(--bg)); }
.code pre .s { color: color-mix(in oklab, var(--brand) 45%, var(--bg)); }
@media (max-width: 860px) { .code { grid-template-columns: 1fr; } }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.gloss div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.gloss dt { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 620; font-size: 19px; }
.gloss dd { margin: 0; color: var(--muted); font-size: 15.5px; }
dl.gloss { margin: 0; }
@media (max-width: 760px) { .gloss { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 22px; align-content: start; background: var(--bg); }
.plan.feat { background: var(--brand); color: var(--brand-ink); border-color: transparent; --muted: color-mix(in oklab, var(--brand-ink) 72%, var(--brand)); --line: color-mix(in oklab, var(--brand-ink) 22%, transparent); }
.plan .price { font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 640; font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font: 400 14px var(--body); color: var(--muted); margin-left: 6px; }
.plan p { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.plan li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; gap: 10px; }
.plan li::before { content: "+"; font-family: var(--mono); color: var(--muted); }
.plan li.legacy { color: var(--muted); }
.plan li.legacy::before { content: "–"; }
.plan li.legacy em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--friction); margin-left: auto; white-space: nowrap; }
.plan.feat .btn { background: var(--brand-ink); color: var(--brand); }
.billing { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; }
.billing button { border: 0; background: transparent; color: var(--muted); font: 500 14px var(--body); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .y { color: var(--aligned); font-family: var(--mono); }
.compare .no { color: var(--muted); font-family: var(--mono); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 580; font-size: clamp(1.15rem, 1.8vw, 1.42rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- status ---------- */
.status-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.ok { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 620; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; }
.ok i { width: 14px; height: 14px; border-radius: 50%; background: var(--aligned); animation: ping 2.4s ease-out infinite; flex: none; }
.uptime { display: grid; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); }
.uptime .rowh { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; flex-wrap: wrap; }
.uptime .rowh span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 30px; }
.bars i { border-radius: 2px; background: var(--aligned); opacity: .85; }
.bars i.warn { background: var(--accent); opacity: 1; }
.bars i.mon { background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.incidents { display: grid; border-top: 1px solid var(--ink); }
.inc { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.inc .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.inc .tag.mon { color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.inc .tag.res { color: var(--aligned); }
.inc h3 { font-size: 20px; margin-bottom: 6px; }
.inc p { color: var(--muted); font-size: 15px; max-width: 72ch; }
.inc p + p { margin-top: 6px; }
@media (max-width: 600px) { .inc { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- identity ---------- */
.marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mark-card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 16px; align-content: start; background: var(--surface); }
.mark-card .show { height: 150px; display: grid; place-items: center; border-radius: 14px; background: var(--bg); }
.mark-card .show .mark { width: 92px; height: 80px; }
.mark-card .show .mark svg { stroke-width: 2.2; }
.mark-card p { color: var(--muted); font-size: 15px; }
.mark-card .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.palettes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pal { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: grid; background: var(--surface); }
.pal .sw { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; height: 120px; }
.pal .body { padding: 20px; display: grid; gap: 12px; align-content: start; }
.pal p { color: var(--muted); font-size: 14.5px; }
.pal .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 960px) { .marks { grid-template-columns: 1fr 1fr; } .palettes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .marks, .palettes { grid-template-columns: 1fr; } }
/* mark hover moments */
.mark-card:hover .mk-a { transform: translateX(2px); } .mark-card:hover .mk-b { transform: translateX(-2px); }
.mark-card:hover .mk-odd { transform: rotate(-75deg); stroke: var(--brand); }
.mark-card:hover .mk-inner { transform: translateX(-5px); }
.mark-card:hover .mk-l { transform: translateX(2px); } .mark-card:hover .mk-r { transform: translateX(-2px); }
.mark-card:hover .mk-a2 { transform: translateX(4px); }
.mark-card:hover .mk-small { transform: scale(1.15) translate(-1px, -1px); }

/* ---------- announcement bar ---------- */
.announce { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 48px 9px 16px; background: var(--ink); color: var(--bg); font-size: 13.5px; position: relative; text-align: center; }
.announce a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce b { font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--brand); color: var(--brand-ink); padding: 3px 8px; border-radius: 999px; }
.ann-x { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 18px/1 var(--body); cursor: pointer; display: grid; place-items: center; transition: transform .45s cubic-bezier(.2,.8,.2,1), background .2s; }
.ann-x:hover { background: color-mix(in oklab, var(--bg) 16%, transparent); }
.ann-x.kept { transform: rotate(360deg); font-size: 14px; }
.announce.leaving { animation: annOut .45s ease forwards; }
@keyframes annOut { to { opacity: 0; margin-top: -38px; } }
nav.links .new { font: 500 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: color-mix(in oklab, var(--brand) 16%, transparent); color: var(--brand); vertical-align: 2px; }

/* ---------- next cards ---------- */
.nexts { padding-block: 64px 80px; border-top: 1px solid var(--line); }
.nexts .wrap { display: grid; gap: 22px; }
.nx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx { position: relative; text-decoration: none; display: grid; gap: 10px; align-content: start; padding: 26px 26px 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: background .3s, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; overflow: hidden; }
.nx:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -32px rgba(0,0,0,.35); }
.nx p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.nx .label { color: var(--brand); }
.nx-arr { position: absolute; right: 22px; top: 22px; font-size: 18px; transition: transform .3s; color: var(--muted); }
.nx:hover .nx-arr { transform: translateX(4px); color: var(--ink); }
@media (max-width: 860px) { .nx-grid { grid-template-columns: 1fr; } }

/* ---------- the voice: living orb + thinking ---------- */
.v-orb { position: relative; overflow: hidden; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; animation: blob 7s ease-in-out infinite, breathe 4.5s ease-in-out infinite; background: conic-gradient(from 0deg, var(--brand), var(--aligned), color-mix(in oklab, var(--aligned) 50%, var(--surface)), var(--brand)); }
.v-orb::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, color-mix(in oklab, var(--surface) 80%, transparent), transparent 70%); animation: drift 5s ease-in-out infinite; }
@keyframes blob { 0%, 100% { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; rotate: 0deg; } 33% { border-radius: 58% 42% 46% 54% / 44% 58% 42% 56%; } 66% { border-radius: 42% 58% 56% 44% / 58% 42% 56% 44%; rotate: 180deg; } }
@keyframes drift { 50% { transform: translate(18%, 12%) scale(.8); } }
.voice.thinking .v-orb { animation-duration: 1.6s, 1.2s; }
.voice.hop .v-orb { animation: blob 7s ease-in-out infinite, hop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes hop { 40% { transform: translateY(-5px) scale(1.12); } }
.voice[data-stage="voice"] .v-msg, .voice[data-stage="mini"] .v-name { transition: opacity .28s, transform .28s cubic-bezier(.2,.8,.2,1); }
.voice .v-msg.out, .voice .v-name.out { opacity: 0; transform: translateY(6px); }
.v-name .v-typing { vertical-align: middle; }
.v-typing i { background: var(--brand); }

/* ---------- subliminal ---------- */
.flash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 300; font-size: clamp(3rem, 14vw, 13rem); letter-spacing: .02em; color: var(--ink); opacity: 0; text-transform: lowercase; animation: flash .22s steps(1, end) forwards; }
@keyframes flash { 0% { opacity: .07; } 60% { opacity: .035; } 100% { opacity: 0; } }

/* ---------- dots ---------- */
.dot-av { --c1: #7fd8a7; --c2: #2c9a60; width: 64px; height: 64px; position: relative; flex: none; }
.dot-av .body { position: absolute; inset: 0; border-radius: 48% 52% 46% 54% / 55% 52% 48% 45%; background: radial-gradient(circle at 34% 30%, color-mix(in oklab, var(--c1) 60%, #fff), var(--c1) 45%, var(--c2)); box-shadow: inset -6px -8px 14px -6px rgba(0,0,0,.18), 0 10px 20px -12px var(--c2); animation: squish 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.dot-av .eye { position: absolute; top: 40%; width: 9%; height: 14%; border-radius: 50%; background: #10201a; animation: blink 5s infinite; animation-delay: var(--d, 0s); }
.dot-av .eye.l { left: 34%; } .dot-av .eye.r { left: 57%; }
.dot-av .cheek { position: absolute; top: 55%; width: 12%; height: 7%; border-radius: 50%; background: rgba(255, 120, 140, .45); }
.dot-av .cheek.l { left: 24%; } .dot-av .cheek.r { left: 64%; }
.dot-av .mouth { position: absolute; top: 57%; left: 45%; width: 10%; height: 6%; border-bottom: 2px solid #10201a; border-radius: 0 0 50% 50%; }
.dot-av .shine { position: absolute; top: 14%; left: 22%; width: 18%; height: 10%; border-radius: 50%; background: rgba(255,255,255,.6); rotate: -30deg; }
@keyframes squish { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-8%) scale(.96, 1.04); } 55% { transform: translateY(-8%) scale(.96, 1.04); } 80% { transform: translateY(0) scale(1.06, .94); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.dot-av.pip { --c1: #8fe0b4; --c2: #2c9a60; } .dot-av.bea { --c1: #ffc98f; --c2: #e0823a; } .dot-av.juno { --c1: #b7a8ff; --c2: #5b3fd0; }
.dot-av.mote { --c1: #9fd2ff; --c2: #2f74d0; } .dot-av.kiki { --c1: #ffb0c8; --c2: #d6497b; } .dot-av.ollo { --c1: #f2e27a; --c2: #b8970f; }
.dot-av.lg { width: 120px; height: 120px; }

.dots-hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); overflow: hidden; }
.dots-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px clamp(28px, 5vw, 64px); align-items: center; }
.dots-hero .copy { display: grid; gap: 28px; justify-items: start; }
@media (max-width: 900px) { .dots-hero .wrap { grid-template-columns: 1fr; } }
.dots-hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); max-width: 13ch; }
.troupe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; align-items: end; justify-items: center; padding: 28px; border-radius: 28px; background: radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--brand) 12%, transparent), transparent 70%); }
.troupe .dot-av { width: 84px; height: 84px; }
.troupe .dot-av.lg { width: 110px; height: 110px; }
@media (max-width: 520px) { .troupe .dot-av { width: 60px; height: 60px; } .troupe .dot-av.lg { width: 76px; height: 76px; } }
.troupe .who { display: grid; justify-items: center; gap: 8px; font-size: 13px; }
.troupe .who b { font-weight: 600; }
.troupe .who span { color: var(--muted); font: 400 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vs .col { border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 14px; align-content: start; background: var(--bg); }
.vs .col.win { background: var(--brand); color: var(--brand-ink); border-color: transparent; --muted: color-mix(in oklab, var(--brand-ink) 72%, var(--brand)); --line: color-mix(in oklab, var(--brand-ink) 22%, transparent); }
.vs .col .when { font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 640; font-size: 44px; line-height: 1; }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.vs li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.vs li span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 900px) { .vs { grid-template-columns: 1fr; } }

.erp { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -50px rgba(0,0,0,.4); }
.erp-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--sunk); font-size: 13px; color: var(--muted); }
.erp-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.erp-bar b { color: var(--ink); font-weight: 600; margin-left: 8px; }
.erp-body { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 300px); min-height: 380px; }
.erp-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: 13.5px; }
.erp-side span { padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.erp-side span.on { background: var(--sunk); color: var(--ink); font-weight: 600; }
.erp-table { padding: 6px 0; min-width: 0; overflow-x: auto; }
.erp-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.erp-table th { text-align: left; font: 400 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.erp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.erp-table .pair { display: flex; align-items: center; gap: 10px; }
.erp-table .dot-av { width: 30px; height: 30px; }
.erp-feed { border-left: 1px solid var(--line); padding: 14px; display: grid; gap: 10px; align-content: start; font-size: 13px; }
.erp-feed .ev { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border-radius: 12px; background: var(--bg); animation: evIn .5s cubic-bezier(.2,.8,.2,1); }
.erp-feed .ev .dot-av { width: 26px; height: 26px; }
.erp-feed .ev small { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; margin-top: 3px; }
@keyframes evIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 1000px) { .erp-body { grid-template-columns: minmax(0, 1fr); } .erp-side { display: none; } .erp-feed { border-left: 0; border-top: 1px solid var(--line); } }
.deploy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.deploy .opt { border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 16px; align-content: start; background: var(--surface); }
.deploy .opt p { color: var(--muted); }
.deploy ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; font-size: 15px; }
@media (max-width: 860px) { .deploy { grid-template-columns: 1fr; } }

/* ---------- models ---------- */
.viz-root { --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --grid: color-mix(in oklab, var(--ink) 9%, transparent); --axis: color-mix(in oklab, var(--ink) 24%, transparent); }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .viz-root { --s1: #3987e5; --s2: #d95926; --s3: #199e70; } }
:root[data-theme="dark"] .viz-root { --s1: #3987e5; --s2: #d95926; --s3: #199e70; }
.family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mcard { border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 16px; align-content: start; background: var(--surface); position: relative; overflow: hidden; }
.mcard .tier { display: flex; gap: 6px; }
.mcard .tier i { width: 18px; height: 6px; border-radius: 3px; background: var(--sunk); }
.mcard .tier i.on { background: var(--brand); }
.mcard h3 { font-size: 30px; }
.mcard p { color: var(--muted); font-size: 15px; }
.mcard dl { margin: 0; display: grid; border-top: 1px solid var(--line); }
.mcard dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mcard dt { color: var(--muted); }
.mcard dd { margin: 0; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.mcard .code-id { font: 400 11.5px var(--mono); color: var(--muted); background: var(--sunk); padding: 6px 10px; border-radius: 8px; justify-self: start; }
@media (max-width: 960px) { .family { grid-template-columns: 1fr; } }
.chart-card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--surface); display: grid; gap: 16px; position: relative; min-width: 0; }
.chart-card h3 { font-size: 21px; }
.chart-card .sub { color: var(--muted); font-size: 14px; margin-top: -8px; }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.charts .span2 { grid-column: 1 / -1; }
@media (max-width: 960px) { .charts { grid-template-columns: 1fr; } .charts .span2 { grid-column: auto; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; }
.chart text.val { fill: var(--ink); font-size: 10px; }
.chart text.lbl { fill: var(--ink); font-family: var(--body); font-size: 12.5px; }
.chart .gridl { stroke: var(--grid); }
.chart .axis { stroke: var(--axis); }
.chart .bar { transition: opacity .2s; }
.chart .hit { fill: transparent; cursor: default; }
.chart.dim .bar:not(.on), .chart.dim .pt:not(.on) { opacity: .35; }
.tip { position: absolute; pointer-events: none; z-index: 5; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.4; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.tip.on { opacity: 1; transform: none; }
.tip b { font-weight: 600; }
.tip .r { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tip .r i { width: 8px; height: 8px; border-radius: 2px; }
.tip .r span:last-child { font-family: var(--mono); font-size: 11.5px; margin-left: 14px; }
.tableview summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.tableview table { margin-top: 10px; }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.svc { background: var(--surface); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; transition: background .3s; }
.svc:hover { background: var(--sunk); }
.svc .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, var(--brand) 14%, transparent); color: var(--brand); }
.svc .ic svg { width: 19px; height: 19px; }
.svc h3 { font-size: 19px; }
.svc p { color: var(--muted); font-size: 14.5px; }
.svc .st { font: 400 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 6px; background: var(--surface); }
.tile b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 620; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.tile span:last-child { color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- news + careers ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { text-decoration: none; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: grid; background: var(--surface); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -32px rgba(0,0,0,.35); }
.post .art { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center; }
.post .txt { padding: 22px 24px 26px; display: grid; gap: 10px; }
.post p { color: var(--muted); font-size: 15px; }
.post.lead { grid-column: span 2; grid-template-columns: 1.1fr 1fr; }
.post.lead .art { aspect-ratio: auto; min-height: 280px; }
.post.lead h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; } .post.lead { grid-column: auto; grid-template-columns: 1fr; } }
.policy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 6vw, 80px); }
.asl { display: grid; border-top: 1px solid var(--ink); }
.asl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.asl b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--brand); }
.asl p { color: var(--muted); font-size: 15px; }
.asl strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
@media (max-width: 860px) { .policy { grid-template-columns: 1fr; } }
.roles-list { display: grid; border-top: 1px solid var(--ink); }
.job { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.job h3 { font-size: 21px; }
.job p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.job .meta { font: 400 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.job .note { grid-column: 1 / -1; color: var(--brand); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; gap: 10px; } }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perk { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; background: var(--surface); }
.perk p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ---------- theme lab ---------- */
.lab-ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.lab-ctl .seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lab-ctl .seg button { border: 0; background: transparent; color: var(--muted); font: 500 13.5px var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.lab-ctl .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lab-grid { display: grid; gap: 34px; }
.lab-row { display: grid; gap: 14px; }
.lab-row .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.lab-row .head h3 { font-size: 26px; }
.lab-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .lab-pair { grid-template-columns: 1fr; } }
.pv { background: var(--bg); color: var(--ink); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; font-size: 13px; display: grid; }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.pv-top .mark { width: 24px; height: 21px; }
.pv-top b { font-family: var(--display); font-variation-settings: "wdth" 76; font-weight: 680; font-size: 14px; }
.pv-top .nv { margin-left: auto; display: flex; gap: 12px; color: var(--muted); font-size: 11.5px; }
.pv-top .cta { background: var(--brand); color: var(--brand-ink); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 600; }
.pv-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; padding: 22px 18px; align-items: center; position: relative; }
.pv-body h4 { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 82; font-weight: 640; font-size: clamp(18px, 2.3vw, 26px); line-height: 1.02; }
.pv-body p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.pv-btns { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.pv-btns span { padding: 7px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--brand); color: var(--brand-ink); }
.pv-btns span + span { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.pv-card .k { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 620; font-size: 26px; line-height: 1; }
.pv-card .rw { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; padding-top: 8px; border-top: 1px solid var(--line); }
.pv-card .rw .chip { font-size: 9px; padding: 3px 7px; }
.pv-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--surface); }
.pv-foot canvas { width: 54px; height: 54px; border-radius: 50%; }
.pv-foot .sw { display: flex; gap: 4px; }
.pv-foot .sw i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line); }
.pv-foot .dot-av { width: 40px; height: 40px; }
.pv-foot .gauge { display: grid; gap: 5px; }
.pv-foot .gauge .tr { height: 5px; border-radius: 5px; background: var(--sunk); overflow: hidden; }
.pv-foot .gauge .tr i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--friction), var(--aligned)); }
@media (max-width: 520px) { .pv-body { grid-template-columns: 1fr; } .pv-top .nv { display: none; } }

/* ---------- 404, trance, write-up ---------- */
.lost { position: relative; overflow: hidden; min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; }
.lost .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.lost .code { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.lost h1 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; }
.article { padding-block: clamp(56px, 8vw, 110px); }
.article .wrap { max-width: 760px; display: grid; gap: 22px; }
.article h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.article .byline { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article .prose p { color: var(--ink); opacity: .86; font-size: 18px; line-height: 1.7; }
.article .prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 18px; }
.article blockquote { margin: 8px 0; padding-left: 20px; border-left: 2px solid var(--brand); font-family: var(--display); font-variation-settings: "wdth" 82; font-size: 22px; line-height: 1.3; }

/* ---------- ✕ that turns into ✓ ---------- */
.xk { width: 16px; height: 16px; overflow: visible; }
.xk path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: d .5s cubic-bezier(.6,-0.3,.3,1.4), transform .5s cubic-bezier(.3,1.5,.5,1); }
.xk .xa { d: path("M7 7 L17 17"); }
.xk .xb { d: path("M17 7 L7 17"); }
.kept .xk .xa { d: path("M5 12.5 L10 17.5"); }
.kept .xk .xb { d: path("M19.5 6.5 L10 17.5"); }
.kept .xk { animation: tick .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes tick { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(-18deg) scale(1.25); } 100% { transform: rotate(0) scale(1); } }
.v-x.kept, .ann-x.kept { transform: none; font-size: inherit; color: var(--aligned); }
.voice[data-stage="chat"] .v-x.kept { color: var(--brand-ink); }

/* ---------- smoother bubble: transform-only motion ---------- */
.voice { transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s !important; will-change: transform; contain: layout paint; }
.voice.pop { animation: vpop .42s cubic-bezier(.3,1.4,.5,1); }
@keyframes vpop { from { transform: scale(.94); } to { transform: none; } }
.v-orb { animation: orbspin 9s linear infinite, breathe 4.5s ease-in-out infinite !important; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48% !important; will-change: transform; }
.v-orb::after { will-change: transform; }
@keyframes orbspin { to { rotate: 360deg; } }
.voice.thinking .v-orb { animation-duration: 2.2s, 1.2s !important; }
.voice.hop .v-orb { animation: orbspin 9s linear infinite, hop .5s cubic-bezier(.3,1.6,.5,1) !important; }

/* ---------- Familiars, 3D ---------- */
.fam-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 45; }
.fam-3d .dot-av[data-fam].fam-ready .body { opacity: 0; animation: none; }
.dot-av::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -2%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--ink) 22%, transparent), transparent); pointer-events: none; }
.fam-3d .dot-av[data-fam] { transform: scale(1.18); }
.troupe-wrap { display: grid; gap: 14px; }
.defn { font-size: 13.5px; color: var(--muted); text-align: center; }
.defn b { color: var(--ink); font-weight: 600; }

.pv-canopy-light { --bg: #edf0e9; --surface: #f8faf5; --sunk: #e2e7de; --ink: #0f1d16; --muted: #5b685f; --line: rgba(15,29,22,.14); --brand: #1d6a46; --brand-ink: #f3f7f1; --friction: #cf4229; --aligned: #2c9a60; --field: 15, 29, 22; --accent: #d99a2b; --on-aligned: #0b110e; color-scheme: light }
.pv-canopy-dark { --bg: #0b110e; --surface: #121a16; --sunk: #18221c; --ink: #e3eae1; --muted: #93a198; --line: rgba(227,234,225,.14); --brand: #6ccb96; --brand-ink: #0b110e; --friction: #ff6a4d; --aligned: #5fd393; --field: 227, 234, 225; --accent: #f0b54a; --on-aligned: #0b110e; color-scheme: dark }
.pv-clinic-light { --bg: #f3f5f8; --surface: #ffffff; --sunk: #e6eaf1; --ink: #0e1726; --muted: #5a6578; --line: rgba(14,23,38,.12); --brand: #2850c8; --brand-ink: #ffffff; --friction: #e0533d; --aligned: #1f9d7a; --field: 14, 23, 38; --accent: #e3a21a; --on-aligned: #0b0f17; color-scheme: light }
.pv-clinic-dark { --bg: #0b0f17; --surface: #121826; --sunk: #1a2233; --ink: #e5eaf3; --muted: #95a1b5; --line: rgba(229,234,243,.13); --brand: #7d9bff; --brand-ink: #0b0f17; --friction: #ff7a63; --aligned: #4fd1a8; --field: 229, 234, 243; --accent: #ffc857; --on-aligned: #0b0f17; color-scheme: dark }
.pv-lull-light { --bg: #f1eff6; --surface: #fbfaff; --sunk: #e5e1ef; --ink: #1b1626; --muted: #645d74; --line: rgba(27,22,38,.13); --brand: #5b3fd0; --brand-ink: #fbfaff; --friction: #d9483b; --aligned: #3b9e74; --field: 27, 22, 38; --accent: #e0a32a; --on-aligned: #100d18; color-scheme: light }
.pv-lull-dark { --bg: #100d18; --surface: #181424; --sunk: #211b30; --ink: #ebe6f5; --muted: #a39cb5; --line: rgba(235,230,245,.13); --brand: #a993ff; --brand-ink: #100d18; --friction: #ff7466; --aligned: #62d39f; --field: 235, 230, 245; --accent: #ffcd62; --on-aligned: #100d18; color-scheme: dark }
.pv-pewter-light { --bg: #f2f2f0; --surface: #fbfbfa; --sunk: #e6e6e3; --ink: #141414; --muted: #63635f; --line: rgba(20,20,20,.13); --brand: #141414; --brand-ink: #f2f2f0; --friction: #e2542a; --aligned: #3c8f5f; --field: 20, 20, 20; --accent: #e2a12a; --on-aligned: #0e0e0d; color-scheme: light }
.pv-pewter-dark { --bg: #0e0e0d; --surface: #171716; --sunk: #1f1f1d; --ink: #ececea; --muted: #9c9c97; --line: rgba(236,236,234,.13); --brand: #ececea; --brand-ink: #0e0e0d; --friction: #ff7043; --aligned: #5fcf8d; --field: 236, 236, 234; --accent: #f2c14e; --on-aligned: #0e0e0d; color-scheme: dark }
.pv-primary-light { --bg: #ffffff; --surface: #f8f9fb; --sunk: #eef1f5; --ink: #1f1f1f; --muted: #5f6368; --line: rgba(31,31,31,.12); --brand: #1a73e8; --brand-ink: #ffffff; --friction: #d93025; --aligned: #1e8e3e; --field: 31, 31, 31; --accent: #f9ab00; --on-aligned: #121316; color-scheme: light }
.pv-primary-dark { --bg: #121316; --surface: #1b1c20; --sunk: #24262b; --ink: #e8eaed; --muted: #9aa0a6; --line: rgba(232,234,237,.13); --brand: #8ab4f8; --brand-ink: #121316; --friction: #f28b82; --aligned: #81c995; --field: 232, 234, 237; --accent: #fdd663; --on-aligned: #121316; color-scheme: dark }
.pv-sorbet-light { --bg: #fbf3f1; --surface: #fffaf8; --sunk: #f3e4e0; --ink: #2a1a1c; --muted: #7a6266; --line: rgba(42,26,28,.12); --brand: #c93f63; --brand-ink: #fffaf8; --friction: #e0622d; --aligned: #2f9474; --field: 42, 26, 28; --accent: #e9a21f; --on-aligned: #160e10; color-scheme: light }
.pv-sorbet-dark { --bg: #160e10; --surface: #1f1517; --sunk: #2a1c1f; --ink: #f6e7e9; --muted: #b39a9e; --line: rgba(246,231,233,.13); --brand: #ff8fab; --brand-ink: #160e10; --friction: #ff8a5c; --aligned: #6fd6b3; --field: 246, 231, 233; --accent: #ffd36b; --on-aligned: #160e10; color-scheme: dark }
.pv-tidal-light { --bg: #eef4f6; --surface: #f9fcfd; --sunk: #dfe9ed; --ink: #0c1d2a; --muted: #536877; --line: rgba(12,29,42,.13); --brand: #0f6e78; --brand-ink: #f9fcfd; --friction: #d0473a; --aligned: #1f9a73; --field: 12, 29, 42; --accent: #e3a21a; --on-aligned: #08131b; color-scheme: light }
.pv-tidal-dark { --bg: #08131b; --surface: #0f1d27; --sunk: #152733; --ink: #e2eef3; --muted: #8fa7b4; --line: rgba(226,238,243,.13); --brand: #5fd0d6; --brand-ink: #08131b; --friction: #ff7a6b; --aligned: #5fd3a3; --field: 226, 238, 243; --accent: #ffcb57; --on-aligned: #08131b; color-scheme: dark }
.pv-saffron-light { --bg: #fffbea; --surface: #ffffff; --sunk: #f4edcf; --ink: #16140a; --muted: #6b644b; --line: rgba(22,20,10,.14); --brand: #16140a; --brand-ink: #ffe45c; --friction: #d6452a; --aligned: #2f8a4c; --field: 22, 20, 10; --accent: #f2c200; --on-aligned: #11100a; color-scheme: light }
.pv-saffron-dark { --bg: #11100a; --surface: #1a1910; --sunk: #242316; --ink: #f6f1d8; --muted: #aaa385; --line: rgba(246,241,216,.13); --brand: #f5d33b; --brand-ink: #11100a; --friction: #ff7651; --aligned: #6dd38c; --field: 246, 241, 216; --accent: #f5d33b; --on-aligned: #11100a; color-scheme: dark }
/* Refinement: stable companion geometry and accessible compact control. */
body { margin: 0; }
.voice { max-height: calc(100dvh - 32px); overflow-y: auto; }
.voice[data-stage="voice"] .v-msg { min-height: 4.1em; }
.voice[data-stage="mini"] { width: min(300px, calc(100vw - 32px)); }
.voice[data-stage="mini"] .v-name { min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-expand { position:absolute; inset:0; width:100%; border:0; border-radius:inherit; background:transparent; cursor:pointer; }
.v-expand:focus-visible { outline:3px solid var(--brand); outline-offset:-4px; }
.v-x { min-width:40px; min-height:40px; }
.voice.off { visibility:hidden; }
@media (max-width:600px) { .announce { padding:8px 42px 8px 14px; font-size:12px; } .announce a { display:inline; } .announce a span { display:inline; } }
@media (prefers-reduced-motion:reduce) { .voice, .voice *, .cookie { animation:none!important; transition:none!important; } }
/* Launch refinement: Primary color against a quieter Pewter foundation. */
:root:is(:not([data-palette]),[data-palette="studio"]) {--bg:#f5f5f2;--surface:#ffffff;--sunk:#e9ecee;--ink:#202326;--muted:#61686e;--line:rgba(32,35,38,.13);--brand:#286bdb;--brand-ink:#fff;--friction:#d45e4b;--aligned:#35865d;--field:32,35,38;--accent:#e6af32;--on-aligned:#101712;color-scheme:light}
:root:is(:not([data-palette]),[data-palette="studio"])[data-theme="dark"]{--bg:#16191c;--surface:#202428;--sunk:#292e33;--ink:#edf0f3;--muted:#a8b0b7;--line:rgba(237,240,243,.13);--brand:#8eb7fb;--brand-ink:#16191c;--aligned:#8bd0a4;--field:237,240,243;color-scheme:dark}
@media(prefers-color-scheme:dark){:root:is(:not([data-palette]),[data-palette="studio"]):not([data-theme="light"]){--bg:#16191c;--surface:#202428;--sunk:#292e33;--ink:#edf0f3;--muted:#a8b0b7;--line:rgba(237,240,243,.13);--brand:#8eb7fb;--brand-ink:#16191c;--aligned:#8bd0a4;--field:237,240,243;color-scheme:dark}}
.brand .mk-a2{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.brand:is(:hover,:focus-visible,:active) .mk-a2{transform:translateX(4px)}
.legacy-tile rect{fill:var(--sunk);stroke:var(--line)}
.legacy-tile .deptext{fill:var(--muted)}
.legacy-tile{animation:retire-tile 8s ease-in-out infinite;transform-origin:320px 584px}
@keyframes retire-tile{0%,20%{transform:translateY(-12px);opacity:.95}50%,90%{transform:translate(12px,12px) rotate(2deg);opacity:.65}100%{transform:translateY(-12px);opacity:.95}}
.role.legacy{margin-top:12px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--sunk)}
.fam-3d .dot-av[data-fam]{transform:none;isolation:isolate}
.fam-sprite{z-index:1}
[data-fam][role="button"]{cursor:pointer;touch-action:pan-y;outline-offset:4px;border-radius:25%}
[data-fam][role="button"]:focus-visible{outline:2px solid var(--brand)}
.troupe{display:block;position:relative;min-height:470px;padding:0;overflow:visible;isolation:isolate;background:radial-gradient(ellipse at 50% 45%,color-mix(in oklab,var(--brand) 9%,transparent),transparent 70%)}
.troupe .who{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:130px;gap:3px;animation:social-float 7s ease-in-out var(--delay) infinite;animation-play-state:paused}
.troupe.playing .who{animation-play-state:running}
.troupe .dot-av,.troupe .dot-av.lg{width:130px;height:135px}
.troupe .who>span:last-child{font-size:9px;letter-spacing:0;text-align:center;white-space:nowrap}
@keyframes social-float{0%,100%{translate:0 0}50%{translate:4px -16px}}
.play-hint{font:11px var(--mono);text-align:center;color:var(--muted)}
.secret-familiar{position:absolute;left:50%;top:41%;width:170px;transform:translate(-50%,-50%);display:grid;justify-items:center;z-index:2;animation:eye-arrival 3s ease-out both}
.secret-familiar button{border:0;padding:0;background:none;width:100%;cursor:pointer;touch-action:pan-y}
.secret-familiar svg{width:100%;display:block}.secret-familiar .chip{font-size:9px}
.secret-familiar .wing{transform-box:fill-box;transform-origin:center;animation:wing-beat 3s ease-in-out infinite}.secret-familiar .right{animation-direction:reverse}
@keyframes wing-beat{50%{transform:rotate(6deg)}}
@keyframes eye-arrival{from{opacity:0;translate:0 -60px;scale:.35;filter:blur(4px)}to{opacity:1;translate:0 0;scale:1;filter:blur(0)}}
.erp-feed{overflow-anchor:none}.erp .ev{min-height:64px}.erp .dot-av{flex-shrink:0}
.voice .v-body{position:relative}.v-heart-trigger{position:absolute;inset:0;border:0;padding:0;background:none;cursor:pointer;border-radius:12px}.voice:not([data-flow="voice"]) .v-heart-trigger{display:none}.v-acts{position:relative;z-index:1}.v-heart{position:absolute;color:#ef7196;font-size:27px;pointer-events:none;z-index:3}.voice.warning .v-msg{font-size:32px;font-weight:700;color:var(--accent)}.voice.caution .v-x{color:var(--accent)}
@media(max-width:520px){.troupe{min-height:430px}.troupe .who{width:100px}.troupe .dot-av,.troupe .dot-av.lg{width:106px;height:112px}.secret-familiar{width:145px;top:43%}}
@media(prefers-reduced-motion:reduce){.troupe .who,.legacy-tile,.secret-familiar,.secret-familiar .wing{animation:none}.brand .mk-a2{transition:none}.loop-svg .pulse{display:none}}

.technical{max-width:1000px}.technical h1{max-width:16ch}.technical h2{font-size:clamp(28px,5vw,52px);margin-bottom:24px}.technical p,.technical li{font-size:17px;line-height:1.65;max-width:75ch;margin-bottom:18px}.technical table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}.technical td,.technical th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}.technical .doc-note{font-size:13px;color:var(--muted)}.technical pre{overflow:auto;max-width:100%;padding:24px;background:var(--sunk);border-radius:12px;font:12px/1.8 var(--mono);tab-size:2}.code-example{position:relative}.code-example .copy-code{margin-bottom:10px}@media(max-width:520px){.technical table{font-size:11px}.technical td,.technical th{padding:10px 4px}.technical pre{padding:16px;font-size:10px}}

.pv-studio-light{--bg:#f5f5f2;--surface:#ffffff;--sunk:#e9ecee;--ink:#202326;--muted:#61686e;--line:rgba(32,35,38,.13);--brand:#286bdb;--brand-ink:#fff;--friction:#d45e4b;--aligned:#35865d;--field:32,35,38;--accent:#e6af32;--on-aligned:#101712;color-scheme:light}
.pv-studio-dark{--bg:#16191c;--surface:#202428;--sunk:#292e33;--ink:#edf0f3;--muted:#a8b0b7;--line:rgba(237,240,243,.13);--brand:#8eb7fb;--brand-ink:#16191c;--aligned:#8bd0a4;--field:237,240,243;color-scheme:dark}
.secret-familiar{width:140px;top:44%}.review-playground .secret-familiar{top:44%}@media(max-width:520px){.secret-familiar{width:130px;top:44%}}.v-heart-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:4px}

/* ---------- docs kit: system card + API reference ---------- */
.dk { --code-bg: #12161a; --code-fg: #e4e9ec; --code-line: rgba(228,233,236,.1); --code-muted: #8a959c; }
.dk-hero { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); background: var(--surface); }
.dk-hero .wrap { display: grid; gap: 18px; }
.dk-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; line-height: 1.02; }
.dk-hero .lede { max-width: 62ch; }
.dk-meta { margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dk-meta div { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.dk-meta dt { font: 400 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dk-meta dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.dk-meta code { font-size: 12.5px; }
.dk-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 110px); align-items: start; }
.dk-toc { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); display: grid; gap: 12px; }
.dk-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.dk-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 14px; transition: color .2s, border-color .2s; }
.dk-toc a:hover { color: var(--ink); }
.dk-toc a.on { color: var(--ink); border-left-color: var(--brand); }
.dk-main { display: grid; gap: clamp(48px, 6vw, 72px); min-width: 0; }
.dk-main section { display: grid; gap: 16px; scroll-margin-top: 90px; min-width: 0; }
.dk-main h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.dk-main h3 { font-size: 18px; margin-bottom: 10px; }
.dk-main p { color: color-mix(in oklab, var(--ink) 82%, var(--bg)); max-width: 70ch; line-height: 1.65; }
.dk-main p a, .dk-callout a { color: var(--brand); }
.dk-main code, .dk-meta code { font: 400 .86em var(--mono); background: var(--sunk); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.dk-fine { font-size: 13.5px; color: var(--muted) !important; }
.dk-callout { padding: 18px 20px; border-radius: 14px; background: color-mix(in oklab, var(--brand) 9%, var(--surface)); border: 1px solid color-mix(in oklab, var(--brand) 24%, transparent); font-size: 15px; line-height: 1.55; }
.dk-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.dk-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dk-table th { text-align: left; font: 400 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--sunk); white-space: nowrap; }
.dk-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.dk-table tr:last-child td { border-bottom: 0; }
.dk-table.num td:not(:first-child):not(:nth-child(2)) { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dk-table td .ty { display: block; font: 400 11px var(--mono); color: var(--muted); margin-top: 4px; }
.dk-table td .req { font: 500 9.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--friction); margin-left: 8px; }
.dk-pass, .dk-watch { font: 500 10.5px var(--mono); padding: 3px 8px; border-radius: 999px; }
.dk-pass { background: color-mix(in oklab, var(--aligned) 16%, transparent); color: color-mix(in oklab, var(--aligned) 70%, var(--ink)); }
.dk-watch { background: color-mix(in oklab, var(--accent) 20%, transparent); color: color-mix(in oklab, var(--accent) 60%, var(--ink)); }
.dk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dk-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dk-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.dk-list.yes li::before { content: "+"; font-family: var(--mono); color: var(--aligned); }
.dk-list.no li::before { content: "–"; font-family: var(--mono); color: var(--friction); }
.dk-defs { margin: 0; display: grid; border-top: 1px solid var(--line); }
.dk-defs div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dk-defs dt { font-weight: 600; }
.dk-defs dd { margin: 0; color: var(--muted); line-height: 1.55; }
.dk-log { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--line); }
.dk-log li { padding: 0 0 22px 22px; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.dk-log li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.dk-log b { font-family: var(--mono); font-size: 13px; }
.dk-log span { color: var(--muted); font-size: 13px; }
.dk-log p { grid-column: 1 / -1; font-size: 15px; }
.dk-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.dk-steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 58px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); line-height: 1.55; }
.dk-steps li::before { content: counter(s); position: absolute; left: 18px; top: 15px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--mono); background: var(--brand); color: var(--brand-ink); }
.dk-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 10px; background: var(--surface); }
.dk-card p { font-size: 14px; color: var(--muted); }
.dk-endpoint { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px 32px !important; align-items: start; }
.dk-prose { display: grid; gap: 16px; min-width: 0; }
.dk-samples { display: grid; gap: 12px; min-width: 0; position: sticky; top: 90px; }
.dk-samples.wide { position: static; }
.dk-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dk-route code { font-size: 14px !important; }
.verb { font: 600 10.5px var(--mono); letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; }
.verb.post { background: color-mix(in oklab, var(--brand) 16%, transparent); color: var(--brand); }
.verb.get { background: color-mix(in oklab, var(--aligned) 16%, transparent); color: color-mix(in oklab, var(--aligned) 70%, var(--ink)); }
.dk-code { background: var(--code-bg); color: var(--code-fg); border-radius: 14px; overflow: hidden; border: 1px solid var(--code-line); min-width: 0; }
.dk-bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--code-line); min-width: 0; }
.dk-file { font: 400 11px var(--mono); color: var(--code-muted); white-space: nowrap; }
.dk-tabs { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; }
.dk-tabs button, .dk-copy { border: 0; background: transparent; color: var(--code-muted); font: 500 12px var(--body); padding: 6px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.dk-tabs button[aria-selected="true"] { background: rgba(255,255,255,.08); color: var(--code-fg); }
.dk-tabs button:hover, .dk-copy:hover { color: var(--code-fg); }
.dk-resp .dk-copy { margin-left: auto; }
.dk-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font: 400 12.5px/1.7 var(--mono); tab-size: 2; }
.dk-code pre code { background: none; padding: 0; font: inherit; color: inherit; }
.dk-code .s { color: #a6d9b7; } .dk-code .k { color: #9cb8ff; } .dk-code .c { color: #6f7b83; font-style: italic; } .dk-code .n { color: #f2c18a; }
.dk-code :focus-visible { outline-color: #9cb8ff; }
@media (max-width: 1100px) { .dk-endpoint { grid-template-columns: minmax(0, 1fr); } .dk-samples { position: static; } }
@media (max-width: 860px) { .dk-body { grid-template-columns: minmax(0, 1fr); } .dk-toc { position: static; } .dk-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; } .dk-toc a { border-left: 0; padding-left: 0; } .dk-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dk-two { grid-template-columns: minmax(0, 1fr); } .dk-defs div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 480px) { .dk-meta { grid-template-columns: minmax(0, 1fr); } }
.dk-table code { white-space: nowrap; overflow-wrap: normal; }
.dk-table td:first-child { min-width: 150px; }
@media (max-width: 480px) { .dk-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dk-meta div:first-child { grid-column: 1 / -1; } }

/* ---------- Familiar playground: the crew roams the hero ---------- */
.dots-hero { position: relative; isolation: isolate; min-height: clamp(560px, 80vh, 780px); display: grid; align-items: center; touch-action: pan-y; }
.dots-hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.dots-hero .copy { pointer-events: auto; max-width: 640px; }
.dots-hero > .troupe { position: absolute; inset: 0; z-index: 1; display: block; min-height: 0; padding: 0; border-radius: 0; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 78% 52%, color-mix(in oklab, var(--brand) 10%, transparent), transparent 72%); }
.dots-hero > .troupe .who { position: absolute; left: 0; top: 0; width: var(--s, 112px); height: var(--s, 112px); display: block; animation: none; will-change: transform; cursor: pointer; -webkit-tap-highlight-color: transparent; transform: translate3d(-200px, -200px, 0); }
.dots-hero > .troupe .who.seer { width: calc(var(--s, 112px) * 1.25); height: calc(var(--s, 112px) * 1.25); margin: calc(var(--s, 112px) * -.125) 0 0 calc(var(--s, 112px) * -.125); }
.dots-hero > .troupe .dot-av, .dots-hero > .troupe .dot-av.lg { display: block; width: 100%; height: 100%; }
.dots-hero > .troupe .who > b, .dots-hero > .troupe .who > span:not(.dot-av) { position: absolute; left: 50%; pointer-events: none; opacity: 0; transition: opacity .25s, transform .3s cubic-bezier(.3,1.5,.5,1); white-space: nowrap; }
.dots-hero > .troupe .who > b { bottom: 100%; transform: translate(-50%, 6px); padding: 5px 10px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 13px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); border: 1px solid var(--line); }
.dots-hero > .troupe .who > span:not(.dot-av) { bottom: calc(100% + 6px); transform: translate(-50%, 6px); font: 400 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dots-hero > .troupe .who.tag > b, .dots-hero > .troupe .who.tag > span:not(.dot-av), .dots-hero > .troupe .who:focus-within > b, .dots-hero > .troupe .who:focus-within > span:not(.dot-av) { opacity: 1; transform: translate(-50%, 0); }
.fam-heart { position: absolute; z-index: 3; width: 22px; height: 22px; margin-left: -11px; pointer-events: none; color: #ff6f91; animation: famHeart 1.5s cubic-bezier(.2,.8,.2,1) forwards; }
.fam-heart svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 4px 6px rgba(255, 80, 120, .35)); }
@keyframes famHeart { 0% { transform: translate(0, 6px) scale(.3); opacity: 0; } 18% { transform: translate(0, -6px) scale(1.1); opacity: 1; } 100% { transform: translate(var(--dx, 0), -70px) scale(.8); opacity: 0; } }
.play-hint { display: none; }
@media (max-width: 900px) {
  .dots-hero { align-items: start; min-height: 0; padding-bottom: 300px; }
  .dots-hero > .troupe { background: radial-gradient(ellipse 90% 34% at 50% 82%, color-mix(in oklab, var(--brand) 12%, transparent), transparent 75%); }
}
@media (prefers-reduced-motion: reduce) { .fam-heart { display: none; } }
/* the playground is space, not a tabletop: no floor shadows, and depth does the rest */
.dots-hero > .troupe .dot-av::after { display: none; }
.dots-hero > .troupe .who { transition: filter .6s; }
