/* Theme: one semantic token per role, each holding its light and dark value.
   color-scheme follows the OS; [data-theme] pins it. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#fbfbf8, #0a0908);
  --bg-2: light-dark(#f3f3ee, #0f0d0c);
  --surface: light-dark(#ffffff, #141210);
  --ink: light-dark(#0b0b0c, #f3f1ee);
  --ink-2: light-dark(#2a2a2c, #ffffff);
  --on-ink: light-dark(#ffffff, #0a0908);
  --mute: light-dark(#63635e, #8d8882);
  --faint: light-dark(#b5b5ae, #4a4440);
  --line: light-dark(#e2e2db, #24201d);
  --line-2: light-dark(#c9c9c1, #3a332e);
  --acc: #ff5a1f;
  --acc-hover: #f24f14;
  --acc-ink: light-dark(#c2410c, #ff7a45);
  --acc-soft: light-dark(#fff1e9, rgb(255 90 31 / 0.12));
  --acc-line: light-dark(#ffc9b0, rgb(255 90 31 / 0.4));
  --dots: light-dark(#d9d9d1, #2c2622);
  --header: light-dark(rgb(251 251 248 / 0.86), rgb(10 9 8 / 0.8));
  --shadow: light-dark(rgb(10 10 12 / 0.35), rgb(0 0 0 / 0.7));
  --inverse: light-dark(#0b0b0c, #16130f);
  --inverse-ink: #f3f1ee;
  --inverse-mute: #a5a5a0;
  --term: light-dark(#0f0f11, #060505);
  --term-line: light-dark(#26262a, #221e1b);
  --term-ink: #e8e8e3;
  --term-mute: #8b8b86;
  --radius: 10px;
  --sans: 'General Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1160px;
}
[data-theme='light'] {
  color-scheme: light;
}
[data-theme='dark'] {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
code,
pre {
  font-family: var(--mono);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.brand {
  gap: 4px;
  align-items: flex-end;
}
.logo {
  height: 24px;
  width: auto;
  display: block;
  fill: currentColor;
}
.brand em {
  font-style: normal;
  color: var(--mute);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding-bottom: 4px;
  letter-spacing: -0.01em;
}
.brand.small .logo {
  height: 20px;
}
.ring {
  width: 22px;
  height: 22px;
}
.brand.small {
  font-size: 14px;
}
.brand.small .ring {
  width: 18px;
  height: 18px;
}
.nav {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--mute);
}
.nav a {
  transition: color 0.15s;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14.5px;
}
.top-right + .theme-btn {
  margin-left: -14px;
}
.link {
  color: var(--mute);
}
.link:hover {
  color: var(--ink);
}
.menu {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.theme-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--mute);
  padding: 0;
}
.theme-btn:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.theme-btn svg {
  width: 16px;
  height: 16px;
}
.theme-btn .moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn .sun {
    display: none;
  }
  :root:not([data-theme='light']) .theme-btn .moon {
    display: block;
  }
}
[data-theme='dark'] .theme-btn .sun {
  display: none;
}
[data-theme='dark'] .theme-btn .moon {
  display: block;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
  transition:
    transform 0.12s,
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  border-color: var(--line-2);
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  height: 46px;
  padding: 0 20px;
  font-size: 15.5px;
  border-radius: 10px;
}
.btn-dark {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.btn-accent {
  background: var(--acc);
  color: #fff;
  border-color: var(--acc);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 6px 18px -8px rgba(255, 90, 31, 0.7);
}
.btn-accent:hover {
  background: var(--acc-hover);
  border-color: var(--acc-hover);
}
.btn-ghost {
  background: transparent;
}
.btn-light {
  background: var(--inverse-ink);
  color: #0b0b0c;
  border-color: var(--inverse-ink);
}
.btn.block {
  display: flex;
  width: 100%;
}
.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--acc);
  padding-bottom: 1px;
}
.text-link:hover {
  color: var(--acc-ink);
}

/* type */
.eyebrow {
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc-ink);
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
}
h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  margin: 0 0 10px;
}
.accent {
  color: var(--acc);
}
.lede {
  color: var(--mute);
  font-size: 18px;
  max-width: 560px;
  margin-top: 18px;
}
.muted {
  color: var(--mute);
  margin-top: 8px;
  max-width: 640px;
}
.fine {
  color: var(--mute);
  font-size: 14px;
  margin-top: 14px;
}
.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--mute);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 12px 5px 6px;
  margin-bottom: 22px;
}
.pill b {
  background: var(--acc-soft);
  color: var(--acc-ink);
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 99px;
  font-size: 12px;
}

