:root {
  --ink: #140c08;
  --ink-2: #21140d;
  --ink-3: #2e1c12;
  --ember: #ff9a5a;
  --ember-deep: #e2733a;
  --paper: #fbf8f3;
  --cream: #f6efe4;
  --text: #fdf8f1;
  --text-dim: #cdbfb2;
  --text-faint: #8f7f72;
  --dark: #22170f;
  --dark-prose: #3d2d22;
  --dark-dim: #6d5b4d;
  --ok: #9fd99a;
  --bad: #ff7b6b;
  --line: rgb(253 248 241 / 0.12);
  --line-dark: rgb(34 23 15 / 0.12);
  --line-hot: color-mix(in srgb, var(--ember) 50%, transparent);
  --tint: color-mix(in srgb, var(--ember) 12%, transparent);
  --tint-deep: color-mix(in srgb, var(--ember-deep) 12%, transparent);
  --well: rgb(0 0 0 / 0.35);

  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --fs-mono-sm: 12.5px;
  --fs-mono: 13.5px;
  --fs-small: 14.5px;
  --fs-body: 16px;
  --fs-lede: 18px;
  --fs-h3: 26px;
  --fs-h2: clamp(36px, 4.4vw, 54px);
  --fs-h1: clamp(34px, 3.9vw, 52px);
  --fs-h1-doc: clamp(34px, 4.4vw, 50px);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --section: 112px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 10px;
  --control-h: 44px;
  --nav-h: 68px;
  --content: 1200px;
  --measure: 820px;
  --z-nav: 10;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.15s;
  --base: 0.25s;

  --icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--space-5)); }
body { font-family: var(--sans); font-size: var(--fs-body); line-height: 1.55; background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
code { padding: 0.05em 0.35em; border-radius: var(--radius-sm); background: var(--tint); font-family: var(--mono); font-size: max(0.9em, 12px); }
h1, h2 { font-family: var(--display); font-weight: 300; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--ember); }
p { text-wrap: pretty; }

.wrap { width: min(var(--content), 100% - var(--space-7)); margin: 0 auto; }
.center { text-align: center; }
.sprite { position: absolute; }

.light { padding: var(--section) 0; background: var(--cream); color: var(--dark); }
.light.alt { background: var(--paper); }
.dark { padding: var(--section) 0; background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.light :focus-visible, .doc :focus-visible, .docs :focus-visible { outline-color: var(--ember-deep); }
.light code, .doc code, .docs code { background: var(--tint-deep); }

.eyebrow { margin-bottom: var(--space-5); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember); }
.light .eyebrow, .doc .eyebrow { color: var(--ember-deep); }
.lede { max-width: 600px; margin-top: var(--space-5); font-size: var(--fs-lede); line-height: 1.6; color: var(--text-dim); }
.sub { max-width: 720px; margin-top: var(--space-4); font-size: var(--fs-lede); color: var(--text-dim); }
.sub + .sub { margin-top: var(--space-3); }
.light .sub { color: var(--dark-prose); }
.note { margin-top: var(--space-4); font-size: var(--fs-mono); color: var(--dark-dim); }
.note.center { max-width: 720px; margin: var(--space-7) auto 0; font-size: 15px; line-height: 1.6; }
.note a { color: var(--ember-deep); }
.textlink, .crumb { display: inline-flex; align-items: center; min-height: var(--control-h); }
.textlink { margin-top: var(--space-2); font-size: 15px; color: var(--ember); text-decoration: none; transition: transform var(--base) var(--ease-out); }
.textlink:hover { transform: translateX(4px); }
.light .textlink { margin-top: var(--space-5); color: var(--ember-deep); }
.label { margin-bottom: var(--space-3); font-family: var(--mono); font-size: var(--fs-mono); color: var(--dark-dim); }
.light h3 { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--dark); }

