/* Trends API design system
   Visual language from HyperUI (hyperui.dev): gray-900 type, gray-200 borders,
   rounded-md, max-w-7xl, h-16 header. Accent is trust blue #1D4ED8 (not teal). */

/* Inter and JetBrains Mono: SIL Open Font License 1.1 */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/static/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-muted: #f3f4f6;
  --bg-code: #111827;
  --border: #e5e7eb;
  --border-dk: rgba(255, 255, 255, .08);
  --text: #111827;
  --muted: #4b5563;
  --dim: #6b7280;
  --brand: #1D4ED8;
  --brand-hover: #1E40AF;
  --brand-ink: #1E3A8A;
  --brand-soft: #DBEAFE;
  --sky: #1D4ED8;
  --accent: #1D4ED8;
  --accent-dk: #1E40AF;
  --radius: 0.375rem;
  --radius-lg: 0.5rem;
  --wrap: 80rem;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand-soft); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip:focus, .skip:focus-visible {
  position: fixed;
  top: 12px; left: 16px; z-index: 80;
  width: auto; height: auto; padding: 8px 12px;
  overflow: visible; clip: auto; clip-path: none; white-space: normal;
  background: var(--text); color: #fff; border-radius: var(--radius);
  outline: 2px solid var(--brand); outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

/* ── Announcement ── */
.site-top { position: sticky; top: 0; z-index: 50; }
.announcement {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .01em;
}
.announcement a {
  color: #fff; text-decoration: underline; text-underline-offset: 3px;
  font-weight: 600;
}
.announcement a:hover { color: #dbeafe; }

/* ── Header: logo left, links center, CTAs right ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.25rem;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--text); flex: none;
  position: relative; z-index: 1;
}
.brand-mark, .brand img {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
}
.brand-name {
  font-family: "Plus Jakarta Sans", Inter, var(--sans);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  color: #0b1220;
  font-feature-settings: "ss01" 1, "kern" 1;
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.2rem; }
  .brand-mark, .brand img { width: 32px; height: 32px; }
}
.nav-links { display: none; }
@media (min-width: 960px) {
  .site-header-in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-links {
    display: flex; align-items: center; justify-content: center; gap: 4px;
  }
}
.nav-links > a, .nav-dd-btn {
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none; color: #4b5563; font-size: 14.5px; font-weight: 500;
  background: none; border: none; padding: 8px 12px; cursor: pointer;
  border-radius: 8px; transition: color .15s, background .15s;
  font-family: inherit;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-dd-btn:hover, .nav-dd-btn.active, .nav-dd.open .nav-dd-btn {
  color: var(--text); background: var(--bg-soft);
}
.nav-chevron { width: 12px; height: 12px; margin-top: 1px; color: #9ca3af; }
.nav-dd.open .nav-chevron, .nav-dd:hover .nav-chevron { transform: rotate(180deg); }
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 272px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, .22), 0 0 0 1px rgba(15, 23, 42, .03);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
  z-index: 20;
}
.nav-dd-menu::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px;
}
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
}
.nav-dd-item:hover { background: var(--bg-soft); }
.nav-dd-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
.nav-dd-desc { font-size: 12.5px; color: var(--dim); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
  appearance: none; -webkit-appearance: none;
}
.nav-btn-outline { background: #fff; color: var(--text); border-color: #d1d5db; }
.nav-btn-outline:hover { background: var(--bg-soft); border-color: #9ca3af; }
.nav-btn-primary { background: var(--brand); color: #fff; }
.nav-btn-primary:hover { background: var(--brand-hover); color: #fff; }
.nav-arrow { width: 14px; height: 14px; flex: none; }
.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 8px;
  background: var(--bg-muted); color: var(--muted); cursor: pointer;
}
.nav-burger:hover { color: var(--text); }
@media (min-width: 960px) { .nav-burger { display: none; } }
.mobile-nav {
  display: none; border-top: 1px solid var(--border); background: #fff;
  padding: 8px 0 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav-label {
  margin: 14px 4px 4px; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.mobile-nav-label:first-child { margin-top: 6px; }
.mobile-nav a,
.mobile-nav .mobile-nav-link {
  display: block; width: 100%; text-align: left;
  padding: 10px 4px; color: var(--text); font-size: 15px; font-weight: 500;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  font-family: inherit;
}
.mobile-nav a:hover,
.mobile-nav .mobile-nav-link:hover { color: var(--brand); }
@media (max-width: 959px) {
  .nav-cta .nav-btn-outline { display: none; }
}

/* ── Buttons (HyperUI rounded-md, brand / gray-100 / gray-900) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 10px 20px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
  appearance: none; -webkit-appearance: none;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #1f2937; }
.btn-ghost { background: var(--bg-muted); color: var(--brand); }
.btn-ghost:hover { color: var(--brand-hover); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-lg { padding: 12px 22px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--brand); color: #fff; }
.btn-accent:hover { background: var(--brand-hover); }

/* ── Type ── */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--brand-ink);
  margin-bottom: 16px;
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
h1 {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--text);
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.2; color: var(--text);
  text-wrap: balance; margin-bottom: 12px;
}
h3 { font-size: 1.125rem; font-weight: 600; color: var(--text); }
.lede, .sec-sub {
  color: var(--muted); font-size: 1.05rem; line-height: 1.7; text-wrap: pretty;
}
.sec-sub code, .lede code, .hero-copy p code {
  font-family: var(--mono); font-size: .86em;
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 4px; color: var(--text);
}
.sec-kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.sec-head { max-width: 40rem; margin-bottom: 2.5rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 4.5rem 0; }
.sec-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
#sources.sec-sources {
  background:
    radial-gradient(90% 70% at 8% 0%, #c7d7ff 0%, transparent 55%),
    radial-gradient(80% 60% at 100% 100%, #dbeafe 0%, transparent 50%),
    linear-gradient(180deg, #e0eaff 0%, #f3f6fb 55%, #e8eef8 100%);
}

/* ── Hero ── */
.hero {
  padding: 4.75rem 0 3.25rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, #d4e2ff 0%, transparent 58%),
    radial-gradient(ellipse 60% 45% at 92% 88%, #dbeafe 0%, transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #eef3ff 48%, #f4f7fc 100%);
}
.hero-grid { max-width: none; }
.hero-copy {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.hero-copy h1 {
  font-family: "Plus Jakarta Sans", Inter, var(--sans);
  font-size: clamp(2.35rem, 5.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.hero-copy .h-grad { color: var(--brand); }
.hero-copy h1 + p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}
.hero-brands {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 .28em;
  vertical-align: middle;
}
.hero-brand {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, .05),
    0 6px 14px -4px rgba(15, 23, 42, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--tilt, 0deg));
  transition: opacity .28s ease, transform .28s ease;
}
.hero-brand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.hero-brand.is-away {
  opacity: 0;
  transform: rotate(var(--tilt, 0deg)) scale(.86);
}
@media (max-width: 600px) {
  .hero-brand { width: 30px; height: 30px; border-radius: 8px; }
  .hero-brand img { width: 16px; height: 16px; }
}
.hero-signup { max-width: 32rem; margin: 0 auto; scroll-margin-top: 88px; }
.hero-copy .keyform,
.hero-copy .tapi-vc { margin-left: auto; margin-right: auto; }
.hero-copy .keyform { position: relative; }
.hero-copy .keyform input,
.hero-copy .keyform .btn { border-radius: 8px; }
.hero-copy .hero-assurance { justify-content: center; }
.hero-copy .keyform-done { align-items: center; }
.hero-copy #ts-widget { display: flex; justify-content: center; }
.hero-docs { margin-top: 14px; }
.hero-docs a { color: var(--dim); font-size: 14px; font-weight: 500; text-decoration: none; }
.hero-docs a:hover { color: var(--text); }
#quickstart { scroll-margin-top: 88px; }
.hero .fc-window {
  margin-top: 2.25rem;
  border: 1px solid #b8cffc;
  border-radius: 14px;
  background: #111827;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7),
    0 28px 56px -24px rgba(29, 78, 216, .32);
}
.hero .fc-window-bar,
.hero .fc-subbar {
  background: #1e293b;
  border-bottom-color: #334155;
}
.hero .fc-window-bar--mcp { border-top-color: #334155; }
.hero .fc-window-body { background: #111827; }
.hero .fc-window .runner { background: #334155; }
.hero .runner-pane { background: #111827; }
.hero .runner-res { background: #0f172a; }
.hero .runner-colhead {
  background: #1e293b;
  border-bottom-color: #334155;
}

.hero-assurance {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-top: 12px; font-size: 13px; color: var(--dim);
}
.hero-assurance span { display: inline-flex; align-items: center; gap: 6px; }
.hero-assurance svg { width: 14px; height: 14px; color: var(--brand); flex: none; }

/* ── Logo cloud ── */
.logo-cloud {
  border-top: 0;
  padding: 1.75rem 0 2rem;
  background: linear-gradient(180deg, #f4f7fc 0%, #fff 72%);
}
.logo-cloud p {
  text-align: center; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.25rem;
}
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.75rem 2.25rem;
}
.logo-row img {
  height: 22px; width: auto; opacity: .55; filter: grayscale(1);
  transition: opacity .15s, filter .15s;
}
.logo-row a:hover img { opacity: 1; filter: none; }

/* ── Stats ── */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 1.25rem 1.5rem; text-align: center;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .stat { border-bottom: 0; } }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) {
  .stat:nth-child(2n) { border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
}
.stat b { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--dim); }

/* ── Feature grid (HyperUI) ── */
.feat-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.feat-grid .feat-card { border: 1px solid var(--border); }
.feat-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; background: #fff;
}
.feat-ico {
  display: inline-flex; padding: 12px; border-radius: var(--radius-lg);
  background: var(--bg-muted); color: var(--muted);
}
.feat-ico svg { width: 24px; height: 24px; }
.feat-card h3 { margin-top: 1rem; }
.feat-card p { margin-top: .5rem; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ── Source cards ── */
.src-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.src-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  border: 1px solid #c9d6ee; border-radius: 12px;
  padding: 22px 18px; min-height: 100px;
  display: flex; flex-direction: row; align-items: center; text-align: left;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: background .15s, border-color .15s;
}
.src-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e4edff 100%);
  border-color: #93b4f0;
}
a.src-card { cursor: pointer; }
a.src-card:hover .src-val { color: var(--brand-hover); }
.src-head { display: flex; flex-direction: row; align-items: center; gap: 12px; width: 100%; }
.src-copy { display: flex; flex-direction: column; min-width: 0; }
.src-ico {
  width: 56px; height: 56px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e5e7eb;
}
.src-ico img { width: 32px; height: 32px; object-fit: contain; }
.src-val { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.src-desc { font-size: 13px; color: var(--dim); line-height: 1.35; margin-top: 2px; }
@media (max-width: 600px) {
  .src-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .src-card { padding: 16px 14px; min-height: 88px; }
  .src-head { gap: 10px; }
  .src-ico { width: 48px; height: 48px; border-radius: 11px; }
  .src-ico img { width: 28px; height: 28px; }
  .src-val { font-size: 14px; }
}
.grid-label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dim); margin: 34px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.grid-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.grid-label:first-of-type { margin-top: 0; }
.count-chip { background: var(--brand-soft); color: var(--brand-ink); border-radius: 999px; padding: 1px 9px; font-size: 11px; }

/* ── Code panels ── */
.panel {
  background: var(--bg-code); border-radius: var(--radius-lg);
  border: 1px solid #1f2937; overflow: hidden;
  display: flex; flex-direction: column; min-height: 0;
}
.panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-dk);
  font-family: var(--mono); font-size: 12px; color: #9ca3af;
}
.panel-head .tl { width: 8px; height: 8px; border-radius: 50%; background: #374151; }
.panel-head .tl:nth-child(1) { background: #f87171; }
.panel-head .tl:nth-child(2) { background: #fbbf24; }
.panel-head .tl:nth-child(3) { background: #34d399; }
.panel-method {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: var(--brand); padding: 3px 7px; border-radius: 4px;
}
.panel-method-get { background: #10b981; }
.panel-method-post { background: #10b981; }
.panel-title { color: #e5e7eb; font-weight: 500; margin-left: 4px; }
.panel-body {
  padding: 16px; font-family: var(--mono); font-size: 12.3px; line-height: 1.75;
  color: #e5e7eb; flex: 1; overflow-x: auto;
}
.panel-body pre, pre { white-space: pre; font-family: inherit; }
.t-c  { color: #9ca3af; }
.t-k  { color: #7dd3fc; }
.t-s  { color: #6ee7b7; }
.t-n  { color: #93c5fd; }
.t-m  { color: #c4b5fd; }
.t-fn { color: #c4b5fd; }
.t-kw { color: #fca5a5; }
.req-line { color: #e5e7eb; }
.kw-input {
  font-family: var(--mono); font-size: 12.3px;
  background: rgba(29, 78, 216, .18); color: #93C5FD;
  border: 1px solid rgba(96, 165, 250, .4); border-radius: 4px;
  padding: 1px 8px; width: 9ch; outline: none;
}
.kw-input:focus { border-color: #93C5FD; }
.spark { display: block; margin-top: 12px; }
.spark polyline { fill: none; stroke: #34d399; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark .spark-fill { fill: url(#sparkgrad); stroke: none; opacity: .5; }
.spark .spark-dot { fill: #34d399; stroke: #111827; stroke-width: 1.5; }
.spark[hidden] { display: none; }
.trend-list { display: flex; flex-direction: column; gap: 7px; }
.trend-item { display: flex; align-items: center; gap: 10px; font-size: 12.3px; }
.trend-rank { color: #6b7280; width: 16px; text-align: right; }
.trend-name { color: #e5e7eb; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-delta { color: #34d399; font-size: 11px; }
.growth-row { display: flex; align-items: center; gap: 10px; margin: 7px 0; }
.growth-src { width: 74px; color: #9ca3af; }
.growth-bar { height: 7px; border-radius: 4px; background: linear-gradient(90deg, #059669, #34d399); }
.growth-val { color: #34d399; font-size: 11.5px; margin-left: auto; }
.panel-foot {
  padding: 10px 16px; border-top: 1px solid var(--border-dk);
  font-family: var(--mono); font-size: 10.5px; color: #6b7280;
  display: flex; justify-content: space-between; align-items: center;
}
.panel-foot .ok { color: #34d399; }

/* ── Hero runner: request left, response right ── */
.fc-window-spacer { flex: 1; min-width: 8px; }
.fc-window .runner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  background: #2a2a2a;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 900px) { .fc-window .runner { grid-template-columns: 1fr 1fr; } }
.runner {
  display: grid;
  margin-top: 2.25rem;
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 900px) { .runner { grid-template-columns: 1fr 1fr; } }
.runner-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
}
.runner-req { min-height: 280px; }
.runner-res {
  position: relative;
  min-height: 280px;
  background: #0a0a0a;
}
.runner-colhead {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 18px; min-height: 38px;
  font-family: Inter, sans-serif; font-size: 12px; font-weight: 650;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.58);
  background: #101010;
  border-bottom: 1px solid #2a2a2a;
}
.runner-colhead-meta {
  font-family: var(--mono); font-size: 11px; font-weight: 550;
  letter-spacing: 0; text-transform: none; color: #34d399;
}
.runner-colhead-meta[hidden] { display: none; }
.runner-idle {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  padding: 24px 18px;
}
.runner.has-run .runner-idle { display: none; }
.runner-ghost {
  margin: 0;
  font-family: var(--mono); font-size: 0.9375rem; line-height: 1.7;
  color: rgba(255,255,255,.22);
  user-select: none;
}
.runner-go {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 13px;
  appearance: none; border: 0; cursor: pointer;
  background: #fff; color: #0a0a0a;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: -.01em; border-radius: 6px;
  transition: background .12s ease;
}
.runner-go:hover { background: #e8e8e8; }
.runner-go:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.runner-go:disabled { opacity: .55; cursor: wait; }
.runner-idle .runner-go { height: 40px; padding: 0 18px; font-size: 14px; }
.runner-go--sm { height: 26px; padding: 0 10px; font-size: 12px; }
.runner.has-run .runner-result { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.runner-result.is-in { animation: runner-in .18s ease; }
@keyframes runner-in { from { opacity: 0; } to { opacity: 1; } }
.runner-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; min-height: 42px;
  background: #141414; border-bottom: 1px solid #2a2a2a;
  font-family: var(--mono); font-size: 12px; color: #9ca3af;
}
.runner-head .tl { width: 8px; height: 8px; border-radius: 50%; background: #374151; }
.runner-head .tl:nth-child(1) { background: #f87171; }
.runner-head .tl:nth-child(2) { background: #fbbf24; }
.runner-head .tl:nth-child(3) { background: #34d399; }
.runner-tabs { display: flex; gap: 2px; margin-left: auto; }
.runner-tab, .runner-copy {
  font-family: Inter, sans-serif; font-size: 12px; font-weight: 500;
  border: none; cursor: pointer; border-radius: 5px;
}
.runner-tab {
  background: none; color: rgba(255,255,255,.55);
  padding: 0.28rem 0.6rem;
}
.runner-tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.runner-tab.on { color: #fff; background: rgba(255,255,255,.1); }
.runner-copy {
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.14); padding: 0.22rem 0.55rem;
}
.runner-copy:hover, .runner-copy.copied { color: #34d399; border-color: rgba(52,211,153,.45); background: rgba(52,211,153,.1); }
.runner-status { font-family: var(--mono); font-size: 12px; color: #8b919a; }
.runner-res-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px 0;
  font-family: var(--mono); font-size: 12px; color: #8b919a;
}
.runner-res-head .ok { margin-left: auto; color: #34d399; }
.runner-body {
  padding: 0; flex: 1; min-height: 0;
  font-family: var(--mono); font-size: 0.9375rem; line-height: 1.7; color: #e5e7eb;
}
.runner-res .runner-body { padding: 14px 18px 18px; }
.runner-res .runner-body pre { white-space: pre; overflow-x: auto; font-size: inherit; }

/* ── Account-style code window (setup) ── */
.fc-window {
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: none;
}
.fc-window-bar, .fc-subbar {
  display: flex; align-items: center; gap: 8px;
  padding: 0.5rem 0.8rem; min-height: 48px;
  background: #121212; border-bottom: 1px solid #2a2a2a;
}
.fc-window-bar--mcp {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "title btns";
  align-items: center;
  column-gap: 0.55rem;
  border-top: 1px solid #2a2a2a;
}
.fc-window-bar--mcp .fc-subbar-title { grid-area: title; }
.fc-window-bar--mcp .fc-lang-tabs { grid-area: btns; }
.fc-subbar { justify-content: flex-start; gap: 0.7rem; }
.fc-subbar-title {
  font-family: Inter, sans-serif; font-size: 0.74rem; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.48);
  user-select: none;
}
.fc-lang-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.fc-lang-tab {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: none; border: none; border-radius: 6px;
  color: rgba(255,255,255,.58); cursor: pointer;
  font-family: Inter, sans-serif; font-size: 0.9rem; font-weight: 550;
  padding: 0.42rem 0.8rem; text-decoration: none;
}
.fc-lang-tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.fc-lang-tab.active { color: #fff; background: rgba(255,255,255,.1); }
.fc-lang-tab img, .fc-lang-tab svg { width: 16px; height: 16px; display: block; }
.fc-subbar .runner-go { margin-left: 2px; }
.fc-copy-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 32px; padding: 0;
  border: 1px solid rgba(255,255,255,.14); border-radius: 5px;
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.62); cursor: pointer;
}
.fc-copy-btn:hover, .fc-copy-btn.copied {
  color: #34d399; border-color: rgba(52,211,153,.45); background: rgba(52,211,153,.1);
}
.fc-copy-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.fc-copy-btn .fc-copy-icon--check { display: none; }
.fc-copy-btn.copied .fc-copy-icon--copy { display: none; }
.fc-copy-btn.copied .fc-copy-icon--check { display: block; }
.fc-window-body { background: #0d0d0d; }
.fc-client-panel {
  padding: 0.7rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 0.75rem; line-height: 1.55; color: rgba(255,255,255,.48);
}
.fc-client-steps { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.28rem; }
.fc-client-steps li::marker { color: rgba(255,255,255,.28); }
.fc-client-panel strong { font-weight: 500; color: rgba(255,255,255,.72); }
.fc-client-panel code {
  font-family: var(--mono); font-size: 0.7rem;
  background: rgba(255,255,255,.05); padding: 0.05rem 0.3rem; border-radius: 4px;
  color: rgba(255,255,255,.68);
}
.fc-manual { border-bottom: 1px solid rgba(255,255,255,.07); }
.fc-manual summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 0.72rem; color: rgba(255,255,255,.45);
  cursor: pointer; list-style: none; user-select: none;
}
.fc-manual summary::-webkit-details-marker { display: none; }
.fc-manual summary::before {
  content: ""; width: 0; height: 0;
  border-left: 4px solid currentColor;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  margin-right: 0.15rem; flex-shrink: 0;
}
.fc-manual[open] summary::before { transform: rotate(90deg); }
.fc-manual summary:hover { color: rgba(255,255,255,.75); }
.fc-manual summary span { flex: 1; }
.fc-manual-body { position: relative; }
.fc-manual-copy { position: absolute; top: 0.55rem; right: 0.6rem; z-index: 1; }
.fc-manual .fc-code { border-top: 1px solid rgba(255,255,255,.05); }
.fc-code {
  margin: 0; padding: 0.9rem 1rem;
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.9;
  color: #abb2bf; overflow-x: auto; white-space: pre;
  scrollbar-width: thin; scrollbar-color: transparent transparent;
}
#hero-runner .fc-code {
  padding: 1.1rem 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.fc-code:hover { scrollbar-color: rgba(255,255,255,.16) rgba(255,255,255,.04); }
.fc-code[hidden] { display: none; }
.fc-line { display: block; min-height: 1.9em; }
.fc-indent { padding-left: 4ch; }
.fc-indent2 { padding-left: 8ch; }
.fc-indent3 { padding-left: 12ch; }
.fc-indent4 { padding-left: 16ch; }
.fc-fields[hidden] { display: none; }
.fc-code .py-fn { color: #61afef; }
.fc-code .py-kw { color: #c678dd; }
.fc-code .py-var { color: #e06c75; }
.fc-code .py-mod { color: #e5c07b; }
.fc-code .py-eq { color: #abb2bf; }
.fc-code .py-str { color: #98c379; }
.fc-code .py-paren { color: rgba(255,255,255,.38); }
.fc-code .py-num { color: #d19a66; }
.fc-code .py-list { color: #98c379; }
.fc-code .json-key { color: #61afef; }
.fc-code select.fc-param,
.fc-code .fc-param-edit {
  appearance: none; -webkit-appearance: none;
  display: inline-block;
  background-color: rgba(96,165,250,.12);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(96,165,250,.4);
  border-radius: 4px;
  color: #93c5fd;
  font-family: var(--mono); font-size: inherit;
  width: auto; min-width: 0; max-width: max-content;
  padding: 0 1rem 0 0.3rem; margin: 0 0.05rem;
  line-height: 1.25; height: 1.45em; vertical-align: baseline;
  outline: none; cursor: pointer;
}
.fc-code select.fc-param {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 6 8 10 12 6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.25rem center; background-size: 10px 10px;
}
.fc-code .fc-param-edit { padding-right: 0.3rem; cursor: text; caret-color: #93c5fd; }
.fc-code select.fc-param:hover, .fc-code .fc-param-edit:hover {
  background-color: rgba(96,165,250,.18);
  box-shadow: inset 0 0 0 1px rgba(96,165,250,.6);
}
.fc-code select.fc-param:focus, .fc-code .fc-param-edit:focus {
  background-color: rgba(96,165,250,.22);
  box-shadow: inset 0 0 0 1px rgba(147,197,253,.85);
}
.fc-code select.fc-param option { background: #1a1a1a; color: #f0f0f0; }
@media (max-width: 600px) {
  .fc-code { font-size: 0.72rem; }
  #hero-runner .fc-code { font-size: 0.8125rem; }
  .fc-lang-tab { font-size: 0.8rem; padding: 0.36rem 0.6rem; }
  .runner-tabs { width: 100%; margin-left: 0; order: 8; }
}

/* ── Normalization ── */
.norm-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; }
.norm-stack { display: flex; flex-direction: column; gap: 9px; }
.norm-chip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 11px 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.norm-chip .n-src { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.norm-chip .n-src img { width: 15px; height: 15px; flex: none; }
.norm-chip .n-raw { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.norm-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--brand); }
.norm-arrow svg { width: 34px; height: 34px; }
.norm-arrow span { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.norm-out { background: var(--bg-code); border-radius: var(--radius-lg); padding: 26px; border: 1px solid #1f2937; }
.norm-out .score { font-size: 58px; font-weight: 700; color: #60A5FA; letter-spacing: -.03em; line-height: 1; font-family: var(--mono); }
.norm-out .score small { font-size: 20px; color: #6b7280; font-weight: 500; }
.norm-out .lbl { font-family: var(--mono); font-size: 11.5px; color: #9ca3af; margin-top: 8px; }
.scale-bar { height: 8px; border-radius: 99px; background: #1f2937; margin-top: 18px; position: relative; overflow: hidden; }
.scale-bar i { position: absolute; inset: 0; width: 74%; border-radius: 99px; background: var(--brand); }
.norm-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.norm-point h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.norm-point h3 svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.norm-point p { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) {
  .norm-flow { grid-template-columns: 1fr; }
  .norm-arrow { transform: rotate(90deg); }
  .norm-points { grid-template-columns: 1fr; }
}

/* ── Comparison table ── */
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.cmp th { font-size: 12px; font-weight: 600; color: var(--dim); }
.cmp th:last-child, .cmp td:last-child { color: var(--brand-ink); font-weight: 600; }
.cmp td:first-child { font-weight: 600; }
.cmp td:nth-child(2), .cmp td:nth-child(3) { color: var(--muted); font-weight: 400; }
.cmp-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff;
}
.cmp-wrap .cmp th:first-child, .cmp-wrap .cmp td:first-child { padding-left: 20px; }

/* ── Quickstart ── */
.qs {
  background: var(--bg-code); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #1f2937;
}
.qs-tabs { display: flex; border-bottom: 1px solid var(--border-dk); }
.qs-tab {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  padding: 12px 20px; color: #9ca3af; background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.qs-tab:hover { color: #e5e7eb; }
.qs-tab.on { color: #93C5FD; border-bottom-color: var(--brand); }
.qs-copy {
  margin-left: auto; align-self: center; margin-right: 10px;
  background: none; border: 1px solid #374151; color: #9ca3af;
  font-family: var(--mono); font-size: 11px; padding: 5px 11px; border-radius: 6px; cursor: pointer;
}
.qs-copy:hover { color: #e5e7eb; border-color: #4b5563; }
.qs-pane { display: none; padding: 20px 22px; font-family: var(--mono); font-size: 12.8px; line-height: 1.8; color: #e5e7eb; overflow-x: auto; }
.qs-pane.on { display: block; }
.qs-line[hidden] { display: none; }
.qs-param {
  appearance: none; -webkit-appearance: none;
  display: inline-block; font-family: inherit; font-size: inherit;
  background-color: rgba(96, 165, 250, .12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2393C5FD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='2 4 6 8 10 4'/></svg>");
  background-repeat: no-repeat; background-position: right .3rem center; background-size: 10px 10px;
  border: 1px dashed rgba(96, 165, 250, .45); border-radius: 4px;
  color: #93C5FD; padding: 0 1.1rem 0 .28rem; margin: 0 .06rem;
  line-height: 1.45; cursor: pointer; outline: none; width: auto;
}
.qs-param:hover, .qs-param:focus { background-color: rgba(96, 165, 250, .2); border-style: solid; }
.qs-param option { background: var(--bg-code); color: #e5e7eb; }
.qs-edit {
  display: inline-block; color: #93C5FD; caret-color: #93C5FD; cursor: text;
  background-color: rgba(96, 165, 250, .12);
  border: 1px dashed rgba(96, 165, 250, .45); border-radius: 4px;
  padding: 0 1.1rem 0 .28rem; margin: 0 .06rem; outline: none;
}
.qs-edit:focus { background-image: none; border-style: solid; }

/* ── Agents ── */
.agent-box { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .agent-box { grid-template-columns: 1.05fr .95fr; } }
.agent-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.agent-item { display: flex; gap: 13px; align-items: flex-start; }
.agent-item svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 2px; }
.agent-item b { display: block; font-size: 14.5px; font-weight: 600; }
.agent-item b code { font-family: var(--mono); font-size: .9em; }
.agent-item p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.prompt-card { background: var(--bg-code); border-radius: var(--radius-lg); border: 1px solid #1f2937; padding: 22px; }
.prompt-card .p-lbl { font-family: var(--mono); font-size: 11px; color: #6b7280; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.prompt-text { font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #e5e7eb; background: rgba(255,255,255,.03); border: 1px solid var(--border-dk); border-radius: var(--radius-lg); padding: 15px 17px; }
.prompt-text .hl { color: #93C5FD; }
.prompt-btns { display: flex; gap: 7px; margin-top: 15px; flex-wrap: wrap; }
.pbtn {
  font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 6px;
  cursor: pointer; text-decoration: none; border: 1px solid #374151;
  background: rgba(255,255,255,.05); color: #e5e7eb;
  display: inline-flex; align-items: center; gap: 6px;
}
.pbtn:hover { background: rgba(255,255,255,.1); }
.pbtn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.pbtn.primary:hover { background: var(--brand-hover); }
.pbtn-logo { width: 14px; height: 14px; flex: none; display: block; }

.page-pricing #pricing { padding-top: 0.25rem; }
.page-pricing #pricing .sec-head { margin-top: 0; margin-bottom: 0; }
.page-pricing #pricing .plans { margin-top: 28px; }
.page-pricing .getkey-end .hero-assurance {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center;
  margin: 0 0 22px; font-size: 13.5px; color: var(--muted);
}

/* ── Pricing (HyperUI highlighted card) ── */
.bill-toggle {
  display: inline-flex; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 4px; gap: 3px; margin-top: 22px;
}
.bill-toggle button {
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: none; border: none; padding: 7px 18px; border-radius: 999px; cursor: pointer;
}
.bill-toggle button.on { background: var(--text); color: #fff; }
.bill-toggle .save { color: var(--brand); font-size: 11.5px; margin-left: 5px; }
.bill-toggle button.on .save { color: #93C5FD; }
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; align-items: stretch; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  padding: 26px 24px; display: flex; flex-direction: column; position: relative;
  height: 100%;
}
.plan.feat {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  padding: 26px 24px;
  font-size: inherit;
  color: inherit;
}
.plan-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.plan-price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan-rows { list-style: none; margin: 18px 0 22px; flex: 1 1 auto; }
.plan-rows li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: 14px; color: var(--muted);
}
.plan-rows li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; flex-shrink: 0; }
.ent-bar {
  margin-top: 16px; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 15px 22px; font-size: 14.5px; color: var(--muted);
}
.ent-bar a { color: var(--brand); font-weight: 600; text-decoration: none; }
.ent-bar a:hover { text-decoration: underline; }
.plans-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--dim); line-height: 1.7; }
.plans-note b { color: var(--muted); font-weight: 600; }
.plans-note code {
  font-family: var(--mono); font-size: .88em; background: #fff;
  border: 1px solid var(--border); padding: 1px 7px; border-radius: 4px;
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq { border-bottom: 1px solid var(--border); }
.faq:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 4px; font-size: 15.5px; font-weight: 600; color: var(--text);
}
.faq-q svg { width: 16px; height: 16px; color: var(--dim); flex: none; transition: transform .2s; }
.faq.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 4px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 640px; }
.faq-a code {
  font-family: var(--mono); font-size: .87em; background: var(--bg-soft);
  border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px;
}

/* ── Key form + dialog ── */
.keyform { display: flex; gap: 10px; max-width: 460px; margin: 0; }
.keyform input {
  flex: 1; min-width: 0; font-size: 15px; color: var(--text);
  border: 1px solid #d1d5db; border-radius: var(--radius); padding: 12px 16px; outline: none;
  background: #fff; min-height: 48px;
}
.keyform input::placeholder { color: var(--dim); }
.keyform input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, .18); }
.keyform .btn { min-height: 48px; flex-shrink: 0; }
.keyform-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.keyform-msg.ok { color: var(--brand-ink); font-weight: 500; }
.keyform-msg.err { color: #dc2626; }
.keyform-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.keyform-done .keyform-msg { margin-top: 0; min-height: 0; font-size: 15px; }
.keyform-sub { color: var(--muted); font-size: 13.5px; max-width: 400px; margin: 0; line-height: 1.5; }

.tapi-vc { margin-top: 6px; max-width: 460px; }
.tapi-vc h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.tapi-vc-msg { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 16px; }
.tapi-vc-msg strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.tapi-vc-form { display: flex; flex-direction: column; gap: 10px; }
.tapi-vc-input {
  width: 100%; font-family: var(--mono); font-size: 22px; font-weight: 600;
  letter-spacing: .45em; text-align: center; padding: 12px 14px 12px 22px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft);
  color: var(--text); outline: none;
}
.tapi-vc-input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(29,78,216,.18); }
.tapi-vc-links { margin: 14px 0 0; font-size: 13px; color: var(--dim); }
.tapi-vc-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: inherit; font-weight: 600; color: var(--brand-ink);
}
.tapi-vc-link:hover { text-decoration: underline; }
.tapi-vc-link:disabled { opacity: .5; cursor: default; text-decoration: none; }
.tapi-vc-sep { margin: 0 6px; opacity: .5; }
.tapi-vc-hint { margin: 10px 0 0; font-size: 12.5px; color: var(--dim); }

.key-dialog {
  border: none; border-radius: 12px; padding: 0; max-width: 420px; width: calc(100% - 32px);
  margin: auto; max-height: calc(100% - 32px);
}
.key-dialog::backdrop { background: rgba(17, 24, 39, .5); }
.key-dialog-in { padding: 28px 28px 24px; }
.key-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.key-dialog-head h2 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; font-weight: 700; margin: 0; }
.key-dialog-close {
  border: none; background: var(--bg-muted); color: var(--muted); width: 36px; height: 36px;
  border-radius: var(--radius); cursor: pointer; font-size: 20px; line-height: 1; flex: none;
}
.key-dialog-close:hover { color: var(--text); }
.key-dialog-sub { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }
.key-dialog .keyform { margin: 0; max-width: none; flex-direction: column; }
.key-dialog .keyform .btn { width: 100%; }
.key-dialog .hero-assurance { justify-content: flex-start; }
.key-dialog .keyform-done { margin: 0; align-items: stretch; }
.key-dialog .keyform-done .btn { width: 100%; text-align: center; }
.key-dialog .tapi-vc { max-width: none; }
.getkey-end .tapi-vc { margin-left: auto; margin-right: auto; }

.getkey-end {
  text-align: center; padding: 4.5rem 0; scroll-margin-top: 72px;
  background: var(--bg-soft); border-top: 1px solid var(--border);
}
.getkey-end .getkey-inner { max-width: 480px; margin: 0 auto; }
.getkey-end h2 { margin-bottom: 10px; }
.getkey-end .getkey-sub { color: var(--muted); font-size: 15.5px; margin: 0 auto 22px; max-width: 400px; }
.getkey-end .keyform { max-width: none; }
.getkey-end .keyform-msg, .getkey-end .hero-assurance, .getkey-end .keyform-done { justify-content: center; align-items: center; }
.getkey-signin { margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.getkey-signin a { color: var(--muted); font-weight: 500; text-decoration: none; }
.getkey-signin a:hover { color: var(--text); }

/* ── Footer (HyperUI large) ── */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 4rem 0 2.5rem; }
.foot-top { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .foot-top { grid-template-columns: 1.2fr 2fr; align-items: start; }
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-brand .brand-name { font-size: 1.2rem; }
.foot-tag { color: var(--dim); font-size: 14px; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-col p { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 1rem; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: var(--text); }
.foot-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--dim); font-size: 13px;
}
.foot-base a { color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--text); }

/* ── Inner pages ── */
.crumbs { padding: 18px 0 0; font-size: 13px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { margin: 0 8px; }
.page-head { padding: 3rem 0 2.5rem; }
.page-head .tag { color: var(--muted); font-size: 17px; max-width: 680px; line-height: 1.7; }
.page-head .data-date { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 16px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; text-decoration: none; background: #fff; transition: border-color .15s;
}
.card:hover { border-color: var(--brand); }
.card .c-kick { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--dim); margin-bottom: 8px; }
.card b { display: block; font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card .c-go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand); }

.cta-band {
  background: var(--bg-code); border-radius: 1rem; padding: 3rem 2rem;
  text-align: center; color: #fff; margin: 2.5rem 0 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #9ca3af; max-width: 520px; margin: 0 auto 1.5rem; }

.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-card {
  display: block; text-decoration: none; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 26px;
}
.post-card:hover { border-color: #d1d5db; }
.post-cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-ink); margin-bottom: 8px;
}
.post-title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.post-tag { color: var(--muted); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-date { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 10px; }
.empty { padding: 60px 0; text-align: center; color: var(--dim); }

.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.article h1.p-title { margin-bottom: 14px; }
.p-tag { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 34px; }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.back { display: inline-block; margin-top: 44px; font-size: 14px; color: var(--brand); text-decoration: none; }
.back:hover { text-decoration: underline; }

.article .article-body { border-top: 1px solid var(--border); padding-top: 34px; }
.article-body h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 40px 0 14px; line-height: 1.3; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; }
.article-body p { color: #374151; font-size: 15.5px; line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { color: #374151; font-size: 15.5px; line-height: 1.75; margin-bottom: 6px; }
.article-body a { color: var(--brand-hover); text-decoration: none; border-bottom: 1px solid #BFDBFE; }
.article-body a:hover { border-color: var(--brand-hover); }
.article-body blockquote { border-left: 3px solid var(--brand); padding: 4px 0 4px 18px; margin: 24px 0; }
.article-body blockquote p { color: var(--muted); font-style: italic; margin-bottom: 0; }
.article-body code {
  font-family: var(--mono); font-size: 13px; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px;
}
.article-body pre {
  background: var(--bg-code); border: 1px solid #1f2937; border-radius: var(--radius-lg);
  padding: 18px 20px; margin: 22px 0; overflow-x: auto;
}
.article-body pre code,
.article-body pre code.hljs {
  display: block; font-family: var(--mono); font-size: 13px; line-height: 1.7;
  color: #e5e7eb; background: transparent; border: none; padding: 0;
  overflow-x: auto; white-space: pre;
}
.article-body pre a { color: inherit; border-bottom: none; }
.article-body pre .hljs-comment,
.article-body pre .hljs-quote { color: #6b7280; font-style: italic; }
.article-body pre .hljs-keyword,
.article-body pre .hljs-selector-tag,
.article-body pre .hljs-built_in { color: #c4b5fd; }
.article-body pre .hljs-string,
.article-body pre .hljs-attr,
.article-body pre .hljs-template-tag { color: #6ee7b7; }
.article-body pre .hljs-number,
.article-body pre .hljs-literal { color: #fcd34d; }
.article-body pre .hljs-title,
.article-body pre .hljs-title.function_,
.article-body pre .hljs-section { color: #93c5fd; }
.article-body pre .hljs-params,
.article-body pre .hljs-variable,
.article-body pre .hljs-template-variable { color: #e5e7eb; }
.article-body pre .hljs-type,
.article-body pre .hljs-class .hljs-title { color: #7dd3fc; }
.article-body pre .hljs-meta,
.article-body pre .hljs-meta .hljs-keyword { color: #9ca3af; }
.article-body pre .hljs-punctuation,
.article-body pre .hljs-operator { color: #9ca3af; }
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.article-body th, .article-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-body th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.article-body img { max-width: 100%; border-radius: var(--radius-lg); }

.prose-wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 0; }
.feat-grid > .feat { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; background: #fff; font-size: 15px; color: var(--muted); }
.prose p { color: var(--muted); max-width: 760px; margin-bottom: 16px; font-size: 16.5px; }
.prose b, .prose strong { color: var(--text); }
.prose code {
  font-family: var(--mono); font-size: .88em; background: var(--bg-soft);
  border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px;
}
.uc-grid, .rel-grid, .modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
.uc, .rel, .mode {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: #fff; text-decoration: none;
}
.rel:hover { border-color: var(--brand); }
.uc b, .rel b { display: block; font-size: 15px; margin-bottom: 6px; }
.uc p, .rel span, .mode p { font-size: 14px; color: var(--muted); }
.mode .m-name { font-family: var(--mono); font-size: 13.5px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.faq-block details { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 10px; background: #fff; }
.faq-block summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; font-size: 20px; color: var(--dim); font-weight: 400; flex-shrink: 0; }
.faq-block details[open] summary::after { content: "\2212"; }
.faq-block details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; max-width: 68ch; }

/* ── 404 ── */
.err-page { min-height: 60vh; display: grid; place-items: center; padding: 4rem 16px; text-align: center; }
.err-page p.kicker { display: block; margin-bottom: 8px; }
.err-page h1 { margin-bottom: 12px; }
.err-page .lede { margin: 0 auto 24px; }

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) {
  section { padding: 3.25rem 0; }
  .hero { padding: 2.5rem 0 2rem; }
  .keyform { flex-direction: column; }
}

/* ── Docs ── */
.docs-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 16px 4rem;
  align-items: start;
}
@media (min-width: 640px) { .docs-layout { padding: 0 24px 5rem; } }
@media (min-width: 1024px) {
  .docs-layout { grid-template-columns: 188px 1fr; gap: 0 3rem; padding: 0 32px 5rem; }
}
.docs-sidebar {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .docs-sidebar {
    position: sticky;
    top: 5rem;
    height: calc(100vh - 5.5rem);
    overflow-y: auto;
    padding: 2.25rem 1.25rem 3rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--border);
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
  }
}
.docs-sidebar-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.docs-nav { display: flex; flex-direction: column; gap: 1px; }
.docs-nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.35;
}
.docs-nav-link:hover { color: var(--text); background: var(--bg-soft); }
.docs-nav-link.is-active { color: var(--brand-ink); background: var(--brand-soft); }
.docs-nav-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 2px 0 6px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
.docs-nav-divider {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 14px 8px 4px;
  margin: 0;
}
.docs-main { min-width: 0; padding: 1.75rem 0 0; }
@media (min-width: 1024px) { .docs-main { padding: 2.25rem 0 0; } }

.docs-sec { padding: 2rem 0; border-bottom: 1px solid var(--border); scroll-margin-top: 6rem; }
.docs-sec:last-of-type { border-bottom: 0; }
.docs-sec h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.docs-sec > p, .docs-lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 40rem;
  margin-bottom: 1.1rem;
}
.docs-sec code, .docs-lead code, .docs-note code, .docs-callout code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}
.docs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-ink);
  margin-bottom: 12px;
}
.docs-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.docs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.1rem 0 0; }
.docs-subhead {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 1.4rem 0 .55rem;
}

.docs-route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.docs-method {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 5px;
  padding: 3px 8px;
}
.docs-url {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 8px;
}
.docs-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--brand-soft);
  border: 1px solid #bfdbfe;
  color: var(--brand-ink);
  border-radius: 6px;
  padding: 4px 9px;
  margin-bottom: 10px;
}
.docs-mode span { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.docs-ep-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.docs-ep-sub { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 42rem; margin: 0 0 1rem; }

.docs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  margin: .4rem 0 1rem;
}
.docs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs-table th, .docs-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--bg-soft);
}
.docs-table td { color: var(--muted); }
.docs-table code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
  white-space: nowrap;
}
.docs-type { font-family: var(--mono); font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.docs-req {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #047857;
}
.docs-opt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
}
.docs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; }
.docs-chips code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 5px;
  color: var(--text);
}
.docs-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.docs-status--4xx { background: #fffbeb; color: #b45309; }
.docs-status--5xx { background: #fef2f2; color: #b91c1c; }
.docs-callout {
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.docs-callout--warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.docs-callout--info { background: #eff6ff; border: 1px solid #bfdbfe; color: var(--brand-ink); }
.docs-note { font-size: 13.5px; color: var(--dim); line-height: 1.6; margin: .35rem 0 0; }
.docs-link { color: var(--brand-hover); text-decoration: none; border-bottom: 1px solid #bfdbfe; }
.docs-link:hover { border-color: var(--brand-hover); }

.docs-code {
  background: var(--bg-code);
  border: 1px solid #1f2937;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: .75rem 0 0;
}
.docs-code-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-dk);
  background: #0b1220;
  flex-wrap: wrap;
}
.docs-tab {
  background: none;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
}
.docs-tab:hover { color: #e5e7eb; background: rgba(255,255,255,.06); }
.docs-tab.is-active { color: #fff; background: rgba(255,255,255,.1); }
.docs-code-label {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #6b7280;
  padding: 4px 8px;
  letter-spacing: .04em;
}
.docs-pane { display: none; position: relative; }
.docs-pane.is-active { display: block; }
.docs-pane pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #374151 transparent;
}
.docs-pane code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #e5e7eb;
  background: none;
  border: 0;
  padding: 0;
  white-space: pre;
}
.docs-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid #374151;
  border-radius: 5px;
  padding: 3px 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: #9ca3af;
  cursor: pointer;
}
.docs-copy:hover { color: #fff; border-color: #4b5563; }
.docs-copy.copied { color: #6ee7b7; border-color: #064e3b; }
.t-key { color: #9ca3af; }
.t-str { color: #6ee7b7; }
.t-num { color: #fcd34d; }
.t-kw { color: #c4b5fd; }
.t-cmt { color: #6b7280; font-style: italic; }

.docs-mcp-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 1rem; }
.docs-mcp-item { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.docs-mcp-item b { color: var(--text); font-weight: 600; }
.docs-mcp-item svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.docs-cta { margin-top: 2rem; }

@media (max-width: 680px) {
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .docs-nav-group { flex-direction: row; flex-wrap: wrap; border-left: 0; padding-left: 0; }
  .docs-nav-divider { width: 100%; padding-top: 10px; }
  .docs-nav-link { font-size: 13px; }
}
