/* OpL Insights site. Palette from the OpL Insights logo; Inter (self-hosted). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/Inter-Regular.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../fonts/Inter-Medium.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/Inter-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Inter Display'; font-weight: 600; font-display: swap; src: url(../fonts/InterDisplay-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Inter Display'; font-weight: 700; font-display: swap; src: url(../fonts/InterDisplay-Bold.woff2) format('woff2'); }

:root {
  --ink: #1f2937;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --blue: #1f5c99;
  --blue-2: #2f74b8;
  --blue-3: #3f8fd6;
  --mist: #eef4fb;
  --line: #dbe3ec;
  --paper: #ffffff;
  --red: #c62828;
  --amber: #b26a00;
  --green: #2e7d32;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --display: 'Inter Display', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-s: 4px;
  --r-m: 8px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); font-feature-settings: 'cv11', 'ss01'; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-2); }
:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-s); background: var(--blue); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid var(--blue); line-height: 1.2; }
.btn:hover { background: #184d82; color: #fff; }
.btn-quiet { background: transparent; color: var(--blue); border-color: #b9cde3; }
.btn-quiet:hover { background: var(--mist); color: var(--blue); }
.btn-small { padding: 8px 14px; font-size: .95rem; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--mist); color: var(--blue); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 32px; width: auto; }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.topnav a:hover, .topnav a[aria-current] { color: var(--blue); }
.topnav a.btn { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-s); padding: 6px 12px; font: inherit; color: var(--ink); }

/* hero */
.hero { padding: 72px 0 96px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 420px at 85% 60%, var(--mist), transparent 70%), #fff; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 11em; }
.hero-copy .lede { margin: 24px 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; color: var(--ink-3); font-size: .95rem; }

