
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #fafafa;
  --cta-line: #171717;
  --panel: #f2f2f2;
  --card: #f2f2f2;
  --win: #ffffff;
  --win-bar: #f4f4f4;
  --ink: #171717;
  --text: #333333;
  --muted: #707070;
  --line: #e6e6e6;
  --line-strong: #d6d6d6;
  --primary: #171717;
  --primary-hover: #333333;
  --on-primary: #fafafa;
  --soft: #e7e7e7;
  --link: #2a43ee;
  --brand: #396d7c;
  --wordmark-base: #656565;
  --blue: #2f4bff;
  --ok: #16834a;
  /* Faint-blue fields you type or copy: background, a lighter outline, and the Otis ink for their text. */
  --tint: color-mix(in srgb, var(--blue) 4%, var(--win));
  --tint-line: color-mix(in srgb, var(--blue) 15%, var(--win));
  --tint-text: var(--otis);
  --syn-id: #8250df;
  --syn-money: #b35900;
  --syn-date: #116329;
  --syn-enum: #cf222e;
  --syn-text: #0550ae;
  --amber: #a35c00;
  --info: #fef6d2;
  --notice-bg: #0d0f17;
  --notice-line: #0d0f17;
  --info-text: #6e5a1c;
  --blue-soft: #94a6ff;
  --otis: #0d0f17;
  --otis-bar: #161926;
  --otis-line: #262a3b;
  --otis-text: #d8dbe8;
  --wash-base: #ffffff;
  --wash-mix: 20%;
  --mixp: 58%;
  --moon: block;
  --sun: none;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4.5vw, 70px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  font: 16px/1.55 var(--sans);
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { 
  color-scheme: dark;
  --paper: #121212;
  --cta-line: #2e2e2e;
  --ok: #3ddc84;
  --tint: color-mix(in srgb, var(--blue) 10%, var(--win));
  --tint-line: color-mix(in srgb, var(--blue) 22%, var(--win));
  --tint-text: #dde3ff;
  --syn-id: #d2a8ff;
  --syn-money: #ffa657;
  --syn-date: #7ee787;
  --syn-enum: #ff7b72;
  --syn-text: #79c0ff;
  --amber: #ffcf7a;
  --info: rgba(250, 204, 21, .14);
  --notice-bg: #0d0f17;
  --notice-line: #262a3b;
  --info-text: #e9d58f;
  --panel: #1a1a1a;
  --card: #1c1c1c;
  --win: #222222;
  --win-bar: #2a2a2a;
  --ink: #ededed;
  --text: #cfcfcf;
  --muted: #9a9a9a;
  --line: #2c2c2c;
  --line-strong: #3a3a3a;
  --primary: #ededed;
  --primary-hover: #ffffff;
  --on-primary: #121212;
  --soft: #2a2a2a;
  --link: #93a4ff;
  --brand: #74a9b8;
  --wordmark-base: #a3a3a3;
  --wash-base: #1a1a1a;
  --wash-mix: 20%;
  --mixp: 100%;
  --moon: none;
  --sun: block;
 } }
:root[data-theme="dark"] { 
  color-scheme: dark;
  --paper: #121212;
  --cta-line: #2e2e2e;
  --ok: #3ddc84;
  --tint: color-mix(in srgb, var(--blue) 10%, var(--win));
  --tint-line: color-mix(in srgb, var(--blue) 22%, var(--win));
  --tint-text: #dde3ff;
  --syn-id: #d2a8ff;
  --syn-money: #ffa657;
  --syn-date: #7ee787;
  --syn-enum: #ff7b72;
  --syn-text: #79c0ff;
  --amber: #ffcf7a;
  --info: rgba(250, 204, 21, .14);
  --notice-bg: #0d0f17;
  --notice-line: #262a3b;
  --info-text: #e9d58f;
  --panel: #1a1a1a;
  --card: #1c1c1c;
  --win: #222222;
  --win-bar: #2a2a2a;
  --ink: #ededed;
  --text: #cfcfcf;
  --muted: #9a9a9a;
  --line: #2c2c2c;
  --line-strong: #3a3a3a;
  --primary: #ededed;
  --primary-hover: #ffffff;
  --on-primary: #121212;
  --soft: #2a2a2a;
  --link: #93a4ff;
  --brand: #74a9b8;
  --wordmark-base: #a3a3a3;
  --wash-base: #1a1a1a;
  --wash-mix: 20%;
  --mixp: 100%;
  --moon: none;
  --sun: block;
 }

