/* OpenBI under load: the performance page. The Mac page's system (mac.css), trimmed to what this page uses: dark
   product chapters that stay dark whatever the theme, light text chapters that follow the reader's system theme (and
   the site's data-theme on <html>), the hero's scroll scene, big numbers with bars, tables, specs and footnotes.
   Added: line charts (drawn by performance.js), the error steps, the glossary, the machines picture, references.
   Every scene works without script and with reduced motion (it is then a still). */

/* Inter from the site's own fonts (the site loads nothing from other sites) */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #2F6FDE;
  --blue-bright: #4C8DFF;
  --violet: #8A6CFF;
  --pink: #E58BD6;
  --grad: linear-gradient(90deg, #5B9BFF 0%, #9A7DFF 48%, #E58BD6 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1260px;
  --nav-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  /* the dark chapters: fixed, whatever the theme */
  --d-bg: #000;
  --d-fg: #f5f5f7;
  --d-muted: #86868b;
  --d-soft: #a1a1a6;
  --d-line: #2a2a2d;
  --d-card: #161617;
  --d-link: #2997ff;
  /* the series: OpenBI in the brand's blue, Analysis Services in a neutral grey */
  --obi: #5B9BFF;
  --as: #8E8E93;
  /* the text chapters: light by default */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --link: #0066cc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000; --bg-alt: #0d0d0e; --fg: #f5f5f7; --muted: #86868b; --line: #2f2f32; --card: #161617; --link: #2997ff;
  }
}
:root[data-theme="dark"] {
  --bg: #000; --bg-alt: #0d0d0e; --fg: #f5f5f7; --muted: #86868b; --line: #2f2f32; --card: #161617; --link: #2997ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; background: var(--d-bg); color: var(--d-fg); font-family: var(--font); font-size: 17px; line-height: 1.47;
  letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, canvas, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
sup { font-size: .55em; line-height: 0; vertical-align: super; letter-spacing: 0; }
.fn a { color: inherit; text-decoration: none; opacity: .8; padding: 0 1px; }
.fn a:hover, .fn a:focus-visible { text-decoration: underline; opacity: 1; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 44px); margin: 0 auto; }
.wrap-narrow { width: min(980px, 100% - 44px); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
@media (max-width: 734px) { .br-d { display: none; } }
@media (max-width: 480px) { .wrap, .wrap-narrow { width: calc(100% - 32px); } }

/* ------------------------------------------------------------------------------------------------- type scale */
.eyebrow { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; margin: 0 0 12px; color: var(--d-soft); }
.display { font-size: clamp(42px, 7vw, 96px); line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.h2 { font-size: clamp(38px, 5.6vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.003em; margin: 0; }
.intro { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: .009em; color: var(--d-soft); margin: 24px 0 0; }
.intro b, .intro strong { color: var(--d-fg); font-weight: 600; }
.display, .h2, .h3, .chart-card h3, .honest h3 { text-wrap: balance; }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--d-muted); }

/* ------------------------------------------------------------------------------------------- the global bar */
.gbar { position: relative; z-index: 30; height: 44px; background: rgba(0, 0, 0, .8); }
.gbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--d-fg); }
.mark { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.gbar nav { display: flex; gap: 26px; font-size: 12px; }
.gbar nav a { text-decoration: none; color: #d2d2d7; opacity: .9; }
.gbar nav a:hover { color: #fff; }
@media (max-width: 400px) { .gbar nav { gap: 18px; } }

/* ------------------------------------------------------------------------------------------- the chapter nav */
.chapters { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: rgba(22, 22, 23, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--d-fg); }
.chapters .wrap { display: flex; align-items: center; height: 100%; gap: 18px; }
.ch-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; text-decoration: none; white-space: nowrap; margin-right: auto; }
.ch-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.ch-list a { font-size: 12px; text-decoration: none; color: #d2d2d7; padding: 6px 0; position: relative; white-space: nowrap; }
.ch-list a:hover { color: #fff; }
.ch-list a[aria-current="true"] { color: #fff; }
.ch-list a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; }
.ch-cta { background: #0071e3; color: #fff; text-decoration: none; font-size: 12px; line-height: 1; padding: 7px 13px; border-radius: 980px; white-space: nowrap; }
.ch-cta:hover { background: #0077ed; }
.ch-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; padding: 0; cursor: pointer; }
.ch-toggle svg { width: 14px; height: 14px; margin: auto; transition: transform .3s var(--ease); }
.ch-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 900px) {
  .ch-title { font-size: 19px; }
  .ch-toggle { display: block; order: 2; }
  .ch-cta { order: 3; }
  .ch-list { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 22px 18px;
    background: rgba(22, 22, 23, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .08); visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .ch-list.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .ch-list a { display: block; font-size: 17px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .ch-list a[aria-current="true"]::after { display: none; }
}
/* without script the chevron can't open the list: show the chapters as a sideways strip under the bar instead */
@media (max-width: 900px) {
  html:not(.js) .ch-toggle { display: none; }
  html:not(.js) .chapters { height: auto; }
  html:not(.js) .chapters .wrap { flex-wrap: wrap; padding: 8px 0; row-gap: 4px; }
  html:not(.js) .ch-list { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; flex-wrap: wrap;
    gap: 4px 16px; padding: 0; background: none; border: 0; order: 4; width: 100%; }
  html:not(.js) .ch-list a { font-size: 13px; padding: 4px 0; border: 0; }
}

/* ------------------------------------------------------------------------------ scroll scenes (progressive) */
/* Without script, or with reduced motion, a scene is a plain section with a still picture. */
.scene { position: relative; background: var(--d-bg); }
.scene .sticky { position: relative; overflow: hidden; }
.scene canvas.seq { display: none; }
.scene .still { width: 100%; height: auto; margin: 0 auto; }
.motion .scene { height: var(--h, 300vh); }
.motion .scene .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.motion .scene canvas.seq { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.motion .scene .still { display: none; }
.motion [data-fade] { opacity: 0; will-change: opacity, transform; }
@media (max-width: 734px) { .motion .scene { height: var(--hm, var(--h, 260vh)); } }

/* the hero */
.hero .copy { position: relative; z-index: 2; text-align: center; padding: 72px 22px 0; }
.motion .hero .copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 3.5vh); padding-top: 0; }
.hero .eyebrow { font-size: clamp(17px, min(1.6vw, 2.4vh), 21px); margin-bottom: 1vh; }
.hero .display { font-size: clamp(40px, min(6.4vw, 8.6vh), 96px); }
.hero .intro { max-width: 820px; margin: 1.8vh auto 0; font-size: clamp(17px, min(1.6vw, 2.5vh), 24px); }
.hero .ctas { margin-top: 2.6vh; }
.ctas { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: #0071e3; color: #fff; text-decoration: none; font-size: 17px;
  line-height: 1.18; padding: 12px 22px; border-radius: 980px; border: 0; cursor: pointer; }
.btn:hover { background: #0077ed; }
.more { color: var(--d-link); text-decoration: none; font-size: 17px; }
.more:hover { text-decoration: underline; }
.more::after { content: " \203A"; }
.hero .meta { margin-top: 1.6vh; }
.hero .still { width: min(100% - 32px, 1260px); padding: 40px 0 0; }
.hero .copy-2 { position: relative; z-index: 2; text-align: center; padding: 24px 22px 96px; }
.motion .hero .copy-2 { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 7vh); padding: 0 22px; }
.hero .copy-2 .h3 { text-shadow: 0 2px 30px #000; font-size: clamp(30px, min(3.6vw, 5.6vh), 52px); }
.hero .copy-2 .guide { margin: 14px auto 0; max-width: 560px; color: var(--d-soft); font-size: clamp(15px, min(1.3vw, 2.2vh), 19px); font-weight: 500; }
@media (max-width: 734px) { .motion .hero .copy { top: calc(var(--nav-h) + 3vh); } .hero .ctas { gap: 16px; } }

/* ----------------------------------------------------------------------------------------- dark chapters */
.dark { background: var(--d-bg); color: var(--d-fg); }
.sec { padding: clamp(88px, 12vw, 160px) 0; }
.sec-tight { padding: clamp(64px, 8vw, 100px) 0; }
.head { max-width: 860px; }
.head.center { margin: 0 auto; }

/* big numbers */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.kpi { margin: 0; background: var(--d-card); border-radius: 28px; padding: 34px 32px 30px; display: flex; flex-direction: column; min-width: 0; }
.kpi .scale-note { margin-top: auto; }
.kpi .num { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.kpi .what { margin: 14px 0 22px; font-size: 19px; line-height: 1.32; color: var(--d-soft); font-weight: 500; }
.kpi .what b { color: var(--d-fg); font-weight: 600; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; gap: 5px; }
.bar .name { font-size: 14px; color: var(--d-soft); display: flex; justify-content: space-between; gap: 12px; }
.bar .name b { color: var(--d-fg); font-weight: 600; white-space: nowrap; }
.bar .line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar .fill { display: block; height: 100%; width: max(3px, calc(var(--v) * 100%)); border-radius: 4px; background: #48484a;
  transform-origin: left; transform: scaleX(var(--s, 1)); }
.bar.obi .fill { background: var(--grad); }
.bar.zb .fill { background: #E58BD6; }
.bar.mm .fill { background: #E5E5EA; }
.motion .bars:not(.in) .fill { --s: 0; }
.motion .bars .fill { transition: transform 1.1s var(--ease); }
.motion .bars .bar:nth-child(2) .fill { transition-delay: .12s; }
.motion .bars .bar:nth-child(3) .fill { transition-delay: .24s; }
.scale-note { font-size: 12px; color: var(--d-muted); margin: 0 0 10px; }
@media (max-width: 1068px) { .kpis { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; } }

/* the error steps: one dot per step of the test; hollow where a step was not measured */
.steps { display: grid; gap: 12px; }
.srow { display: grid; gap: 7px; }
.srow .name { font-size: 14px; color: var(--d-soft); display: flex; justify-content: space-between; gap: 12px; }
.srow .name b { color: var(--d-fg); font-weight: 600; white-space: nowrap; }
.dots, .sticks { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.dots i { display: block; height: 8px; border-radius: 4px; background: #48484a; }
.srow.obi .dots i.ok { background: var(--obi); }
.dots i.nm { background: transparent; box-shadow: inset 0 0 0 1px #48484a; }
.sticks span { font-size: 11px; color: var(--d-muted); text-align: center; font-variant-numeric: tabular-nums; }
.motion .steps:not(.in) .dots i.ok { transform: scaleX(0); }
.motion .steps .dots i { transform-origin: left; transition: transform .5s var(--ease); }

/* ---------------------------------------------------------------------------------------------- line charts */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.chart-card { margin: 0; background: var(--d-card); border-radius: 28px; padding: 30px 28px 22px; min-width: 0; }
.chart-card.wide { grid-column: 1 / -1; }
.chart-card h3 { margin: 0; font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: .009em; }
.chart-card figcaption p { margin: 6px 0 0; font-size: 15px; color: var(--d-soft); }
.readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 18px 0 4px; min-height: 26px; font-size: 14px; color: var(--d-soft); }
.readout .at { color: var(--d-muted); font-size: 13px; width: 100%; }
.readout .it { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.readout .key { width: 18px; height: 0; border-top: 2px solid; border-radius: 1px; }
.readout .key.dash { border-top-style: dashed; }
.readout .key.dot { border-top-style: dotted; border-top-width: 3px; }
.readout b { color: var(--d-fg); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 17px; }
.readout b.nm { color: var(--d-muted); font-weight: 500; font-size: 14px; }
.lc { position: relative; outline: none; touch-action: pan-y; border-radius: 12px; }
.lc:focus-visible { box-shadow: 0 0 0 2px var(--blue-bright); }
.lc svg { width: 100%; height: auto; overflow: visible; }
.lc .grid line { stroke: #2a2a2d; stroke-width: 1; shape-rendering: crispEdges; }
.lc .tick { fill: var(--d-muted); font: 500 11px var(--font); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.lc .unit, .lc .xtitle { fill: var(--d-muted); font: 500 12px var(--font); letter-spacing: 0; }
.lc .ser { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lc .pt { stroke: var(--d-card); stroke-width: 2; }
.lc .lab { fill: #d2d2d7; font: 600 13px var(--font); letter-spacing: 0; paint-order: stroke; stroke: var(--d-card); stroke-width: 4px; stroke-linejoin: round; }
.lc .cross { stroke: #6e6e73; stroke-width: 1; }
.lc .hot { stroke: var(--d-card); stroke-width: 2; }
.chart-hint { margin: 8px 0 0; font-size: 12px; color: var(--d-muted); }
@media (max-width: 1000px) { .charts { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; } }
@media (max-width: 480px) { .chart-card { padding: 24px 16px 18px; border-radius: 22px; } .chart-card figcaption { padding: 0 4px; } }

html:not(.js) .charts { display: none; }

/* the measured steps, under the charts */
.numbers { margin-top: 26px; }
.numbers summary { cursor: pointer; color: var(--d-link); font-size: 17px; list-style: none; display: inline-block; }
.numbers summary::-webkit-details-marker { display: none; }
.numbers summary::after { content: " +"; }
.numbers[open] summary::after { content: " \2212"; }
.numbers .scroll-x { margin-top: 18px; }
.numbers p { color: var(--d-muted); font-size: 14px; margin: 14px 0 0; max-width: 900px; }
.light-sec .numbers summary { color: var(--link); }

/* tables (dark and light) */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.35; letter-spacing: -0.01em; }
.tbl caption { text-align: left; }
.tbl th, .tbl td { padding: 10px 10px; border-bottom: 1px solid var(--line-c, var(--d-line)); text-align: right; vertical-align: top; font-variant-numeric: tabular-nums; }
.tbl th[scope="row"], .tbl thead th:first-child { text-align: left; font-weight: 500; }
.tbl thead th { font-size: 12px; font-weight: 600; color: var(--muted-c, var(--d-muted)); vertical-align: bottom; }
.tbl thead tr.grp th { text-align: center; border-bottom: 0; padding-bottom: 2px; color: var(--fg-c, var(--d-fg)); }
.tbl .sub th { white-space: nowrap; }
.tbl td.lead { font-weight: 600; color: var(--fg-c, var(--d-fg)); }
.tbl .note { display: block; font-size: 13px; color: var(--muted-c, var(--d-muted)); font-weight: 400; margin-top: 4px; line-height: 1.42; }
.tbl .nm { font-size: 12px; color: var(--muted-c, var(--d-muted)); white-space: nowrap; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x:focus-visible { outline-offset: 2px; }
.scroll-x .tbl { min-width: 720px; }

/* ----------------------------------------------------------------------------------- light text chapters */
.light-sec { background: var(--bg); color: var(--fg); --line-c: var(--line); --muted-c: var(--muted); --link-c: var(--link); --fg-c: var(--fg); }
.light-sec.alt { background: var(--bg-alt); }
.light-sec .eyebrow { color: var(--muted); }
.light-sec .intro { color: var(--muted); }
.light-sec .intro b { color: var(--fg); }
.light-sec .small { color: var(--muted); }
.light-sec a { color: var(--link); }

/* the glossary */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; margin: 64px 0 0; }
.terms div { border-top: 1px solid var(--line); padding-top: 22px; }
.terms dt { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: .011em; }
.terms dd { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.47; }
@media (max-width: 1068px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .terms { grid-template-columns: 1fr; gap: 28px; } }

/* the honest box: here in a light chapter */
.honest { margin-top: 56px; background: var(--d-card); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 32px; align-items: start; }
.honest h3 { margin: 0; font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: .009em; }
.honest p { margin: 10px 0 0; color: var(--d-soft); font-size: 15px; line-height: 1.47; }
.light-sec .honest { background: var(--card); }
.light-sec:not(.alt) .honest { background: var(--bg-alt); }
.light-sec .honest p { color: var(--muted); }
.honest .tbl th[scope="row"] { width: 56%; }
.honest .tbl td { font-size: 17px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1000px) { .honest { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .honest { padding: 24px 16px; border-radius: 22px; } .honest .tbl th, .honest .tbl td { padding: 10px 6px; } .honest .tbl td { font-size: 15px; } }

/* ------------------------------------------------------------------------------------ the other computers */
.machines-pic { margin: 56px auto 0; max-width: 1440px; }
.machines-pic img { width: 100%; height: auto; }
.machines-pic figcaption { margin-top: 4px; text-align: center; }
.hls { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hl { background: var(--d-card); border-radius: 24px; padding: 28px 28px 26px; min-width: 0; }
.hl h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: .011em; }
.hl p { margin: 6px 0 18px; font-size: 14px; color: var(--d-muted); }
.hl .x { color: var(--d-fg); font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.hl .x small { font-size: 17px; font-weight: 500; color: var(--d-soft); letter-spacing: -0.01em; margin-left: 6px; }
@media (max-width: 1000px) { .hls { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; } }

/* ------------------------------------------------------------------------------------------------ method */
.method-text { max-width: 860px; margin-top: 28px; }
.method-text p { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 18px; }
.method-text p b { color: var(--fg); font-weight: 600; }
.specs .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.specs article { border-top: 1px solid var(--line); padding-top: 26px; min-width: 0; }
.specs h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: .009em; }
.specs .sub { margin: 6px 0 22px; font-size: 14px; color: var(--muted); min-height: 2.9em; }
.specs dl { margin: 0; display: grid; gap: 14px; }
.specs dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-size: 17px; }
.specs .res { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.specs .res dd b { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.specs .lead h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts { list-style: none; margin: 72px 0 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; border-top: 1px solid var(--line); }
.facts li { font-size: 14px; color: var(--muted); }
.facts b { display: block; font-size: 32px; line-height: 1.1; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; margin-bottom: 4px; }
@media (max-width: 1000px) { .specs .cols { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .specs .sub { min-height: 0; } }

/* references */
.specs .refs-title { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; margin-top: clamp(72px, 9vw, 120px); }
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.ref { background: var(--card); border-radius: 24px; padding: 28px; }
.light-sec:not(.alt) .ref { background: var(--bg-alt); }
.ref .src { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ref h4 { margin: 0; font-size: 21px; line-height: 1.24; font-weight: 600; letter-spacing: .011em; }
.ref h4 a { text-decoration: none; }
.ref h4 a:hover { text-decoration: underline; }
.ref p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.47; }
.ref q { color: var(--fg); }
.refs-line { margin: 36px 0 0; max-width: 860px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.refs-line b { color: var(--fg); }
@media (max-width: 860px) { .refs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ref { padding: 22px 18px; } }

/* -------------------------------------------------------------------------------------------- footnotes */
.notes { background: var(--bg-alt); color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: -0.01em; padding: 40px 0 64px; }
.notes ol { margin: 0; padding-left: 1.6em; display: grid; gap: 10px; }
.notes li:target { color: var(--fg); }
.notes a { color: var(--link); overflow-wrap: anywhere; }
.legal { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 8px; }
.legal p { margin: 0; }
.foot { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 0 0 40px; }
.foot .wrap { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--fg); text-decoration: none; }

/* -------------------------------------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