/* hero */
.hero {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--dots) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 56px;
  align-items: center;
}
.hero .tabs {
  margin-top: 30px;
  max-width: 520px;
}
.ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* tabs and code */
.tabs {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tab-list button {
  background: none;
  border: 0;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--mute);
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}
.tab-list button[aria-selected='true'] {
  color: var(--ink);
  font-weight: 500;
  box-shadow: inset 0 -2px 0 var(--acc);
}
.code-panel {
  position: relative;
}
.code-panel pre {
  margin: 0 70px 0 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}
.code-panel .copy-btn {
  position: absolute;
  top: 9px;
  right: 9px;
}
.copy-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--mute);
}
.copy-btn:hover {
  color: var(--ink);
}
.copy-btn.done {
  color: var(--acc-ink);
  border-color: var(--acc-line);
}
.steps-list {
  margin: 0;
  padding: 14px 16px 14px 36px;
  font-size: 14.5px;
  display: grid;
  gap: 6px;
}
.copy {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  border: 1px solid var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 10px 10px 16px;
  max-width: 620px;
}
.copy code {
  font-size: 14px;
  overflow-x: auto;
  white-space: nowrap;
}
.copy-lg {
  margin-top: 28px;
}
.code-panel.dark {
  background: var(--term);
  color: var(--term-ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-panel.dark pre {
  margin: 0;
  padding: 14px 16px;
  font-size: 12.5px;
}
.code-title {
  font: 500 11.5px var(--mono);
  color: var(--term-mute);
  padding: 10px 16px;
  border-bottom: 1px solid var(--term-line);
}

/* terminal */
.term {
  background: var(--term);
  color: var(--term-ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -30px var(--shadow),
    0 0 0 1px var(--line);
}
.term-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid var(--term-line);
  font: 12px var(--mono);
  color: var(--term-mute);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--term-line);
  display: block;
}
.term pre {
  margin: 0;
  padding: 16px 18px 18px;
  font-size: 12.5px;
  line-height: 1.62;
  overflow-x: auto;
  white-space: pre;
}
.term.small pre {
  font-size: 12px;
}
.t-p {
  color: var(--term-mute);
}
.t-s {
  color: #b9e3a6;
}
.t-k {
  color: #ff8f61;
}
.t-n {
  color: #f3d27a;
}
.t-c {
  color: #9ec5ff;
}

/* works strip */
.works {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.works-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--mute);
  font-size: 14px;
}
.works b {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* bands */
.band {
  padding: 96px 0;
}
.band.tight {
  padding: 48px 0 72px;
}
.band-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sec-head {
  margin-bottom: 40px;
}
.sec-head.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.sec-head.row .text-link {
  margin-top: 0;
}
.cards4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.card p {
  color: var(--mute);
  font-size: 15px;
  flex: 1;
}
.ops {
  font-size: 11.5px;
  color: var(--acc-ink);
  background: var(--acc-soft);
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.45;
}
.tool {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

/* chat */
.chat {
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 10px;
  box-shadow: 0 24px 48px -32px var(--shadow);
}
.chat-msg {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}
.chat-msg.user {
  background: color-mix(in srgb, var(--ink) 9%, var(--surface));
  color: var(--ink);
  border: 1px solid var(--line);
  justify-self: end;
  max-width: 82%;
  border-bottom-right-radius: 4px;
}
.chat-msg.agent {
  background: var(--bg-2);
  border-bottom-left-radius: 4px;
  display: grid;
  gap: 10px;
}
.chat-tool {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 12.5px var(--mono);
  color: var(--mute);
  padding-left: 4px;
}
.chat-tool em {
  font-style: normal;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tool-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  flex: none;
}
.skel {
  display: grid;
  gap: 7px;
}
.skel i {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--line), var(--bg-2));
}
.skel i:nth-child(1) {
  width: 92%;
}
.skel i:nth-child(2) {
  width: 78%;
}
.skel i:nth-child(3) {
  width: 85%;
}
.skel i:nth-child(4) {
  width: 60%;
}
.src {
  font-size: 12.5px;
  color: var(--acc-ink);
}

/* data tiles */
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.data-tile {
  background: var(--surface);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
}
.data-tile:hover {
  background: var(--acc-soft);
}
.data-tile p {
  color: var(--mute);
  font-size: 15px;
  flex: 1;
}
.data-tile span {
  font: 500 12.5px var(--mono);
  color: var(--acc-ink);
}

