/* ─────────────────────────────────────────────────────────────────────────────
   55 Hundred — Design System
   Single source of truth for all tokens, layout, and shared components.
   Import this in every page: <link rel="stylesheet" href="/ds.css">
───────────────────────────────────────────────────────────────────────────── */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  /* Green palette */
  --bc-green:        #103220;
  --bc-green-2:      #244431;
  --bc-green-3:      #395643;
  --bc-green-mid:    #4d6854;
  --bc-green-light:  #cfd9ca;
  --bc-green-pale:   #ebefe8;
  --bc-green-deep:   #0c2619;

  /* Ink / neutral ramp */
  --bc-ink:          #26231e;
  --bc-ink-2:        #4e4b44;
  --bc-ink-mid:      #8a867e;
  --bc-ink-muted:    #c3bfb8;
  --bc-stone:        #e3e2de;
  --bc-white:        #fafafa;
  --bc-off-white:    #f4f5f2;

  /* Aliases */
  --bc-cream:        #ebefe8;
  --bc-cream-dim:    #cfd9ca;
  --bc-border:       #dde2d9;
  --bc-border-light: #edf0eb;

  /* Semantic */
  --bc-error:        #c04040;
  --bc-error-bg:     rgba(192,64,64,.07);
  --bc-error-border: rgba(192,64,64,.2);
  --bc-success:      #2d7a2d;
  --bc-success-bg:   #e8f4e8;
  --bc-warn:         #a06020;
  --bc-warn-bg:      #fff8f0;

  /* Sidebar */
  --sidebar-width: 220px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bc-off-white);
  color: var(--bc-ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }

/* ── App shell ───────────────────────────────────────────────────────────── */
#app {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
#sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--bc-green);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 20px 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.sidebar-logo-mark { display: flex; align-items: center; }
.sidebar-logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--bc-cream);
  letter-spacing: -.2px;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 12px;
  gap: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bc-cream-dim);
  text-decoration: none;
  border-radius: 8px;
  opacity: .65;
  transition: background .1s, opacity .1s, color .1s;
  white-space: nowrap;
}
.sidebar-link:hover  { background: rgba(255,255,255,.07); opacity: 1; }
.sidebar-link.active { background: rgba(255,255,255,.12); color: var(--bc-cream); opacity: 1; }

.sidebar-link svg { flex-shrink: 0; opacity: .8; }
.sidebar-link.active svg { opacity: 1; }

.sidebar-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 8px 0;
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}

/* Mobile sidebar toggle */
#sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 100;
  background: var(--bc-green);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bc-cream);
}

#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 49;
}

/* ── Content area ────────────────────────────────────────────────────────── */
#content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── Auth Gate ───────────────────────────────────────────────────────────── */
#gate {
  position: fixed;
  inset: 0;
  background: var(--bc-green);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gate.hidden { display: none; }

.gcard {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  width: 360px;
  box-shadow: 0 8px 40px rgba(16,50,32,.25);
}
.gcard .gtitle { font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.2px; color: var(--bc-ink); }
.gcard .gsub   { font-size: 13px; color: var(--bc-ink-mid); margin-bottom: 24px; line-height: 1.5; }
.gcard label   { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--bc-ink-muted); margin-bottom: 5px; }
.gcard input   { width: 100%; height: 42px; padding: 0 14px; font-size: 14px; border: 1.5px solid var(--bc-border); border-radius: 10px; outline: none; margin-bottom: 14px; font-family: inherit; color: var(--bc-ink); transition: border-color .15s, box-shadow .15s; }
.gcard input:focus { border-color: var(--bc-green); box-shadow: 0 0 0 3px rgba(16,50,32,.1); }

.gerr {
  font-size: 12px;
  color: var(--bc-error);
  margin-bottom: 12px;
  display: none;
  background: var(--bc-error-bg);
  border: 1px solid var(--bc-error-border);
  border-radius: 7px;
  padding: 8px 12px;
}

