/* Poncell. One stylesheet, dark only. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212;
}

:root {
  color-scheme: dark;
  --bg: #090d0c;
  --bg-2: #0f1513;
  --bg-3: #151d1a;
  --ink: #e8eee9;
  --ink-2: #a7b3ad;
  --ink-3: #6c7973;
  --line: rgba(232, 238, 233, 0.09);
  --line-2: rgba(232, 238, 233, 0.16);
  --repeat: #f2b23a; /* the repeat, and the one action colour */
  --repeat-ink: #1a1203;
  --repeat-soft: rgba(242, 178, 58, 0.14);
  --rt: #ec6a55; /* reverse transcriptase genes */
  --rt-soft: rgba(236, 106, 85, 0.14);
  --gene: #34423d;
  --ok: #7fd4a8;
  --warn: #ec6a55;
  --font-text: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 12px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--repeat); }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--repeat); color: var(--repeat-ink); }
:focus-visible { outline: 2px solid var(--repeat); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: 0; }
.dim { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* nav ------------------------------------------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 20; background: linear-gradient(var(--bg) 55%, rgba(9, 13, 12, 0)); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 640; letter-spacing: -0.01em; font-size: 17px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font-size: 14.5px; font-weight: 520; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { border-color: var(--ink-3); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--repeat); border-color: var(--repeat); color: var(--repeat-ink); font-weight: 600; }
.btn-primary:hover { background: #f7c35e; border-color: #f7c35e; color: var(--repeat-ink); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 32px; padding: 0 13px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; cursor: default; pointer-events: none; }
.pill-soon { color: var(--ink-3); border-style: dashed; }

@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links a { padding: 12px 0; font-size: 16px; }
  .nav.open .nav-links { display: flex; }
  .menu-btn { display: block; }
  .nav-end .btn-token { display: none; }
}

/* footer --------------------------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); margin-top: 96px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-top: 22px; padding-bottom: 26px; font-size: 13.5px; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .spacer { flex: 1; }

/* landing -------------------------------------------------------------------------------------------- */
.hero { position: relative; min-height: calc(100svh - 64px); display: grid; align-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.hero-copy { max-width: 560px; pointer-events: auto; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 640; margin: 0 0 22px; }
.hero p.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin: 0 0 32px; max-width: 470px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 44px; font-size: 14px; color: var(--ink-3); }
.hero-stats b { color: var(--ink); font-weight: 560; font-variant-numeric: tabular-nums; margin-right: 6px; }
.hero-note { position: absolute; z-index: 1; right: var(--gutter); bottom: 22px; font-size: 12.5px; color: var(--ink-3); text-align: right; max-width: 340px; }
.hero-note a { color: var(--ink-2); }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; padding-bottom: 12px; }
  .hero-canvas { position: relative; display: block; height: min(86vw, 400px); }
  .hero-copy { max-width: none; }
  .hero-note { position: static; text-align: left; margin-top: 28px; padding: 0 var(--gutter); max-width: none; }
}