.nav { position: sticky; top: 0; z-index: var(--z-nav); border-bottom: 1px solid var(--line); background: rgb(20 12 8 / 0.82); backdrop-filter: blur(10px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--nav-h); }
.links { display: flex; gap: var(--space-6); }
.links a { padding: 10px 0; font-size: 15px; color: var(--text-dim); text-decoration: none; }
.links a:hover, .links a[aria-current] { color: var(--text); }
.links a, .foot-links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat content-box; transition: background-size var(--base) var(--ease-out), color var(--fast); }
.links a:hover, .foot-links a:hover { background-size: 100% 1px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 28px; letter-spacing: -0.01em; text-decoration: none; }
.mark { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 3px; align-items: end; height: 20px; }
.mark i { display: block; width: 5px; border-radius: 3px; background: var(--ember); transform-origin: bottom; animation: grow 0.9s var(--ease-out) both; }
.mark i:nth-child(1) { height: 8px; opacity: 0.55; }
.mark i:nth-child(2) { height: 20px; animation-delay: 0.08s; }
.mark i:nth-child(3) { height: 13px; opacity: 0.75; animation-delay: 0.16s; }
.brand:hover .mark i { animation: dip 0.6s var(--ease-out); }
.brand:hover .mark i:nth-child(2) { animation-delay: 0.06s; }
.brand:hover .mark i:nth-child(3) { animation-delay: 0.12s; }
@keyframes grow { from { transform: scaleY(0.15); } }
@keyframes dip { 40% { transform: scaleY(0.55); } }

.gh { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-dim); text-decoration: none; transition: color var(--fast), border-color var(--base); }
.gh:hover { color: var(--text); border-color: var(--line-hot); }
.gh svg { width: 20px; height: 20px; transition: transform var(--base) var(--ease-out); }
.gh:hover svg { transform: rotate(-8deg) scale(1.08); }
.gh-stat { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.gh-stat[hidden] { display: none; }
.gh-count { padding-left: 10px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }

.hero { padding: var(--space-7) 0 72px; background: radial-gradient(1200px 600px at 15% 0%, var(--ink-3), transparent 70%), linear-gradient(180deg, var(--ink-2), var(--ink)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.hero-grid > * { min-width: 0; }
.get { margin-top: var(--space-6); }
.get-note { max-width: 600px; margin-top: var(--space-3); font-size: var(--fs-small); line-height: 1.6; color: var(--text-dim); }
.get-note.first { margin: 0 0 var(--space-3); }
.get-note a { color: var(--ember); white-space: nowrap; }
.get .install + .install, .get-note + .install { margin-top: 10px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-3); }
.tabs [role="tab"] { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text-dim); font: inherit; font-size: var(--fs-mono); cursor: pointer; transition: color var(--fast), border-color var(--base), background var(--base); }
.tabs [role="tab"]:hover { color: var(--text); border-color: var(--line-hot); }
.tabs .logo { width: 15px; height: 15px; margin-right: 7px; color: currentColor; }
.hero-tabs [role="tab"] { height: 38px; padding: 0 16px; font-size: 14px; }
.hero-tabs [role="tab"][aria-selected="true"] { border-color: var(--ember); background: var(--ember); color: var(--ink); }
.sub-tabs [role="tab"][aria-selected="true"] { border-color: var(--ember); background: color-mix(in srgb, var(--ember) 16%, transparent); color: var(--text); }
.sub-tabs [role="tab"][aria-selected="true"] .logo { color: var(--ember); }

.install { display: flex; align-items: center; gap: var(--space-3); width: fit-content; max-width: 100%; min-height: var(--control-h); padding: var(--space-2) 14px var(--space-2) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--well); color: var(--text); font-family: var(--mono); font-size: var(--fs-mono); line-height: 1.5; text-align: left; cursor: pointer; transition: border-color var(--base), transform var(--fast); }
.install:hover { border-color: var(--line-hot); }
.install:active { transform: scale(0.98); }
.install .prompt { flex-shrink: 0; color: var(--ember); user-select: none; }
.install .prompt::before { content: "$"; }
.install .cmd { min-width: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.install .cmd::-webkit-scrollbar { display: none; }
.install .copy { flex-shrink: 0; width: 18px; height: 18px; margin-left: auto; padding-left: var(--space-2); background: var(--text-dim); -webkit-mask: var(--icon-copy) center / contain no-repeat; mask: var(--icon-copy) center / contain no-repeat; user-select: none; transition: background var(--base); }
.install:hover .copy { background: var(--ember); }
.install.copied .copy { background: var(--ok); -webkit-mask-image: var(--icon-check); mask-image: var(--icon-check); }
.install.wrapping .cmd { white-space: normal; overflow-wrap: anywhere; overflow-x: visible; }
.install.json { align-items: flex-start; }
.install.json .cmd { white-space: pre; font-size: var(--fs-mono-sm); line-height: 1.6; }
.install.json .copy, .install.ask .copy { margin-top: 3px; }
.light .install { border-color: var(--dark); background: var(--dark); }
.install.ask { align-items: flex-start; width: 100%; padding: var(--space-4) var(--space-4) var(--space-4) 20px; font-family: var(--sans); font-size: var(--fs-body); }
.install.ask .cmd { white-space: normal; overflow-x: visible; }

.add-btn { display: inline-flex; align-items: center; height: var(--control-h); padding: 0 20px; border-radius: var(--radius); background: var(--ember-deep); color: var(--paper); font-weight: 500; text-decoration: none; transition: background var(--base), color var(--base), transform var(--fast); }
.add-btn .logo { width: 18px; height: 18px; margin-right: 10px; color: currentColor; }
.add-btn:hover { background: var(--ember); color: var(--ink); }
.add-btn:active { transform: scale(0.98); }

.demo video { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--ink); }
.demo figcaption { margin-top: 14px; font-size: 14px; color: var(--text-dim); }

