/* OM Firmware Atlas — site theme.
   Layout markup: overrides/main.html. Behaviour: assets/atlas.js.
   Fonts: Archivo, IBM Plex Sans and IBM Plex Mono (SIL Open Font License 1.1, see assets/fonts/LICENSE-*.txt),
   Latin subsets from @fontsource 5.3.0, served locally so no third-party requests are made. */

@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --bg: #0b0d11;
  --bg-raise: #11141a;
  --panel: #151920;
  --panel-2: #1b2029;
  --line: #242a34;
  --line-strong: #323a46;
  --ink: #eef0f4;
  --ink-2: #c3c9d3;
  --muted: #8b94a3;
  --accent: #ffb35c;
  --accent-strong: #ff9a3d;
  --accent-ink: #1c1106;
  --accent-soft: rgba(255, 170, 80, .12);
  --accent-line: rgba(255, 170, 80, .35);
  --cool: #7cc4d9;
  --topbar: rgba(11, 13, 17, .72);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 50px -20px rgba(0, 0, 0, .6);
  --glow-a: rgba(255, 150, 60, .20);
  --glow-b: rgba(90, 170, 210, .14);

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1240px;
  --topbar-h: 64px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f5f2;
  --bg-raise: #efede8;
  --panel: #ffffff;
  --panel-2: #f7f6f3;
  --line: #e4e1da;
  --line-strong: #d3cfc6;
  --ink: #15171c;
  --ink-2: #3a3f48;
  --muted: #6a707b;
  --accent: #c4600f;
  --accent-strong: #a94f07;
  --accent-ink: #ffffff;
  --accent-soft: rgba(196, 96, 15, .08);
  --accent-line: rgba(196, 96, 15, .3);
  --cool: #23748c;
  --topbar: rgba(246, 245, 242, .78);
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 18px 40px -24px rgba(20, 20, 20, .18);
  --glow-a: rgba(255, 160, 80, .22);
  --glow-b: rgba(90, 170, 210, .16);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 20px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink-2);
  font: 400 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar-h);
  background: var(--topbar); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.topbar-inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-word { font: 600 17px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand-word b { font-weight: 800; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav a {
  display: block; padding: 7px 12px; border-radius: 999px;
  color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: color .15s, background .15s;
}
.primary-nav a:hover { color: var(--ink); background: var(--panel-2); }
.primary-nav a.active { color: var(--ink); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }

.topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  color: var(--muted); font: 500 14px var(--body); cursor: pointer; transition: border-color .15s, color .15s;
}
.search-trigger:hover { border-color: var(--line-strong); color: var(--ink); }
.search-trigger svg { width: 16px; height: 16px; }
.search-label { padding-right: 18px; }
kbd {
  font: 500 11px/1 var(--mono); padding: 4px 6px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg-raise); color: var(--muted);
}
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
:root[data-theme="dark"] .i-moon, :root[data-theme="light"] .i-sun { display: none; }
.menu-toggle { display: none; }
.is-doc .topbar-inner, .is-doc .footer-inner { max-width: 1440px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; font: 600 15px/1 var(--body); letter-spacing: .005em;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -10px var(--accent); }
.btn-primary:hover { color: var(--accent-ink); background: var(--accent-strong); transform: translateY(-1px); }
.btn-primary::after { content: "→"; font-family: var(--body); transition: transform .15s; }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--muted); background: var(--panel); }

/* ---------- prose (all Markdown content) ---------- */
.prose { color: var(--ink-2); min-width: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--display); color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.prose h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; margin: 0 0 1.1rem; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 700; margin: 3.2rem 0 1rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.prose h1 + h2, .prose h1 + p + h2 { border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 2.2rem 0 .6rem; }
.prose h4 { font-size: 1rem; margin: 1.6rem 0 .4rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 1.5px; text-underline-offset: .22em; transition: text-decoration-color .15s, color .15s; }
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose > h1 + p { font-size: 1.15rem; line-height: 1.65; color: var(--ink-2); }
.prose .headerlink { margin-left: .35em; font-weight: 500; color: var(--muted); text-decoration: none; opacity: 0; transition: opacity .15s; }
.prose :is(h1, h2, h3, h4):hover .headerlink { opacity: .7; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 1.2rem; }