/* steps */
.three {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.three li {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.three li:last-child {
  border-top-color: var(--acc);
}
.three span {
  font: 500 13px var(--mono);
  color: var(--mute);
}
.three h3 {
  margin: 10px 0 6px;
  font-size: 22px;
}
.three p {
  color: var(--mute);
}

/* cta band */
.cta-band {
  background: var(--inverse);
  color: var(--inverse-ink);
  border-top: 1px solid var(--line);
  padding: 72px 0;
}
.cta-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-in p {
  color: var(--inverse-mute);
  margin-top: 10px;
  font-size: 17px;
}
.cta-in .ctas {
  margin-top: 0;
}

/* page head */
.page-head {
  padding: 80px 0 40px;
}
.page-head.center {
  text-align: center;
}
.page-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}
.page-head h1 {
  max-width: 860px;
}
.page-head.center h1 {
  margin: 0 auto;
}

/* data page */
.data-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 96px;
}
.toc nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.toc a {
  padding: 6px 14px;
  color: var(--mute);
  font-size: 14.5px;
  margin-left: -1px;
  border-left: 2px solid transparent;
}
.toc a:hover {
  color: var(--ink);
}
.toc a.on {
  color: var(--ink);
  border-left-color: var(--acc);
  font-weight: 500;
}
.dataset {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.dataset:first-child {
  border-top: 0;
  padding-top: 8px;
}
.dataset-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dataset-head h2 {
  font-size: 30px;
}
.dataset .lede {
  margin-top: 10px;
  font-size: 17px;
  max-width: 680px;
}
.price-tag {
  font: 500 13px var(--mono);
  color: var(--acc-ink);
  background: var(--acc-soft);
  padding: 4px 10px;
  border-radius: 99px;
}
.dataset-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.dataset-body h4 + .ticks {
  margin-bottom: 22px;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ticks li {
  padding-left: 26px;
  position: relative;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--acc);
  border-bottom: 2px solid var(--acc);
  transform: rotate(-45deg);
}
.ops-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ops-list code {
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}

/* agents page */
.device {
  display: grid;
  gap: 16px;
}
.approve-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 20px 40px -30px var(--shadow);
}
.approve-card p {
  color: var(--mute);
  font-size: 15px;
}
.devcode {
  font: 500 26px var(--mono);
  letter-spacing: 0.2em;
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 8px 18px;
}
.approve-actions {
  display: flex;
  gap: 8px;
}
.prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.prompt {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  font-size: 15.5px;
  transition: border-color 0.15s;
}
.prompt:hover {
  border-color: var(--ink);
}
.prompt em {
  font: normal 12px var(--mono);
  color: var(--mute);
  flex: none;
  padding-top: 3px;
}
.prompt.done em {
  color: var(--acc-ink);
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan-featured {
  border: 2px solid var(--acc);
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan .ticks {
  flex: 1;
}
.plan-price {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mute);
}
.plan-dark {
  background: var(--inverse);
  color: var(--inverse-ink);
  border-color: var(--line);
}
.plan-dark .ticks li::before {
  border-color: var(--inverse-ink);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 620px;
}
.prices th {
  text-align: left;
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.prices td {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.prices tr.group-start td {
  border-top-color: var(--line);
}
.prices td b {
  font-weight: 500;
  display: block;
}
.prices td small {
  display: block;
  color: var(--mute);
  font: 12px var(--mono);
  margin-top: 2px;
}
.prices .grp {
  font-weight: 600;
  width: 120px;
}
.prices .num {
  text-align: right;
  font-family: var(--mono);
  white-space: nowrap;
  width: 150px;
}
.dash {
  color: var(--faint);
}
.free-list {
  margin-top: 24px;
  display: flex;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
}
.free-list h4 {
  margin: 0;
  color: var(--acc-ink);
}
.free-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.free-list li {
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 12px;
}
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calc label {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--mute);
}
.calc input {
  font: 500 17px var(--mono);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  width: 100%;
  background: var(--bg);
}
.calc input:focus {
  outline: 2px solid var(--acc);
  outline-offset: -1px;
  background: var(--surface);
}
.calc-out {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 6px;
}
.calc-out div {
  display: flex;
  justify-content: space-between;
  color: var(--mute);
}
.calc-out b {
  font: 500 15px var(--mono);
  color: var(--ink);
}
.calc-out [data-plan] {
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
}
.calc-out [data-plan].best {
  background: var(--acc-soft);
  color: var(--ink);
  font-weight: 500;
}
.calc-out [data-plan].best b {
  color: var(--acc-ink);
  font-size: 18px;
}
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px 64px;
  align-items: start;
}
.faq-head {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  justify-items: start;
}
.faq-list details p {
  max-width: 68ch;
}
@media (max-width: 860px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-head {
    position: static;
  }
}
.faq h2 {
  margin-bottom: 24px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq details:first-child {
  border-top: 0;
  padding-top: 4px;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after {
  content: '+';
  color: var(--mute);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  color: var(--mute);
  margin-top: 10px;
}
.faq code {
  font-size: 13px;
  background: var(--bg-2);
  padding: 1px 5px;
  border-radius: 4px;
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: var(--bg);
}
.foot-in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-in > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.foot-in > div a:not(.brand) {
  color: var(--mute);
}
.foot-in > div a:hover {
  color: var(--ink);
}
.foot-in h4 {
  margin-bottom: 4px;
}
.foot-brand p {
  color: var(--mute);
  max-width: 280px;
}
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .cards4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-in,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .data-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .nav,
  .top-right {
    display: none;
  }
  .menu {
    display: flex;
    margin-left: 8px;
  }
  .top-right + .theme-btn {
    margin-left: auto;
    width: 40px;
    height: 40px;
  }
  .top.open .nav,
  .top.open .top-right {
    display: flex;
  }
  .top.open .top-in {
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 16px;
    row-gap: 14px;
  }
  .top.open .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
  }
  .top.open .top-right {
    order: 4;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .hero {
    padding: 48px 0;
  }
  .band {
    padding: 64px 0;
  }
  .cards4,
  .data-grid,
  .three,
  .plans,
  .prompts,
  .dataset-body,
  .calc {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .lede {
    font-size: 16.5px;
  }
}

/* assistants strip */
.marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}
.marks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.marks .mark {
  width: 20px;
  height: 20px;
  flex: none;
}
.marks svg.mark {
  width: 17px;
  height: 17px;
}
.marks .mark.blossom {
  width: 30px;
  height: 30px;
  margin: -5px;
  background: currentColor;
  mask: url('/logos/openai-blossom.svg') center / contain no-repeat;
}

.terms-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--mute);
  max-width: 760px;
}
.terms-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.c-table th small {
  font-weight: 400;
  font-size: 10px;
}
.steps-list code,
.three code {
  font-size: 0.9em;
}

