  :root {
    --bg: #FAF7F2;
    --surface: #FFFFFF;
    --surface-soft: #F5F1EB;
    --fg: #1C1917;
    --muted: #57534E;
    --border: #E7E5E0;
    --accent: #059669;
    --accent-soft: #ECFDF5;
    --accent-line: rgba(5, 150, 105, 0.22);
    --danger: #B91C1C;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 14px rgba(28, 25, 23, 0.06);
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(5,150,105,0.35); text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 500; }
  a:hover { text-decoration-color: var(--accent); }

  code, pre { font-family: var(--font-mono); }
  :not(pre) > code {
    font-size: 0.88em;
    padding: 1.5px 5px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 500;
  }
  pre {
    background: #1C1917;
    color: #F5F1EB;
    padding: 14px 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 14px 0;
    max-width: 100%;
    min-width: 0;
  }
  pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; }

  /* ===== Syntax highlighting tokens ===== */
  .t-c  { color: #8C857C; font-style: italic; }   /* comments */
  .t-s  { color: #E0B266; }                        /* strings */
  .t-k  { color: #6EE7B7; }                        /* keywords */
  .t-n  { color: #C4B5FD; }                        /* numbers */
  .t-fn { color: #93C5FD; }                        /* function names at call sites */
  .t-p  { color: #A8A29E; }                        /* property keys */

  /* ===== Top bar (Mintlify-style) ===== */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .topbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 15px;
    color: var(--fg);
    text-decoration: none;
    letter-spacing: -0.2px;
    flex-shrink: 0;
  }
  .brand-mark {
    width: 26px; height: 26px;
    border-radius: 7px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    font-family: var(--font-serif);
  }

  .topbar-tabs {
    display: flex;
    gap: 4px;
    margin-left: 18px;
  }
  .topbar-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1;
    white-space: nowrap;
  }
  .topbar-tab:hover { color: var(--fg); background: var(--surface-soft); }
  .topbar-tab.active {
    background: var(--surface);
    color: var(--fg);
    font-weight: 650;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
  }
  .topbar-tab .soon {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1px 4px;
  }

  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .topbar-search,
  .topbar-ask {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
  }
  .topbar-search { min-width: 200px; }
  .topbar-search:hover,
  .topbar-ask:hover { border-color: var(--accent-line); background: var(--surface-soft); }
  .topbar-search svg,
  .topbar-ask svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
  .topbar-search .placeholder-text { flex: 1; text-align: left; }
  .kbd {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
    line-height: 1.3;
  }

  .topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--fg);
    color: var(--bg);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    border: 1px solid var(--fg);
  }
  .topbar-cta:hover { background: #2d2823; color: var(--bg); text-decoration: none; }
  .topbar-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    border-radius: 999px;
  }
  .topbar-theme:hover { background: var(--surface-soft); color: var(--fg); }
  .topbar-theme svg { width: 17px; height: 17px; }

  /* Old topnav kept for any fallback links */
  .topnav { display: none; }

  @media (max-width: 1100px) {
    .topbar-search { min-width: 0; }
    .topbar-search .placeholder-text { display: none; }
    .topbar-search .kbd, .topbar-ask .kbd { display: none; }
    .topbar-ask span:not(.kbd) { display: none; }
  }
  @media (max-width: 880px) {
    .topbar-tabs { display: none; }
    .topbar-link { display: none; }
  }

  /* ===== Layout ===== */
  .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr) 200px;
    gap: 40px;
    align-items: start;
  }
  @media (max-width: 1100px) {
    .container { grid-template-columns: 232px minmax(0, 1fr); }
    .toc { display: none; }
  }
  @media (max-width: 760px) {
    .container { grid-template-columns: minmax(0, 1fr); }
    .sidenav { display: none; }
    .sidenav.open { display: block; position: fixed; inset: 56px 0 0; background: var(--bg); z-index: 60; padding: 24px; overflow-y: auto; }
  }
  main { padding: 36px 0 96px; min-width: 0; }
  main section, main > div { min-width: 0; }

  /* ===== Left sidebar nav ===== */
  .sidenav {
    position: sticky;
    top: 64px;
    padding: 28px 0 48px;
    font-size: 14px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .sidenav-group { margin-bottom: 26px; }
  .sidenav-group:last-child { margin-bottom: 0; }
  .sidenav-group-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--fg);
    margin: 0 0 6px;
    padding: 0 10px;
    letter-spacing: -0.1px;
  }
  .sidenav-icon {
    width: 15px;
    height: 15px;
    color: var(--muted);
    flex-shrink: 0;
  }
  .sidenav ul { list-style: none; padding: 0; margin: 0; }
  .sidenav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 10px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    line-height: 1.4;
  }
  .sidenav li a:hover { color: var(--fg); background: var(--surface-soft); }
  .sidenav li a.active { color: var(--accent); font-weight: 650; background: transparent; }
  .sidenav li a .badge {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 4px;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    color: #92400E;
  }

  /* mobile menu toggle */
  .menu-toggle { display: none; }
  @media (max-width: 760px) {
    .menu-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px; height: 34px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 7px;
      color: var(--fg);
      cursor: pointer;
      margin-left: auto;
    }
    .topnav { display: none; }
  }

  /* ===== Anchor TOC ===== */
  .toc {
    position: sticky;
    top: 64px;
    padding: 36px 0 0;
    font-size: 13px;
  }
  .toc-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 10px;
  }
  .toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--border); }
  .toc li a {
    display: block;
    padding: 4px 12px;
    margin-left: -1px;
    border-left: 1px solid transparent;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.4;
  }
  .toc li a:hover { color: var(--fg); }
  .toc li a.active {
    color: var(--accent);
    font-weight: 600;
    border-left-color: var(--accent);
  }

  /* ===== Hero ===== */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.18);
  }
  h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -1px;
    margin: 18px 0 14px;
    color: var(--fg);
  }
  h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
  }
  .lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 660px;
    margin: 0 0 24px;
  }

  /* ===== Sections ===== */
  section { padding-top: 56px; scroll-margin-top: 80px; }
  section + section { border-top: 1px solid var(--border); margin-top: 56px; }
  section h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 6px;
  }
  section .section-sub {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 28px;
    max-width: 640px;
  }
  h3 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 650;
    margin: 32px 0 10px;
    letter-spacing: -0.2px;
  }

  /* ===== Copy-prompt card ===== */
  .prompt-card {
    background: linear-gradient(180deg, rgba(5,150,105,0.08) 0%, rgba(5,150,105,0.02) 100%);
    border: 1px solid var(--accent-line);
    border-radius: 12px;
    padding: 18px 20px 16px;
    margin: 20px 0 32px;
    box-shadow: var(--shadow-md);
  }
  .prompt-card .pc-head {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
  }
  .prompt-card .pc-mark {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(5,150,105,0.25);
  }
  .prompt-card .pc-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--fg);
    line-height: 1.3;
    letter-spacing: -0.1px;
  }
  .prompt-card .pc-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 3px;
  }
  .prompt-card .pc-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
  }
  .prompt-card pre {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--fg);
    font-size: 12.5px;
    line-height: 1.6;
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
  }
  .copy-btn {
    flex-shrink: 0;
    padding: 7px 12px;
    background: var(--fg);
    color: white;
    border: 0;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 120ms ease;
  }
  .copy-btn:hover { background: #2d2823; }
  .copy-btn.copied { background: var(--accent); }

  /* ===== Checklist ===== */
  .checklist {
    margin: 24px 0;
    position: relative;
  }
  .checklist-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
  }
  .checklist-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15.5px;
    top: 36px;
    bottom: -24px;
    width: 1px;
    background: var(--border);
  }
  .checklist-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  .checklist-body { padding-top: 4px; min-width: 0; }
  .checklist-body h4 {
    font-size: 16px;
    font-weight: 650;
    margin: 0 0 6px;
    letter-spacing: -0.15px;
  }
  .checklist-body p { margin: 0 0 8px; color: var(--fg); font-size: 14.5px; }
  .checklist-body pre { margin: 8px 0 0; }

  /* ===== Spec fields ===== */
  .spec-grid { margin: 24px 0; display: grid; gap: 12px; }
  .spec-field {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
  }
  .spec-field-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
  }
  .spec-field-name {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 650;
    color: var(--fg);
  }
  .spec-field-type {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 4px;
    padding: 1px 6px;
  }
  .spec-field-req {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--danger);
    background: rgba(185, 28, 28, 0.06);
    border: 1px solid rgba(185, 28, 28, 0.18);
    border-radius: 4px;
    padding: 1px 6px;
  }
  .spec-field-opt {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .spec-field-default {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
  }
  .spec-field-default b { color: var(--fg); font-weight: 500; }
  .spec-field-body { font-size: 14px; line-height: 1.6; min-width: 0; }
  .spec-field-body p:first-child { margin-top: 0; }
  .spec-field-body p:last-child { margin-bottom: 0; }
  .spec-field-body table { font-size: 13px; }

  /* ===== Connections grid ===== */
  .conn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 24px 0;
  }
  .conn-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .conn-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  .conn-mark {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .conn-meta { min-width: 0; flex: 1; }
  .conn-title-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .conn-name { font-size: 15px; font-weight: 650; letter-spacing: -0.15px; }
  .conn-auth {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1px 5px;
  }
  .conn-tagline { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
  .conn-snippet {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--fg);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 6px 8px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .conn-tools-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .conn-tools { display: flex; flex-wrap: wrap; gap: 4px; }
  .conn-tools code {
    font-size: 11px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--fg);
    border-radius: 3px;
    padding: 1px 6px;
  }

  /* ===== Tabs (BYOK) ===== */
  .tabs {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }
  .tab-btn {
    flex: 1 1 auto;
    padding: 7px 12px;
    background: transparent;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 7px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 100ms ease;
    white-space: nowrap;
  }
  .tab-btn[aria-selected="true"] {
    background: var(--bg);
    color: var(--fg);
    font-weight: 650;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
  }
  .tab-panel { display: none; padding-top: 18px; }
  .tab-panel[data-active="true"] { display: block; }
  .tab-hint { font-style: italic; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }

  /* ===== Footer ===== */
  footer {
    border-top: 1px solid var(--border);
    margin-top: 64px;
    padding: 24px 0 8px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  footer a { color: var(--muted); }

  /* ===== Small helpers ===== */
  .row { display: flex; gap: 10px; flex-wrap: wrap; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: var(--fg);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
  }
  .btn:hover { background: #2d2823; color: white; text-decoration: none; }
  .btn.secondary {
    background: var(--surface);
    color: var(--fg);
    border: 1px solid var(--border);
  }
  .btn.secondary:hover { background: var(--surface-soft); color: var(--fg); }

  ul.tight, ol.tight { padding-left: 22px; margin: 14px 0; }
  ul.tight li, ol.tight li { margin: 4px 0; }
  table { border-collapse: collapse; width: 100%; font-size: 13.5px; margin: 14px 0; }
  th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); }
  th { font-weight: 650; color: var(--fg); }

  /* ===== Multi-page nav state ===== */
  .topnav a.active { color: var(--fg); font-weight: 650; }
  .topnav a.active::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--accent);
    margin-top: 4px;
    border-radius: 1px;
  }

  /* ===== Flow diagram (vertical stack of labeled cards) ===== */
  .flow {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .flow-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
  }
  .flow-step .who {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .flow-step .what { font-weight: 650; font-size: 14.5px; letter-spacing: -0.1px; }
  .flow-step .detail { color: var(--muted); font-size: 13px; margin-top: 2px; line-height: 1.5; }
  .flow-step code {
    background: rgba(0, 0, 0, 0.045);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 12px;
    padding: 1.5px 6px;
    border-radius: 4px;
  }
  .flow-step-sdk { background: var(--accent-soft); border-color: var(--accent-line); }
  .flow-step-sdk .who { color: var(--accent); }
  .flow-step-user {
    background: #FFFBEB;
    border-color: #FDE68A;
  }
  .flow-step-user .who { color: #92400E; }
  .flow-arrow {
    text-align: center;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1;
    padding: 6px 0;
    user-select: none;
  }
  .flow-arrow span { font-size: 11.5px; color: var(--muted); margin-left: 6px; }

  /* ===== Info callout (accent-tinted, not a placeholder) ===== */
  .callout {
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-left-width: 4px;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.62;
  }
  .callout-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
  }
  .callout h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-family: var(--font-sans);
    font-weight: 650;
    letter-spacing: -0.15px;
  }
  .callout p { margin: 6px 0; }
  .callout p:last-child { margin-bottom: 0; }
  .callout code { background: rgba(5, 150, 105, 0.07); border-color: rgba(5, 150, 105, 0.2); }

  /* ===== Placeholder banner ===== */
  .placeholder {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-left-width: 4px;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 20px 0;
    color: #78350F;
    font-size: 14px;
    line-height: 1.55;
  }
  .placeholder .placeholder-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #92400E;
    margin-bottom: 6px;
  }
  .placeholder .placeholder-label::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #F59E0B;
  }
  .placeholder b, .placeholder strong { color: #451A03; font-weight: 650; }
  .placeholder a { color: #92400E; }
  .placeholder p { margin: 6px 0 0; }
  .placeholder p:first-of-type { margin-top: 0; }

  .placeholder-large {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 12px;
    padding: 28px 32px;
    margin: 32px 0;
    color: #78350F;
  }
  .placeholder-large h3 {
    margin: 6px 0 10px;
    color: #451A03;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.3px;
  }
  .placeholder-large p { font-size: 14.5px; line-height: 1.6; }
  .placeholder-large code { background: rgba(120, 53, 15, 0.08); border-color: rgba(120, 53, 15, 0.18); color: #78350F; }
  .placeholder-large pre {
    background: #1C1917;
    color: #F5F1EB;
    margin-top: 14px;
  }
  .placeholder-faded { opacity: 0.42; filter: saturate(0.55); pointer-events: none; }

  /* ===== Page header (slim, for sub-pages) ===== */
  .page-header { padding-top: 8px; padding-bottom: 12px; }
  .page-header h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.6px;
    margin: 12px 0 10px;
  }
  .page-header .lede { font-size: 16px; color: var(--muted); max-width: 660px; margin: 0; }

  /* ===== Page pagination ===== */
  .page-pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }
  .page-pagination a {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--fg);
    box-shadow: var(--shadow-sm);
    min-width: 0;
  }
  .page-pagination a:hover { border-color: var(--accent-line); background: var(--surface-soft); }
  .page-pagination .pp-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .page-pagination .pp-title {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.15px;
  }
  .page-pagination .pp-next { text-align: right; }
  @media (max-width: 600px) { .page-pagination .pp-next { text-align: left; } }