/* the build appends "View this page's source" after a rule */
.prose > hr:nth-last-child(2) { margin-top: 3.5rem; }
.prose > hr:nth-last-child(2) + p { font-size: .85rem; margin: 0; }
.prose > hr:nth-last-child(2) + p a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.prose > hr:nth-last-child(2) + p a::before { content: "</>"; font: 500 11px var(--mono); padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; }
.prose > hr:nth-last-child(2) + p a:hover { color: var(--accent); }

.prose code {
  font: 500 .84em var(--mono); padding: .14em .42em; border-radius: 6px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere;
}
.prose pre {
  margin: 1.4rem 0; padding: 1.1rem 1.25rem; overflow-x: auto;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .88rem; line-height: 1.6;
}
.prose pre { position: relative; }
.prose pre code.language-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-btn {
  position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  font: 500 11.5px/1.4 var(--mono); color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  opacity: 0; transition: opacity .15s, color .15s, border-color .15s;
}
.prose pre:hover .copy-btn, .copy-btn:focus-visible { opacity: 1; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent-line); }
@media (hover: none) { .copy-btn { opacity: 1; } }
.prose pre code { padding: 0; border: 0; background: none; overflow-wrap: normal; font-weight: 400; }

/* callouts: the build's "Source review due" notice and other blockquotes */
.prose blockquote {
  margin: 1.6rem 0; padding: 1rem 1.25rem 1rem 1.15rem;
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); color: var(--ink-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote strong:first-child { color: var(--accent); }

/* tables (wrapped by atlas.js in .table-wrap for horizontal scroll) */
.table-wrap { margin: 1.5rem 0 1.8rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); box-shadow: var(--shadow); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.55; }
.prose thead th {
  text-align: left; padding: .8rem 1rem; white-space: nowrap;
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.prose td { padding: .85rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr { transition: background .12s; }
.prose tbody tr:hover { background: var(--accent-soft); }
.prose td:first-child { color: var(--ink); font-weight: 500; }
.prose td:first-child a { font-weight: 600; text-decoration: none; }
.prose td:first-child a:hover { text-decoration: underline; }
.prose td code { white-space: normal; }
.prose td:first-child { min-width: 10rem; }

.eyebrow, .prose .eyebrow {
  margin: 0 0 .8rem; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 40rem; }

/* ---------- document layout ---------- */
.doc-shell {
  flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 72px; align-items: start;
}
.doc-shell:not(:has(.doc-toc)) { grid-template-columns: minmax(0, 1fr); }
.doc-shell.has-side { max-width: 1440px; grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 56px; }
.doc-shell.has-side:not(:has(.doc-toc)) { grid-template-columns: 220px minmax(0, 1fr); }
.doc-side { position: sticky; top: calc(var(--topbar-h) + 32px); max-height: calc(100vh - var(--topbar-h) - 64px); overflow-y: auto; }
.side-title { margin: 0 0 1rem; font: 700 18px/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }
.doc-side ul, .side-mobile ul { list-style: none; margin: 0; padding: 0; }
.doc-side li, .side-mobile li { margin: 1px 0; }
.doc-side a, .side-mobile a { display: block; padding: 6px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); transition: background .15s, color .15s; }
.doc-side a:hover, .side-mobile a:hover { color: var(--ink); background: var(--panel); }
.doc-side a.is-active, .side-mobile a.is-active { color: var(--ink); background: var(--panel-2); box-shadow: inset 2px 0 0 var(--accent); }
.side-group { margin-top: 18px !important; }
.side-label { display: list-item; cursor: pointer; padding: 0 12px 6px; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-group .side-group { margin-top: 10px !important; }
.side-group .side-group .side-label { font-size: 10.5px; opacity: .8; }
.side-mobile { display: none; margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.side-mobile summary { padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 15px; }
.side-mobile[open] summary { border-bottom: 1px solid var(--line); }
.side-mobile > ul { padding: 8px; }

/* generated camera directory and camera pages */
.camera-grid, .project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 1.2rem 0 2rem; }
.camera-card, .project-card { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .2s, transform .2s; }
.camera-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.camera-card p, .project-card p { margin: 0 0 .7rem; font-size: .93rem; line-height: 1.55; }
.prose a.card-title { font: 700 1.15rem/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.camera-card a.card-title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.prose a.card-title:hover { color: var(--accent); }
.camera-card p:first-child, .project-card p:first-child { margin-bottom: .3rem; }
.model-code { font: 500 12px/1 var(--mono) !important; letter-spacing: .1em; color: var(--accent); margin-bottom: .8rem !important; }
.card-meta { margin: auto 0 0 !important; padding-top: .7rem; border-top: 1px solid var(--line); font: 500 11.5px/1.4 var(--mono) !important; letter-spacing: .04em; color: var(--muted); }
.card-cameras { font-size: .85rem !important; color: var(--muted); }
.card-for, .card-get { font-size: .9rem !important; }
.prose .card-for strong, .prose .card-get strong { color: var(--text, inherit); }
.card-links { margin: .2rem 0 0 !important; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .88rem !important; color: var(--muted); }
.prose .card-links a { color: var(--accent); text-decoration: none; font-weight: 500; }
.prose .card-links a:hover { text-decoration: underline; }
.prose p.facts { font-size: .92rem; color: var(--muted); padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.prose p.facts strong { color: var(--ink-2); font-weight: 500; }
.doc-main { min-width: 0; max-width: 880px; }
.crumb { margin: 0 0 1rem; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb span { opacity: .5; }

.doc-toc { position: sticky; top: calc(var(--topbar-h) + 32px); max-height: calc(100vh - var(--topbar-h) - 64px); overflow-y: auto; }
.toc-title { margin: 0 0 .9rem; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-toc ul ul { border: 0; margin-left: 12px; }
.doc-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--muted); transition: color .15s, border-color .15s; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-current { color: var(--accent); border-left-color: var(--accent); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); color: var(--ink);
  font: 600 16px/1.3 var(--display); transition: border-color .15s, transform .15s;
}
.pager a:hover { border-color: var(--accent-line); transform: translateY(-1px); color: var(--ink); }
.pager small { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pager-next { text-align: right; grid-column: 2; }
.pager-prev small::before { content: "← "; }
.pager-next small::after { content: " →"; }

/* ---------- home ---------- */
.home { position: relative; flex: 1; overflow: hidden; }
.home-glow {
  position: absolute; inset: -200px 0 auto 0; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 380px at 78% 32%, var(--glow-a), transparent 70%),
    radial-gradient(520px 340px at 92% 8%, var(--glow-b), transparent 70%);
}
.home-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(900px 520px at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(900px 520px at 60% 30%, #000 20%, transparent 75%);
}
.home-prose { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 24px 96px; }
.home-prose > section, .home-prose > aside { margin-top: 120px; }
.home-prose > section:first-child { margin-top: 0; }
.home-prose h2 { border: 0; padding: 0; margin: 0 0 1rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }
.home-prose .headerlink { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 96px 0 24px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 1.4rem; }
.hero h1 .accent {
  display: block;
  background: linear-gradient(100deg, var(--accent) 0%, #ff7a59 60%, #f2617a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin: 0 0 2rem; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.6rem; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel);
  font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6rem; }
.cta-row p { display: contents; }
.prose .cta-row a, .prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: var(--accent-ink); }
.prose a.btn-ghost:hover { color: var(--ink); }
.hero-note { margin: 0; font-size: .85rem; color: var(--muted); }

/* the scope chain: camera → firmware → project → evidence */
.scope-chain {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px;
  background: linear-gradient(180deg, var(--panel), var(--bg-raise));
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.scope-chain::before { content: ""; position: absolute; left: 47px; top: 52px; bottom: 52px; width: 2px; background: linear-gradient(var(--line-strong), var(--accent)); }
.scope-step {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 18px 14px 56px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  transition: border-color .2s, transform .2s;
}
.scope-step:hover { border-color: var(--accent-line); transform: translateX(3px); }
.scope-step::before {
  content: ""; position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg);
}
.scope-step.is-evidence { border-color: var(--accent-line); background: linear-gradient(90deg, var(--accent-soft), var(--panel) 70%); }
.scope-step.is-evidence::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.scope-key { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.scope-step strong { font: 700 17px/1.3 var(--display); color: var(--ink); letter-spacing: -.01em; }
.scope-hint { font-size: 13.5px; color: var(--muted); }

/* route cards */
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 72px !important; }
.route-card {
  position: relative; padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow); transition: border-color .2s, transform .2s, background .2s;
}
.route-card:hover { border-color: var(--accent-line); transform: translateY(-3px); background: var(--panel-2); }
.route-icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.route-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.route-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.route-card h3 a { color: var(--ink); text-decoration: none; }
.route-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.route-card h3::after { content: "→"; float: right; color: var(--muted); font-family: var(--body); font-weight: 400; transition: transform .2s, color .2s; }
.route-card:hover h3::after { color: var(--accent); transform: translateX(4px); }
.route-card p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--muted); }

/* evidence feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.feature-head { max-width: 46rem; }
.feature-head > p:last-child { font-size: 1.1rem; color: var(--ink-2); margin: 0; }
.evidence-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.evidence-card {
  padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%);
}
.evidence-card p { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.55; }
.evidence-tag {
  display: inline-block; margin-bottom: 16px; padding: 5px 10px; border-radius: 999px;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.evidence-card:nth-child(2) .evidence-tag { color: var(--cool); background: color-mix(in srgb, var(--cool) 12%, transparent); border-color: color-mix(in srgb, var(--cool) 35%, transparent); }
.evidence-card:nth-child(3) .evidence-tag { color: var(--ink); background: var(--panel-2); border-color: var(--line-strong); }
.feature-foot { margin: 0; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); color: var(--muted); font-size: .95rem; }

/* explore links */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
.explore-grid p { display: contents; }
.prose .explore-grid a {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; min-height: 132px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s;
}
.prose .explore-grid a:hover { border-color: var(--accent-line); transform: translateY(-2px); color: var(--ink); }
.explore-grid a strong { font: 700 1.1rem/1.25 var(--display); letter-spacing: -.01em; }
.explore-grid a strong::after { content: " ↗"; color: var(--muted); font-weight: 400; }
.explore-grid a span { font-size: .92rem; color: var(--muted); line-height: 1.5; margin-top: auto; }

.agent-band {
  display: flex; align-items: center; justify-content: center; padding: 20px 24px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel); text-align: center;
}
.agent-band p { margin: 0; font-size: .95rem; }
.home-prose > hr:nth-last-child(2), .home-prose > hr:nth-last-child(2) + p { display: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-raise); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 48px; }
.footer-brand p { margin: 12px 0 0; max-width: 32rem; font-size: .9rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: start; justify-content: flex-end; }
.footer-links a { font-size: .9rem; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.atlas-footer { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.6; color: var(--muted); }
.atlas-footer p { margin: 0; }
.atlas-footer a { color: var(--ink-2); font-family: var(--mono); }

/* ---------- search ---------- */
.search-dialog {
  width: min(680px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 120px)); margin: 12vh auto 0; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 18px; background: var(--panel); color: var(--ink-2);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); overflow: hidden;
}
.search-dialog[open] { display: flex; flex-direction: column; animation: pop .16s ease-out; }
.search-dialog::backdrop { background: rgba(5, 6, 8, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.99); } }
.search-box { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search-box > svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search-box input { min-width: 0; flex: 1; height: 62px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 17px var(--body); }
.search-box input::placeholder { color: var(--muted); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-close { min-height: 44px; padding: 0 .5rem; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.search-scroll { overflow-y: auto; }
.search-models, .search-results { padding: 8px; }
.search-models { border-bottom: 1px solid var(--line); }
.search-models article { padding: 12px 14px; }
.search-models h3 { margin: 0 0 3px; font: 650 1rem var(--display); }
.search-kind { display: block; color: var(--muted); font-size: .78rem; }
.search-results:empty::before { content: "Type at least three characters to search every page."; display: block; padding: 22px 14px; color: var(--muted); font-size: .92rem; }
.search-results > p { padding: 14px; margin: 0; color: var(--muted); }
.search-results article { padding: 12px 14px; border-radius: 12px; }
.search-results article:hover, .search-results article:focus-within { background: var(--panel-2); }
.search-results h3 { margin: 0 0 2px; font: 600 15px/1.35 var(--display); }
.search-results h3 a { color: var(--ink); }
.search-results h3 a:hover { color: var(--accent); }
.search-results p { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-nav a { padding: 7px 9px; font-size: 14px; }
  .search-label, .search-trigger kbd { display: none; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; }
}
@media (max-width: 1280px) {
  .doc-shell.has-side, .doc-shell.has-side:not(:has(.doc-toc)) { grid-template-columns: 210px minmax(0, 1fr); gap: 48px; }
  .doc-shell.has-side .doc-toc { display: none; }
}
@media (max-width: 1020px) {
  .doc-shell, .doc-shell.has-side, .doc-shell.has-side:not(:has(.doc-toc)) { grid-template-columns: minmax(0, 1fr); }
  .doc-side { display: none; }
  .side-mobile { display: block; }
  .doc-toc { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
  .scope-chain { max-width: 560px; }
  .menu-toggle { display: inline-grid; }
  .primary-nav {
    position: absolute; top: var(--topbar-h); left: 0; right: 0; display: none;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 18px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
}
@media (max-width: 720px) {
  :root { --topbar-h: 58px; }
  body { font-size: 15.5px; }
  .topbar-inner { padding: 0 14px; gap: 12px; }
  .brand-word { font-size: 16px; }
  .doc-shell { padding: 32px 18px 64px; }
  .home-prose { padding: 0 18px 72px; }
  .home-prose > section, .home-prose > aside { margin-top: 80px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .lede { font-size: 1.08rem; }
  .routes, .explore-grid, .evidence-trio { grid-template-columns: 1fr; }
  .routes { margin-top: 56px !important; }
  .scope-chain { padding: 16px; }
  .scope-chain::before { left: 37px; }
  .scope-step { padding-left: 50px; }
  .scope-step::before { left: 14px; }
  .explore-grid a { min-height: 0; }
  .agent-band { border-radius: var(--radius); }
  .pager { grid-template-columns: 1fr; }
  .pager-next { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; padding: 36px 18px 32px; }
  .footer-links { justify-content: flex-start; }
  .prose table { font-size: .85rem; }
  .prose thead th, .prose td { padding: .7rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- showcase: projects, features, releases, people ---------- */
.pill { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 3px 9px; border-radius: 999px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--muted); background: var(--panel-2); }
.pill-released { color: #5fd39a; border-color: rgba(95, 211, 154, .35); background: rgba(95, 211, 154, .1); }
.pill-beta, .pill-testing { color: var(--cool); border-color: color-mix(in srgb, var(--cool) 35%, transparent); background: color-mix(in srgb, var(--cool) 10%, transparent); }
.pill-alpha, .pill-in-development { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
:root[data-theme="light"] .pill-released { color: #1f7a4d; border-color: rgba(31, 122, 77, .3); background: rgba(31, 122, 77, .08); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 1.2rem 0 2rem; }
.feature-card { display: flex; flex-direction: column; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.feature-card p { margin: 0 0 .6rem; font-size: .9rem; line-height: 1.55; }
.prose p.feature-head { margin-bottom: .45rem; font-size: 1rem; color: var(--ink); }
.prose p.feature-head strong { font: 700 1rem/1.3 var(--display); letter-spacing: -.01em; }

.project-card .card-image, .prose .project-card p:has(> img) { margin: -20px -20px 14px; }
.project-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); }
.project-card:hover { border-color: var(--accent-line); }
.project-card a.card-title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.project-card a:not(.card-title) { position: relative; z-index: 1; }
.prose p.card-features { font-size: .82rem !important; color: var(--accent); line-height: 1.5; }

.prose p.hero-image, .prose .gallery-item p:has(> img) { margin: 1.6rem 0 .5rem; }
.prose .hero-image img, .gallery img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.prose p.image-caption { font-size: .82rem; color: var(--muted); margin: 0 0 1.4rem; }
.prose p.image-caption em { font-style: normal; opacity: .8; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 1rem 0 2rem; }
.gallery-item p { margin: 0 0 .4rem; }

.release-item { padding: 14px 18px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.release-item:first-of-type { border-color: var(--accent-line); }
.release-item ul { margin: .3rem 0 .2rem; font-size: .92rem; }
.release-item li { margin: .15rem 0; }
.prose p.release-head { margin: 0 0 .2rem; font-size: .95rem; color: var(--muted); }
.prose p.release-head a { font-weight: 600; }
.prose p.release-warning { margin: .5rem 0 0; padding: 8px 12px; border-radius: 8px; font-size: .84rem; color: var(--ink-2); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.release-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.release-list .release-item { margin: 0; border-color: var(--line); }
.release-list .release-item p:last-child { margin: 0; font-size: .92rem; }

.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 1.2rem 0 2rem; }
.person-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.person-card p { margin: 0 0 .3rem; }
.prose .person-card a.card-title::before { content: "@"; color: var(--accent); }

.doc-main .cta-row { margin: 1.2rem 0 1.4rem; gap: 10px; }
.doc-main .cta-row .btn { height: 40px; padding: 0 16px; font-size: 14px; }

.hero-visual { margin: 0; }
.hero-visual p { margin: 0; }
.hero-visual img { display: block; width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow), 0 30px 80px -30px var(--glow-a); }
.prose p.hero-visual-caption { margin-top: 12px; font-size: .85rem; color: var(--muted); }

/* Camera page summary */
.glance { margin: 1rem 0 1.4rem; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--panel); }
.prose .glance p { margin: .35rem 0; font-size: .93rem; line-height: 1.55; }

.install-note {
  padding: .85rem 1rem;
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
  color: var(--ink-2);
  font-size: .94rem;
}
.install-note a { color: var(--ink); text-decoration: underline; }

.camera-finder {
  max-width: 36rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), transparent 75%), var(--panel);
  box-shadow: var(--shadow);
}
.camera-finder label { display: block; font: 700 1.1rem var(--display); margin-bottom: .55rem; }
.camera-finder input {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.camera-finder p { margin: 0; }
.camera-finder [role=status]:not(:empty) { margin-top: .7rem; font-size: .9rem; }
.finder-results a { display: block; padding: .65rem .2rem; border-bottom: 1px solid var(--line); }
.evidence-list { display: grid; gap: .8rem; }
.evidence-entry {
  padding: 1rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow-wrap: anywhere;
}
.evidence-entry p { margin: 0; }
.prose [id^="for-"], .prose h2[id] { scroll-margin-top: calc(var(--topbar-h) + 1rem); }
.tester-panel {
  margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--cool);
  background: var(--panel); border-radius: var(--radius-sm);
}
.prose .tester-panel h2 { margin: 0 0 .75rem; font-size: 1.35rem; }
.tester-panel p:last-child { margin-bottom: 0; }
.release-model { color: var(--cool); margin-bottom: .4rem; }
.model-panel { margin: 1rem 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.prose .model-panel > :is(h2, h3) { margin-top: 0; }
.is-owner-camera .prose h1 { margin-bottom: .45rem; }
.is-owner-camera .prose .camera-id, .is-owner-camera .prose .release-scope { color: var(--muted); margin-bottom: .55rem; }
.is-owner-camera .prose .model-panel > h2 { border: 0; padding-top: 0; margin-bottom: .55rem; }
.is-owner-camera .prose .model-panel > p { margin-bottom: .65rem; }
.mod-details { margin: .9rem 0; }
.mod-details summary { cursor: pointer; color: var(--ink-2); }
.prose .page-jumps, .research-links { padding-block: .65rem; border-block: 1px solid var(--line); }
.model-panel p:last-child { margin-bottom: 0; }
.prose .model-panel .hero-image img { width: auto; max-width: 100%; max-height: 24rem; object-fit: contain; }
.evidence-entry p + p { margin-top: .4rem; }
.evidence-entry .observation-meta { color: var(--muted); font-size: .88rem; }
@media (max-width: 385px) {
  .topbar-inner { gap: .25rem; padding-inline: .5rem; }
  .brand { gap: .25rem; }
  .brand-mark { display: none; }
  .topbar-actions { gap: 0; }
}


/* Keep the selected body visible when a camera link opens a shared project. */
.model-panel:has(> :is(h2, h3):target) {
  border-color: var(--accent-line);
  box-shadow: inset 3px 0 var(--accent);
  background: linear-gradient(105deg, var(--accent-soft), transparent 65%), var(--panel);
}
.finder-results a:focus-visible, .finder-results a:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

/* Keep each audience's starting point together as the cards stack on phones. */
.home-start { padding: clamp(1.5rem, 5vw, 4rem) 0 1rem; }
.home-start h1 { max-width: 24ch; margin: 0 0 1.4rem; font-size: clamp(2rem, 4.6vw, 4.1rem); line-height: 1.05; }
.journey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.journey { padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.prose .journey h2 { margin: 0; }
.prose .journey p { margin: .8rem 0; }
.journey .camera-finder { padding: 0; background: transparent; border: 0; box-shadow: none; }
.prose .journey > :last-child { margin-bottom: 0; }
.prose pre:has(code.language-text) { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose pre code.language-text { white-space: inherit; }

.research-action > summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.research-action > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (min-width: 720px) {
  .research-start { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage: a short lede and counts above the two journeys, then a gallery generated from project images. */
.prose p.home-lede { max-width: 62ch; margin: 0 0 1rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.6; color: var(--ink-2); }
.prose p.home-counts { margin: 0 0 1.8rem; font: 500 .78rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.prose .journey h2 + p { color: var(--muted); }
.prose .home-showcase { margin-top: 0; padding: clamp(1.5rem, 4vw, 3rem) 0 1rem; }
.prose .home-showcase h2 { border: 0; padding: 0; margin: 0 0 .6rem; font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.03em; }
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin: 1.6rem 0 1.4rem; }
/* A lead card spans two columns when the count would otherwise leave an empty slot in the last row. */
@media (min-width: 640px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-card:first-child:nth-last-child(2n+1) { grid-column: span 2; }
}
@media (min-width: 1020px) {
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-card:first-child:nth-last-child(2n+1) { grid-column: auto; }
  .showcase-card:first-child:nth-last-child(3n+2) { grid-column: span 2; }
}
@media (min-width: 640px) and (max-width: 1019px) {
  .prose .showcase-card:first-child:nth-last-child(2n+1) p.showcase-image { aspect-ratio: 3 / 1.05; }
}
@media (min-width: 1020px) {
  .prose .showcase-card:first-child:nth-last-child(3n+2) p.showcase-image { aspect-ratio: 3 / 1.03; }
}
.showcase-card:first-child .showcase-image img { object-position: center; }
.showcase-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.showcase-card:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.prose .showcase-card p { margin: 0 1.1rem .45rem; }
.prose .showcase-card p.showcase-image { margin: 0 0 1rem; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0d11; border-bottom: 1px solid var(--line); }
.showcase-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.showcase-card:hover .showcase-image img { transform: scale(1.03); }
.prose .showcase-card p.showcase-scope { font: 500 .76rem/1.4 var(--mono); letter-spacing: .02em; color: var(--accent); }
.showcase-card a.card-title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.prose .showcase-card p.showcase-tagline { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.prose .showcase-card p.image-caption { margin-top: auto; padding: .6rem 0 1rem; font-size: .78rem; line-height: 1.45; }
.prose p.home-more { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .showcase-card, .showcase-image img { transition: none; }
  .showcase-card:hover, .showcase-card:hover .showcase-image img { transform: none; }
}
.home-prose > section.home-showcase { margin-top: clamp(1rem, 3vw, 2rem); }
/* Homepage spotlight: a reviewed, time-limited highlight of a new feature (decision 0009). */
.home-prose > section.home-spotlight { margin-top: clamp(1rem, 3vw, 2rem); display: grid; gap: 1rem; }
.spotlight-card { position: relative; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--accent-line); border-radius: 18px; background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--panel); }
.prose .spotlight-card p.spotlight-scope { margin: 0 0 .5rem; font: 500 .76rem/1.4 var(--mono); letter-spacing: .02em; color: var(--accent); }
.prose .spotlight-card h2 { border: 0; padding: 0; margin: 0 0 .6rem; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.prose .spotlight-card h2 .pill { vertical-align: 6px; }
.prose .spotlight-card p { max-width: 62ch; }
.prose .spotlight-card p.spotlight-links { margin-top: .2rem; color: var(--muted); font-size: .92rem; }
.prose .spotlight-card p.release-warning { margin-bottom: 0; }