.find { padding: 120px 0 0; }
.find h2, .section h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.028em; line-height: 1.1; font-weight: 620; margin: 0 0 16px; }
.find p.lede, .section p.lede { color: var(--ink-2); max-width: 620px; margin: 0 0 40px; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 64px; }
.steps h3 { font-size: 16px; font-weight: 600; margin: 12px 0 6px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps .k { font-family: var(--font-mono); font-size: 12px; color: var(--repeat); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* the array strip: repeats as diamonds, spacers as bars, one colour per spacer ----------------------- */
.strip { width: 100%; overflow: hidden; }
.strip svg { width: 100%; height: auto; }
.strip-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.strip-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px; }
.strip-legend .lg-r { background: var(--repeat); transform: rotate(45deg) scale(0.85); }
.strip-legend .lg-s { background: linear-gradient(90deg, #6fc7b7, #8aa6e8, #c79be0); border-radius: 2px; }
.strip-legend .lg-rt { background: var(--rt); border-radius: 2px; }

/* pages ---------------------------------------------------------------------------------------------- */
.page-head { padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.032em; line-height: 1.05; font-weight: 640; margin: 0 0 14px; }
.page-head p { color: var(--ink-2); max-width: 640px; margin: 0; font-size: 17px; }
.section { padding: 56px 0 0; }
.prose { max-width: 700px; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 56px; }
.prose h3 { font-size: 17px; margin: 32px 0 8px; }
.prose strong { color: var(--ink); font-weight: 580; }
.prose code, code { font-family: var(--font-mono); font-size: 0.86em; background: var(--bg-3); padding: 1px 6px; border-radius: 5px; color: var(--ink); }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12.5px; letter-spacing: 0.02em; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.row-link { cursor: pointer; transition: background 0.2s var(--ease); }
.table tr.row-link:hover td { background: rgba(232, 238, 233, 0.025); }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table .seq { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { .table .hide-sm { display: none; } }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 520; white-space: nowrap; background: var(--bg-3); color: var(--ink-2); }
.tag-rt { background: var(--rt-soft); color: var(--rt); }
.tag-ok { background: rgba(127, 212, 168, 0.12); color: var(--ok); }
.tag-warn { background: var(--rt-soft); color: var(--warn); }
.tag-amber { background: var(--repeat-soft); color: var(--repeat); }
.tag-ctl { background: rgba(138, 166, 232, 0.13); color: #9fb6ec; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip { height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: none; color: var(--ink-2); font-size: 13.5px; cursor: pointer; }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px 32px; margin: 8px 0 0; }
.kv div { min-width: 0; }
.kv dt { font-size: 12.5px; color: var(--ink-3); margin: 0 0 4px; }
.kv dd { margin: 0; font-size: 20px; font-weight: 560; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.kv dd small { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }

.seqblock { font-family: var(--font-mono); font-size: 13px; line-height: 1.9; word-break: break-all; color: var(--ink-2); background: var(--bg-2); border-radius: var(--r); padding: 16px 18px; margin: 0; }
.seqblock .rp { color: var(--repeat); }
.seqblock .mm { color: var(--bg); background: var(--repeat); border-radius: 2px; }

.boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity 0.5s var(--ease), visibility 0.5s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot-inner { display: grid; justify-items: center; gap: 18px; }
.boot svg { width: 40px; height: 40px; }
.boot-bar { width: 120px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 40%; background: var(--repeat); animation: boot 1.1s var(--ease) infinite; }
@keyframes boot { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* scanner ------------------------------------------------------------------------------------------- */
.scan { padding-top: 12px; }
.scan-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; min-height: calc(100svh - 110px); }
.scan-stage { position: relative; aspect-ratio: 1; width: 100%; max-height: 78svh; margin: 0 auto; }
.scan-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; pointer-events: none; padding: 0 24%; }
.sc-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--repeat); }
.sc-name { font-size: clamp(18px, 2.2vw, 26px); font-weight: 620; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.sc-meta { font-size: 12px; color: var(--ink-3); }
.scan-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 640; margin: 0 0 12px; }
.scan-title .mono { font-size: 0.8em; color: var(--repeat); }
.scan-sub { margin: 0 0 26px; max-width: 460px; }
.scan-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.btn[aria-pressed='true'] { border-color: var(--repeat); color: var(--repeat); }
.acc-form { display: flex; gap: 8px; max-width: 460px; }
.input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font-size: 14px; outline: none; transition: border-color 0.2s var(--ease); }
.input:focus { border-color: var(--ink-3); }
.input::placeholder { color: var(--ink-3); }
.now { margin-top: 26px; max-width: 460px; }
.now-line { font-size: 14px; min-height: 22px; }
.bar { height: 2px; background: var(--line); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--repeat); transform-origin: left; transform: scaleX(0); transition: transform 0.4s var(--ease); }
.found { margin-top: 22px; max-width: 460px; }
.found-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.found-head .mono { font-size: 12px; }
.found-sum { margin: 12px 0 8px; color: var(--ink-2); font-size: 14.5px; }
.found-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.found-row:hover { color: var(--ink); }
.found-row:hover .mono { color: var(--repeat); }
.found-more { display: inline-block; margin-top: 10px; font-size: 14px; }
.log-wrap { margin-top: 36px; }
.log-empty { margin-top: 18px; }
@media (max-width: 900px) {
  .scan-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .scan-stage { max-width: min(78vw, 360px); }
}
@media (max-width: 760px) { .found-row .hide-sm { display: none; } }

