/* =========================================================
   reaper.css — Reaper / Team 4588G theme: purple · cream
   Dark by default, with a cream light mode (toggle in nav).
   ========================================================= */
:root {
  --bg: #0f0a18;
  --bg-2: #140e20;
  --surface: #1a1229;
  --surface-2: #221836;
  --line: rgba(244, 236, 221, 0.09);
  --line-strong: rgba(244, 236, 221, 0.18);
  --text: #f4ecdd;          /* cream */
  --muted: #b8acc9;
  --accent: #b39ae6;        /* light Gambit purple (readable on dark) */
  --accent-strong: #7a4fb5;
  --accent-deep: #4f2d70;   /* official Gambit purple */
  --accent-soft: rgba(122, 79, 181, 0.16);
  --code-bg: #0b0713;
  --tok-kw: #c4b5fd; --tok-fn: #f4ecdd; --tok-str: #f5d0a9; --tok-num: #f0abfc; --tok-com: #7c6f93;

  --radius: 14px;
  --font-display: 'AZN Unified', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fdfbd4;            /* cream */
  --bg-2: #f5f2c4;
  --surface: #fffeec;
  --surface-2: #efebbd;
  --line: rgba(30, 21, 48, 0.10);
  --line-strong: rgba(30, 21, 48, 0.20);
  --text: #2a1840;
  --muted: #5d5170;
  --accent: #4f2d70;
  --accent-strong: #5e3787;
  --accent-deep: #4f2d70;
  --accent-soft: rgba(79, 45, 112, 0.10);
  --code-bg: #1a1229;
  color-scheme: light;
}

/* ---------- Header ---------- */
.r-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.r-nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.r-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.r-brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.r-brand small { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--accent); padding: 2px 7px; border: 1px solid var(--accent-soft); background: var(--accent-soft); border-radius: 6px; letter-spacing: 0; }
.r-links { display: flex; align-items: center; gap: 24px; font-size: 15px; color: var(--muted); }
.r-links a:hover, .r-links a.is-active { color: var(--text); }
.r-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.r-menu-btn { display: none; }

@media (max-width: 760px) {
  .r-menu-btn { display: grid; }
  .r-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none;
  }
  .r-links.is-open { display: flex; }
  .r-links a { padding: 10px 0; width: 100%; }
}

/* ---------- Buttons ---------- */
.r-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.r-btn:hover { transform: translateY(-2px); }
.r-btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 10px 30px -10px var(--accent-strong); }
.r-btn-primary:hover { background: var(--accent-deep); }
.r-btn-ghost { border-color: var(--line-strong); color: var(--text); }
.r-btn-ghost:hover { border-color: var(--accent); }

/* ---------- Code blocks ---------- */
pre {
  position: relative; margin: 0; padding: 18px 20px; overflow-x: auto;
  background: var(--code-bg); color: #e9e1f5; border: 1px solid var(--line);
  border-radius: 12px; font-size: 13.5px; line-height: 1.65;
}
:root[data-theme="light"] pre { border-color: transparent; }
code { font-size: .92em; }
:not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.tok-kw { color: var(--tok-kw); } .tok-fn { color: var(--tok-fn); font-weight: 500; }
.tok-str { color: var(--tok-str); } .tok-num { color: var(--tok-num); } .tok-com { color: var(--tok-com); font-style: italic; }
.copy-btn {
  position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 6px; font-size: 12px;
  font-family: var(--font-mono); background: rgba(244,236,221,.08); color: #e9e1f5; border: 1px solid rgba(244,236,221,.15);
  opacity: 0; transition: opacity .2s;
}
pre:hover .copy-btn, .copy-btn:focus-visible { opacity: 1; }
@media (hover: none) { .copy-btn { opacity: 1; } }

