/* Livemore Health & Biosciences — site styles.
   One dark theme in the logo palette. No inline styles anywhere (strict CSP). */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #0B0F17;
  --bg-raised: #0E1422;
  --panel: #121826;
  --panel-2: #161C28;
  --text: #F2F5FA;
  --text-2: #D5E3F2;
  --text-3: #C3CEDC;
  --muted: #B8C3D3;
  --muted-2: #A7B1C2;
  --dim: #8C97AA;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --navy: #214379;
  --ocean: #1B7BB7;
  --sky: #19B9F3;
  --sky-2: #37C5F9;
  --orange: #FB9723;
  --link: #8FDBFF;
  --link-hover: #C4EDFF;
  --sky-soft: #9FE2FF;
  --orange-soft: #FFC98A;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 120px);
  --wrap: 1200px;
  --header-h: 76px;
  --radius: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- type */
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.eyebrow--muted { color: var(--muted-2); font-size: 12px; }
.h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; font-weight: 300; color: var(--text-2); }
.section-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; font-weight: 300; color: var(--text-3); max-width: 700px; }

/* ---------- buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.button--light { background: var(--text); color: var(--bg); font-weight: 600; }
.button--light:hover { background: #ffffff; color: var(--bg); }
.button--ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.22); color: var(--text); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.11); color: var(--text); }
.button--chip { padding-right: 6px; }
.button--large { min-height: 52px; padding-left: 22px; }
.chip { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 9px; background: var(--bg); color: var(--text); flex: none; }
.chip--light { background: var(--text); color: var(--bg); }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-solid, .page-docs .site-header, .page-prose .site-header, .page-404 .site-header { background: rgba(11, 15, 23, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.page-home .site-header { position: fixed; left: 0; right: 0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); padding: 0 clamp(20px, 4vw, 56px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-nav a:not(.button) { color: rgba(242, 245, 250, 0.86); text-decoration: none; }
.site-nav a:not(.button):hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--orange); }
.site-nav__cta { min-height: 44px; font-size: 15px; margin-left: 8px; }
.site-nav__cta .chip { width: 32px; height: 32px; border-radius: 8px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(20px, 4vw, 56px) 24px; background: rgba(11, 15, 23, 0.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .site-nav__cta { margin: 18px 0 0; justify-content: space-between; }
  .site-header.menu-open { background: rgba(11, 15, 23, 0.97); }
}

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(72px, 10vw, 120px)) 0 clamp(200px, 22vw, 260px); text-align: center;
  background: radial-gradient(1100px 460px at 50% 112%, rgba(251, 151, 35, 0.50), rgba(251, 151, 35, 0) 60%),
              radial-gradient(1500px 760px at 50% 104%, rgba(27, 123, 183, 0.78), rgba(27, 123, 183, 0) 70%),
              linear-gradient(180deg, #0B0F17 0%, #0E1B33 52%, #173663 100%); }
.hero__grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.16; mix-blend-mode: overlay; pointer-events: none; }
.hero__rings { position: absolute; left: 0; bottom: 0; width: 100%; height: 420px; pointer-events: none; }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero h1 { max-width: 900px; font-size: clamp(42px, 6.2vw, 80px); line-height: 1.04; font-weight: 400; letter-spacing: -0.035em; text-wrap: balance; }
.hero .lead { max-width: 680px; }
.hero .button-row { margin-top: 6px; }

.hero-shot { position: relative; z-index: 1; width: min(920px, 100% - 2 * var(--gutter)); margin: calc(-1 * clamp(150px, 16vw, 180px)) auto 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-shot__frame { width: 100%; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 60px 140px rgba(0, 0, 0, 0.6); transform: perspective(2400px) rotateX(10deg); transform-origin: 50% 0%; }
.hero-shot__frame img { width: 100%; border-radius: 10px; }
.hero-shot figcaption { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--muted-2); text-align: center; max-width: 720px; }
@media (max-width: 640px) { .hero-shot__frame { transform: none; padding: 6px; border-radius: 14px; } .hero-shot figcaption { font-size: 11.5px; } }

/* ---------- sections */
.section { padding-top: clamp(96px, 11vw, 144px); }
#problem { padding-top: clamp(88px, 10vw, 128px); }
.section .eyebrow + .h2 { margin-top: 16px; }
.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-head--center { align-items: center; text-align: center; }