/* ===== Monospace look: square shapes, hard shadows, navy top band ===== */

:root {
  --sans: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 0px;
  --hard: light-dark(#0b0b0c, #000000);
  --hard-shadow: 5px 5px 0 0 var(--hard);
  --band: light-dark(#0f1624, #0a0e17);
}
body {
  font-size: 15px;
  letter-spacing: -0.01em;
}
:is(
  .btn,
  .card,
  .plan,
  .tabs,
  .copy,
  .table-wrap,
  .calc,
  .calc input,
  .data-grid,
  .prompt,
  .approve-card,
  .term,
  .code-panel,
  .chat,
  .chat-msg,
  .c-field,
  .c-table,
  .free-list li,
  .ops-list code,
  .ops,
  .price-tag,
  .theme-btn,
  .menu,
  .devcode,
  .copy-btn,
  .c-tool,
  .c-user,
  .data-tile,
  .pill,
  .tab-list button,
  .flow .node
) {
  border-radius: 0 !important;
}

/* dark band: header + hero + flow, like turbopuffer's navy top */
:is(.top, .hero, .flow-band) {
  color-scheme: dark;
  background: var(--band);
  color: var(--ink);
}
.top {
  border-bottom-color: transparent;
}
.top.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--band) 92%, transparent);
}
.hero::before {
  opacity: 0.35;
}
.nav {
  font-size: 14px;
  color: var(--ink);
  gap: 28px;
}
.nav a {
  opacity: 0.78;
}
.nav a:hover,
.nav a[aria-current='page'] {
  opacity: 1;
}

/* type: one mono family, heavy terse headline */
h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 16px;
  font-weight: 700;
}
.hero .lede {
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  color: var(--ink);
  opacity: 0.86;
}
.eyebrow {
  color: var(--mute);
}
.eyebrow::before {
  content: '// ';
  color: var(--acc-ink);
}

/* buttons: flat, hard shadow, peach-orange primary */
.btn {
  border: 2px solid var(--hard);
  box-shadow: var(--hard-shadow);
  font-weight: 600;
  transition:
    transform 0.08s,
    box-shadow 0.08s;
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 0 var(--hard);
}
.btn-accent {
  background: #ff9a5c;
  border-color: #ff9a5c;
  color: #1a0d05;
  box-shadow: var(--hard-shadow);
}
.btn-accent:hover {
  background: #ffab76;
  border-color: #ffab76;
}
:is(.top, .hero) .btn {
  --hard: #000;
}
:is(.top, .hero) .btn-ghost,
.top .btn-dark {
  background: #e9edf5;
  color: #0e1116;
  border-color: #e9edf5;
}
.theme-btn {
  box-shadow: none;
}