/* hero: replay */
.replay { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 30px 60px -30px rgba(31, 92, 153, .35), 0 2px 6px rgba(31, 41, 55, .06); overflow: hidden; }
.replay-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.replay-dots { display: flex; gap: 6px; }
.replay-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6dee8; }
.replay-url { font: 400 .8rem/1 var(--mono); color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.replay-stage { position: relative; padding: 26px 26px 18px; }
.shop { display: grid; grid-template-columns: 42% 1fr; gap: 24px; }
.shop-img { aspect-ratio: 1; border-radius: var(--r-s); background: #eef3f8; display: grid; place-items: center; padding: 14%; }
.shop-img svg { width: 100%; height: auto; }
.shop-title { font: 600 1.05rem/1.3 var(--display); margin: 2px 0 6px; }
.shop-price { font: 700 1.5rem/1 var(--display); color: var(--ink); margin: 0 0 14px; }
.shop-qty { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-s); padding: 4px 12px; font-size: .85rem; color: var(--ink-3); margin-bottom: 12px; }
.shop-qty b { color: var(--ink); }
.shop-btn { display: block; width: 100%; padding: 11px; border: 0; border-radius: var(--r-s); background: var(--blue); color: #fff; font: 600 .95rem var(--body); cursor: default; transition: transform .08s; }
.shop-btn.pressed { transform: scale(.97); background: #184d82; }
.shop-stock { font-size: .8rem; color: var(--green); margin: 8px 0 0; }
.cursor { position: absolute; left: 0; top: 0; width: 20px; height: 24px; fill: var(--ink); stroke: #fff; stroke-width: 1.4; transform: translate(70px, 250px); transition: transform 1.1s cubic-bezier(.45,.05,.3,1); filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.ripple { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; pointer-events: none; }
.ripple.go { animation: ripple .45s ease-out; }
@keyframes ripple { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.4); } }
.console { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: var(--r-s); background: #fdecea; border-left: 3px solid var(--red); font: 400 .78rem/1.3 var(--mono); color: var(--red); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.console.show { opacity: 1; transform: none; }
.c-src { color: #8a3a3a; white-space: nowrap; }
.replay-track { padding: 14px 18px 4px; border-top: 1px solid var(--line); }
.track-line { position: relative; height: 4px; background: #e3eaf2; border-radius: 2px; }
.track-play { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue-2); border-radius: 2px; }
.track-line .dot { position: absolute; left: var(--at); top: -3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 2px; background: #c6d3e1; transition: background .3s; }
.track-line .dot.lit.m-page { background: var(--blue-3); }
.track-line .dot.lit.m-rage, .track-line .dot.lit.m-err { background: var(--red); }
.track-line .dot.lit.m-exit { background: var(--ink-3); }
.track-marks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .78rem; color: var(--ink-3); }
.track-marks li { position: relative; padding-left: 14px; opacity: .4; transition: opacity .3s; }
.track-marks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-3); }
.track-marks li.lit { opacity: 1; color: var(--ink); }
.track-marks .m-rage::before, .track-marks .m-err::before { background: var(--red); }
.track-marks .m-exit::before { background: var(--ink-3); }
.replay figcaption { padding: 8px 18px 14px; font-size: .82rem; color: var(--ink-3); }

/* bands */
.band { padding: 96px 0; }
.band-mist { background: var(--mist); }
.band-ink { background: var(--blue); color: #fff; }
.band-title { margin-bottom: 14px; }
.band-lede { color: var(--ink-2); font-size: 1.15rem; max-width: 38em; margin-bottom: 56px; }

/* features: alternating rows, each with its own small product visual */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.feature-flip .feature-copy { order: 2; }
.feature-copy h3 { margin-bottom: 12px; }
.feature-copy p { color: var(--ink-2); max-width: 32em; }
.feature-link { margin: 0; }
.viz { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; font-size: .9rem; }

.viz-console { font: 400 .8rem/1.5 var(--mono); padding: 0; overflow: hidden; }
.vc-tabs { display: flex; gap: 18px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-family: var(--body); font-size: .82rem; color: var(--ink-3); background: #f7f9fc; }
.vc-tabs b { color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px var(--blue); padding-bottom: 8px; margin-bottom: -11px; }
.viz-console p { margin: 0; padding: 7px 16px; border-bottom: 1px solid #edf1f6; color: var(--ink-2); }
.viz-console .t { color: var(--ink-3); margin-right: 12px; }
.viz-console em { font-style: normal; margin-left: 8px; }
.viz-console .ok { color: var(--green); }
.viz-console .bad, .viz-console .err { color: var(--red); }
.viz-console .err { background: #fdf3f2; }

.viz-heat { min-height: 250px; overflow: hidden; }
.vh-page { display: grid; gap: 10px; width: 70%; }
.vh-row { height: 10px; border-radius: 3px; background: #e6edf5; }
.w70 { width: 70%; } .w40 { width: 40%; } .w55 { width: 55%; }
.vh-box { height: 80px; border-radius: var(--r-s); background: #eef3f8; }
.vh-btn { justify-self: start; padding: 8px 18px; border-radius: var(--r-s); background: var(--blue); color: #fff; font-weight: 600; font-size: .82rem; }
.spot { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: multiply; }
.spot-a { width: 120px; height: 120px; left: 8%; top: 18%; background: radial-gradient(circle, rgba(63,143,214,.45), transparent 65%); }
.spot-b { width: 90px; height: 90px; left: 40%; top: 40%; background: radial-gradient(circle, rgba(63,143,214,.35), transparent 65%); }
.spot-c { width: 130px; height: 130px; left: 2%; top: 58%; background: radial-gradient(circle, rgba(198,40,40,.55), rgba(255,170,0,.25) 40%, transparent 68%); }
.vh-note { position: absolute; right: 18px; bottom: 16px; margin: 0; font-size: .82rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 6px 10px; }
.vh-note b { color: var(--red); }

.viz-funnel { display: grid; gap: 10px; }
.vf-row { display: grid; grid-template-columns: 80px 1fr 56px; align-items: center; gap: 12px; font-size: .85rem; color: var(--ink-2); }
.vf-row i { display: block; height: 18px; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-3)); }
.vf-row b { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.vf-drop span, .vf-drop b { color: var(--red); }
.vf-drop i { background: var(--red); }
.vf-note { margin: 8px 0 0; font-size: .85rem; color: var(--ink-2); }
.vf-note u { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.viz-ask .q { margin: 0 0 14px auto; max-width: 80%; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 12px 12px 2px 12px; width: fit-content; }
.viz-ask .a { background: #f4f7fb; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; padding: 12px 14px; color: var(--ink-2); }
.viz-ask .a p { margin: 0 0 8px; }
.viz-ask .a p:last-child { margin: 0; }
.viz-ask u { color: var(--blue); text-underline-offset: 3px; }

.viz-diag { padding: 6px 20px; }
.vd-row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #edf1f6; }
.vd-row:last-child { border-bottom: 0; }
.vd-n { font: 700 1.5rem/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.vd-m { font: 400 .82rem/1.4 var(--mono); color: var(--ink); }
.vd-m small { display: block; font-family: var(--body); color: var(--ink-3); font-size: .8rem; margin-top: 2px; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 2px solid var(--ink); }
.platform { display: block; padding: 22px 22px 22px 0; text-decoration: none; color: var(--ink-2); border-right: 1px solid var(--line); }
.platform + .platform { padding-left: 22px; }
.platform:last-child { border-right: 0; }
.platform b { display: block; font: 600 1.1rem/1.3 var(--display); color: var(--ink); margin-bottom: 6px; }
.platform span { font-size: .95rem; }
.platform i { font-style: normal; display: block; margin-top: 6px; color: var(--blue); }
.platform:hover b { color: var(--blue); }

/* privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 9px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.checks b { color: var(--ink); }

/* pricing */
.plans-scroll { overflow-x: auto; }
.plans { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); }
.plans th, .plans td { padding: 13px 18px; border-bottom: 1px solid #e8eef5; text-align: left; vertical-align: middle; }
.plans tbody th { font-weight: 400; color: var(--ink-2); font-size: .95rem; }
.plans td { text-align: center; width: 22%; }
.plans thead th { vertical-align: top; padding-top: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); text-align: left; }
.plans thead th:first-child { width: 34%; }
.plan-name { display: block; font: 600 1.15rem/1.2 var(--display); }
.plan-price { display: block; font: 700 1.7rem/1.2 var(--display); margin: 8px 0 8px; color: var(--ink); letter-spacing: -.02em; }
.plan-price small { font: 400 .9rem var(--body); color: var(--ink-3); margin-left: 2px; letter-spacing: 0; }
.plan-blurb { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.plans .plan-hi { background: #f5f9fe; }
.plans thead .plan-hi { box-shadow: inset 0 3px var(--blue); }
.yes, .no { display: inline-block; width: 18px; height: 18px; position: relative; }
.yes::before { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 6px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.no::before { content: ''; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; background: #c7d2de; }
.plan-cta td { padding: 18px; border-bottom: 0; }
.plan-cta .btn { width: 100%; justify-content: center; }
.credit { margin-top: 48px; max-width: 46em; }
.credit h3 { margin-bottom: 10px; }
.credit p { color: var(--ink-2); }

/* faq */
.faq details:first-of-type { margin-top: 0; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font: 600 1.08rem/1.35 var(--display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 26px; }
details p { color: var(--ink-2); margin: 0 0 18px; max-width: 40em; }

.closing { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.closing h2 { color: #fff; max-width: 18em; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .95rem; color: var(--ink-3); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in img { height: 28px; width: auto; margin-bottom: 12px; }
.foot nav { display: grid; gap: 8px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--blue); }
.foot-legal { max-width: var(--wrap); margin: 32px auto 0; padding: 0 24px; font-size: .85rem; }

/* docs */
.docs { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 48px; }
.docs-side, .docs-toc { position: sticky; top: 72px; align-self: start; max-height: calc(100vh - 72px); overflow-y: auto; padding: 32px 0; }
.side-title { font: 600 .82rem/1.3 var(--body); color: var(--ink); margin: 0 0 8px; letter-spacing: 0; }
.side-group { margin-top: 26px; }
.docs-side ul, .docs-toc ul { list-style: none; margin: 0; padding: 0; }
.docs-side li a { display: block; padding: 5px 10px; margin-left: -10px; border-radius: var(--r-s); color: var(--ink-2); text-decoration: none; font-size: .94rem; }
.docs-side li a:hover { color: var(--blue); background: var(--mist); }
.docs-side li a[aria-current] { color: var(--blue); background: var(--mist); font-weight: 600; }
.docs-toc { font-size: .88rem; }
.docs-toc li a { display: block; padding: 4px 0 4px 12px; color: var(--ink-3); text-decoration: none; border-left: 2px solid var(--line); }
.docs-toc li a:hover, .docs-toc li a.on { color: var(--blue); border-left-color: var(--blue); }
.search { position: relative; }
.search input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-s); font: inherit; font-size: .92rem; background: #fff; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--blue-3); box-shadow: 0 0 0 3px rgba(63,143,214,.2); }
.search-results { position: absolute; z-index: 10; left: 0; right: -120px; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 16px 40px -12px rgba(31,41,55,.25); max-height: 60vh; overflow: auto; }
.search-results a { display: block; padding: 8px 10px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.search-results a small { display: block; font-weight: 400; color: var(--ink-3); font-size: .82rem; margin-top: 2px; }
.search-results a:hover, .search-results a.sel { background: var(--mist); }
.search-results .none { padding: 8px 10px; color: var(--ink-3); font-size: .9rem; }

.docs-main { padding: 40px 0 80px; min-width: 0; }
.crumb { font-size: .88rem; color: var(--ink-3); margin-bottom: 10px; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--blue); }
.docs-main h1 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.docs-main .lede { font-size: 1.12rem; margin-bottom: 32px; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; padding-top: 8px; }
.prose h3 { font-size: 1.15rem; margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose code { font: 400 .86em var(--mono); background: #f1f4f8; border: 1px solid #e3e9f0; border-radius: 3px; padding: 1px 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: #f7f9fc; }
.prose td code { white-space: nowrap; }
.code { position: relative; margin: 0 0 24px; }
.code pre, .hl pre { margin: 0; padding: 16px 18px; background: #172a3f; color: #e6edf5; border-radius: var(--r-m); overflow-x: auto; font: 400 .84rem/1.6 var(--mono); }
.code pre { padding-right: 84px; }
.code pre code, .hl pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.copy { position: absolute; top: 8px; right: 8px; z-index: 1; font: 500 .78rem var(--body); color: #cfdcea; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-s); padding: 4px 10px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.16); color: #fff; }
.copy.done { color: #9be7a9; border-color: #9be7a9; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 600; max-width: 48%; }
.pager span { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-3); }
.pager-next { text-align: right; margin-left: auto; }

/* code colours (pygments classes) */
.hl .c, .hl .c1, .hl .cm, .hl .ch { color: #8aa2bb; font-style: italic; }
.hl .k, .hl .kd, .hl .kn, .hl .kc { color: #9ecbff; }
.hl .s, .hl .s1, .hl .s2, .hl .sd { color: #b5e3a4; }
.hl .nt, .hl .nb { color: #ffc98b; }
.hl .na, .hl .nx { color: #f0d9a6; }
.hl .mi, .hl .m, .hl .mf { color: #f5a97f; }
.hl .o, .hl .p { color: #c9d6e3; }
.hl .nf { color: #d7baff; }

/* getting-started generator */
.gen { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin: 12px 0 32px; padding: 24px; background: var(--mist); border-radius: var(--r-m); }
.gen-form { display: grid; gap: 16px; align-content: start; }
.gen-field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.gen-field select, .gen-field input { width: 100%; padding: 9px 10px; border: 1px solid #c8d6e5; border-radius: var(--r-s); font: inherit; font-size: .94rem; background: #fff; color: var(--ink); }
.gen-field[hidden] { display: none; }
.gen-steps { margin: 0 0 16px; padding-left: 1.3em; font-size: .95rem; }
.gen-steps li { margin-bottom: .5em; }
.gen .code { margin: 0; }
.gen .code pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 40px 18px 16px; }

/* responsive */
@media (max-width: 1100px) {
  .docs { grid-template-columns: 230px minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 900px) {
  .hero { background: #fff; padding: 48px 0 56px; }
  .hero-in, .feature, .privacy { grid-template-columns: 1fr; gap: 32px; }
  .feature-flip .feature-copy { order: 0; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0 !important; }
  .band { padding: 64px 0; }
  .docs { grid-template-columns: 1fr; gap: 0; }
  .docs-side { position: static; max-height: none; padding: 20px 0 0; }
  .docs-side .side-group { display: none; }
  .docs-side.open .side-group { display: block; }
  .gen { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .topnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px 24px 20px; gap: 14px; }
  .topnav.open { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .platforms { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .shop-img { display: none; }
  .console { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