.stepper { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 56px; align-items: start; margin-top: var(--space-8); }
.step-tabs { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-dark); }
.step-tab { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-1) var(--space-4); padding: var(--space-5) 0; border: 0; border-top: 1px solid var(--line-dark); background: none; color: var(--dark-dim); font: inherit; text-align: left; cursor: pointer; transition: color var(--base); }
.step-tab > span { grid-column: 2; }
.step-tab:hover, .step-tab[aria-selected="true"] { color: var(--dark); }
.step-tab:focus-visible { outline-offset: -2px; }
.step-tab > .step-n { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-dark); border-radius: 50%; font-family: var(--mono); font-size: var(--fs-mono-sm); color: var(--ember-deep); transition: background var(--base), color var(--base), border-color var(--base); }
.step-tab:hover .step-n { border-color: var(--ember-deep); }
.step-tab[aria-selected="true"] .step-n { border-color: var(--dark); background: var(--dark); color: var(--cream); }
.step-t { font-size: 17px; font-weight: 600; line-height: 28px; }
.step-d { font-size: 15.5px; line-height: 1.55; }
.step-d strong { font-weight: 600; }
.step-bar { position: absolute; top: -1px; left: 0; right: 0; height: 2px; }
.step-bar i { display: block; width: 0; height: 100%; background: var(--ember-deep); }
.stepper[data-live] .step-tab[aria-selected="true"] .step-bar i { animation: fill 9s linear forwards; }
.stepper:hover .step-bar i, .stepper:has(:focus-visible) .step-bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