/* detail pages -------------------------------------------------------------------------------------- */
h2.h-sm, .section h2.h-sm { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; margin: 0 0 16px; color: var(--ink); }
.note { font-size: 14.5px; max-width: 760px; margin: 14px 0 0; line-height: 1.6; }
.kv-small { font-size: 15px; font-weight: 500; }
#a-eyebrow { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-family: var(--font-text); font-size: 13px; }
.spacer-row { display: grid; grid-template-columns: 10px 26px 64px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.spacer-row .sw { width: 10px; height: 10px; border-radius: 3px; align-self: center; }
.spacer-seq { background: none; padding: 0; font-size: 12.5px; color: var(--ink-2); word-break: break-all; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.seqblock { white-space: pre; overflow-x: auto; word-break: normal; }
.genome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; }
.genome-ring { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; }
.genome-ring canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-legend { margin: 28px 0 26px; }
.rt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hashes { font-size: 12px; }
@media (max-width: 900px) { .genome-grid { grid-template-columns: 1fr; } .genome-ring { margin: 0 auto; } }
.filters-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.filters-row .filters { margin: 0; }
.gn-search { flex: 0 1 280px; height: 34px; font-size: 13.5px; }
.chip .faint { margin-left: 4px; }
.chip[aria-pressed='true'] .faint { color: rgba(9, 13, 12, 0.55); }
.table td.r, .table td.nw { white-space: nowrap; }
.table td .faint { font-size: 0.92em; }
.table .sub { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.table .seq { max-width: 190px; }

/* gamification ---------------------------------------------------------------------------------------- */
.xp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; font-size: 13.5px; }
.xp-level { font-weight: 600; text-decoration: none; color: var(--repeat); }
.xp-bar { width: 120px; height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.xp-bar i { display: block; height: 100%; background: var(--repeat); transform-origin: left; transition: transform 0.6s var(--ease); }
.xp-streak { color: var(--rt); font-weight: 520; }
.btn-wave { border-color: var(--repeat); color: var(--repeat); }
.btn-wave:hover { background: var(--repeat-soft); color: var(--repeat); border-color: var(--repeat); }
.wave-note { font-size: 13.5px; margin: 0 0 16px; max-width: 460px; }
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); font-size: 13.5px; max-width: 320px; opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast b { display: block; font-weight: 600; }
.toast span span { color: var(--ink-2); }
.toast-ic { color: var(--repeat); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--repeat-soft); flex: none; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.badge { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--bg-2); }
.badge .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--bg-3); color: var(--ink-3); }
.badge.on .ic { background: var(--repeat-soft); color: var(--repeat); }
.badge b { display: block; font-size: 14px; font-weight: 600; }
.badge span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.badge:not(.on) b { color: var(--ink-2); }
.level-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.level-num { font-size: clamp(48px, 7vw, 88px); font-weight: 680; letter-spacing: -0.04em; line-height: 1; color: var(--repeat); }
.level-bar { width: min(420px, 100%); height: 8px; border-radius: 8px; background: var(--line-2); overflow: hidden; margin-top: 12px; }
.level-bar i { display: block; height: 100%; background: var(--repeat); transform-origin: left; }

/* earn ------------------------------------------------------------------------------------------------ */
.wave-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.steps-v { counter-reset: s; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps-v li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--ink-2); font-size: 15px; }
.steps-v li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--repeat-soft); color: var(--repeat); font-family: var(--font-mono); font-size: 12px; }
.steps-v b { color: var(--ink); font-weight: 580; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.countdown { font-family: var(--font-mono); font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }
.sealed-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sealed-row .spacer { flex: 1; }
@media (max-width: 900px) { .wave-card { grid-template-columns: 1fr; } }
.rank-me td { background: var(--repeat-soft); }
.docs-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.docs-toc { position: sticky; top: 84px; display: grid; gap: 4px; font-size: 14px; }
.docs-toc a { text-decoration: none; color: var(--ink-3); padding: 4px 0; }
.docs-toc a:hover { color: var(--ink); }
.docs-toc .toc-h { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 4px; }
.docs-grid .prose h2 { scroll-margin-top: 84px; }
.docs-grid .prose h2:first-child { margin-top: 0; }
.kv-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 8px; }
.kv-table td, .kv-table th { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.kv-table th { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.kv-table td:first-child { color: var(--ink); white-space: nowrap; }
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; gap: 12px; } .docs-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .docs-toc .toc-h { grid-column: 1 / -1; } }
h2.h-sm.section-gap, .section-gap { margin-top: 40px; }