/* ---------- Landing: hero ---------- */
.r-hero { position: relative; padding: 96px 0 80px; text-align: center; overflow: hidden; }
.r-hero::before {
  content: ''; position: absolute; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(ellipse 50% 45% at 50% 30%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.r-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 35%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 35%, #000, transparent 75%);
}
:root:not([data-theme="light"]) .r-hero::after { display: none; }
.r-hero .container { position: relative; z-index: 1; }
.r-pill {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); margin-bottom: 26px; background: var(--surface);
}
.r-pill b { color: var(--accent); font-weight: 600; }
.r-hero h1 {
  font-size: clamp(3.4rem, 12vw, 8rem); font-weight: 700; letter-spacing: -0.05em; line-height: .95;
  background: linear-gradient(180deg, var(--text) 30%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.r-hero .tagline { margin: 22px auto 0; max-width: 58ch; font-size: 1.15rem; color: var(--muted); }
.r-hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.install { margin: 40px auto 0; max-width: 520px; text-align: left; }
.install pre::before { content: '$ '; color: var(--accent); }

.hero-crest {
  width: min(300px, 62vw); margin: 0 auto 18px;
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 70%);
  mask-image: radial-gradient(circle, #000 52%, transparent 70%);
  filter: drop-shadow(0 0 50px rgba(122, 79, 181, .4));
  animation: crest-in 1.2s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes crest-in { from { opacity: 0; transform: scale(.92); } }
.hero-scythe {
  position: absolute; z-index: 0; left: 50%; top: 4%; width: min(1300px, 140%); transform: translateX(-50%);
  pointer-events: none; opacity: .22; filter: invert(1) sepia(.4) hue-rotate(215deg) saturate(2.5); mix-blend-mode: screen;
}
:root[data-theme="light"] .hero-scythe { filter: sepia(.5) hue-rotate(220deg) saturate(2); mix-blend-mode: multiply; opacity: .18; }

.team-logo { width: min(320px, 70%); margin: 0 auto 36px; border-radius: 20px; }
:root:not([data-theme="light"]) .team-logo { box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }
:root[data-theme="light"] .team-logo { filter: url(#gambit-ink); }
:root[data-theme="light"] .team-logo-link:hover { box-shadow: none; }

/* ---------- Landing: sections ---------- */
.r-section { padding: 88px 0; }
.r-section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.r-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.r-head .kicker { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }
.r-head h2 { margin-top: 10px; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.03em; }
.r-head p { margin-top: 12px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.showcase h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -0.03em; }
.showcase p { margin-top: 14px; color: var(--muted); }
.check-list { margin-top: 22px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.code-window { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.code-window-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--surface-2); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.code-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.code-window-bar span { margin-left: 8px; }
.code-window pre { border: 0; border-radius: 0; }
@media (max-width: 880px) { .showcase { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.avatar {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep)); color: #f4ecdd;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.member h3 { font-size: 1.05rem; }
.member p { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); } }

.cta-band {
  text-align: center; padding: 56px 24px; border-radius: 22px;
  background: linear-gradient(135deg, #5e3787, #2c1842); color: #fdfbd4;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; }
.cta-band p { margin-top: 10px; opacity: .8; }
.cta-band .r-hero-cta { margin-top: 26px; }
.cta-band .r-btn-primary { background: #fdfbd4; color: #4f2d70; box-shadow: none; }
.cta-band .r-btn-ghost { border-color: rgba(244,236,221,.35); color: #f4ecdd; }

.r-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.r-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.r-footer nav { display: flex; gap: 18px; }
.r-footer a:hover { color: var(--accent); }

/* =========================================================
   DOCS LAYOUT
   ========================================================= */
.docs { display: grid; grid-template-columns: 260px minmax(0, 1fr) 200px; gap: 40px; width: min(1360px, 100% - 32px); margin-inline: auto; }
.docs-sidebar {
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
  padding: 24px 8px 40px 0; border-right: 1px solid var(--line);
}
.docs-search { position: relative; margin: 0 12px 18px 0; }
.docs-search input {
  width: 100%; padding: 9px 12px 9px 34px; border-radius: 10px; font: inherit; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
}
.docs-search input:focus { outline: none; border-color: var(--accent); }
.docs-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.docs-search kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-size: 11px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-strong); color: var(--muted); }
.nav-group + .nav-group { margin-top: 22px; }
.nav-group h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 8px 10px; }
.nav-group a {
  display: block; padding: 6px 10px; margin-right: 12px; border-radius: 8px; font-size: 14.5px; color: var(--muted);
  border-left: 2px solid transparent;
}
.nav-group a:hover { color: var(--text); background: var(--accent-soft); }
.nav-group a.is-active { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); font-weight: 500; }
.nav-group a.is-filtered, .nav-group.is-empty { display: none; }
.docs-empty { display: none; padding: 0 10px; font-size: 14px; color: var(--muted); }
.docs-sidebar.no-results .docs-empty { display: block; }

.docs-main { padding: 40px 0 120px; min-width: 0; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); }
.breadcrumbs a:hover { color: var(--accent); }
.doc-section { scroll-margin-top: 84px; }
.doc-section + .doc-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.docs-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; }
.docs-main h2 { font-size: 1.7rem; letter-spacing: -0.02em; }
.docs-main h3 { font-size: 1.2rem; margin: 30px 0 10px; scroll-margin-top: 84px; }
.docs-main p { margin-top: 14px; color: var(--muted); max-width: 72ch; }
.docs-main p strong { color: var(--text); }
.docs-main pre { margin-top: 16px; }
.docs-main ul.bullets { list-style: disc; padding-left: 22px; margin-top: 12px; color: var(--muted); }
.docs-main ul.bullets li + li { margin-top: 6px; }
.lead { font-size: 1.12rem; }

.callout { margin-top: 20px; padding: 14px 16px 14px 18px; border-radius: 10px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--accent-soft); }
.callout p { margin: 0; color: var(--text); font-size: 15px; }
.callout b { display: block; font-size: 12px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.callout.warn { border-left-color: #f5a97f; background: rgba(245,169,127,.10); }
.callout.warn b { color: #f5a97f; }

.steps { counter-reset: step; margin-top: 18px; display: grid; gap: 18px; }
.steps > li { position: relative; padding-left: 44px; }
.steps > li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  border: 1px solid var(--accent);
}
.steps > li > strong { display: block; color: var(--text); }
.steps > li p { margin-top: 4px; }

.api-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.api-table th, .api-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.api-table th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
.api-table td { color: var(--muted); }
.api-table td:first-child { white-space: nowrap; }

.pager { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager a { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-strong); transition: border-color .2s; }
.pager a:hover { border-color: var(--accent); }
.pager span { display: block; font-size: 12px; color: var(--muted); }
.pager b { color: var(--accent); font-weight: 600; }
.pager .next { text-align: right; grid-column: 2; }

.docs-toc { position: sticky; top: 64px; height: calc(100vh - 64px); padding: 40px 0; font-size: 13.5px; }
.docs-toc h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.docs-toc a { display: block; padding: 4px 0 4px 12px; color: var(--muted); border-left: 1px solid var(--line-strong); }
.docs-toc a:hover { color: var(--text); }
.docs-toc a.is-active { color: var(--accent); border-left-color: var(--accent); }

.docs-menu-btn, .docs-scrim { display: none; }

@media (max-width: 1180px) {
  .docs { grid-template-columns: 240px minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; gap: 0; }
  .docs-menu-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px;
    border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px;
  }
  .docs-sidebar {
    position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; height: auto; width: min(300px, 85vw);
    background: var(--bg); padding: 24px 8px 40px 16px; transform: translateX(-100%); transition: transform .25s ease;
    box-shadow: 20px 0 60px rgba(0,0,0,.4);
  }
  .docs-sidebar.is-open { transform: none; }
  .docs-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.5); display: none; }
  .docs-scrim.is-open { display: block; }
  .docs-main { padding-top: 16px; }
}

/* ---------- Hero link + solo "built by" card ---------- */
.ez-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.ez-link:hover { color: var(--text); }
.team-solo { grid-template-columns: minmax(0, 260px); justify-content: center; }
a.member { display: block; transition: border-color .25s, transform .25s; }
a.member:hover { border-color: var(--accent); transform: translateY(-3px); }
.cta-band .r-hero-cta { margin-top: 28px; }

/* =========================================================
   FIRST-VISIT INTRO (built by intro.js)
   ========================================================= */
html.r-intro-pending body { overflow: hidden; }
html.r-intro-pending::after { content: ''; position: fixed; inset: 0; z-index: 9998; background: #0b0713; }

.r-intro { position: fixed; inset: 0; z-index: 9999; overflow: hidden; cursor: pointer; }
.ri-half {
  position: absolute; inset: 0; will-change: transform;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(91, 52, 150, .35), transparent 70%),
    #0b0713;
}
.ri-half::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(244,236,221,.12) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ri-top    { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); }
.ri-bottom { clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); }

