/* PROPHET — design system. Mirrors the pitch deck: lime #d3ff82, black, Telegraf. */

@font-face {
  font-family: "Telegraf";
  src: url("fonts/Telegraf%20UltraLight%20200.otf") format("opentype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Telegraf";
  src: url("fonts/TelegrafRegular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* Only the UltraBold cut is shipped, so it serves every weight from 600 up. */
@font-face {
  font-family: "Telegraf";
  src: url("fonts/Telegraf%20UltraBold%20800.otf") format("opentype");
  font-weight: 600 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #d3ff82;
  --ink: #000;
  --lime: #d3ff82;
  --mute: rgba(0, 0, 0, .62);
  --line: rgba(0, 0, 0, .16);
  --r: 28px;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Telegraf", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: #000; color: var(--lime); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 6px; }
.card :focus-visible, .chat :focus-visible, footer :focus-visible { outline-color: var(--lime); }

/* interactive background */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(211, 255, 130, .74);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 700; font-size: 21px; letter-spacing: -.02em; text-transform: uppercase; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li a:not(.btn) {
  display: block; padding: 8px 14px; font-size: 15px; text-decoration: none; position: relative;
}
.nav li a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: #000;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav li a:not(.btn):hover::after, .nav li a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: #000; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle i:nth-child(1) { top: 17px; } .menu-toggle i:nth-child(2) { top: 25px; }
.menu-open .menu-toggle i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none;
  background: #000; color: var(--lime); border: 1.5px solid #000; border-radius: 999px;
  padding: 11px 22px; font-size: 15px; font-weight: 700; letter-spacing: -.005em;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: #000; }
.btn.ghost:hover { background: #000; color: var(--lime); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.lg { padding: 15px 28px; font-size: 16px; }

/* type */
.eyebrow { font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow b { font-weight: 700; }
.kicker {
  display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase;
  padding-top: 18px; border-top: 1.5px solid #000; margin-bottom: 36px;
}
.kicker b { font-weight: 700; }
.kicker span:last-child { margin-left: auto; opacity: .6; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
h1 { font-size: clamp(44px, 8.4vw, 124px); text-transform: uppercase; letter-spacing: -.035em; line-height: .92; }
h1 b, h2 b { font-weight: 700; }
h2 { font-size: clamp(30px, 4.6vw, 64px); }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.42; max-width: 640px; letter-spacing: -.01em; }
.mute { color: var(--mute); }
.up { text-transform: uppercase; }

section { padding: clamp(64px, 9vw, 130px) 0; }

/* hero */
.hero { padding: clamp(40px, 7vh, 90px) 0 clamp(48px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 1120px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 100ms); }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 40px; opacity: 0; animation: fade .8s .55s var(--ease) forwards; }
.hero .chat-wrap { opacity: 0; animation: fade .9s .7s var(--ease) forwards; }
.hero-card { opacity: 0; animation: fade 1s .9s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* cards */
.card { background: #000; color: var(--lime); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); position: relative; }
.card .dim { opacity: .62; }

/* chat */
.chat-wrap { max-width: 860px; }
.chat { background: #000; color: var(--lime); border-radius: var(--r); padding: 18px 18px 14px; position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.chat-head { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .72; padding: 2px 8px 10px; }
.chat-head img { height: 14px; width: auto; }
.chat-head .live { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.thread { display: none; max-height: 340px; overflow-y: auto; padding: 4px 8px 12px; scrollbar-width: thin; scrollbar-color: rgba(211, 255, 130, .3) transparent; }
.thread.on { display: block; }
.msg { margin: 0 0 14px; font-size: 15px; line-height: 1.5; animation: fade .4s var(--ease); }
.msg.user { text-align: right; }
.msg.user span { display: inline-block; border: 1px solid rgba(211, 255, 130, .45); border-radius: 18px 18px 4px 18px; padding: 8px 14px; max-width: 85%; text-align: left; }
.msg.bot { color: var(--lime); }
.msg.bot .tag { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.msg.bot ol { margin: 8px 0 0; padding-left: 20px; opacity: .85; }
.msg.bot pre { margin: 8px 0 0; white-space: pre-wrap; font: 13px/1.5 var(--mono); opacity: .9; }
.caret::after { content: "▍"; animation: pulse 1s infinite; margin-left: 2px; }
.chat textarea {
  display: block; width: 100%; resize: none; background: transparent; border: 0; outline: 0; color: var(--lime);
  font: 400 clamp(18px, 2vw, 22px)/1.4 var(--font); letter-spacing: -.01em; padding: 6px 8px 10px; min-height: 64px; max-height: 200px;
}
.chat textarea::placeholder { color: rgba(211, 255, 130, .42); transition: opacity .3s; }
.chat textarea.ph-out::placeholder { opacity: 0; }
.chat-bar { display: flex; align-items: center; gap: 8px; padding: 6px 4px 0; border-top: 1px solid rgba(211, 255, 130, .16); padding-top: 12px; }
.chat-bar .hint { margin-left: auto; font-size: 12px; opacity: .45; display: none; }
@media (min-width: 640px) { .chat-bar .hint { display: block; } }
.send {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lime); color: #000; cursor: pointer;
  display: grid; place-items: center; transition: transform .25s var(--ease), opacity .25s; flex: none;
}
.send:hover { transform: scale(1.08) rotate(-8deg); }
.send:disabled { opacity: .35; cursor: default; transform: none; }
.model { position: relative; }
.model-btn {
  display: flex; align-items: center; gap: 8px; background: rgba(211, 255, 130, .1); border: 1px solid rgba(211, 255, 130, .22);
  color: var(--lime); border-radius: 999px; padding: 9px 14px; font-size: 14px; cursor: pointer; transition: background .2s;
}
.model-btn:hover { background: rgba(211, 255, 130, .18); }
.model-btn svg { transition: transform .25s var(--ease); }
.model.open .model-btn svg { transform: rotate(180deg); }
.model-list {
  position: absolute; bottom: calc(100% + 10px); left: 0; min-width: 270px; background: #0b0b0b; border: 1px solid rgba(211, 255, 130, .25);
  border-radius: 20px; padding: 8px; margin: 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98);
  transform-origin: bottom left; transition: .22s var(--ease); z-index: 10; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
}
.model.open .model-list { opacity: 1; visibility: visible; transform: none; }
.model-list li { padding: 10px 12px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.model-list li small { opacity: .5; font-size: 12px; }
.model-list li:hover, .model-list li[aria-selected="true"] { background: rgba(211, 255, 130, .12); }
.model-list li[aria-selected="true"]::after { content: "✓"; }
.chat-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 18px; font-size: 14.5px; }
.chat-meta a { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid #000; padding-bottom: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  border: 1.5px solid rgba(0, 0, 0, .85); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; cursor: pointer;
  transition: background .2s, color .2s; text-align: left;
}
.chip:hover { background: #000; color: var(--lime); }

/* marquee */
.marquee { border-block: 1.5px solid #000; overflow: hidden; padding: 14px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 0; animation: slide 38s linear infinite; }
.marquee-track span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "◆"; font-size: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* order books */
.books { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .books { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.book { position: relative; }
.book svg { width: 100%; height: auto; }
.book .cap { margin-top: 14px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.book.unified svg { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }
.book-lab { font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; margin-top: 16px; opacity: .65; }

/* split layout */
.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.statement { font-size: clamp(28px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.03em; text-transform: uppercase; }
.statement b { font-weight: 700; }

/* timeline card */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--lime); opacity: .8; }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.timeline h4 { margin: 0 0 4px; font-size: 15px; letter-spacing: .02em; }
.timeline p { margin: 0; font-size: 15px; opacity: .85; }
.timeline small { opacity: .55; display: block; margin-top: 2px; }

/* pipeline */
.pipe { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: p; }
@media (min-width: 760px) { .pipe { grid-template-columns: repeat(4, 1fr); } }
.pipe > div { border: 1.5px solid #000; border-radius: var(--r); padding: 26px 24px 28px; min-height: 220px; display: flex; flex-direction: column; transition: background .35s var(--ease), color .35s; counter-increment: p; }
.pipe > div::before { content: "0" counter(p); font-size: 12.5px; letter-spacing: .09em; margin-bottom: auto; padding-bottom: 36px; opacity: .55; }
.pipe > div:hover { background: #000; color: var(--lime); }
.pipe p { margin: 8px 0 0; font-size: 15px; opacity: .72; line-height: 1.45; }

/* intents list */
.intents { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid #000; }
.intents li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.2; transition: padding .4s var(--ease), background .3s; cursor: default; }
.intents li:hover { padding-left: 14px; }
.intents li span:first-child { font-size: 12.5px; letter-spacing: .09em; opacity: .5; }
.intents li button { background: none; border: 1.5px solid #000; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; opacity: 0; transition: .25s; }
.intents li:hover button, .intents li button:focus-visible { opacity: 1; }
.intents li button:hover { background: #000; color: var(--lime); }
@media (hover: none) { .intents li button { opacity: 1; } }

/* CTA */
.cta { text-align: left; }
.cta h2 { font-size: clamp(38px, 7vw, 108px); text-transform: uppercase; letter-spacing: -.035em; line-height: .94; margin-bottom: 36px; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
footer { position: relative; z-index: 1; background: #000; color: var(--lime); border-radius: 44px 44px 0 0; padding: clamp(48px, 7vw, 88px) 0 0; overflow: hidden; margin-top: 40px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
footer .brand img { height: 36px; }
footer .brand span { font-size: 26px; }
footer p { max-width: 360px; opacity: .65; font-size: 15px; margin: 16px 0 0; }
footer h5 { margin: 0 0 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; opacity: .5; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer li a { text-decoration: none; font-size: 17px; display: inline-flex; gap: 6px; transition: transform .25s var(--ease), opacity .2s; }
footer li a:hover { transform: translateX(5px); }
footer li a .tba { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .4; align-self: center; border: 1px solid rgba(211, 255, 130, .35); border-radius: 99px; padding: 1px 7px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; font-size: 13px; opacity: .5; }
.giant { font-weight: 700; font-size: 21vw; letter-spacing: -.05em; line-height: .78; text-transform: uppercase; color: var(--lime); opacity: .1; margin: 18px calc(50% - 50vw) -.06em; text-align: center; padding-right: .05em; user-select: none; white-space: nowrap; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* inner pages */
.page-head { padding: clamp(48px, 9vh, 110px) 0 clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(44px, 9vw, 132px); margin: 20px 0 22px; }
.grid2 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.person { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .person { grid-template-columns: 280px 1fr; } }
.avatar { aspect-ratio: 1; border-radius: 50%; background: var(--lime); display: grid; place-items: center; overflow: hidden; position: relative; }
.avatar img { width: 46%; }
.avatar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(0, 0, 0, .06) 14px 15px); }
.pill { display: inline-block; border: 1px solid rgba(211, 255, 130, .4); border-radius: 99px; padding: 4px 12px; font-size: 13px; margin: 0 6px 8px 0; }
.light .pill { border-color: #000; }
.person h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 8px; }
.adv h3 { margin-bottom: 8px; }
.adv p { margin: 0; opacity: .7; font-size: 15.5px; }

/* forms */
.form { display: grid; gap: 14px; }
label { display: grid; gap: 8px; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; }
input, select, textarea.field {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid #000; border-radius: 0; padding: 10px 0 12px; font: 400 20px/1.3 var(--font); letter-spacing: -.01em; color: #000; outline: 0; transition: border-color .2s;
}
input:focus, select:focus, textarea.field:focus { border-bottom-width: 3px; padding-bottom: 11px; }
textarea.field { min-height: 120px; resize: vertical; }
select { appearance: none; cursor: pointer; }
.card input, .card select, .card textarea.field { color: var(--lime); border-color: rgba(211, 255, 130, .5); }
.card option { color: #000; }
.form-note { font-size: 14px; min-height: 22px; }

/* steps */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; border: 1.5px solid #000; border-radius: var(--r); padding: 26px; min-height: 200px; }
.steps li::before { content: "0" counter(s); display: block; font-size: 12.5px; letter-spacing: .09em; opacity: .55; margin-bottom: 42px; }
.steps p { margin: 8px 0 0; font-size: 15.5px; opacity: .72; }

/* code */
.code { background: #000; color: var(--lime); border-radius: 22px; overflow: hidden; margin: 18px 0; }
.code-bar { display: flex; align-items: center; gap: 4px; padding: 10px 12px 0 16px; border-bottom: 1px solid rgba(211, 255, 130, .14); }
.code-bar button { background: none; border: 0; padding: 8px 12px 10px; font-size: 13px; cursor: pointer; opacity: .5; position: relative; }
.code-bar button.on { opacity: 1; }
.code-bar button.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--lime); }
.code-bar .copy { margin-left: auto; opacity: .6; }
.code-bar .copy:hover { opacity: 1; }
.code pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: 13.5px/1.65 var(--mono); tab-size: 2; }
.code pre[hidden] { display: none; }
.code .c { opacity: .45; } .code .k { opacity: .75; }
.code .s { color: #fff; }
code.i { font: 14px var(--mono); background: rgba(0, 0, 0, .09); padding: 2px 7px; border-radius: 6px; }

/* docs */
.docs { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .docs { grid-template-columns: 230px minmax(0, 1fr); } }
.toc { position: sticky; top: 92px; display: none; }
@media (min-width: 960px) { .toc { display: block; } }
.toc h5 { margin: 0 0 14px; font: 400 12px var(--font); letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.toc a { display: block; padding: 7px 0 7px 14px; font-size: 15px; text-decoration: none; border-left: 2px solid var(--line); opacity: .65; transition: .2s; }
.toc a:hover { opacity: 1; }
.toc a.on { opacity: 1; border-left-color: #000; font-weight: 700; padding-left: 20px; }
.prose { max-width: 780px; }
.prose section { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.prose section:last-child { border: 0; }
.prose h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.prose h3 { margin: 30px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose ul { padding-left: 20px; }
.draft { display: inline-flex; gap: 8px; align-items: center; border: 1.5px solid #000; border-radius: 999px; padding: 5px 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
th { text-align: left; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 400; opacity: .55; }
th, td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.method { font: 700 12px var(--mono); background: #000; color: var(--lime); border-radius: 6px; padding: 3px 8px; margin-right: 8px; }

/* docs (generated from docs/guide by `make docs`) */
@media (max-width: 959px) { .docs { grid-template-columns: minmax(0, 1fr); } }
.docs .prose { max-width: 900px; min-width: 0; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.toc { max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.toc-group { margin-bottom: 22px; }
.toc-group h5 { margin: 0 0 6px; }
.toc a { padding: 5px 0 5px 14px; font-size: 14.5px; }
.toc a.on { padding-left: 18px; }
.toc-filter { width: 100%; margin: 0 0 22px; padding: 10px 16px; border: 1.5px solid #000; border-radius: 999px; background: transparent; font: 14px var(--font); color: inherit; outline: none; }
.toc-filter::placeholder { color: inherit; opacity: .5; }
.toc-filter:focus { background: rgba(0, 0, 0, .05); }
.toc-mobile { margin: 0 0 40px; border: 1.5px solid #000; border-radius: 22px; padding: 14px 20px; }
@media (min-width: 960px) { .toc-mobile { display: none; } }
.toc-mobile summary { cursor: pointer; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.toc-mobile a { display: block; padding: 6px 0; text-decoration: none; }
.doc-group { margin-bottom: 56px; padding-bottom: 8px; border-bottom: 1.5px solid #000; }
.doc-group:last-of-type { border: 0; }
.doc-group > .eyebrow { margin-bottom: 26px; }
.doc-group section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h3 { font-size: 22px; scroll-margin-top: 90px; }
.prose ol { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose td, .prose th { font-size: 15px; line-height: 1.5; }
.prose td code.i, .prose th code.i { font-size: 13px; white-space: nowrap; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.table-wrap table { margin: 0; }
.anchor { float: left; margin-left: -22px; width: 22px; text-decoration: none; opacity: 0; transition: .2s; }
h3:hover > .anchor { opacity: .4; }
.route { white-space: nowrap; }
@media (max-width: 959px) { .route, .prose p code.i, .prose li code.i { white-space: normal; overflow-wrap: anywhere; } }
.route .method { margin-right: 4px; padding: 2px 6px; font-size: 11px; }
.code-label { font: 12px var(--mono); padding: 8px 6px 10px; opacity: .55; }
.callout { margin: 22px 0; padding: 16px 22px; border-radius: 18px; background: rgba(0, 0, 0, .07); border-left: 4px solid #000; }
.callout p { margin: 0; font-size: 16px; }
.callout p + p { margin-top: 8px; }
.callout.warning, .callout.caution, .callout.important { background: #000; color: var(--lime); border-left-color: var(--lime); }
.callout.warning code.i, .callout.caution code.i, .callout.important code.i { background: rgba(211, 255, 130, .16); }
.doc-source { font-size: 14px; margin-top: 24px; }
.toc [hidden] { display: none; }

/* responsive nav */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav ul {
    position: fixed; inset: 68px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px var(--pad) 28px; gap: 0;
    border-bottom: 1.5px solid #000; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease);
  }
  .menu-open .nav ul { transform: none; opacity: 1; visibility: visible; }
  .nav li a:not(.btn) { font-size: 28px; padding: 14px 0; letter-spacing: -.02em; }
  .nav li a:not(.btn)::after { display: none; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  .intents li { grid-template-columns: 36px 1fr; }
  .intents li button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .rv, .hero .lead, .hero .chat-wrap, .hero-card { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
  html { scroll-behavior: auto; }
}