/* boxes: 2px borders, hard offset shadows, fieldset legends */
:is(.card, .plan, .table-wrap, .calc, .prompt, .approve-card, .data-grid) {
  border: 2px solid var(--ink);
  box-shadow: var(--hard-shadow);
}
.plan-featured {
  border-color: var(--acc);
  box-shadow: 5px 5px 0 0 var(--acc);
}
.plan-dark {
  border-color: var(--ink);
}
.card:hover {
  transform: none;
}
.tabs {
  border: 2px solid var(--ink);
  box-shadow: var(--hard-shadow);
}
.hero .tabs {
  box-shadow: 5px 5px 0 0 #000;
}
.ops {
  background: transparent;
  border: 1px dashed var(--acc-line);
}
[data-legend] {
  position: relative;
}
[data-legend]::before {
  content: attr(data-legend);
  position: absolute;
  top: -0.8em;
  left: 16px;
  padding: 0 8px;
  background: var(--legend-bg, var(--bg));
  font: 700 13px var(--mono);
  color: var(--ink);
  line-height: 1.6;
}
.band-alt [data-legend] {
  --legend-bg: var(--bg-2);
}
.calc {
  padding-top: 30px;
}

/* how-it-works diagram */
.flow-band {
  padding: 0 0 56px;
}
.flow {
  display: grid;
  grid-template-columns: auto minmax(70px, 1fr) auto minmax(70px, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0;
  border: 2px solid var(--line-2);
  padding: 32px 26px 26px;
  font-family: var(--mono);
  --legend-bg: var(--band);
}
.flow .node {
  border: 2px solid var(--ink);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 5px 5px 0 0 #000;
  background: var(--band);
}
.flow .node small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--mute);
  margin-top: 3px;
}
.flow .node-main {
  border-color: #ff9a5c;
  box-shadow: 5px 5px 0 0 #ff9a5c;
}
.sub-nodes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.sub-nodes span {
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--line-2);
  padding: 2px 7px;
  color: var(--ink);
}
.flow .edge {
  position: relative;
  height: 2px;
  background: var(--ink);
  margin: 0 10px;
}
.flow .edge::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -5px;
  border-left: 9px solid var(--ink);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.flow .edge span {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  font-size: 11.5px;
  color: var(--mute);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .flow .edge {
    width: 2px;
    height: 40px;
    margin: 6px auto;
  }
  .flow .edge::after {
    right: auto;
    left: -5px;
    top: auto;
    bottom: -2px;
    border-top: 9px solid var(--ink);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 0;
  }
  .flow .edge span {
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
  }
}

/* Claude Code terminal (tp look) */
.cc {
  --cc-bg: #1e1e1e;
  --cc-ink: #e6e6e6;
  --cc-dim: #8b8b8b;
  --cc-acc: #d97757;
  --cc-line: #3a3a3a;
  --cc-auto: #f0a530;
  background: var(--cc-bg);
  color: var(--cc-ink);
  border: 2px solid #3d3d3d;
  box-shadow: 8px 8px 0 0 #000;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}
.cc b {
  font-weight: 700;
  color: #fff;
}
.cc-dim {
  color: var(--cc-dim);
}
.cc-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #2a2a2a;
  border-bottom: 1px solid #111;
  font: 600 11.5px var(--sans);
  color: #c8c8c8;
}
.cc-bar span:last-child {
  flex: 1;
  text-align: center;
  margin-right: 46px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-bar .dots i:nth-child(1) {
  background: #ff5f57;
}
.cc-bar .dots i:nth-child(2) {
  background: #febc2e;
}
.cc-bar .dots i:nth-child(3) {
  background: #28c840;
}
.cc-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px 12px;
}
.cc-crab {
  width: 52px;
  height: 36px;
  flex: none;
  shape-rendering: crispEdges;
}
.cc-user {
  margin: 6px 0 4px;
  padding: 6px 18px;
  background: #333;
  line-height: 1.5;
}
.cc-body {
  margin: 0;
  padding: 10px 18px 4px;
  font: inherit;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
  color: var(--cc-ink);
}
.cc-ans {
  color: var(--cc-ink);
}
.cc-effort {
  text-align: right;
  padding: 6px 18px 4px;
  font-size: 11.5px;
}
.cc-input {
  margin: 0 6px;
  border-top: 1px dashed #5a5a5a;
  border-bottom: 1px dashed #5a5a5a;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-caret {
  width: 8px;
  height: 15px;
  background: #d0d0d0;
  animation: cc-blink 1.1s steps(1) infinite;
}
@keyframes cc-blink {
  50% {
    opacity: 0;
  }
}
.cc-foot {
  padding: 6px 18px 12px;
  font-size: 11.5px;
}
.cc-auto {
  color: var(--cc-auto);
}
@media (prefers-reduced-motion: reduce) {
  .cc-caret {
    animation: none;
  }
}