.ri-stage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, 82vw); text-align: center; opacity: 0; }
.ri-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; color: #b8acc9; margin-bottom: 14px; }
.ri-label span { color: #b39ae6; }
/* like the V5 brain's IMU calibration screen: white border, bar fills across */
.ri-frame { position: relative; aspect-ratio: 2 / 1; border: 2px solid #f4ecdd; padding: 6px; box-shadow: 0 0 40px rgba(122,79,181,.25), inset 0 0 0 1px rgba(244,236,221,.25); }
.ri-bar { width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #4f2d70, #7a4fb5 70%, #b39ae6); box-shadow: 0 0 24px rgba(179,154,230,.4); }
.ri-pct { margin-top: 12px; font-family: var(--font-mono); font-size: 13px; color: #f4ecdd; }

.ri-scythe {
  position: absolute; left: 50%; top: 50%; height: min(95vh, 130vw); width: auto; max-width: none;
  transform-origin: 54% 96%; opacity: 0; pointer-events: none;
  filter: url(#ri-ink) drop-shadow(0 0 10px rgba(179,154,230,.8)) drop-shadow(0 0 30px rgba(122,79,181,.6));
}
.ri-slash {
  position: absolute; left: 50%; top: 50%; width: 160vmax; height: 3px; opacity: 0;
  transform-origin: right center; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #b39ae6 15%, #fff 50%, #b39ae6 85%, transparent);
  box-shadow: 0 0 12px #fff, 0 0 30px #b39ae6, 0 0 60px #7a4fb5;
}
.ri-flash { position: absolute; inset: 0; background: #e9ddff; opacity: 0; pointer-events: none; }
.ri-skip {
  position: absolute; right: 18px; bottom: 18px; padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: #b8acc9; border: 1px solid rgba(244,236,221,.2);
}
.ri-skip:hover { color: #f4ecdd; border-color: #b39ae6; }

.team-logo-link { display: block; width: min(320px, 70%); margin: 0 auto 36px; border-radius: 20px; transition: transform .25s, box-shadow .25s; }
.team-logo-link .team-logo { width: 100%; margin: 0; }
.team-logo-link:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 24px 60px -24px rgba(122,79,181,.7); }
.avatar-img { object-fit: cover; padding: 0; background: #e3cd5e; border: 2px solid var(--accent); }


/* =========================================================
   AZN Unified on every title, nav item, button and label
   (body copy stays Inter; code stays monospace)
   ========================================================= */
h1, h2, h3, h4,
.r-brand, .r-links a, .r-btn, .kicker, .r-head .kicker, .check-list li,
.nav-group h4, .nav-group a, .docs-toc h4, .breadcrumbs, .callout b, .api-table th,
.pager span, .pager b, .docs-menu-btn, .member h3, .member p, .r-footer p, .r-footer a,
.ri-skip, .steps > li > strong, .copy-btn {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.r-hero h1 { letter-spacing: 0.01em; font-weight: 400; }
.r-brand small { font-family: var(--font-display); letter-spacing: .04em; }
.nav-group a { font-size: 14px; }