/* ruled grids: four columns with hairline separators, no numbering */
.ruled-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ruled-grid > li { display: flex; flex-direction: column; gap: 14px; padding: 36px 28px 40px; }
.ruled-grid > li:first-child { padding-left: 0; }
.ruled-grid > li:last-child { padding-right: 0; }
.ruled-grid > li + li { border-left: 1px solid var(--line); }
.ruled-grid h3 { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.ruled-grid p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.ruled-grid--values { margin-top: 40px; border-bottom: 0; }
.ruled-grid--values > li { padding-top: 32px; padding-bottom: 0; }
@media (max-width: 1024px) {
  .ruled-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ruled-grid > li, .ruled-grid > li:first-child, .ruled-grid > li:last-child { padding: 32px 28px; }
  .ruled-grid > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ruled-grid > li:nth-child(even) { padding-right: 0; }
  .ruled-grid > li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ruled-grid--values { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ruled-grid { grid-template-columns: minmax(0, 1fr); }
  .ruled-grid > li, .ruled-grid > li:first-child, .ruled-grid > li:last-child { padding: 28px 0; }
  .ruled-grid > li + li, .ruled-grid > li:nth-child(odd), .ruled-grid > li:nth-child(even) { border-left: 0; }
  .ruled-grid > li + li { border-top: 1px solid var(--line); }
}

/* ---------- convergence flow */
.flow { position: relative; margin-top: 56px; display: grid; grid-template-columns: 320fr 100fr 360fr 100fr 320fr; height: 520px; }
.flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow__lines path { fill: none; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.flow__inputs { grid-column: 1; display: grid; grid-template-rows: 1fr 1fr; align-items: center; position: relative; }
.flow__core { grid-column: 3; align-self: center; position: relative; height: 440px; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 22px; background: rgba(18, 24, 38, 0.92); border: 1px solid rgba(55, 197, 249, 0.45); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45); }
.flow__outcome { grid-column: 5; align-self: center; position: relative; }
.flow__arrow { display: none; }
.flow::before { content: ""; position: absolute; left: 22%; right: 22%; top: -40px; bottom: -40px; background: radial-gradient(closest-side, rgba(27, 123, 183, 0.40), rgba(33, 67, 121, 0)); pointer-events: none; }
.flow__core-head { display: flex; align-items: center; gap: 12px; }
.flow__core-head img { height: 32px; width: auto; }
.flow__core-head h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.flow__parts { margin: 0; display: flex; flex-direction: column; }
.flow__parts > div { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.10); display: flex; flex-direction: column; gap: 6px; }
.flow__parts > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.flow__parts dt { font-size: 18px; font-weight: 500; }
.flow__parts dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.flow-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.flow-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.flow-card .flow-card__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.flow-card--orange { background: radial-gradient(260px 140px at 100% 0%, rgba(251, 151, 35, 0.18), rgba(251, 151, 35, 0) 70%), var(--panel); border-color: rgba(251, 151, 35, 0.45); }
.flow-card--orange .flow-card__label { color: var(--orange-soft); }
.flow-card--sky { background: radial-gradient(260px 140px at 100% 0%, rgba(55, 197, 249, 0.16), rgba(55, 197, 249, 0) 70%), var(--panel); border-color: rgba(55, 197, 249, 0.40); }
.flow-card--outcome { background: rgba(55, 197, 249, 0.08); border-color: rgba(55, 197, 249, 0.40); }
.flow-card--outcome .flow-card__label { color: var(--sky-soft); }
.flow-card--outcome h3 { font-size: 19px; line-height: 1.35; font-weight: 500; }
.flow-card--outcome p:last-child { font-size: 14.5px; color: var(--muted); }
.answer-docs { display: flex; justify-content: center; margin-top: 56px; }

@media (max-width: 1139px) {
  .flow { display: flex; flex-direction: column; align-items: stretch; height: auto; gap: 0; max-width: 720px; margin-inline: auto; }
  .flow::before, .flow__lines { display: none; }
  .flow__inputs { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
  .flow__core { height: auto; }
  .flow__arrow { display: block; align-self: center; width: 2px; height: 44px; margin: 6px 0; background: linear-gradient(180deg, rgba(55, 197, 249, 0.2), var(--sky-2)); position: relative; }
  .flow__arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 10px; height: 10px; border-right: 2px solid var(--sky-2); border-bottom: 2px solid var(--sky-2); transform: translateX(-50%) rotate(45deg); }
}
@media (max-width: 640px) { .flow__inputs { grid-template-columns: minmax(0, 1fr); } .flow__core { padding: 24px; } }

/* ---------- roadmap */
.roadmap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.roadmap__intro { display: flex; flex-direction: column; gap: 24px; }
.roadmap__intro .eyebrow--muted { margin-top: 8px; }
.roadmap__intro .h2 { margin-top: -8px; }
.dot-list { display: flex; flex-direction: column; gap: 12px; margin-top: -8px; font-size: 16px; color: var(--text-2); }
.dot-list li { display: flex; gap: 12px; align-items: baseline; }
.dot-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-2); flex: none; transform: translateY(-2px); }
.dot-list .dot-list__orange::before { background: var(--orange); }
.gates { border-bottom: 1px solid var(--line); }
.gates__item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 0 20px 48px; border-top: 1px solid var(--line); }
.gates__item::before { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sky-2); }
.gates__item--ocean::before { border-color: var(--ocean); }
.gates__item--orange::before { border-color: var(--orange); }
.gates__item h3 { font-size: 20px; font-weight: 500; line-height: 1.4; }
.gates__item p { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .roadmap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- partner band */
.partner { margin: clamp(96px, 10vw, 136px) clamp(12px, 4vw, 56px) 0; }
.partner__frame { padding: 8px; border-radius: 24px; background: linear-gradient(100deg, #214379 0%, #1B7BB7 28%, #37C5F9 50%, #FB9723 76%, #214379 100%); }
.partner__inner { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: clamp(48px, 7vw, 72px) clamp(20px, 8vw, 120px); border-radius: 18px; text-align: center; background: radial-gradient(900px 300px at 50% 120%, rgba(55, 197, 249, 0.28), rgba(55, 197, 249, 0) 70%), var(--panel-2); }
.partner__grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.18; mix-blend-mode: overlay; pointer-events: none; }
.partner h2 { position: relative; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.partner p { position: relative; max-width: 640px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; font-weight: 300; color: var(--text-3); }
.partner .button { position: relative; margin-top: 8px; }

/* ---------- footer */
.site-footer { position: relative; overflow: hidden; margin-top: clamp(64px, 7vw, 80px); padding-top: clamp(56px, 6vw, 80px); }
.page-docs .site-footer, .page-prose .site-footer, .page-404 .site-footer { border-top: 1px solid var(--line-soft); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.site-footer__brand .brand img { height: 34px; }
.site-footer__brand p { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.site-footer__brand .mail-button { align-self: flex-start; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14.5px; max-width: 680px; justify-content: flex-end; }
.site-footer__nav a { color: #E3EAF3; text-decoration: none; }
.site-footer__nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--dim); }
.site-footer__wordmark { margin-top: 40px; height: clamp(64px, 13.2vw, 190px); overflow: hidden; text-align: center; font-size: clamp(96px, 21vw, 300px); line-height: 0.72; font-weight: 600; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.05); user-select: none; }
@media (max-width: 720px) { .site-footer__nav { justify-content: flex-start; } }

/* ---------- 404 */
.not-found { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: clamp(96px, 14vw, 160px) 0 40px; }

/* ---------- prose (docs, privacy, legal) */
.prose { color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h1 { font-size: clamp(34px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }
.prose h2 { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-soft); font-size: clamp(24px, 2.4vw, 29px); line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.prose h3 { margin-top: 36px; font-size: 19px; line-height: 1.35; font-weight: 500; color: var(--text); }
.prose h4 { margin-top: 28px; font-size: 16.5px; font-weight: 600; color: var(--text); }
.prose h1 + p { font-size: 18.5px; line-height: 1.7; font-weight: 300; color: var(--text-3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--dim); }
.prose code { font-family: var(--mono); font-size: 0.88em; padding: 0.12em 0.4em; border-radius: 6px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-soft); color: var(--text); overflow-wrap: anywhere; }
.prose pre { margin: 22px 0 0; padding: 18px 20px; border-radius: 14px; background: #070A10; border: 1px solid var(--line); overflow-x: auto; font-size: 14px; line-height: 1.7; }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.prose .highlight { position: relative; margin-top: 22px; }
.prose .highlight pre { margin: 0; padding-right: 76px; }
.prose img { border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 40px 0; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--line); color: var(--text-3); }
.prose figure { margin: 28px 0 0; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted-2); }
.table-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.prose th { background: rgba(255, 255, 255, 0.035); color: var(--text); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose td code { white-space: nowrap; }
.prose .admonition { margin-top: 24px; padding: 18px 22px; border-radius: 14px; border: 1px solid rgba(55, 197, 249, 0.35); background: rgba(55, 197, 249, 0.06); }
.prose .admonition.important, .prose .admonition.warning { border-color: rgba(251, 151, 35, 0.45); background: rgba(251, 151, 35, 0.07); }
.prose .admonition > * + * { margin-top: 10px; }
.prose .admonition-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-soft); }
.prose .admonition.important .admonition-title, .prose .admonition.warning .admonition-title { color: var(--orange-soft); }
.copy-button { position: absolute; top: 10px; right: 10px; min-height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); color: var(--text-3); font: 500 12px/1 var(--mono); cursor: pointer; }
.copy-button:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }

@media (max-width: 640px) { .prose .highlight pre { padding: 46px 16px 16px; } .prose pre { font-size: 13px; } }
.prose-page { max-width: 760px; padding: clamp(56px, 8vw, 96px) 0 24px; }

/* ---------- docs layout */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 56px; align-items: start; padding-top: 40px; }
.docs-sidebar { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-bottom: 24px; scrollbar-width: thin; }
.docs-sidebar__toggle { display: none; }
.docs-nav__group + .docs-nav__group { margin-top: 20px; }
.docs-nav__heading { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.docs-nav__group a { display: block; padding: 4px 12px; margin-left: -12px; border-radius: 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); text-decoration: none; }
.docs-nav__group a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.docs-nav__group a[aria-current="page"] { color: var(--text); background: rgba(55, 197, 249, 0.10); }
.docs-release { margin: 14px 0 20px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.docs-content { min-width: 0; padding-bottom: 24px; }
.docs-content > .eyebrow { margin-bottom: 14px; }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.docs-pager__link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; }
.docs-pager__link span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.docs-pager__link:hover { border-color: rgba(55, 197, 249, 0.5); color: var(--text); }
.docs-pager__link--next { grid-column: 2; text-align: right; }
.docs-help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; font-size: 14px; color: var(--muted-2); }
.docs-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.docs-toc li a { display: block; padding: 5px 0 5px 12px; border-left: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--muted-2); text-decoration: none; }
.docs-toc li a:hover { color: var(--text); }
.docs-toc li a.is-active { color: var(--text); border-left-color: var(--sky-2); }