/* tp look, light mode: cool slate palette that matches the navy band; softer lines and shadows. */
:root {
  --bg: light-dark(#f7f8fa, #0a0908);
  --bg-2: light-dark(#eef0f4, #0f0d0c);
  --surface: light-dark(#ffffff, #141210);
  --ink: light-dark(#0f172a, #f3f1ee);
  --mute: light-dark(#5b6476, #8d8882);
  --line: light-dark(#dde1e8, #24201d);
  --line-2: light-dark(#c3c9d4, #3a332e);
  --dots: light-dark(#d5dae3, #2c2622);
  --hard: light-dark(rgb(15 23 42 / 0.16), #000000);
  --frame: light-dark(#1e293b, var(--ink));
  --hard-shadow: 4px 4px 0 0 var(--hard);
}
:is(.card, .plan, .table-wrap, .calc, .prompt, .approve-card, .data-grid, .tabs) {
  border: 1.5px solid var(--frame);
  box-shadow: var(--hard-shadow);
}
.btn {
  border-width: 1.5px;
}
.plan-featured {
  border-color: var(--acc);
  box-shadow: 4px 4px 0 0 light-dark(rgb(255 90 31 / 0.35), var(--acc));
}
.plan-dark {
  border-color: var(--frame);
}

/* tp look: ASCII-style sliders in the cost estimate */
.calc > label {
  display: none;
}
.sliders {
  grid-column: 1 / -1;
  display: grid;
  gap: 22px;
}
.sl {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}
.sl-label span {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}
.sl-label small {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-top: 2px;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.sl-track {
  position: relative;
  height: 26px;
  margin-top: 26px;
  --p: 0;
}
.sl-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 14px;
  border: 1.5px solid var(--frame, var(--ink));
  background: linear-gradient(90deg, var(--ink) calc(var(--p) * 100%), var(--surface) 0);
}
.sl-track::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--line-2) 0 1.5px,
    transparent 1.5px calc(100% / var(--n))
  );
  background-size: calc(100% + 1.5px) 100%;
}
.sl-track input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.sl-tag {
  position: absolute;
  bottom: 100%;
  left: calc(var(--p) * 100%);
  transform: translateX(-50%);
  margin-bottom: 2px;
  font: 600 10.5px var(--mono);
  background: var(--ink);
  color: var(--bg);
  padding: 2px 6px;
  white-space: nowrap;
  pointer-events: none;
}
.sl-track .sl-tag::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  width: 12px;
  height: 22px;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1.5px solid var(--frame, var(--ink));
  box-shadow: 2px 2px 0 0 var(--hard, #000);
}
.sl-track:focus-within .sl-tag {
  outline: 2px solid var(--acc);
  outline-offset: 1px;
}
@media (max-width: 760px) {
  .sl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
/* sliders: more air, quieter tags and fill */
.sliders {
  gap: 20px;
  padding-top: 6px;
}
.sl-track {
  height: 22px;
  margin-top: 30px;
  --fill: light-dark(var(--ink), color-mix(in srgb, var(--ink) 55%, var(--surface)));
}
.sl-track::before {
  top: 5px;
  height: 10px;
  background: linear-gradient(90deg, var(--fill) calc(var(--p) * 100%), var(--surface) 0);
}
.sl-track::after {
  top: 19px;
  height: 5px;
}
.sl-tag {
  margin-bottom: 4px;
  font: 500 10px var(--mono);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 1px 6px;
}
.sl-track .sl-tag::after {
  top: calc(100% + 3px);
  width: 10px;
  height: 18px;
}

/* use cases */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cards3 .card {
  color: inherit;
}
.sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.source-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.source-list li {
  font: 500 13.5px var(--mono);
  border: 1px solid var(--line-2);
  background: var(--surface);
  padding: 6px 12px;
}
.prompt.ask {
  width: 100%;
  margin-top: 18px;
}
.prompt.ask small {
  display: block;
  font: 500 11.5px var(--mono);
  color: var(--acc-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.job-example {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.job-example .code-title {
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}
table.mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.mini th {
  text-align: left;
  font: 500 11.5px var(--mono);
  color: var(--mute);
  padding: 8px 14px;
}
table.mini td {
  padding: 8px 14px;
  border-top: 1px solid var(--line);
}
table.mini code {
  font-size: 12px;
  color: var(--acc-ink);
}
.docs-h {
  margin-top: 18px;
}
.doc-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.doc-links .text-link {
  margin-top: 4px;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .cards3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sources {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .cards3 {
    grid-template-columns: minmax(0, 1fr);
  }
  table.mini {
    font-size: 12.5px;
  }
  table.mini th,
  table.mini td {
    padding: 7px 8px;
  }
}
.job-example {
  overflow-x: auto;
}
:is(.source-list li, .job-example) {
  border-radius: 0;
}
.cards3 .card {
  border: 1.5px solid var(--frame);
  box-shadow: var(--hard-shadow);
}

/* use case card: you ask → answer → behind the scenes (a terminal-style log) */
.uc {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.uc-q,
.uc-a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 18px;
  align-items: start;
}
.uc-a {
  grid-template-columns: 76px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.uc-who {
  font: 500 11.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  padding-top: 3px;
}
.uc-q p {
  font-size: 16px;
  font-weight: 500;
}
.uc-a p {
  margin-bottom: 12px;
}
.uc-a .mini {
  border: 1px solid var(--line);
}
.uc-bts {
  border-top: 1px solid var(--line);
}
.uc-bts summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 18px;
  font: 500 12.5px var(--mono);
  color: var(--mute);
  display: flex;
  gap: 8px;
}
.uc-bts summary::-webkit-details-marker {
  display: none;
}
.uc-bts summary::before {
  content: '▸';
  color: var(--acc-ink);
}
.uc-bts[open] summary::before {
  content: '▾';
}
.uc-bts summary:hover {
  color: var(--ink);
}
.uc-log {
  background: var(--term);
  color: var(--term-ink);
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 14px 18px 16px;
}
.uc-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 6px;
}
.uc-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 18px minmax(130px, max-content) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.uc-steps li::before {
  content: counter(s);
  color: var(--term-mute);
}
.uc-steps code {
  color: #ff9a5c;
}
.uc-steps span {
  color: var(--term-ink);
}
.uc-facts {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--term-line);
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 6px 12px;
}
.uc-facts dt {
  color: var(--term-mute);
}
.uc-facts dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: var(--term-ink);
}
.uc-facts a {
  color: var(--term-ink);
  border-bottom: 1px solid #ff9a5c;
}
.uc-facts a:hover {
  color: #ff9a5c;
}
@media (max-width: 760px) {
  .uc-q,
  .uc-a {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .uc-q .copy-btn {
    justify-self: start;
  }
  .uc-steps li {
    grid-template-columns: 18px minmax(0, 1fr);
  }
  .uc-steps li span {
    grid-column: 2;
  }
  .uc-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .uc-facts dd {
    margin-bottom: 8px;
  }
}
.uc {
  border: 1.5px solid var(--frame);
  box-shadow: var(--hard-shadow);
}
table.mini code {
  white-space: nowrap;
}

/* ===== Replay animations: hero run on load, use-case runs on first view ===== */
.cc-out {
  position: relative;
}
.cc-tool {
  padding-bottom: 0;
}
.cc-answer {
  padding-top: 12px;
}
.cc-working {
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 12px;
  color: var(--cc-acc);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.cc-working i {
  font-style: normal;
  color: var(--cc-dim);
}
.cc .cc-tool,
.cc .cc-answer {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.cc.anim .cc-tool,
.cc.anim .cc-answer {
  opacity: 0;
  transform: translateY(4px);
}
.cc.anim.working .cc-working {
  opacity: 1;
}
.cc.anim.show-tool .cc-tool,
.cc.anim.show-answer .cc-answer {
  opacity: 1;
  transform: none;
}

.uc {
  position: relative;
}
.uc .uc-a,
.uc .uc-bts {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.uc.anim .uc-a,
.uc.anim .uc-bts {
  opacity: 0;
  transform: translateY(6px);
}
.uc.anim.done .uc-a,
.uc.anim.done .uc-bts {
  opacity: 1;
  transform: none;
}
.uc-run {
  position: absolute;
  left: 0;
  right: 0;
  padding: 14px 18px 14px 108px;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 7px;
  font: 12.5px var(--mono);
  color: var(--mute);
  transition: opacity 0.3s;
  pointer-events: none;
}
.uc-run li {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.uc-run li.on {
  opacity: 1;
  transform: none;
}
.uc-run li::before {
  content: '●';
  color: var(--acc-ink);
  animation: uc-pulse 0.9s ease-in-out infinite;
}
.uc-run li.ok::before {
  content: '✓';
  animation: none;
}
.uc-run li.uc-status {
  opacity: 1;
  transform: none;
  color: var(--acc-ink);
}
.uc-run li.uc-status::before {
  content: '✻';
}
.uc-run code {
  color: var(--ink);
}
.uc.done .uc-run {
  opacity: 0;
}
@keyframes uc-pulse {
  50% {
    opacity: 0.35;
  }
}
@media (max-width: 760px) {
  .uc-run {
    padding-left: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .uc-run {
    display: none;
  }
}

.faq-head h2 {
  margin-bottom: 0;
}

@supports not (color: light-dark(#000, #fff)) {
:root { --bg: #fbfbf8; --bg-2: #f3f3ee; --surface: #ffffff; --ink: #0b0b0c; --ink-2: #2a2a2c; --on-ink: #ffffff; --mute: #63635e; --faint: #b5b5ae; --line: #e2e2db; --line-2: #c9c9c1; --acc-ink: #c2410c; --acc-soft: #fff1e9; --acc-line: #ffc9b0; --dots: #d9d9d1; --header: rgb(251 251 248 / 0.86); --shadow: rgb(10 10 12 / 0.35); --inverse: #0b0b0c; --term: #0f0f11; --term-line: #26262a }
:root[data-theme='dark'] { --bg: #0a0908; --bg-2: #0f0d0c; --surface: #141210; --ink: #f3f1ee; --ink-2: #ffffff; --on-ink: #0a0908; --mute: #8d8882; --faint: #4a4440; --line: #24201d; --line-2: #3a332e; --acc-ink: #ff7a45; --acc-soft: rgb(255 90 31 / 0.12); --acc-line: rgb(255 90 31 / 0.4); --dots: #2c2622; --header: rgb(10 9 8 / 0.8); --shadow: rgb(0 0 0 / 0.7); --inverse: #16130f; --term: #060505; --term-line: #221e1b }
:root { --hard: #0b0b0c; --band: #0f1624 }
:root[data-theme='dark'] { --hard: #000000; --band: #0a0e17 }
:root { --bg: #f7f8fa; --bg-2: #eef0f4; --surface: #ffffff; --ink: #0f172a; --mute: #5b6476; --line: #dde1e8; --line-2: #c3c9d4; --dots: #d5dae3; --hard: rgb(15 23 42 / 0.16); --frame: #1e293b }
:root[data-theme='dark'] { --bg: #0a0908; --bg-2: #0f0d0c; --surface: #141210; --ink: #f3f1ee; --mute: #8d8882; --line: #24201d; --line-2: #3a332e; --dots: #2c2622; --hard: #000000; --frame: var(--ink) }
.plan-featured { box-shadow: 4px 4px 0 0 rgb(255 90 31 / 0.35) }
:root[data-theme='dark'] .plan-featured { box-shadow: 4px 4px 0 0 var(--acc) }
.sl-track { --fill: var(--ink) }
:root[data-theme='dark'] .sl-track { --fill: color-mix(in srgb, var(--ink) 55%, var(--surface)) }
@media (prefers-color-scheme: dark) {
:root:not([data-theme='light']) { --bg: #0a0908; --bg-2: #0f0d0c; --surface: #141210; --ink: #f3f1ee; --ink-2: #ffffff; --on-ink: #0a0908; --mute: #8d8882; --faint: #4a4440; --line: #24201d; --line-2: #3a332e; --acc-ink: #ff7a45; --acc-soft: rgb(255 90 31 / 0.12); --acc-line: rgb(255 90 31 / 0.4); --dots: #2c2622; --header: rgb(10 9 8 / 0.8); --shadow: rgb(0 0 0 / 0.7); --inverse: #16130f; --term: #060505; --term-line: #221e1b }
:root:not([data-theme='light']) { --hard: #000000; --band: #0a0e17 }
:root:not([data-theme='light']) { --bg: #0a0908; --bg-2: #0f0d0c; --surface: #141210; --ink: #f3f1ee; --mute: #8d8882; --line: #24201d; --line-2: #3a332e; --dots: #2c2622; --hard: #000000; --frame: var(--ink) }
:root:not([data-theme='light']) .plan-featured { box-shadow: 4px 4px 0 0 var(--acc) }
:root:not([data-theme='light']) .sl-track { --fill: color-mix(in srgb, var(--ink) 55%, var(--surface)) }
}
}