.term { overflow: hidden; border: 1px solid var(--ink-3); border-radius: var(--radius-lg); background: var(--ink); color: var(--text); box-shadow: 0 28px 48px -32px rgb(34 23 15 / 0.6); }
.term-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 var(--space-4); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(253 248 241 / 0.16); }
.term-bar span { margin-left: var(--space-2); }
.term-pane { height: 22rem; padding: 18px 22px; overflow: hidden; font-family: var(--mono); font-size: var(--fs-mono-sm); line-height: 1.7; }
.ln { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.ln s { text-decoration: none; color: var(--ember); user-select: none; }
.ln i { font-style: normal; color: var(--ember); }
.ln .bad { color: var(--bad); }
.ln .ok { color: var(--ok); font-weight: 500; }
.stepper[data-live] .ln { transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.stepper[data-live] .ln:not(.in) { opacity: 0; transform: translateY(4px); }
.type.typing::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px; vertical-align: text-bottom; background: var(--ember); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.finds { margin-top: var(--space-7); border-top: 1px solid var(--line); list-style: none; }
.finds li { display: grid; grid-template-columns: 12em minmax(0, 1fr) auto; gap: var(--space-2) var(--space-6); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background var(--base); }
.finds li:hover { background: color-mix(in srgb, var(--ember) 5%, transparent); }
.finds li p { color: var(--text-dim); }
.finds li p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color var(--base); }
.finds li p a:hover { text-decoration-color: var(--ember); }
.finds li .case-k { display: flex; align-items: center; gap: var(--space-3); font-family: var(--mono); font-size: 13px; color: var(--ember); }
.finds .up { font-family: var(--mono); font-size: 13px; color: var(--ember); text-decoration: none; white-space: nowrap; }
.finds .up:hover { text-decoration: underline; text-underline-offset: 3px; }
.finds-more { max-width: 760px; margin-top: 28px; font-size: 15px; color: var(--text-dim); }

.proj { display: inline-grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: rgb(253 248 241 / 0.06); color: var(--text); }
.proj img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj svg { width: 16px; height: 16px; }

.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5) var(--space-7); margin-top: var(--space-7); }
.fit p { max-width: 60ch; margin-top: var(--space-2); color: var(--dark-prose); }
.fit a, .setup-note a, .qa a { color: var(--ember-deep); }

.agent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-7) 56px; align-items: start; margin-top: var(--space-7); }
.agent-grid h3 { margin-top: var(--space-6); }
.loop { border-top: 1px solid var(--line-dark); list-style: none; }
.loop li { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: var(--space-2) var(--space-5); padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.loop h3 { grid-row: span 2; margin: 0; }
.loop p { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.loop p + p { font-size: 15px; color: var(--dark-dim); }

.faq { padding-bottom: 0; }
.qa { max-width: var(--measure); margin-top: var(--space-6); border-top: 1px solid var(--line-dark); }
.qa details { border-bottom: 1px solid var(--line-dark); }
.qa summary { justify-content: space-between; min-height: 60px; padding: var(--space-3) 0; font-size: 17px; font-weight: 500; color: var(--dark); }
.qa p { max-width: 68ch; padding-bottom: var(--space-5); color: var(--dark-prose); }

.start { text-align: center; }
.start .sub { margin-inline: auto; }
.start .install { margin: var(--space-6) auto 0; }
.start-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-5); }
.start .textlink { margin-top: 0; }

.gostman { padding-bottom: var(--space-7); }
.g-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-5) var(--space-6); align-items: center; padding: var(--space-6) 36px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--cream); }
.gostman .proj { width: 56px; height: 56px; border-color: var(--line-dark); border-radius: var(--space-3); background: var(--paper); }
.gostman .proj img { width: 36px; height: 36px; }
.g-body h2 { font-size: 34px; line-height: 1.1; }
.g-body p { max-width: 560px; margin-top: 10px; color: var(--dark-dim); }
.g-links { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--mono); font-size: 13px; }
.g-links a { color: var(--ember-deep); text-decoration: none; }
.g-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.reference { padding: 0 0 var(--space-9); }
.fold { padding-top: var(--space-3); border-top: 1px solid var(--line-dark); }
:is(.fold, .qa) summary { display: flex; align-items: center; gap: var(--space-3); min-height: var(--control-h); list-style: none; cursor: pointer; transition: color var(--fast); }
:is(.fold, .qa) summary:hover { color: var(--ember-deep); }
:is(.fold, .qa) summary::-webkit-details-marker { display: none; }
:is(.fold, .qa) summary::after { content: "+"; flex-shrink: 0; font-size: 18px; line-height: 1; color: var(--ember-deep); }
:is(.fold, .qa details)[open] summary::after { content: "\2212"; }
.fold summary { width: fit-content; font-family: var(--mono); font-size: var(--fs-mono); color: var(--dark-dim); }
.fold[open] summary { margin-bottom: var(--space-3); }
.setup-note { max-width: 72ch; margin-top: 10px; font-size: 14px; color: var(--dark-dim); }