.gbtn {
  width: 100%;
  height: 42px;
  background: var(--bc-green);
  color: var(--bc-cream);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .1s;
}
.gbtn:hover    { background: var(--bc-green-mid); }
.gbtn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Page header (inside content area) ──────────────────────────────────── */
.page-header {
  background: var(--bc-green);
  padding: 40px 48px 48px;
}
.page-header h1 { font-size: 26px; font-weight: 700; color: var(--bc-cream); letter-spacing: -.5px; margin-bottom: 6px; }
.page-header p  { font-size: 14px; color: var(--bc-cream-dim); opacity: .75; max-width: 520px; line-height: 1.6; }

/* ── Hero (full-width inside content) ───────────────────────────────────── */
.hero {
  background: var(--bc-green);
  padding: 60px 48px 68px;
}
.hero-sm { padding: 40px 48px 48px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--bc-cream-dim);
  background: rgba(255,255,255,.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--bc-cream);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-sm h1 { font-size: 28px; letter-spacing: -.6px; margin-bottom: 10px; }
.hero h1 span { color: var(--bc-green-light); }

.hero p {
  font-size: 15px;
  color: var(--bc-cream-dim);
  opacity: .75;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-sm p { font-size: 14px; max-width: 460px; margin-bottom: 24px; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Stats band ──────────────────────────────────────────────────────────── */
.stats-band {
  background: var(--bc-green-2);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 48px;
  display: flex;
}
.sband-item {
  text-align: center;
  padding: 0 36px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.sband-item:first-child { padding-left: 0; }
.sband-item:last-child  { border-right: none; }
.sband-year  { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--bc-green-light); opacity: .7; margin-bottom: 10px; }
.sband-val   { font-size: 26px; font-weight: 700; color: var(--bc-cream); letter-spacing: -1px; line-height: 1; }
.sband-label { font-size: 11px; color: var(--bc-cream-dim); opacity: .6; margin-top: 5px; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
.sband-group { display: flex; flex-direction: column; }
.sband-group-items { display: flex; }
.sband-group-divider { width: 1px; background: rgba(255,255,255,.12); margin: 0 40px; align-self: stretch; }

/* ── Body wrapper ────────────────────────────────────────────────────────── */
.body      { padding: 48px; max-width: 960px; }
.body-wide { padding: 48px; max-width: 1100px; }

/* ── Section label ───────────────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--bc-ink-muted);
  margin-bottom: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background .1s, transform .1s, border-color .1s;
  white-space: nowrap;
}
.btn-sm { height: 32px; padding: 0 14px; font-size: 12px; border-radius: 7px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; border-radius: 11px; }

.btn-primary      { background: var(--bc-cream); color: var(--bc-green); }
.btn-primary:hover { background: #fff; }

.btn-primary-dark      { background: var(--bc-green); color: var(--bc-cream); }
.btn-primary-dark:hover { background: var(--bc-green-mid); }

.btn-outline {
  background: transparent;
  color: var(--bc-cream-dim);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-outline:hover { border-color: rgba(255,255,255,.5); color: var(--bc-cream); }

.btn-ghost {
  background: transparent;
  color: var(--bc-ink-mid);
  border: 1.5px solid var(--bc-border);
}
.btn-ghost:hover { border-color: var(--bc-green); color: var(--bc-ink); }

.btn-danger { background: #fde8e8; color: var(--bc-error); border: 1.5px solid #f5c0c0; }
.btn-danger:hover { background: #fbd5d5; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  padding: 24px;
}
.card-hover {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card-hover:hover {
  border-color: var(--bc-green);
  box-shadow: 0 4px 16px rgba(16,50,32,.08);
  transform: translateY(-1px);
}
.card-icon {
  width: 40px;
  height: 40px;
  background: var(--bc-green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

/* ── Steps list ──────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--bc-border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bc-green-pale);
  color: var(--bc-green);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-body  { flex: 1; }
.step-title { font-size: 14px; font-weight: 600; color: var(--bc-ink); margin-bottom: 4px; }
.step-desc  { font-size: 13px; color: var(--bc-ink-mid); line-height: 1.55; }

/* ── Callout ─────────────────────────────────────────────────────────────── */
.callout {
  background: var(--bc-green-pale);
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--bc-ink-mid);
  line-height: 1.6;
}
.callout-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.callout strong { color: var(--bc-ink); }
.callout-tip  { background: #f0faf0; border-color: #b8d8b8; }
.callout-warn { background: var(--bc-warn-bg); border-color: #e8c898; color: #6b4010; }
.callout-info { background: #eef4ff; border-color: #c0d0f0; color: #2d4d9a; }

/* ── Code blocks ─────────────────────────────────────────────────────────── */
.cb-wrap  { position: relative; margin: 14px 0; }
.cb-label { font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #888; margin-bottom: 6px; }
pre.cb {
  background: #1c1c1c;
  color: #d4d4d4;
  border-radius: 10px;
  padding: 18px 20px;
  font-family: "SF Mono", "Fira Code", "Fira Mono", monospace;
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
  margin: 0;
  white-space: pre;
}
pre.cb .k { color: #569cd6; }  /* keyword */
pre.cb .s { color: #ce9178; }  /* string */
pre.cb .n { color: #9cdcfe; }  /* number / name */
pre.cb .c { color: #6a9955; }  /* comment */
pre.cb .p { color: #888; }     /* punctuation */

.cb-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2e2e2e;
  border: none;
  color: #999;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  transition: color .1s, background .1s;
}
.cb-copy:hover { color: #fff; background: #3e3e3e; }
.cb-copy.ok    { color: #6dbf6d; }

/* Inline code */
code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  background: var(--bc-border-light);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--bc-ink);
}
pre code { background: none; padding: 0; font-size: inherit; color: inherit; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.badge-green  { background: var(--bc-green-pale); color: var(--bc-green); }
.badge-latest { background: var(--bc-green); color: var(--bc-cream); }
.badge-blue   { background: #e8eef8; color: #2d4d9a; }
.badge-amber  { background: #fef4e6; color: #a06020; }
.badge-red    { background: #fde8e8; color: var(--bc-error); }
.badge-gray   { background: var(--bc-stone); color: var(--bc-ink-mid); }

/* HTTP method badges */
.method {
  display: inline-block;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
.method-get  { background: #e8f4e8; color: #2d7a2d; }
.method-post { background: #e8eef8; color: #2d4d9a; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.ptable { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0 20px; }
.ptable th { text-align: left; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #aaa; padding: 0 12px 8px 0; border-bottom: 1px solid #f0f0ec; }
.ptable td { padding: 9px 12px 9px 0; border-bottom: 1px solid #f8f8f6; vertical-align: top; color: #444; font-size: 13px; line-height: 1.5; }
.ptable tr:last-child td { border-bottom: none; }
.ptable td:first-child { font-family: "SF Mono","Fira Code",monospace; font-size: 12px; color: #1a1a1a; white-space: nowrap; padding-right: 16px; }
.ptable td:nth-child(2) { color: #888; font-size: 12px; white-space: nowrap; padding-right: 16px; }
.tag-opt { font-size: 10px; color: #aaa; background: #f5f5f2; padding: 1px 5px; border-radius: 3px; margin-left: 4px; }
.tag-req { font-size: 10px; color: #a06020; background: #fef4e6; padding: 1px 5px; border-radius: 3px; margin-left: 4px; }

/* ── Form fields ─────────────────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--bc-ink-muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  border: 1.5px solid var(--bc-border);
  border-radius: 9px;
  outline: none;
  font-family: inherit;
  color: var(--bc-ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  border-color: var(--bc-green);
  box-shadow: 0 0 0 3px rgba(16,50,32,.08);
}

/* Key display field */
.key-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--bc-border);
  border-radius: 10px;
  padding: 0 14px;
  height: 46px;
}
.key-field input {
  flex: 1;
  border: none;
  outline: none;
  font-family: "SF Mono","Fira Code",monospace;
  font-size: 13px;
  color: var(--bc-ink);
  background: transparent;
  height: 100%;
  padding: 0;
  min-width: 0;
}
.key-field .copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bc-ink-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 5px;
  transition: color .1s, background .1s;
  flex-shrink: 0;
}
.key-field .copy-btn:hover { color: var(--bc-green); background: var(--bc-green-pale); }
.key-field .copy-btn.ok    { color: var(--bc-success); }

/* ── Changelog / Version log ─────────────────────────────────────────────── */
.changelog { display: flex; flex-direction: column; }
.cl-entry { display: flex; gap: 28px; padding-bottom: 36px; }
.cl-entry:last-child { padding-bottom: 0; }
.cl-spine { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 80px; }
.cl-version-tag {
  font-size: 12px; font-weight: 700; color: var(--bc-green);
  background: var(--bc-green-pale); border: 1px solid var(--bc-cream-dim);
  padding: 4px 10px; border-radius: 6px;
  font-family: "SF Mono","Fira Code",monospace; white-space: nowrap;
}
.cl-line { width: 1px; background: var(--bc-border); flex: 1; margin-top: 8px; min-height: 20px; }
.cl-entry:last-child .cl-line { display: none; }
.cl-content { flex: 1; padding-top: 2px; }
.cl-header  { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cl-date    { font-size: 12px; color: var(--bc-ink-muted); }
.cl-card    { background: #fff; border: 1px solid var(--bc-border); border-radius: 12px; padding: 16px 20px; }
.cl-notes   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cl-notes li { font-size: 13px; color: var(--bc-ink-mid); line-height: 1.55; display: flex; gap: 10px; align-items: flex-start; }
.cl-notes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bc-green-mid); flex-shrink: 0; margin-top: 5px; }

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.spin {
  width: 18px; height: 18px;
  border: 2px solid var(--bc-border);
  border-top-color: var(--bc-green);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
.spin-sm    { width: 14px; height: 14px; }
.spin-light { border-color: rgba(255,255,255,.2); border-top-color: var(--bc-cream); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Docs inner layout (within content area) ─────────────────────────────── */
.docs-layout {
  display: flex;
  flex: 1;
}
.docs-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--bc-border-light);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.docs-sidebar-group { margin-bottom: 4px; }
.docs-sidebar-label { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #bbb; padding: 16px 20px 6px; display: block; }
.docs-sidebar-link {
  display: block; font-size: 13px; color: var(--bc-ink-mid);
  padding: 7px 20px; text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .1s, background .1s, border-color .1s;
}
.docs-sidebar-link:hover { color: var(--bc-ink); background: #f4f7f4; }
.docs-sidebar-link.active { color: var(--bc-green); font-weight: 500; border-left-color: var(--bc-green); background: #eef4ef; }

.docs-content { flex: 1; padding: 44px 56px; max-width: 860px; min-width: 0; }
.docs-content section { margin-bottom: 60px; scroll-margin-top: 24px; }
.docs-content h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.4px; color: var(--bc-ink); }
.docs-content h2 { font-size: 18px; font-weight: 600; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--bc-border-light); letter-spacing: -.2px; color: var(--bc-ink); }
.docs-content h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--bc-ink-muted); margin: 24px 0 10px; }
.docs-content p  { font-size: 14px; line-height: 1.7; color: var(--bc-ink-mid); margin-bottom: 14px; }
.docs-content ul { padding-left: 20px; margin-bottom: 14px; }
.docs-content li { font-size: 14px; line-height: 1.8; color: var(--bc-ink-mid); }
.docs-content strong { color: var(--bc-ink); font-weight: 600; }
.endpoint { font-family: "SF Mono","Fira Code",monospace; font-size: 14px; font-weight: 600; color: var(--bc-ink); }

/* ── Tool grid ───────────────────────────────────────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tool-card:hover {
  border-color: var(--bc-green);
  box-shadow: 0 4px 16px rgba(16,50,32,.08);
  transform: translateY(-1px);
}
.tool-card-title { font-size: 14px; font-weight: 600; color: var(--bc-ink); margin-bottom: 4px; }
.tool-card-desc  { font-size: 12px; color: var(--bc-ink-mid); line-height: 1.5; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .docs-sidebar { display: none; }
  .docs-content { padding: 32px 24px; }
}

@media (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
  }
  #sidebar.open { transform: translateX(0); }
  #sidebar-toggle { display: flex; }
  #sidebar-overlay.open { display: block; }
  #content { margin-left: 0; }

  .hero, .hero-sm { padding: 40px 24px 48px; }
  .hero h1 { font-size: 26px; }
  .hero-sm h1 { font-size: 22px; }
  .page-header { padding: 28px 24px 36px; }
  .stats-band { flex-wrap: wrap; gap: 16px; padding: 20px 24px; }
  .sband-item { border-right: none; padding: 0 20px; }
  .body, .body-wide { padding: 32px 24px; }
}