.docs-search { position: relative; }
.docs-search input { width: 100%; height: 42px; padding: 0 40px 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 400 14.5px var(--font); }
.docs-search input::placeholder { color: var(--dim); }
.docs-search input:focus { outline: 2px solid var(--sky-2); outline-offset: 1px; }
.docs-search kbd { position: absolute; right: 10px; top: 11px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; border: 1px solid var(--line); font: 500 11px var(--mono); color: var(--dim); }
.docs-search__results { position: absolute; z-index: 20; left: 0; right: -120px; top: 48px; max-height: 60vh; overflow-y: auto; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: #0F1522; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.docs-search__results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.docs-search__results a:hover, .docs-search__results a[aria-selected="true"] { background: rgba(55, 197, 249, 0.12); }
.docs-search__results small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.docs-search__results mark { background: rgba(251, 151, 35, 0.28); color: inherit; border-radius: 3px; }
.docs-search__empty { padding: 10px 12px; font-size: 13.5px; color: var(--muted-2); }

@media (max-width: 1200px) {
  .docs { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
  .docs-toc { display: none; }
}
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; }
  .docs-sidebar { position: static; max-height: none; overflow: visible; padding: 0; }
  .docs-sidebar__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 500 15px var(--font); cursor: pointer; }
  .docs-sidebar__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .docs-sidebar__panel { display: none; padding: 16px 2px 8px; }
  .docs-sidebar__panel.is-open { display: block; }
  .docs-search__results { right: 0; }
  .docs-pager { grid-template-columns: minmax(0, 1fr); }
  .docs-pager__link--next { grid-column: 1; text-align: left; }
}

/* ---------- mail button: the address lives only in the link, never on screen */
.mail-button, .prose a.mail-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 11px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.22); color: var(--text); font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.mail-button::before { content: ""; width: 18px; height: 18px; flex: none; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FDBFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.mail-button:hover, .prose a.mail-button:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(55, 197, 249, 0.5); color: var(--text); }