.table-scroll { margin-top: var(--space-5); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
th { border-bottom-color: var(--dark); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--dark); }
td:first-child { font-weight: 500; }
tbody tr { transition: background var(--base); }
tbody tr:hover { background: color-mix(in srgb, var(--ember) 6%, transparent); }
table.commands td:first-child { width: 14em; padding-left: 0; white-space: nowrap; }
table.commands td:nth-child(2) { color: var(--dark-dim); }
table.commands .group th { padding: var(--space-6) 0 var(--space-2); font-family: var(--sans); font-size: 15px; font-weight: 600; }
table.commands tr:first-child th { padding-top: var(--space-2); }
tbody tr.group:hover { background: none; }
table.compare { font-size: var(--fs-mono); }
table.compare td { min-width: 9em; }
table.compare :is(th, td):nth-child(2) { background: var(--tint); }
table.compare th:nth-child(2) { color: var(--ember-deep); }
table.compare td a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-dark); text-underline-offset: 3px; }
table.compare td a:hover { text-decoration-color: var(--ember-deep); }
table.compare td.na { color: var(--dark-dim); }
table.versus { table-layout: fixed; margin-top: var(--space-2); font-family: var(--sans); font-size: var(--fs-small); }
table.versus td { min-width: 0; }
table.versus td:first-of-type { font-weight: 500; color: var(--dark); }
table.versus th[scope="row"] { width: 30%; padding-left: 0; border-bottom-color: var(--line-dark); font-family: var(--sans); font-size: var(--fs-small); }
table.versus thead th:first-child { padding-left: 0; }

.doc { padding: 72px 0 var(--section); background: var(--paper); color: var(--dark); }
.doc-wrap { max-width: var(--measure); }
.doc-wrap.wide { max-width: var(--content); }
.doc .eyebrow { margin-top: var(--space-5); }
.doc h1 { font-size: var(--fs-h1-doc); line-height: 1.08; }
.doc h1 code { font-size: 0.8em; }
.doc .table-scroll { margin-top: var(--space-6); }
.doc > .wrap > .prose { margin-top: 20px; }
.crumb { font-family: var(--mono); font-size: var(--fs-mono); color: var(--dark-dim); text-decoration: none; }
.crumb:hover { color: var(--ember-deep); }