/* Record-type colours. --c is the bright tone (washes, tags, Otis responses); --ci is readable on light paper. */
.c-work { --c: #5ab0ff; }
.c-expense { --c: #ffb03a; }
.c-client { --c: #ffd84d; }
.c-invoice { --c: #3ddc84; }
.c-payment { --c: #b794ff; }
.c-settings { --c: #9fb3cc; }
.c-access { --c: #ff8466; }
.c-ai { --c: #ff6fb5; }
.c-work, .c-expense, .c-client, .c-invoice, .c-payment, .c-settings, .c-access, .c-ai { --ci: color-mix(in srgb, var(--c) var(--mixp), #0b0d14); }

* { box-sizing: border-box; }
html { scroll-padding-top: 112px; }
:root[data-notice-closed] { scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; text-wrap: balance; }
p { margin: 0 0 14px; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
blockquote { margin: 0; }
/* Data in monospace: figures, field names and codes. */
code { font-family: var(--mono); font-size: .88em; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
/* Figures take the surrounding font: Geist in page copy, Geist Mono inside Otis panels (.step-otis). */
.fig { font-variant-numeric: tabular-nums; }
p code, li code { padding: 1px 5px; border-radius: 4px; background: var(--soft); color: var(--ink); overflow-wrap: anywhere; }
.fig { color: var(--ink); font-weight: 500; }
/* Every page, header and footer share one 800px column. */
.wrap, .wrap.narrow { width: min(800px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon, .logo { width: 16px; height: 16px; flex: none; }
.muted, .page-note { color: var(--muted); font-size: 15px; }
.page-note a { color: var(--link); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 40; }
.skip-link:focus { left: 16px; padding: 8px 12px; border-radius: 6px; background: var(--card); }

/* Logo: "otis" and the ring in ink, "base" in grey */
.wordmark { display: block; width: auto; height: 18px; }
.wm-ink { fill: var(--ink); }
.wm-accent { fill: var(--wordmark-base); }
.mark { width: 18px; height: 18px; flex: none; }
.mark path { fill: var(--ink); }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 22px; border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: var(--on-primary); font: 400 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.pill:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.pill:active { transform: scale(.98); }
.pill .icon { width: 15px; height: 15px; }
.pill-soft { background: var(--soft); border-color: var(--soft); color: var(--ink); }
.pill-soft:hover { background: var(--line-strong); border-color: var(--line-strong); color: var(--ink); }
.pill-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.pill-outline:hover { background: var(--panel); border-color: var(--line-strong); color: var(--ink); }
.pill-small { height: 32px; padding: 0 14px; font-size: 14.5px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--link); font-size: 16px; text-decoration: none; }
.text-link:hover { color: var(--link); text-decoration: underline; }
.text-link .icon { width: 14px; height: 14px; }

/* Navigation */
/* Notice bar: the first row of the sticky header. "Use this prompt" opens a card with a prompt to copy. */
.notice-bar { border-bottom: 1px solid var(--notice-line); background: var(--notice-bg); color: rgb(255 255 255 / .82); font-size: 13.5px; }
:root[data-notice-closed] .notice-bar { display: none; }
.notice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 32px; padding-right: 32px; }
.notice-short { display: none; }
.notice-link { white-space: nowrap; }
.notice-close { position: absolute; top: 50%; right: -5px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: rgb(255 255 255 / .8); cursor: pointer; transform: translateY(-50%); }
.notice-close:hover { background: rgb(255 255 255 / .14); color: #fff; }
.notice-close .icon { width: 14px; height: 14px; }
.notice-link { padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .5); text-underline-offset: 3px; cursor: pointer; }
.notice-link:hover, .prompt-pop[data-open] .notice-link { text-decoration-color: #fff; }
.prompt-pop { position: relative; }
.prompt-card { position: absolute; top: 100%; left: -14px; z-index: 30; width: min(460px, calc(100vw - 32px)); padding-top: 10px; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.prompt-pop:hover .prompt-card, .prompt-pop:focus-within .prompt-card, .prompt-pop[data-open] .prompt-card { visibility: visible; opacity: 1; }
.prompt-card-inner { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--win); color: var(--ink); text-align: left; box-shadow: 0 1px 2px rgb(16 24 40 / .06), 0 18px 40px -18px rgb(16 24 40 / .35); }
.prompt-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.prompt-card .copy-block { margin: 0; }
.prompt-card .copy-block code { font-size: 12.5px; line-height: 1.55; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; justify-self: start; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 6px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: var(--panel); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--soft); }
.bar-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
/* The menu button shows only on phones, once the script folds the navigation. */
.menu-toggle { display: none; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--win); color: var(--ink); cursor: pointer; }
.menu-toggle .icon { width: 18px; height: 18px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
/* Feature accordion headings: phones only. */
.acc-head { display: none; }

/* Statements: an ink lead-in and a muted continuation at one size */
.statement { color: var(--ink); font-size: clamp(19px, 1.7vw, 23px); font-weight: 400; line-height: 1.32; letter-spacing: -.01em; }
.statement .st-text { color: var(--muted); }
.hero h1 .st-text { display: block; }
/* Desktop: break the grey line before "from any AI assistant". */
@media (min-width: 641px) { .hero h1 { max-width: 18.5em; } }
.statement a { color: inherit; text-decoration: none; }
.statement a:hover .st-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.statement .fig { color: inherit; }
.section-title { margin-bottom: 24px; font-size: clamp(22px, 2vw, 26px); letter-spacing: -.015em; }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 112px); }
.hero h1, .hero h1.statement { text-wrap: wrap; font-size: clamp(28px, 2.7vw, 34px); line-height: 1.22; letter-spacing: -.02em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.actions-center { justify-content: center; }
/* The hero sits in the same grey card as the example panels below, with the windows straight on it. */
.hero-media { margin-top: clamp(32px, 5vw, 48px); padding: clamp(20px, 4vw, 40px) clamp(14px, 4vw, 36px); border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
/* Steps: numbers and labels in a narrow left column on one rail, each step's app window to the right. */
.steps { display: grid; gap: 22px; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; align-items: start; }
/* The rail: a thin solid line in a dimmed Otis teal between the step numbers; the square keeps the full colour. */
.step { --rail-top: 37px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 11.5px; top: var(--rail-top); bottom: -18px; width: 1px; background: color-mix(in srgb, var(--brand) 35%, transparent); }
.step-label { position: relative; min-height: 24px; margin: 5px 0 0; padding: 2px 0 0 36px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35; }
.step-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 600; }
/* Light shadows; drop-shadow so they follow the cut edges. */
.step .win { box-shadow: none; }
.step-card { min-width: 0; filter: drop-shadow(0 1px 1px rgb(16 24 60 / .05)) drop-shadow(0 8px 14px rgb(16 24 60 / .07)); }
/* The assistant window is torn after the question and picks up again for the answer. */
.cut-bottom .win { border-bottom: 0; border-radius: 10px 10px 0 0; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.cut-bottom .win-body { padding-bottom: 18px; }
.cut-top .win { border-top: 0; border-radius: 0 0 10px 10px; mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.cut-top .win-body { padding-top: 24px; }
.reply-status { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.reply-status .mark { width: 13px; height: 13px; }
.reply-status .mark path { fill: var(--muted); }
.step .reply { color: var(--ink); font-size: 15.5px; }
.reply-list { display: grid; gap: 4px; margin: 8px 0 12px; padding-left: 20px; list-style: disc; }
.reply-list li::marker { color: var(--muted); }
.step-body { display: grid; gap: 18px; }
/* Otis is a panel, not a window: a plain header line, an ink body, content separated by plain lines.
   The whole Otis panel is set in Geist Mono, badges included. */
.step-otis { font-family: var(--mono); }
/* Ink terminal in both themes: the panel resets the tokens its records use, so they read on dark. */
.step-otis { --line: var(--otis-line); --muted: #8a90a7; --ink: #f2f3f8; --text: var(--otis-text); --win: var(--otis); --amber: #ffcf7a; --ok: #3ddc84; --link: #93a4ff; border: 1px solid var(--otis); border-radius: 0; background: var(--otis); color: var(--text); }
.step-otis .otis-head .mark path { fill: #fafafa; }
.step-otis .rec-head .t-tool { color: #93a4ff; }
.otis-head { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; }
.otis-head .mark { width: 12px; height: 12px; }
.otis-sub { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .06em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.step-otis .step-body { padding: 16px; }
.step-otis .tag { background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); font-size: 11.5px; }
/* The question looks like a message in Claude: a grey bubble with ink text. */
.steps .bubble { border-radius: 14px; background: var(--soft); color: var(--ink); }
.steps .bubble p { margin: 0; }
/* Otis response read as records: data stays in Geist Mono, labels in Geist. */
.rec { display: grid; gap: 8px; }
.rec-head { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: 12.5px; }
.rec-head code { padding: 0; background: none; font-size: 12.5px; }
.rec-head .t-out { color: var(--link); }
.rec-head .t-tool { color: var(--ci); }
.rec-total .fig { color: var(--ok); }
.rec-write { color: var(--amber); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.rec-out { color: var(--ink); font-size: 12.5px; }
.rec-rows { display: grid; list-style: none; border-block: 1px solid var(--line); }
.rec-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.rec-list li, .rec-cols { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; }
.rec-list .tag { justify-self: start; }
.rec-desc { min-width: 0; color: var(--ink); font-size: 12.5px; }
.rec-qty { color: var(--muted); }
.rec-rows li:first-child { border-top: 0; }
.rec-key { color: var(--muted); font-size: 12px; }
.rec-val { color: var(--amber); font-size: 12.5px; }
.rec-cols { margin: 0; padding: 0; color: var(--muted); font-size: 11.5px; }
.rec-cols code { padding: 0; background: none; color: var(--muted); font-size: 11px; }
.rec-amount { color: var(--ink); font-size: 13px; }
.rec-list .tag { padding: 0 7px; font-size: 11.5px; line-height: 1.6; }
.rec-total { display: flex; justify-content: space-between; margin: 0; padding: 0; color: var(--text); font-size: 13px; }

.win-sub { color: var(--muted); font-size: 12.5px; }
.win-sub::before { content: "·"; margin-right: 6px; }

/* Media areas: one solid pastel of the record-type colour. */
/* Pastel washes: the record colour softened toward grey, then a light tint of it. */
.wash { background: color-mix(in srgb, color-mix(in srgb, var(--c, var(--blue)) 75%, #9aa0a8) var(--wash-mix), var(--wash-base)); }

/* App windows */
.win { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--win); box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 24px 50px -24px rgb(0 0 0 / .35); overflow: hidden; }
.win-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 34px; margin: 0; padding: 6px 12px; border-bottom: 1px solid var(--line); background: var(--win-bar); }
.dots { position: absolute; left: 12px; top: 50%; display: inline-flex; gap: 6px; transform: translateY(-50%); }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.win-title { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.win-title .mark { width: 15px; height: 15px; }
.win-body { padding: 16px; }
.win-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.win-otis { border-color: var(--otis-line); background: var(--otis); color: var(--otis-text); box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 28px 56px -24px rgb(5 8 30 / .6); }
.win-otis .win-bar { border-color: var(--otis-line); background: var(--otis-bar); }
.win-otis .dots i { background: #3a3f56; }
.win-otis .win-title { color: #aeb3c8; }
.win-otis .mark path { fill: #fafafa; }
.comp { display: grid; }
.comp .win-chat { width: 86%; }
.comp .win-chat .win-body { padding-bottom: 48px; }
.comp .win-otis { position: relative; width: 88%; justify-self: end; margin-top: -32px; }
.assistant { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; white-space: nowrap; }
.assistant .logo { width: 14px; height: 14px; }
.assistant-claude .logo, .assistant-claude-code .logo { color: #d97757; }

/* Conversation */
.chat { display: grid; gap: 12px; }
.msg { display: grid; min-width: 0; }
.msg-user { justify-self: end; justify-items: end; max-width: min(88%, 440px); }
.msg-meta { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.bubble { padding: 8px 13px; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; font-size: 14.5px; line-height: 1.45; }
.chat .bubble p { margin: 0; color: inherit; font-size: inherit; }
.reply { color: var(--text); font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.chat .reply p { color: inherit; font-size: inherit; }
.reply p:last-child { margin-bottom: 0; }
.copy { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 3px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: 400 12px/1.4 var(--sans); cursor: pointer; transition: opacity .2s, color .2s, background-color .2s; }
.copy:hover { color: var(--ink); background: var(--panel); }
@media (hover: hover) {
  .msg-user { position: relative; }
  .msg-user .copy { position: absolute; right: 100%; bottom: 4px; margin: 0 6px 0 0; }
  .msg .copy { opacity: 0; }
  .msg:hover .copy, .msg .copy:focus-visible, .msg .copy[data-copied] { opacity: 1; }
}
.copy .icon { width: 12px; height: 12px; }
.copy .icon-done, .copy[data-copied] .icon:not(.icon-done) { display: none; }
.copy[data-copied] .icon-done { display: block; color: #1e9e5a; }

/* Otis response (data: monospace) */
.t-out { color: var(--blue-soft); }
.t-tool { color: var(--c); font-weight: 600; }

/* Endpoints (URLs: monospace) and code */
.endpoint { display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 18px 0; padding: 4px 4px 4px 16px; border-radius: 10px; background: var(--soft); }
.endpoint-label { flex: none; color: var(--muted); font-size: 13px; }
.endpoint code { flex: 1; min-width: 0; padding: 0; background: none; color: var(--ink); font: 14px/1.5 var(--mono); overflow-wrap: anywhere; }
.endpoint .copy { margin: 0; flex: none; height: 30px; padding: 0 12px; background: var(--primary); color: var(--on-primary); }
.endpoint .copy:hover { background: var(--primary-hover); color: var(--on-primary); }
.win .endpoint { margin: 0 0 10px; }
.callout { max-width: 720px; margin: 14px 0; padding: 12px 16px; border-radius: 6px; background: var(--panel); color: var(--text); font-size: 15px; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 96px) 0; }
.section-tight { padding-top: clamp(48px, 6vw, 72px); }
.center-note { margin: 0 0 18px; color: var(--ink); text-align: center; }

/* Logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; }
.logo-grid a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 92px; border-radius: 6px; background: var(--panel); color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; transition: background-color .15s; }
.logo-grid a:hover { background: var(--soft); color: var(--ink); }
.logo-grid .logo { width: 22px; height: 22px; }
.logo-grid + .actions { margin-top: 20px; }

/* Customer quote: large type on the page, no card. */
.quote { margin: 0; }
.quote blockquote p { max-width: 26em; margin: 0; color: var(--ink); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--muted); font-size: 15px; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.quote-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); object-fit: cover; }

/* Logo grid */

/* Feature panels */
.panels { display: grid; gap: clamp(32px, 5vw, 72px); }
/* The accordion wrapper only matters on phones; elsewhere it leaves the grid, so hidden panels add no gaps. */
.acc-item { display: contents; }
.panel, .example { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.panel-text { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 10px 2px; }
.panel-text .statement { margin-bottom: 18px; }
/* Feature panels: only the steps diagram, on one surface in the record colour with a faint border of it. */
.feature-panel.wash { display: block; padding: clamp(18px, 4vw, 40px) clamp(10px, 3.5vw, 32px); border-color: color-mix(in srgb, var(--ci) 18%, transparent); background: color-mix(in srgb, color-mix(in srgb, var(--c) 75%, #9aa0a8) var(--wash-mix), var(--wash-base)); }
.feature-tabs > .actions { margin-top: 20px; }
/* How it works: a sticky stage list beside the stages. Each stage has a compact diagram (labels above the
   windows, as on phones) and its examples as cards that read like the What Otis keeps table. */
.hiw-hero h1.statement { max-width: 18.5em; }
/* The three-step overview under the headline: grey cards that jump to their stage. */
.hiw-intro { margin: 56px 0 14px; color: var(--muted); font-size: 16px; }
.hiw-intro a { color: var(--link); text-decoration: none; }
.hiw-intro a:hover { text-decoration: underline; }
.hiw-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; list-style: none; }
.hiw-overview a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); text-decoration: none; transition: background-color .15s; }
.hiw-overview a:hover { background: var(--win); }
.hiw-overview .statement { font-size: 16.5px; line-height: 1.45; }
.ov-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; }
.hiw { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; padding-top: 48px; }
.hiw-nav { position: sticky; top: 124px; align-self: start; }
:root[data-notice-closed] .hiw-nav { top: 92px; }
.hiw-nav ul { display: grid; gap: 2px; border-left: 1px solid var(--line); list-style: none; }
.hiw-nav a { display: block; margin-left: -1px; padding: 7px 14px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; line-height: 1.35; text-decoration: none; transition: color .15s, border-color .15s; }
.hiw-nav a:hover { color: var(--ink); }
.hiw-nav a[aria-current="true"] { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.hiw-stage { padding-bottom: 56px; scroll-margin-top: 124px; }
:root[data-notice-closed] .hiw-stage, :root[data-notice-closed] .hiw-rows .example { scroll-margin-top: 92px; }
.hiw-stage > .statement { max-width: 30em; margin-bottom: 20px; text-wrap: wrap; }
.stage-flow.wash { margin-bottom: 14px; padding: clamp(16px, 3vw, 28px) clamp(12px, 2.5vw, 22px); }
.stage-flow .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-left: 34px; --rail-top: 32px; }
.stage-flow .step-label { margin: 0; padding-left: 0; }
.stage-flow .step-num { left: -34px; }
.stage-flow .step-otis .step-body { padding: 14px 12px; }
.stage-flow .rec-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag amount" "desc desc"; row-gap: 4px; }
.stage-flow .rec-list .tag { grid-area: tag; }
.stage-flow .rec-list .rec-amount { grid-area: amount; }
.stage-flow .rec-list .rec-desc { grid-area: desc; }
.stage-flow .rec-cols { grid-template-columns: minmax(0, 1fr) auto; }
.stage-flow .rec-cols span:nth-child(2) { display: none; }
/* The stage's examples as a table, styled like What Otis keeps: Otis's tools in muted mono, reads blue and
   writes orange. */
.hiw-table .keeps-cols, .hiw-rows .example { grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr) minmax(0, 1fr); }
.hiw-rows .example { display: grid; gap: 20px; margin: 0; padding: 14px 20px; border: 0; border-radius: 0; background: none; scroll-margin-top: 124px; }
.hiw-rows .example + .example { border-top: 1px solid var(--line); }
.hiw-rows .example:target { background: var(--win); }
/* Skills install: tabs per assistant (with its logo) over numbered steps and copyable commands. The faint blue
   marks what you type or copy: the command fields and the skill command chips. */
.install-tabs { margin: 56px 0 16px; }
.seg-tabs { display: flex; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 10px; background: var(--soft); overflow-x: auto; scrollbar-width: none; }
.seg-tab { display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 7px; background: none; color: var(--muted); font: 400 15px var(--sans); white-space: nowrap; cursor: pointer; }
.seg-tab:hover { color: var(--ink); }
.seg-tab[aria-selected="true"] { border-color: var(--line); background: var(--win); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgb(16 24 60 / .06); }
.install-panel { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--win); }
.install-panel + .install-panel { margin-top: 12px; }
.install-host { margin: 0 0 16px; font-size: 15px; font-weight: 500; }
.install-tabs:has(.seg-tabs:not([hidden])) .install-host { display: none; }
.num-steps { display: grid; gap: 18px; list-style: none; }
/* Numbers sit on the first line of their step: baseline alignment survives inline code chips and links. */
.num-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.num-steps p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.num-steps p code { padding: 0 6px; border: 1px solid var(--tint-line); border-radius: 5px; background: var(--tint); color: var(--tint-text); font-size: 13px; }
.num-steps a { color: var(--link); }
.num-steps strong { font-weight: 500; }
.gh-link { color: var(--link); text-decoration: none; white-space: nowrap; }
.gh-link:hover { text-decoration: underline; }
.gh-link .logo { width: 15px; height: 15px; margin-right: 5px; color: var(--ink); vertical-align: -2px; }
.install-source { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0 0; color: var(--muted); font-size: 14.5px; }
.doc-body .install-source:first-child { margin-top: 0; }
.seg-tab .logo { width: 16px; height: 16px; }
.num-square { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 600; }
.copy-block { position: relative; margin-top: 10px; border: 1px solid var(--tint-line); border-radius: 8px; background: var(--tint); }
.copy-block pre { margin: 0; padding: 14px 92px 14px 16px; }
.copy-block code { padding: 0; background: none; color: var(--tint-text); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-block .copy { position: absolute; top: 9px; right: 9px; margin: 0; height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--win); color: var(--ink); }
.install-note { max-width: 46em; margin: 0 0 40px; color: var(--muted); font-size: 14.5px; }
/* Skills: each skill is one outlined box, a grey header (name, commands, description, one per row) over its options table. */
.skill-box { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.skill-head { display: grid; gap: 6px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
/* Always three rows: the name, the commands, the description. */
.skill-head-row { display: grid; gap: 8px; justify-items: start; }
.skill-name { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.skill-desc { margin: 0; color: var(--muted); font-size: 14.5px; }
.skill-box .keeps-table { border: 0; border-radius: 0; }
.skill-box .skill-cmds { margin: 0; }
/* The plugin commands, then the skill's options as a table. */
.skill-cmds { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: -8px 0 18px; color: var(--muted); font-size: 13.5px; }
.skill-cmds code { padding: 2px 7px; border: 1px solid var(--tint-line); border-radius: 5px; background: var(--tint); color: var(--tint-text); font-size: 12.5px; }
.skill-cmds span + code { margin-left: 8px; }
.skill-table .keeps-cols, .skill-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.skill-row { padding: 14px 20px; }
.skill-row + .skill-row { border-top: 1px solid var(--line); }
.skill-option { margin: 0; color: var(--ink); font-size: 14px; font-weight: 500; }
.skill-row .keep-stores { margin: 0; font-size: 12px; }
.hiw-say, .hiw-get { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; }
.hiw-rows .keep-stores { margin: 0; font-size: 12px; }
/* Docs: the reference files as cards under the headline, then grey-header boxes like the skills. */
.doc-refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 48px 0 40px; list-style: none; }
.doc-refs a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); text-decoration: none; transition: background-color .15s; }
.doc-refs a:hover { background: var(--win); }
.doc-ref-title { color: var(--ink); font-size: 15px; font-weight: 500; }
.doc-ref-text { color: var(--muted); font-size: 14px; line-height: 1.45; }
.doc-refs code { margin-top: auto; padding: 10px 0 0; background: none; color: var(--syn-text); font-size: 12.5px; }
.doc-body { padding: 18px 20px 16px; }
.doc-body .doc-more { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.doc-body .doc-more a { color: var(--link); text-decoration: none; }
.doc-body .doc-more a:hover { text-decoration: underline; }
.doc-code { margin: 0; font-size: 14px; line-height: 1.45; }
.doc-code code { padding: 0; background: none; color: var(--syn-text); font-size: 12.5px; }
.doc-table .keeps-cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.skill-box .tool-rows { border: 0; border-radius: 0; }
.skill-box .doc-table + .doc-body { border-top: 1px solid var(--line); }
.doc-note { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.55; }
.doc-note strong { color: var(--ink); font-weight: 500; }
/* Connect MCP: the server URL and three steps on top, then one Skills-style box per assistant. */
.connect-url { width: fit-content; max-width: 100%; margin-top: 40px; }
/* The hero URL is an ink panel like the Otis card in the diagrams, with a white copy button. */
.connect-url .copy-block { margin: 0; border-color: var(--otis-line); background: var(--otis); }
.connect-url .copy-block pre { padding: 16px 142px 16px 18px; }
.connect-url .copy-block code { color: #f2f3f8; font-size: 15px; }
.connect-url .copy-block .copy { top: 11px; right: 11px; height: 34px; padding: 0 14px; border: 0; background: #fff; color: #0d0f17; font-size: 13px; font-weight: 500; }
.connect-url .copy-block .copy:hover { background: #e6e8f0; color: #0d0f17; }
.hiw-hero .callout, .hiw-hero .page-note { margin: 10px 0 0; }
.picker-label { margin: 36px 0 12px; color: var(--muted); font-size: 13.5px; }
.assistant-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; }
.assistant-picker li:last-child { grid-column: span 2; }
.assistant-picker a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 10px; white-space: nowrap; border: 1px solid var(--line); border-radius: 8px; background: var(--win); color: var(--ink); font-size: 14.5px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.assistant-picker a:hover { border-color: var(--line-strong); background: var(--panel); color: var(--ink); }
.assistant-picker .logo, .assistant-picker .icon { width: 17px; height: 17px; }
.guide-head { display: flex; align-items: center; gap: 14px; }
.guide-head .tile-mark { width: auto; height: auto; border: 0; border-radius: 0; background: none; }
.guide-head .tile-mark .logo, .guide-head .tile-mark .icon { width: 34px; height: 34px; }
.guide-head .skill-desc { margin-top: 2px; }
.guide-body { padding: 20px 20px 18px; }
.guide-body .num-steps { gap: 16px; }
.num-steps .copy-label { margin: 12px 0 -2px; color: var(--muted); font-size: 13px; }
.num-steps .copy-label code { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12.5px; }
/* A guide's caveat and its sources share one yellow info card, with no outline. */
.guide-info { display: grid; gap: 8px; margin-top: 22px; padding: 12px 16px; border-radius: 8px; background: var(--info); }
.guide-info p { margin: 0; color: var(--info-text); font-size: 14px; line-height: 1.5; }
.guide-info .sources { margin: 0; }
.guide-info .sources a { color: var(--info-text); }
.guide-info .sources a:hover { color: var(--ink); }
.after-connect { padding-top: clamp(64px, 9vw, 112px); }
.after-connect h2.statement { max-width: 30em; margin-bottom: 24px; }
.after-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.after-cards li { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.after-cards .statement { margin: 0 0 4px; font-size: 16.5px; line-height: 1.45; }
.after-cards .copy-block { margin-top: auto; }
.after-cards li > .icon { width: 22px; height: 22px; color: var(--ink); }
.after-cards .copy-block pre { padding: 12px 52px 12px 14px; }
.after-cards .copy-block .copy { top: 7px; right: 7px; width: 34px; padding: 0; justify-content: center; }
.after-cards .copy-block .copy [data-copy-label] { display: none; }
.support-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 40px 0 clamp(56px, 8vw, 104px); padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.support-inline { margin-bottom: 0; }
.support-card .statement { max-width: 30em; margin: 0; font-size: 17px; line-height: 1.45; }
/* About: the argument as question rows, our own use as a statement, then the founder's note as a grey card. */
.about-hero h1.statement, .own-use .statement { max-width: none; }
.own-use .statement { margin: 0; text-wrap: wrap; }
.founder-note a, .legal-meta a { color: var(--link); }
.founder-note { margin: 0; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.founder-note .skill-name { margin-bottom: 16px; }
.founder-note p { margin: 0 0 14px; color: var(--text); font-size: 16px; line-height: 1.65; }
.founder-note figcaption { display: grid; gap: 2px; margin-top: 22px; font-size: 15px; }
.founder-note figcaption strong { color: var(--ink); font-weight: 500; }
.founder-note figcaption span { color: var(--muted); }
.not-found { padding-bottom: clamp(140px, 20vw, 240px); }
.not-found-text { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
/* Sign-in, consent and error pages (src/html.ts): wordmark only, one narrow centred column. */
.auth { display: flex; flex-direction: column; min-height: 100dvh; }
.auth-head { width: min(560px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-top: clamp(32px, 8vh, 72px); }
.auth-head .wordmark { height: 20px; }
.auth-main { flex: 1; width: min(560px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-block: clamp(36px, 7vh, 64px) 40px; }
.auth-main h1.statement { max-width: none; margin: 0 0 28px; font-size: clamp(24px, 3vw, 28px); line-height: 1.25; letter-spacing: -.02em; text-wrap: wrap; }
.auth-main h1.statement strong { color: var(--ink); font-weight: 500; }
.auth-main h1 .st-text { display: block; margin-top: 4px; }
.auth-form { display: grid; gap: 8px; }
.auth-form label { color: var(--ink); font-size: 14px; font-weight: 500; }
.auth-form input:not([type="hidden"]) { box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--win); color: var(--ink); font: 400 16px var(--sans); transition: border-color .15s, box-shadow .15s; }
.auth-form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.auth-form .auth-code { font-size: 22px; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.auth-actions .pill { cursor: pointer; }
.auth-alert { margin: -8px 0 20px; padding: 12px 14px; border-radius: 8px; background: var(--info); color: var(--info-text); font-size: 14.5px; line-height: 1.5; }
.auth-small { margin: 28px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-small strong { color: var(--text); font-weight: 500; }
.auth-small a, .auth-foot a { color: var(--link); }
.auth-foot p { margin: 0; }
.auth-foot p + p { margin-top: 4px; }
.auth-main .copy-block { margin: 0 0 20px; }
.auth-next { margin: 0; }
.auth-foot { width: min(560px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
/* Privacy and Terms: numbered clauses beside the sticky section list. */
.legal { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); }
.legal-head { margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-head h1 { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -.02em; }
.legal-lead { margin: 10px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.legal-meta { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.legal-section { scroll-margin-top: 124px; }
.legal-section + .legal-section { margin-top: 36px; }
.legal-section h2 { margin: 0 0 14px; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.legal-clause { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; margin: 0 0 12px; color: var(--text); font-size: 15px; line-height: 1.6; }
.legal-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.legal-clause a, .legal-list a { color: var(--link); }
.legal-clause strong { color: var(--ink); font-weight: 500; }
.legal-list { display: grid; gap: 6px; margin: -4px 0 14px 44px; padding-left: 16px; color: var(--text); font-size: 15px; line-height: 1.55; }
.legal-list strong { color: var(--ink); font-weight: 500; }
.hiw-nav .nav-label { padding: 18px 14px 6px; color: var(--muted); font-size: 12.5px; }

/* Feature tabs: one panel at a time once the script runs. The active tab takes its record colour, and
   its ring fills as the timer runs before the next tab opens. */
.tab-bar { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; flex: 1 1 0; justify-content: center; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 400 15px var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.tab:hover { background: var(--soft); color: var(--ink); }
.tab[aria-selected="true"] { background: color-mix(in srgb, var(--c) 24%, transparent); color: var(--ci); font-weight: 500; }
.tab-ring { width: 16px; height: 16px; flex: none; transform: rotate(-90deg); }
.tab-ring circle { fill: none; stroke: currentColor; stroke-width: 2; }
.tab-ring circle:first-child { opacity: .25; }
.tab-sweep { stroke-dasharray: 40.841; stroke-dashoffset: 40.841; stroke-linecap: round; }
.tab[aria-selected="true"] .tab-sweep { stroke-dashoffset: 0; }
.panel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-media { min-width: 0; padding: clamp(16px, 4vw, 36px) clamp(12px, 3vw, 32px); border-radius: 4px; }
.tag { display: inline-block; flex: none; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 24%, transparent); color: var(--ci); font-size: 13px; line-height: 1.6; }
.example-group { padding-top: clamp(48px, 7vw, 88px); }

/* Cards */
.cards { display: grid; gap: 10px; list-style: none; }
.cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Three-card rows (go further, hosts) read better as one card per row in the 800px column. */
.cards-3:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; height: 100%; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); text-decoration: none; }
a.card:hover { background: var(--soft); color: var(--text); }
.card .statement { margin-bottom: 18px; font-size: 18px; }
.card-meta { margin-bottom: 10px; }
/* What Otis keeps: an outlined table on the page background, one row per record type. What you say and
   what you get back are ink; what Otis keeps is the record's fields in Geist Mono, coloured like an editor. */
/* Plain wrapping, not balanced; the width sends “from …” to the second line on desktop. */
.keeps-title { max-width: 23.6em; margin-bottom: 28px; text-wrap: wrap; }
.keeps-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.keeps-cols, .keep { display: grid; grid-template-columns: 120px repeat(3, minmax(0, 1fr)); gap: 24px; padding-inline: 20px; }
.keeps-cols { margin: 0; padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.keeps { list-style: none; }
.keeps li + li { border-top: 1px solid var(--line); }
.keep { padding-block: 16px; color: var(--ink); font-size: 14.5px; line-height: 1.45; text-decoration: none; transition: background-color .15s; }
.keep:hover { background: var(--win); }
.keep-type { display: flex; align-items: flex-start; }
.keep-stores { color: var(--muted); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.keep-fields { padding: 0; background: none; color: inherit; font-size: inherit; }
.f-punct { color: var(--muted); }
.f-id { color: var(--syn-id); }
.f-money { color: var(--syn-money); }
.f-date { color: var(--syn-date); }
.f-enum { color: var(--syn-enum); }
.f-text { color: var(--syn-text); }
.keep .fig { color: inherit; }

/* Go further: three grey cards like the hero card, each with an icon, a statement and an outline button. */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.columns li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.columns li > .icon { width: 22px; height: 22px; color: var(--ink); }
.columns .statement { margin: 0; font-size: 17px; line-height: 1.45; }
.columns .pill { margin-top: auto; height: 38px; padding: 0 16px; font-size: 15px; }
.columns .pill-outline:hover { background: var(--win); }

/* Questions: each question beside its answer, on plain lines. */
.faq { border-top: 1px solid var(--line); list-style: none; }
.faq li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.faq-a { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; }

/* Final call to action: the server URL on an ink panel (#171717, the same as the ink text and buttons), with a row of supported clients. */
.connect-section { padding-bottom: clamp(64px, 9vw, 112px); }
.connect-cta { --ink: #f5f5f5; --text: #d4d4d4; --muted: #8f8f8f; --soft: #262626; --line: #2e2e2e; --line-strong: #3d3d3d; --panel: #202020; --primary: #fafafa; --primary-hover: #ffffff; --on-primary: #171717; --link: #93a4ff; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--cta-line); border-radius: 6px; background: #171717; color: var(--text); }
.connect-cta .statement { max-width: 30em; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.02em; }
/* The URL field, its copy button and Connect MCP on one row, all 44px tall. */
.connect-row { display: flex; align-items: stretch; gap: 10px; margin-top: 28px; }
.connect-row .endpoint { flex: 1; min-width: 0; max-width: none; height: 44px; margin: 0; padding-block: 0; padding-right: 5px; border-radius: 8px; box-sizing: border-box; }
.connect-row .endpoint .copy { height: 34px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); }
.connect-row .endpoint .copy:hover { background: var(--panel); color: var(--ink); }
/* The button stretches to the field, so both edges line up whatever the fonts do. */
.connect-row .pill { flex: none; height: auto; }
/* The client row spans the panel, first logo on the left edge and last on the right. */
.connect-logos { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 22px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); list-style: none; }
.connect-logos a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; text-decoration: none; transition: color .15s; }
.connect-logos a:hover { color: var(--ink); }
.connect-logos .logo { width: 16px; height: 16px; }

/* Pricing: two light cards side by side. Free is the white card with the list and the button; Pro is a
   grey placeholder with only its name, a "Maybe later" tag and a field of cursors filling the rest. */
.pricing-hero .statement { max-width: 18.5em; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--win); }
.plan-later { background: var(--panel); }
.plan-name { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-size: 18px; font-weight: 500; }
.plan-flag { padding: 1px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.plan-price .fig { color: var(--ink); font-size: clamp(36px, 4.4vw, 48px); font-weight: 400; letter-spacing: -.03em; }
.plan-later { overflow: hidden; }
/* The cursor field: each cursor turns toward the pointer and darkens as it gets close (--a and --near
   set by the script). The default angle points every cursor at the Free card. */
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.cursor-field { flex: 1; align-self: stretch; display: grid; grid-template-columns: repeat(15, 1fr); align-content: space-evenly; min-height: 260px; margin-top: 18px; }
.cursor-field span { display: grid; place-items: center; aspect-ratio: 1; }
.cursor-field .icon { width: 12px; height: 12px; color: color-mix(in srgb, var(--ink) calc(var(--near, 0) * 100%), var(--line-strong)); transform: rotate(var(--a, 315deg)); transition: color .2s; }
.plan-note { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.plan-list { display: grid; gap: 10px; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; align-self: stretch; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.45; }
.plan-list .icon { flex: none; margin-top: 3px; color: var(--ok); }
.plan .pill { margin-top: auto; }
.fair-title { max-width: 30em; margin-bottom: 24px; }
.fair-use li { gap: 4px; }
.fair-figure { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; }
.fair-label { margin: 0; color: var(--muted); font-size: 15px; }
.cards + .text-link { margin-top: 18px; }
.feature .text-link { margin-bottom: 18px; }
.card-media { display: grid; margin-top: auto; padding: 28px 20px; border-radius: 4px; }
.card-media .win { width: 100%; }
.card-media .endpoint-label { display: none; }
.card-media .menu-list { grid-template-columns: 1fr 1fr; }

/* Menu */
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; margin: 8px 0 0; list-style: none; counter-reset: menu; }
.menu-list li { counter-increment: menu; display: flex; gap: 8px; color: var(--ink); font-size: 14px; }
.menu-list li::before { content: counter(menu); min-width: 1.4em; color: var(--muted); font-family: var(--mono); text-align: right; }

/* Client tiles */
.tile-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 6px; background: var(--win); color: var(--ink); }
.tile-mark .logo { width: 15px; height: 15px; }
.win-wide { width: 100%; }

/* Closing call to action */

/* Page heads */

/* Client groups and guides */
.sources { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 13.5px; }
.sources a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.sources a:hover { color: var(--ink); }
.sources .icon, .card .text-link .icon { width: 12px; height: 12px; }

/* Skills and docs */
.skill { display: contents; }
.card .tile-mark { width: 30px; height: 30px; background: var(--win); }
.card .text-link { margin-top: auto; font-size: 15px; }
.tool-rows { border: 1px solid var(--line); border-radius: 8px; list-style: none; overflow: hidden; }
.tool-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.tool-rows li:first-child { border-top: 0; }
.tool-rows code { padding: 0; background: none; color: var(--ci); font-size: 14px; font-weight: 500; }
.tool-rows .tool-text { flex-basis: 100%; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.badge { padding: 0 8px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 11.5px; line-height: 1.8; letter-spacing: .02em; }
.badge-write { background: var(--ink); color: var(--paper); }
.badge-owner { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--link); }

/* Footer */
.site-footer { background: var(--panel); }
.footer-agents { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 40px; border-bottom: 1px solid var(--line); }
.footer-agents h2 { margin: 0; color: var(--muted); font-size: 15px; }
.footer-agents .terminal-line { flex: 0 1 420px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; padding-block: 40px; }
.footer-cols h2 { margin-bottom: 14px; color: var(--muted); font-size: 15px; }
.footer-cols a { display: block; padding: 4px 0; color: var(--ink); font-size: 15px; text-decoration: none; }
.footer-cols a:hover { color: var(--muted); }
.terminal-line { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; border-radius: 10px; background: var(--soft); }
.terminal-line .prompt { color: var(--muted); font: 13px var(--mono); }
.terminal-line code { flex: 1; min-width: 0; padding: 0; background: none; color: var(--ink); font: 13px var(--mono); overflow-wrap: anywhere; }
.terminal-line .copy { margin: 0; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-base p { margin: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: var(--soft); color: var(--ink); font: 400 13.5px var(--sans); cursor: pointer; }
.theme-toggle:hover { background: var(--line-strong); }
.theme-toggle .icon { width: 14px; height: 14px; }
.theme-toggle .moon { display: var(--moon); }
.theme-toggle .sun { display: var(--sun); }

/* Motion: the hero steps play in order once (ask, request, result, answer), then the rail keeps flowing. */
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
/* A small square runs down the rail, 1 to 2, then 2 to 3, and repeats. */
@keyframes rail-run {
  0% { top: var(--rail-top); opacity: 0; }
  6% { opacity: 1; }
  44% { opacity: 1; }
  50%, 100% { top: calc(100% + 12px); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .steps > :nth-child(1) { animation: step-in .5s var(--ease) .3s both; }
  .hero .steps > :nth-child(2) { animation: step-in .5s var(--ease) 1s both; }
  .hero .steps .step-res { animation: step-in .5s var(--ease) 1.7s both; }
  .hero .steps > :nth-child(3) { animation: step-in .5s var(--ease) 2.4s both; }
  /* Feature panels play the same order once the tabs scroll into view, and again on each tab switch. */
  [data-play] .steps > :nth-child(1) { animation: step-in .5s var(--ease) .1s both; }
  [data-play] .steps > :nth-child(2) { animation: step-in .5s var(--ease) .7s both; }
  [data-play] .steps .step-res { animation: step-in .5s var(--ease) 1.3s both; }
  [data-play] .steps > :nth-child(3) { animation: step-in .5s var(--ease) 1.9s both; }
  @keyframes tab-sweep { from { stroke-dashoffset: 40.841; } to { stroke-dashoffset: 0; } }
  [data-autoplay] .tab[aria-selected="true"] .tab-sweep { animation: tab-sweep 9s linear both; }
  [data-autoplay][data-paused] .tab[aria-selected="true"] .tab-sweep { animation-play-state: paused; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: var(--rail-top); width: 6px; height: 6px; border-radius: 1px; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); opacity: 0; animation: rail-run 3.2s cubic-bezier(.45, 0, .55, 1) 2.9s infinite; }
  .steps > :nth-child(2)::after { animation-delay: 4.5s; }
}

/* Motion: quiet fades as content enters, only when motion is welcome. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
/* The headline only moves: it is the largest content, and an invisible element would delay that measurement. */
@keyframes rise-move { from { transform: translateY(10px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise .8s var(--ease) both; }
  .hero .wrap > h1 { animation-name: rise-move; }
  .hero .wrap > :nth-child(2) { animation-delay: .08s; }
  .hero .wrap > :nth-child(3) { animation-delay: .18s; }
  @supports (animation-timeline: view()) {
    .panel, .example, .card {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

/* Collapse */
@media (max-width: 720px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-left: 34px; }
  .step { --rail-top: 32px; }
  .step-label { margin: 0; padding-left: 0; }
  .step-num { left: -34px; }
  .step-otis .step-body { padding: 14px 12px; }
  .tab { flex: none; }
  .keeps-cols { display: none; }
  .keep { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .columns { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  /* Feature tabs become an accordion: grey resting headings, the open one in its record colour. */
  .feature-tabs .tab-bar { display: none !important; }
  .acc-item { display: block; }
  .acc-item + .acc-item { margin-top: 8px; }
  .feature-tabs .panels { gap: 0; }
  .acc-head:not([hidden]) { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--soft); color: var(--muted); font: 400 15.5px var(--sans); cursor: pointer; }
  .acc-head[aria-expanded="true"] { margin-bottom: 8px; background: color-mix(in srgb, var(--c) 24%, transparent); color: var(--ci); font-weight: 500; }
  .acc-head .icon { width: 16px; height: 16px; transition: transform .2s; }
  .acc-head[aria-expanded="true"] .icon { transform: rotate(180deg); }
  /* Connect card: a full-height button, and the client row as logos only. */
  .connect-row .pill { height: 44px; }
  .connect-row .endpoint { padding-left: 14px; }
  .connect-row .endpoint code { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal; }
  .connect-row .endpoint .copy { width: 34px; padding: 0; justify-content: center; }
  .connect-row .endpoint .copy [data-copy-label] { display: none; }
  .connect-logos { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .connect-logos a span { display: none; }
  .connect-logos .logo { width: 20px; height: 20px; }
  /* Stage lists give way to plain scrolling on phones. */
  .hiw-nav { display: none; }
  /* Install tabs: the active tab shows its name, the others their logo only. */
  .seg-tab:not([aria-selected="true"]) span { display: none; }
  .seg-tab:not([aria-selected="true"]) { flex: 0 0 52px; padding: 0; }
  .hiw { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
  .hiw-overview { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hiw-table .keeps-cols { display: none; }
  .skill-table .keeps-cols, .doc-table .keeps-cols { display: none; }
  .doc-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .after-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .skill-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-inline: 16px; }
  .hiw-rows .example { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-inline: 16px; }
  .connect-row { flex-direction: column; }
  .connect-row .endpoint { flex: none; }
  .faq li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rec-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag amount" "desc desc"; row-gap: 4px; }
  .rec-list .tag { grid-area: tag; }
  .rec-list .rec-amount { grid-area: amount; }
  .rec-list .rec-desc { grid-area: desc; }
  .rec-cols { grid-template-columns: minmax(0, 1fr) auto; }
  .rec-cols span:nth-child(2) { display: none; }
}
@media (max-width: 640px) {
  /* Phone headlines: a smaller size, and each part balanced across its lines so no word is left on its own. */
  .hero h1, .hero h1.statement { font-size: 24px; line-height: 1.24; text-wrap: balance; }
  .hero h1 .st-text { text-wrap: balance; }
  .notice-bar { font-size: 12.5px; }
  .notice { gap: 8px; }
  .notice-text { display: none; }
  .notice-short { display: inline; }
  .prompt-pop { position: static; }
  .prompt-card { left: 0; right: 0; width: auto; transform: none; }
  .prompt-card .copy-block code { font-size: 12px; overflow-wrap: break-word; }
  /* One reference card per row on Docs; every server URL on one line with an icon-only copy button. */
  .doc-refs { grid-template-columns: minmax(0, 1fr); }
  .doc-refs a { padding: 14px 16px; }
  .doc-refs code { padding-top: 6px; }
  .copy-block pre { padding-right: 52px; }
  .copy-url code { white-space: nowrap; overflow-wrap: normal; }
  .copy-code pre { overflow-x: auto; scrollbar-width: thin; }
  .copy-code code { white-space: pre; overflow-wrap: normal; }
  .connect-url .copy-url code { font-size: 13.5px; }
  .connect-url .copy-block .copy { width: 34px; padding: 0; }
  .connect-url { width: auto; }
  .assistant-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num-steps .copy-url pre { padding-left: 12px; }
  .num-steps .copy-url code { font-size: 12px; }
  .connect-url .copy-block pre { padding-right: 56px; }
  .copy-block .copy { width: 34px; padding: 0; justify-content: center; }
  .copy-block .copy [data-copy-label] { display: none; }
  /* The top row keeps its own 60px height, so opening the menu adds a row below without moving it. */
  .bar { display: flex; flex-wrap: wrap; gap: 0 12px; min-height: 0; }
  .bar > .brand, .bar > .bar-actions { height: 60px; }
  .site-header[data-menu] .menu-toggle:not([hidden]) { display: grid; }
  .site-header[data-menu] .site-nav { display: none; }
  .site-header[data-menu][data-open] .site-nav { display: grid; order: 3; flex-basis: 100%; gap: 2px; margin: 0; padding: 6px 0 12px; overflow: visible; }
  .site-header[data-menu][data-open] .site-nav a { padding: 11px 12px; font-size: 16px; }
  .site-nav { order: 3; flex-basis: 100%; margin: 0 -14px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
  .bar-actions { margin-left: auto; }
  .bar-actions .pill-outline { display: none; }
  .cards-4, .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid a { height: 68px; font-size: 15px; }
  .comp .win-chat, .comp .win-otis { width: 100%; }
  .comp .win-otis { margin-top: 12px; }
  .comp .win-chat .win-body { padding-bottom: 16px; }
  .panel, .example { padding: 10px; }
  .panel-media { padding: 14px 10px; }
  .card-media .menu-list, .menu-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .endpoint-label { display: none; }
  .endpoint code { font-size: 13px; }
  .msg-user { max-width: 96%; }
  .actions .pill { flex: 1; }
  html { scroll-padding-top: 112px; }
}

@media print {
  :root, :root[data-theme="dark"] { color-scheme: light; --paper: #fff; --panel: #fff; --ink: #111; --text: #222; --muted: #555; --line: #ddd; }
  .site-header, .copy, .skip-link, .theme-toggle { display: none !important; }
  .panel, .example, .skill-box { break-inside: avoid; }
}