.prose { margin-top: 40px; font-size: 17px; line-height: 1.7; color: var(--dark-prose); }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 56px; font-size: 34px; color: var(--dark); }
.prose h3 { margin-top: 40px; font-family: var(--display); font-size: var(--fs-h3); font-weight: 400; color: var(--dark); }
.prose strong { font-weight: 600; color: var(--dark); }
.prose a { color: var(--ember-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: var(--space-2); }
.prose code { overflow-wrap: anywhere; }
.prose pre { padding: 20px 22px; border-radius: 6px; background: var(--ink); color: var(--text); font-family: var(--mono); font-size: var(--fs-mono); line-height: 1.7; overflow-x: auto; }
.prose pre code { padding: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.prose th { color: var(--dark); }
.prose blockquote { padding: var(--space-4) 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--cream); color: var(--dark); }
.prose blockquote strong { color: var(--ember-deep); }
.prose td { min-width: 12em; }
.prose td:first-child { white-space: nowrap; }
.findings > :not(.table-scroll) { max-width: var(--measure); }
.findings table { table-layout: fixed; }
.findings :is(th, td) { min-width: 0; }
.findings :is(th, td):first-child { width: 17%; }
.findings :is(th, td):nth-child(2) { width: 30%; }
.findings :is(th, td):nth-child(4) { width: 15%; }
.findings td:first-child { white-space: normal; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; }
.findings td:nth-child(2) { color: var(--dark); }
.findings td:nth-child(3) { font-size: var(--fs-small); color: var(--dark-dim); }
.findings td:nth-child(4) { font-size: var(--fs-mono); }
.findings td em { display: block; margin-top: var(--space-2); font-family: var(--mono); font-size: var(--fs-mono-sm); font-style: normal; }

.foot { padding: 36px 0; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--fs-small); }
.foot-links a { color: var(--text-dim); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-note { margin-top: var(--space-5); font-size: 13.5px; color: var(--text-faint); }
.foot-note a { color: var(--text-dim); text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .install .cmd { white-space: normal; overflow-wrap: anywhere; overflow-x: visible; }
}
@media (max-width: 980px) {
  :root { --section: 88px; }
  .hero-grid, .stepper { grid-template-columns: 1fr; }
  .stepper { gap: var(--space-6); }
  .agent-grid { grid-template-columns: minmax(0, 1fr); }
  .finds li { grid-template-columns: 1fr; gap: 6px; }
  .g-card { grid-template-columns: auto minmax(0, 1fr); }
  .g-links { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: calc(var(--nav-h) + var(--control-h) + var(--space-4)); }
  .nav-row { flex-wrap: wrap; row-gap: var(--space-2); height: auto; padding-top: var(--space-3); }
  .links { order: 1; width: 100%; gap: var(--space-5); border-top: 1px solid var(--line); }
  .links a { padding: var(--space-3) 0; }
  table.versus, table.versus :is(tbody, tr, th, td) { display: block; width: auto; }
  table.versus thead { display: none; }
  table.versus tr { padding: var(--space-4) 0; border-bottom: 1px solid var(--line-dark); }
  table.versus :is(th, td) { padding: 0; border: 0; }
  table.versus th[scope="row"] { width: auto; margin-bottom: var(--space-2); font-size: var(--fs-body); }
  table.versus td { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: var(--space-3); padding: var(--space-1) var(--space-2); font-weight: 400; }
  table.versus td::before { content: attr(data-label); color: var(--dark-dim); }
  .loop li { grid-template-columns: 1fr; }
  .loop h3 { grid-row: auto; }
  :is(.findings, .fold) :is(table, tbody, tr, td, th) { display: block; width: auto; }
  :is(.findings, .fold) thead { display: none; }
  :is(.findings, .fold) .table-scroll { overflow: visible; }
  :is(.findings, .fold) tr:not(.group) { padding: var(--space-4) 0; border-bottom: 1px solid var(--line-dark); }
  :is(.findings, .fold) td { padding: 0; border: 0; }
  :is(.findings, .fold) td + td { margin-top: var(--space-2); }
  .findings :is(th, td):nth-child(n), table.commands td:first-child { width: auto; white-space: normal; }
}
@media (max-width: 560px) {
  :root { --section: 72px; }
  .nav-row { gap: var(--space-3); }
  .brand { font-size: 24px; }
  .wrap { width: min(var(--content), 100% - var(--space-6)); }
  .install { font-size: var(--fs-mono-sm); }
  .install.json .cmd { white-space: pre; overflow-x: auto; }
  .hero-tabs [role="tab"] { padding: 0 var(--space-3); font-size: var(--fs-mono); }
  .gh-star { display: none; }
  .term-pane { height: 24.5rem; padding: var(--space-4); font-size: 12px; }
  .g-card { grid-template-columns: 1fr; padding: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
