/* OpenBI Lake: openbi.no/lake/. The system of the cluster page (cluster.css, itself the Mac and performance pages'):
   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>), big numbers, footnotes. The flight is the cluster's (one frame sequence over
   three scroll scenes, its beats as captions over the picture). Added at the end: the narration's Listen buttons and
   transcripts, the water sound, bronze/silver/gold, the animated medallion diagram, the five-step stepper with its
   screenshots, the agent's conversation, the backup targets, the price comparison and the close.
   Strict Content-Security-Policy: no style attribute anywhere in the page; every size is a class here.
   Every scene works without script and with reduced motion: it is then a column of still pictures and captions. */

/* Inter from the site itself (/assets/fonts/, as the home page has it): the site's Content-Security-Policy allows fonts
   from openbi.no only */
@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;
  --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 two nodes, as the 3D streams have them */
  --n1: #5B9BFF;
  --n2: #9A7DFF;
  /* 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 text chapters: light by default */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --link: #0066cc;
  --code-bg: #1d1d1f;
  --code-fg: #f5f5f7;
  --code-cap: #a1a1a6;
  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;
    --code-bg: #222225;
  }
}
:root[data-theme="dark"] {
  --bg: #000; --bg-alt: #0d0d0e; --fg: #f5f5f7; --muted: #86868b; --line: #2f2f32; --card: #161617; --link: #2997ff;
  --code-bg: #222225;
}

*, *::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; }
code { font-family: var(--mono); font-size: .88em; letter-spacing: 0; }
sup { font-size: .55em; line-height: 0; vertical-align: super; letter-spacing: 0; }
.fn { white-space: nowrap; }
.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; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
@media (max-width: 480px) { .wrap { 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(40px, 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, .lesson h3, .step h3 { text-wrap: balance; }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--d-muted); }
@media (max-width: 480px) { .eyebrow { font-size: 18px; } }

/* ------------------------------------------------------------------------------------------- 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: 24px; font-size: 12px; }
.gbar nav a { text-decoration: none; color: #d2d2d7; opacity: .9; }
.gbar nav a:hover { color: #fff; }
@media (max-width: 420px) { .gbar nav { gap: 14px; } }

/* ------------------------------------------------------------------------------------------- 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: 20px; 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: 1000px) {
  .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 strip under the bar instead */
@media (max-width: 1000px) {
  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; }
}

/* ---------------------------------------------------------------------------------------------- buttons */
.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; }
/* "Download (soon)": the server's download isn't published yet, so a label where a link will be */
.soon { display: inline-block; font-size: 13px; font-weight: 600; line-height: 1; padding: 5px 10px; border-radius: 980px;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); margin-right: 4px; vertical-align: 1px; letter-spacing: 0; }
.ch-cta.soon-btn, .ch-cta.soon-btn:hover { background: rgba(255, 255, 255, .12); color: #d2d2d7; cursor: default; }
.btn.soon-btn, .btn.soon-btn:hover, .price .btn.soon-btn { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.more { color: var(--d-link); text-decoration: none; font-size: 17px; }
.more:hover { text-decoration: underline; }
.more::after { content: " \203A"; }

/* ============================================================================================== THE FLIGHT */
/* Without script, or with reduced motion: a column of still pictures, each with its caption under it. */
.flight { position: relative; background: var(--d-bg); color: var(--d-fg); }
.flight .sticky { position: relative; }
.flight canvas.seq { display: none; }
.flight .beats { width: min(1260px, 100% - 44px); margin: 0 auto; padding: 56px 0 120px; display: grid; gap: 72px; }
.flight .beat { margin: 0; }
.flight .beat .still { width: 100%; height: auto; border-radius: 18px; background: #0b0d12; }
.flight .beat figcaption { max-width: 760px; margin: 26px auto 0; }
.flight .beat { text-align: center; }
.flight .beat:not(.hero) > p, .flight .beat figcaption > p:not(.kicker) { color: var(--d-soft); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.42; font-weight: 500; margin: 12px auto 0; max-width: 680px; }
.flight .kicker { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--d-soft); }
.flight .kicker.n1 { color: var(--n1); }
.flight .kicker.n2 { color: var(--n2); }
.c-n1 { color: var(--n1); font-weight: 600; }
.c-n2 { color: var(--n2); font-weight: 600; }
.flight .hero { text-align: center; padding-top: 24px; }
.flight .hero .eyebrow { font-size: clamp(16px, 1.5vw, 21px); }
.flight .hero .display { font-size: clamp(38px, 6.4vw, 92px); }
.flight .hero .intro { max-width: 840px; margin: 22px auto 0; }
.flight .hero .meta { margin-top: 18px; }
.flight .hero-still { margin-top: -24px; }

/* With motion: a tall section, a sticky stage, the canvas behind and the beats over it, each faded in by its range. */
.motion .flight { height: var(--h, 1000vh); }
/* each scene's length of scroll (the cluster page set these in style attributes; this page has none) */
.flight.f-a { --h: 620vh; }
.flight.f-b { --h: 1500vh; }
.flight.f-c { --h: 560vh; }
@media (max-width: 734px), (max-aspect-ratio: 1/1) {
  .flight.f-a { --h: 520vh; }
  .flight.f-b { --h: 1250vh; }
  .flight.f-c { --h: 480vh; }
}
.motion .flight .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .flight canvas.seq { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.motion .flight .beats { position: absolute; inset: 0; width: auto; margin: 0; padding: 0; display: block; }
.motion .flight .beat { position: absolute; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.motion .flight .beat .still, .motion .flight .hero-still { display: none; }
.motion .flight .beat figcaption { margin: 0; max-width: none; }
/* over the overviews: across the top, on a soft scrim that the dark sky above the house continues */
.motion .flight .beat.top { left: 0; right: 0; top: 0; padding: calc(var(--nav-h) + 3.6vh) 22px 13vh; text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 48%, rgba(0, 0, 0, 0) 100%); }
.motion .flight .beat.top .h3 { font-size: clamp(30px, min(3.6vw, 5.6vh), 52px); text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.motion .flight .beat.top:not(.hero) > p, .motion .flight .beat.top figcaption > p:not(.kicker) { font-size: clamp(17px, min(1.5vw, 2.4vh), 21px); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.motion .flight .hero { padding-top: calc(var(--nav-h) + 3.2vh); padding-bottom: 16vh; }
.motion .flight .hero .eyebrow { font-size: clamp(15px, min(1.5vw, 2.3vh), 21px); margin-bottom: 1vh; }
.motion .flight .hero .display { font-size: clamp(36px, min(5.6vw, 7.6vh), 84px); }
.motion .flight .hero .intro { font-size: clamp(17px, min(1.6vw, 2.5vh), 24px); margin-top: 1.8vh; max-width: 800px; text-shadow: 0 1px 16px rgba(0, 0, 0, .9); }
.motion .flight .hero .ctas { margin-top: 2.6vh; }
.motion .flight .hero .meta { margin-top: 1.6vh; }
/* over the rooms, lit edge to edge: a card on its own scrim, top left where the picture is softest */
.motion .flight .beat.card { left: max(22px, 4vw); top: calc(var(--nav-h) + 4vh); width: min(440px, 100% - 44px); padding: 22px 26px 24px;
  border-radius: 24px; background: rgba(16, 16, 18, .72); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); text-align: left; }
.motion .flight .beat.card figcaption { text-align: left; }
.motion .flight .beat.card .h3 { font-size: clamp(26px, min(2.6vw, 4.4vh), 38px); }
.motion .flight .beat.card figcaption > p:not(.kicker) { font-size: 17px; margin: 10px 0 0; text-align: left; }

/* phones and portrait screens: the portrait frames sit whole at the bottom, every caption above them on black */
@media (max-width: 734px), (max-aspect-ratio: 1/1) {
  .motion .flight .beat.top, .motion .flight .beat.card { left: 0; right: 0; top: 0; width: auto; border-radius: 0; box-shadow: none;
    padding: calc(var(--nav-h) + 16px) 20px 40px; text-align: left; -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(to bottom, #000 0%, #000 74%, rgba(0, 0, 0, 0) 100%); }
  .motion .flight .beat, .motion .flight .beat figcaption { text-align: left; }
  .motion .flight .beat.top .h3, .motion .flight .beat.card .h3 { font-size: clamp(24px, 6.4vw, 34px); text-shadow: none; }
  .motion .flight .beat.top:not(.hero) > p, .motion .flight .beat.top figcaption > p:not(.kicker), .motion .flight .beat.card figcaption > p:not(.kicker) {
    font-size: 16px; line-height: 1.4; margin: 8px 0 0; text-shadow: none; max-width: 560px; text-align: left; }
  .motion .flight .hero { text-align: left; padding-bottom: 28px; }
  .motion .flight .hero .eyebrow { font-size: 15px; }
  .motion .flight .hero .display { font-size: clamp(32px, 9vw, 52px); }
  .motion .flight .hero .intro { font-size: 17px; margin: 12px 0 0; text-shadow: none; }
  .motion .flight .hero .ctas { justify-content: flex-start; gap: 18px; margin-top: 18px; }
  .motion .flight .hero .meta { display: none; }
  .flight .kicker { font-size: 12px; }
}
@media (max-width: 734px) {
  .flight .beats { gap: 56px; padding: 40px 0 88px; }
  .flight .beat .still { border-radius: 12px; }
  .flight .beat, .flight .hero { text-align: left; }
  .flight .beat:not(.hero) > p, .flight .beat figcaption > p:not(.kicker) { margin-left: 0; }
  .flight .hero .ctas { justify-content: flex-start; }
}

/* ---------------------------------------------------------------------------------------------- chapters */
.dark { background: var(--d-bg); color: var(--d-fg); }
.sec { padding: clamp(88px, 12vw, 160px) 0; }
.head { max-width: 860px; }
.head.center { margin: 0 auto; }
.sub-head { margin-top: clamp(96px, 10vw, 140px) !important; }
.sub-head .h3 + .intro { margin-top: 14px; }

/* the architecture: the four layers, joined by lines that stretch with the page */
.arch { margin: 72px auto 0; max-width: 820px; }
.a-row { display: flex; justify-content: center; }
.a-row.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.a-box { background: var(--d-card); border: 1px solid #2c2c2f; border-radius: 20px; padding: 18px 22px 20px; text-align: center; width: min(100%, 520px); }
.a-box h3 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: .01em; }
.a-box p { margin: 6px 0 0; font-size: 14px; line-height: 1.42; color: var(--d-soft); }
.a-box code { color: var(--d-fg); }
.a-box.node { width: auto; border-top: 3px solid var(--n1); }
.a-box.n2 { border-top-color: var(--n2); }
.a-box.lb { box-shadow: inset 0 0 0 1px rgba(154, 125, 255, .35); }
.a-box.db { position: relative; border: 0; background: linear-gradient(var(--d-card), var(--d-card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.a-link { width: 100%; height: 44px; overflow: visible; }
.a-link path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.a-link .flow { stroke: #5c5c60; stroke-dasharray: 5 7; }
.a-link .flow.b { stroke: var(--n1); }
.a-link .flow.v { stroke: var(--n2); }
.a-link .db-l { stroke: #6e6e73; }
.motion .a-link .flow { animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.arch figcaption { margin-top: 18px; text-align: center; }
@media (max-width: 600px) {
  .a-row.pair { gap: 12px; }
  .a-box { padding: 14px 14px 16px; border-radius: 16px; }
  .a-box h3 { font-size: 17px; }
  .a-box p { font-size: 13px; }
}

.pillars { list-style: none; margin: 88px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
.pillars li { border-top: 1px solid var(--d-line); padding-top: 22px; }
.pillars h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: .011em; }
.pillars p { margin: 10px 0 0; color: var(--d-soft); font-size: 15px; line-height: 1.47; }
.pillars code { color: var(--d-fg); }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; } }

/* the loop of both streams */
.loop-fig { margin: 64px auto 0; max-width: 1100px; }
.loop-fig video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px; background: #0b0d12; object-fit: cover; }
.loop-fig figcaption { margin-top: 12px; text-align: center; }
@media (max-width: 600px) { .loop-fig video { border-radius: 14px; } }

/* big numbers */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.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; }
.mini-tl { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--d-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-tl.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-tl li { display: grid; gap: 2px; min-width: 0; }
.mini-tl b { font-size: 17px; font-weight: 600; color: var(--d-fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-tl span { font-size: 13px; color: var(--d-muted); line-height: 1.3; }
.mini-tl:not(.two) { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 480px) { .mini-tl b { font-size: 15px; } }
@media (max-width: 1068px) { .kpis { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; } }

/* bars */
.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; font-variant-numeric: tabular-nums; }
.bar .line { position: relative; 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.rr .fill { background: #8E8E93; }
.bar.lr .fill { background: var(--grad); }
.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: .1s; }
.motion .bars .bar:nth-child(3) .fill { transition-delay: .2s; }
.motion .bars .bar:nth-child(4) .fill { transition-delay: .3s; }
.scale-note { font-size: 12px; color: var(--d-muted); margin: 0 0 10px; }

/* small multiples: every step, one scale */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.group { margin: 0; background: var(--d-card); border-radius: 24px; padding: 26px 26px 28px; min-width: 0; }
.group figcaption { font-size: 21px; font-weight: 600; letter-spacing: .011em; margin-bottom: 18px; }
.g-times { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--d-line); font-size: 13px; line-height: 1.45; color: var(--d-muted); }
.g-times b { color: var(--d-fg); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .groups { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; } }

/* the reference marks: sums of the measured numbers, drawn across the bar */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: clamp(96px, 10vw, 140px);
  background: var(--d-card); border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.why .eyebrow { font-size: 17px; }
.why .h3 { font-size: clamp(28px, 3vw, 40px); }
.why-text p:not(.eyebrow) { color: var(--d-soft); font-size: 17px; line-height: 1.5; margin: 16px 0 0; }
.why .bars { gap: 26px; }
.why .bar .line { height: 12px; border-radius: 6px; }
.why .bar .fill { border-radius: 6px; }
.why .mark { position: absolute; top: 0; bottom: 0; left: calc(var(--r) * 100% - 1px); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
.why .mark-note { font-size: 13px; color: var(--d-muted); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 32px; } }
/* openbi.no: below 375 px the column may shrink and the bars' labels wrap; otherwise they push the page 6 px sideways at
   320 px and cut the "90 %" label at 360 px */
@media (max-width: 374px) { .why, .why .split, .split .two { grid-template-columns: minmax(0, 1fr); } .why .split .sp-bar { height: auto; min-height: 30px; } .why .split .seg { white-space: normal; padding-top: 4px; padding-bottom: 4px; } }

/* the timeline of a failover */
.tl { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: tl; }
.tl li { position: relative; padding: 30px 22px 0 0; border-top: 2px solid #3a3a3d; min-width: 0; }
.tl li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--d-bg); box-shadow: inset 0 0 0 2px #8E8E93; }
.tl li:nth-child(2)::before { background: var(--n1); box-shadow: none; }
.tl li:nth-child(3)::before { background: var(--n2); box-shadow: none; }
.tl b { display: block; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.tl span { display: block; margin-top: 8px; color: var(--d-soft); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .tl li { border-top: 0; border-left: 2px solid #3a3a3d; padding: 0 0 28px 26px; }
  .tl li:last-child { padding-bottom: 0; }
  .tl li::before { top: 4px; left: -7px; }
}

/* result cards */
.hls { list-style: none; margin: clamp(72px, 8vw, 110px) 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; display: flex; flex-direction: column; }
.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: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; margin: auto 0 10px; font-variant-numeric: tabular-nums; }
.hl .x small { display: block; font-size: 15px; font-weight: 500; color: var(--d-soft); letter-spacing: -0.01em; margin-top: 8px; }
.hl .hl-note { margin: 4px 0 0; color: var(--d-soft); font-size: 15px; }
.hl code { color: var(--d-fg); }
@media (max-width: 1000px) { .hls { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; } }

/* the measured medians */
.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; }
.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(--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(--d-muted); vertical-align: bottom; }
.tbl td.lead { font-weight: 600; color: var(--d-fg); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x .tbl { min-width: 560px; }
.hap { margin-top: clamp(72px, 8vw, 110px); }
.hap .sub-intro { color: var(--d-soft); margin: 12px 0 18px; }
.hap .results { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hap .results li { border-top: 1px solid var(--d-line); padding-top: 16px; color: var(--d-soft); font-size: 15px; }
.hap .results b { display: block; color: var(--d-fg); font-size: 28px; font-weight: 600; margin-bottom: 6px; }
@media (max-width: 900px) { .hap .results { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------------------- light text chapters */
.light-sec { background: var(--bg); color: 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); }
.light-sec p code, .light-sec li > p code { background: var(--bg-alt); border-radius: 4px; padding: 0 3px; }
.light-sec.alt p code { background: var(--card); }

/* code blocks: a terminal, dark in both themes */
.cmd { margin: 14px 0 22px; background: var(--code-bg); color: var(--code-fg); border-radius: 14px; position: relative; min-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cmd figcaption { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--code-cap); padding: 12px 18px 0; padding-right: 84px; }
.cmd pre { margin: 0; padding: 10px 18px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; letter-spacing: 0; tab-size: 4; }
.cmd pre:focus-visible { outline-offset: -2px; border-radius: 14px; }
.cmd code { font-size: inherit; white-space: pre; }
.cmd .copy { position: absolute; top: 8px; right: 8px; font-size: 12px; line-height: 1; padding: 7px 11px; border-radius: 980px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #f5f5f7; }
.cmd .copy:hover { background: rgba(255, 255, 255, .18); }
.cmd .copy.done { background: rgba(48, 209, 88, .22); }
@media (max-width: 480px) { .cmd { border-radius: 12px; margin-left: -4px; margin-right: -4px; } .cmd pre { font-size: 12.5px; padding: 8px 14px 14px; } .cmd figcaption { padding-left: 14px; } }

/* the lessons */
.lessons { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; counter-reset: lesson; }
.lesson { background: var(--bg-alt); border-radius: 24px; padding: 30px 30px 26px; min-width: 0; counter-increment: lesson; }
.lesson::before { content: counter(lesson); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--bg);
  font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.lesson h3 { margin: 0; font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: .009em; }
.lesson p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.lesson .cmd { margin-bottom: 0; margin-top: 18px; }
@media (max-width: 900px) { .lessons { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lesson { padding: 24px 18px 22px; border-radius: 20px; } }

/* the guide, and beside it on wide screens the steps' index, which stays in view */
.guide { display: grid; grid-template-columns: minmax(0, 900px); gap: 0 56px; }
.toc { display: none; }
@media (min-width: 1180px) {
  .guide { grid-template-columns: minmax(0, 900px) minmax(0, 1fr); }
  .toc { display: block; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; margin-top: 56px; }
  .toc p { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent;
    font-size: 15px; color: var(--muted); text-decoration: none; }
  .toc a b { font-weight: 600; color: var(--fg); min-width: 10px; }
  .toc a:hover { color: var(--fg); }
  .toc a[aria-current="true"] { color: var(--fg); border-left-color: var(--fg); }
}
.before { margin-top: 56px; max-width: 900px; scroll-margin-top: calc(var(--nav-h) + 12px); background: var(--card); border-radius: 24px; padding: 28px 30px 8px; }
.before h3 { margin: 0; font-size: 21px; font-weight: 600; }
.before p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 22px; max-width: 900px; }
.step { background: var(--card); border-radius: 24px; padding: 32px 30px 12px; min-width: 0; scroll-margin-top: calc(var(--nav-h) + 12px); }
.step h3 { margin: 0 0 6px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 600; display: flex; align-items: baseline; gap: 14px; }
.step .n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 19px;
  position: relative; top: -2px; align-self: center; }
.step > p { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.step > p + .cmd { margin-top: 12px; }
@media (max-width: 480px) { .before, .step { padding-left: 18px; padding-right: 18px; border-radius: 20px; } .step .n { width: 34px; height: 34px; font-size: 16px; } }

/* not yet */
.nots { list-style: none; margin: 64px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1060px; }
.nots li { background: var(--d-card); border-radius: 24px; padding: 28px 30px; }
.nots li::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: #ff9f0a; box-shadow: 0 0 12px rgba(255, 159, 10, .7); margin-bottom: 16px; }
.nots h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 600; }
.nots p { margin: 10px 0 0; color: var(--d-soft); font-size: 16px; line-height: 1.5; }
.nots code { color: var(--d-fg); }
@media (max-width: 800px) { .nots { grid-template-columns: 1fr; } }

/* pricing and sizing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.price { background: var(--bg-alt); border-radius: 28px; padding: 34px 32px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.price h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.price .tag { font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 980px; padding: 3px 9px; color: var(--muted); }
.price .big { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; font-weight: 600; color: var(--fg); margin: 12px 0 0; letter-spacing: -0.005em; text-wrap: balance; }
.price p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 14px 0 0; }
.price .btn { margin-top: 26px; color: #fff; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.refs-title { margin-top: clamp(80px, 9vw, 120px); }
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.ref { background: var(--bg-alt); border-radius: 24px; padding: 28px; }
.ref .src { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ref h4 { margin: 0; font-size: 19px; line-height: 1.26; 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: 1000px) { .refs { grid-template-columns: 1fr; max-width: 680px; } }
@media (max-width: 480px) { .ref, .price { padding: 24px 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 .renders { margin: 0 0 16px; }
.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; }
.notes code { font-size: 11px; overflow-wrap: anywhere; } /* openbi.no: a long source path pushed the page 13 px sideways at 360 px */
.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; }

/* ================================================================================================ THE LAKE */
:root {
  --bronze: #C08A4E;          /* the renders' bronze water (#B0753A), a step lighter to read as text on black */
  --silver: #C9D3DE;
  --gold: #F2C14E;
  --backup: #5B9BFF;
  --lake-grad: linear-gradient(90deg, #C08A4E 0%, #C9D3DE 50%, #F2C14E 100%);
  --red: #e5484d;
  --yellow: #f5c542;
}
.grad-lake { background: var(--lake-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-bronze { color: var(--bronze); font-weight: 600; }
.c-silver { color: var(--silver); font-weight: 600; }
.c-gold { color: var(--gold); font-weight: 600; }
.flight .kicker.k-bronze { color: var(--bronze); }
.flight .kicker.k-silver { color: var(--silver); }
.flight .kicker.k-gold { color: var(--gold); }
.flight .kicker.k-blue { color: var(--backup); }
.light-sec .c-bronze { color: #9a5f22; }
.light-sec .c-gold { color: #a87a00; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .light-sec .c-bronze { color: var(--bronze); }
  :root:not([data-theme="light"]) .light-sec .c-gold { color: var(--gold); }
}
:root[data-theme="dark"] .light-sec .c-bronze { color: var(--bronze); }
:root[data-theme="dark"] .light-sec .c-gold { color: var(--gold); }

/* the flight's captions at the bottom of the frame, where the lake and the night sky leave room */
.motion .flight .beat.bottom { left: 0; right: 0; bottom: 0; padding: 14vh 22px calc(4vh + 8px); text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, 0) 100%); }
.motion .flight .beat.bottom .h3 { font-size: clamp(28px, min(3.2vw, 5vh), 46px); text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.motion .flight .beat.bottom > p { font-size: clamp(17px, min(1.5vw, 2.4vh), 21px); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
@media (max-width: 734px), (max-aspect-ratio: 1/1) {
  .motion .flight .beat.bottom { top: 0; bottom: auto; padding: calc(var(--nav-h) + 16px) 20px 40px; text-align: left;
    background: linear-gradient(to bottom, #000 0%, #000 74%, rgba(0, 0, 0, 0) 100%); }
  .motion .flight .beat.bottom .h3 { font-size: clamp(24px, 6.4vw, 34px); text-shadow: none; }
  .motion .flight .beat.bottom > p { font-size: 16px; line-height: 1.4; margin: 8px 0 0; text-shadow: none; text-align: left; }
}
.flight .beat.text-only { padding: 8px 0; }

/* ---------------------------------------------------------------------------------- narration: Listen */
.voice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 22px; }
.head:not(.center) .voice, .voice.left { justify-content: flex-start; }
.listen { display: none; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); color: #f5f5f7; border: 0;
  border-radius: 980px; padding: 9px 16px 9px 10px; font-size: 15px; line-height: 1; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.js .listen { display: inline-flex; }
.listen:hover { background: rgba(255, 255, 255, .16); }
.listen .ic { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #f5f5f7; flex: none; }
.listen .ic::before { content: ""; position: absolute; left: 10px; top: 8px; border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #000; }
.listen.playing .ic::before { left: 8px; top: 8px; width: 3px; height: 10px; border: 0; background: #000; box-shadow: 6px 0 0 #000; }
.listen .dur { color: #a1a1a6; font-variant-numeric: tabular-nums; font-size: 13px; }
.listen .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--backup); border-radius: 2px; }
.listen { position: relative; overflow: hidden; }
.listen .bar.p0 { width: 0; }
.light-sec .listen { background: var(--bg-alt); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.light-sec .listen .ic { background: var(--fg); }
.light-sec .listen .ic::before { border-left-color: var(--bg); }
.light-sec .listen.playing .ic::before { background: var(--bg); box-shadow: 6px 0 0 var(--bg); }
.light-sec .listen .dur { color: var(--muted); }
.transcript { font-size: 14px; color: var(--d-muted); text-align: left; }
.transcript summary { cursor: pointer; list-style: none; display: inline-block; color: var(--d-soft); padding: 6px 2px; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: " +"; }
.transcript[open] summary::after { content: " \2212"; }
.transcript[open] { flex-basis: 100%; }
.transcript .tx { max-width: 680px; margin: 6px auto 0; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  color: var(--d-soft); font-size: 15px; line-height: 1.55; }
.head:not(.center) .transcript .tx { margin-left: 0; }
.light-sec .transcript summary { color: var(--muted); }
.light-sec .transcript .tx { background: var(--bg-alt); color: var(--muted); }
.light-sec.alt .transcript .tx { background: var(--card); }
.transcript audio { display: block; width: 100%; max-width: 420px; margin: 10px auto 0; }
.js .transcript audio { display: none; }
.voice-note { font-size: 12px; color: var(--d-muted); }
/* the water sound: off until the reader turns it on */
.water { display: none; align-items: center; gap: 8px; background: none; border: 0; color: #d2d2d7; font-size: 14px; cursor: pointer; padding: 6px 4px; }
.js .water { display: inline-flex; }
.water .w-ic { width: 18px; height: 12px; border-radius: 0 0 9px 9px; border: 1.6px solid currentColor; border-top: 0; position: relative; }
.water .w-ic::before { content: ""; position: absolute; left: 2px; right: 2px; top: -5px; height: 4px; border-top: 1.6px solid currentColor; border-radius: 50%; }
.water[aria-pressed="true"] { color: var(--backup); }

/* ---------------------------------------------------------------------------------- what a lake is */
.gloss { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
.gloss li { border-top: 1px solid var(--d-line); padding-top: 22px; }
.gloss h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: .011em; }
.gloss p { margin: 10px 0 0; color: var(--d-soft); font-size: 15px; line-height: 1.5; }
.gloss code { color: var(--d-fg); }
@media (max-width: 1000px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gloss { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; } }
.why .split { display: grid; gap: 20px; }
.split .sp-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--d-soft); margin-bottom: 6px; }
.split .sp-label b { color: var(--d-fg); font-weight: 600; }
.split .sp-bar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.split .seg { display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; }
.split .seg.etl { width: 90%; background: var(--bronze); }
.split .seg.rest { width: 10%; background: #8E8E93; }
.split .seg.load { width: 100%; background: linear-gradient(90deg, var(--bronze), var(--silver), var(--gold)); }
.split .seg.rep { width: 100%; background: var(--backup); color: #fff; }
.split .sp-note { font-size: 13px; color: var(--d-muted); margin: 6px 0 0; }
.split .two { display: grid; gap: 8px; }

/* ---------------------------------------------------------------------------------- bronze, silver, gold */
.medal { margin: 72px auto 0; max-width: 1180px; display: grid; grid-template-columns: minmax(0, .8fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, .8fr);
  align-items: stretch; }
.m-box { background: var(--d-card); border-radius: 20px; padding: 18px 18px 18px; min-width: 0; border-top: 3px solid #48484a; }
.m-box h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--d-soft); }
.m-box .tbl-name { display: block; margin-top: 8px; font-family: var(--mono); font-size: 14px; color: var(--d-fg); letter-spacing: 0; overflow-wrap: anywhere; }
.m-box p { margin: 8px 0 0; font-size: 14px; line-height: 1.42; color: var(--d-soft); }
.m-box .rows { display: block; margin-top: 10px; font-size: 13px; color: var(--d-muted); }
.m-box.bronze { border-top-color: var(--bronze); }
.m-box.bronze h3 { color: var(--bronze); }
.m-box.silver { border-top-color: var(--silver); }
.m-box.silver h3 { color: var(--silver); }
.m-box.gold { border-top-color: var(--gold); }
.m-box.gold h3 { color: var(--gold); }
.m-box.src, .m-box.out { background: transparent; box-shadow: inset 0 0 0 1px var(--d-line); border-top-width: 1px; border-top-color: var(--d-line); }
.m-box.out { box-shadow: inset 0 0 0 1px rgba(91, 155, 255, .45); }
.m-link { position: relative; height: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.m-link svg { width: 100%; height: 24px; overflow: visible; }
.m-link line { stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.m-link .l-src { stroke: #8E8E93; }
.m-link .l-b { stroke: var(--bronze); }
.m-link .l-s { stroke: var(--silver); }
.m-link .l-g { stroke: var(--gold); }
.motion .m-link line { animation: drip 1.1s linear infinite; }
@keyframes drip { to { stroke-dashoffset: -22; } }
.m-step { grid-column: 1 / -1; display: none; }
.m-pq { margin: 26px auto 0; max-width: 1180px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.m-pq .pq { background: var(--d-card); border-radius: 20px; padding: 20px 22px; }
.m-pq h4 { margin: 0; font-size: 15px; font-weight: 600; }
.m-pq ol { margin: 10px 0 0; padding-left: 1.3em; color: var(--d-soft); font-size: 14px; line-height: 1.6; columns: 2; column-gap: 22px; }
.m-pq .pq p { margin: 10px 0 0; font-size: 14px; color: var(--d-soft); }
@media (max-width: 1000px) {
  .medal { grid-template-columns: 1fr; max-width: 520px; }
  .m-link { height: 44px; }
  .m-link svg { width: 24px; height: 44px; }
  .m-link line.h { display: none; }
  .m-link line.v { display: inline; }
  .m-pq { grid-template-columns: 1fr; max-width: 520px; }
  .m-pq ol { columns: 1; }
}
@media (min-width: 1001px) { .m-link line.v { display: none; } }
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis.four .kpi .num { font-size: clamp(44px, 4.4vw, 68px); }
@media (max-width: 1068px) { .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .kpis.four { grid-template-columns: 1fr; } }
.kpi .unit { font-size: .45em; font-weight: 600; margin-left: .12em; letter-spacing: 0; }
.kpi .what small { display: block; margin-top: 8px; font-size: 14px; color: var(--d-muted); font-weight: 400; }

/* ---------------------------------------------------------------------------------- screenshots */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(0, 0, 0, .12); }
.shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.shot figcaption b { color: var(--fg); font-weight: 600; }
.shot.big { margin-top: 56px; }
.shot.natural img { width: auto; max-width: 100%; }
.dark .shot img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 50px rgba(0, 0, 0, .4); }
.dark .shot figcaption { color: var(--d-muted); }
.dark .shot figcaption b { color: var(--d-fg); }
.shots-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 64px; }
.shots-2 .shot:nth-child(2) img { max-width: 1000px; }
@media (max-width: 900px) { .shots-2 { grid-template-columns: 1fr; } }
.ui { font-weight: 600; color: var(--fg); white-space: nowrap; }
.dark .ui { color: var(--d-fg); }
.zone { display: inline-block; padding: 0 6px; border-radius: 5px; font-weight: 600; }
.zone.yellow { background: #fff4c2; color: #5c4700; }
.zone.red { background: #ffe0e0; color: #8c1d1d; }
.zone.blue { background: #e1ecff; color: #1d3f8c; }

/* the numbered path: a step at a time with script (tabs), every step in a column without */
.stepper { margin-top: 56px; }
.st-path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; align-items: center; }
.st-path li { display: flex; align-items: center; }
.st-path li + li::before { content: "\2192"; color: var(--muted); margin: 0 8px; font-size: 15px; }
.st-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--bg-alt); color: var(--fg); border-radius: 980px;
  padding: 7px 14px 7px 7px; font-size: 15px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.light-sec.alt .st-tab:not([aria-selected="true"]) { background: var(--card); }
.st-tab .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 600; }
.st-tab[aria-selected="true"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.st-tab[aria-selected="true"] .n { background: var(--bg); color: var(--fg); }
html:not(.js) .st-path { display: none; }
.st-panels { margin-top: 26px; }
.st-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; padding: 28px; border-radius: 24px; background: var(--card); }
.light-sec:not(.alt) .st-panel { background: var(--bg-alt); }
html:not(.js) .st-panel + .st-panel, .no-tabs .st-panel + .st-panel { margin-top: 22px; }
.js .st-panel[hidden] { display: none; }
.st-panel h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 600; display: flex; align-items: baseline; gap: 14px; }
.st-panel h3 .n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 18px; position: relative; top: -2px; align-self: center; }
.st-panel p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.st-panel .shot img { max-width: 786px; }
.st-panel .shot + .shot { margin-top: 16px; }
.st-nav { display: flex; gap: 10px; margin-top: 22px; }
.st-nav button { border: 0; border-radius: 980px; padding: 8px 16px; font-size: 15px; cursor: pointer; background: var(--bg-alt); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.st-nav button.next { background: #0071e3; color: #fff; box-shadow: none; }
html:not(.js) .st-nav { display: none; }
@media (max-width: 900px) { .st-panel { grid-template-columns: 1fr; padding: 22px 18px; } .st-tab { font-size: 13px; padding-right: 10px; } .st-path li + li::before { margin: 0 4px; } }
.mcode { margin-top: 64px; }

/* ---------------------------------------------------------------------------------- the agent */
.chat { margin: 64px auto 0; max-width: 900px; display: grid; gap: 14px; }
.msg { max-width: 760px; padding: 14px 18px; border-radius: 20px; font-size: 16px; line-height: 1.5; }
.msg p { margin: 0; }
.msg p + p { margin-top: 8px; }
.msg .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.msg.person { justify-self: end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.msg.person .who { color: rgba(255, 255, 255, .8); }
.msg.agent { justify-self: start; background: var(--d-card); color: var(--d-fg); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px #2c2c2f; }
.msg.agent .who { color: var(--d-muted); }
.msg code { font-size: .86em; color: var(--d-fg); background: rgba(255, 255, 255, .07); padding: 0 4px; border-radius: 4px; }
.call { justify-self: start; width: min(760px, 100%); margin: 0; border-radius: 14px; background: #0f1012; box-shadow: inset 0 0 0 1px #26272b; font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.call summary { list-style: none; cursor: pointer; padding: 10px 14px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; color: var(--d-soft); }
.call summary::-webkit-details-marker { display: none; }
.call summary .tool { color: #7fd1a7; font-weight: 600; }
.call summary .args { color: var(--d-muted); overflow-wrap: anywhere; }
.call summary .ms { margin-left: auto; color: var(--d-muted); font-size: 12px; }
.call summary::after { content: "result +"; color: var(--d-link); font-family: var(--font); font-size: 12px; }
.call[open] summary::after { content: "result \2212"; }
.call pre { margin: 0; padding: 0 14px 14px; overflow-x: auto; color: #c9c9ce; line-height: 1.5; max-height: 360px; }
.call pre:focus-visible { outline-offset: -2px; }
.call.err summary .tool { color: #ff9f0a; }
.motion .chat > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.motion .chat > .in { opacity: 1; transform: none; }
.chat-cap { max-width: 900px; margin: 18px auto 0; }
.tools { margin: 72px auto 0; max-width: 1060px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; }
.tools article { background: var(--d-card); border-radius: 24px; padding: 26px 28px; }
.tools h3 { margin: 0; font-size: 19px; font-weight: 600; }
.tools .tag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: #ff9f0a; vertical-align: 2px; }
.tools dl { margin: 16px 0 0; display: grid; gap: 10px; }
.tools dt { font-family: var(--mono); font-size: 13px; color: #7fd1a7; letter-spacing: 0; }
.tools dd { margin: 2px 0 0; color: var(--d-soft); font-size: 14px; line-height: 1.45; }
.tools .secret { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--d-line); color: var(--d-soft); font-size: 15px; }
.tools .secret q { color: var(--d-fg); }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } .msg { font-size: 15px; } }

/* ---------------------------------------------------------------------------------- back up */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 980px; margin-top: 22px;
  background: rgba(255, 159, 10, .14); color: #b25d00; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; }
.status.shipped { background: rgba(48, 209, 88, .14); color: #1a7f37; }
.status.shipped::before { background: #30d158; }
.dark .status { color: #ffb340; }
.dark .status.shipped { color: #30d158; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .light-sec .status { color: #ffb340; } :root:not([data-theme="light"]) .light-sec .status.shipped { color: #30d158; } }
:root[data-theme="dark"] .light-sec .status { color: #ffb340; }
:root[data-theme="dark"] .light-sec .status.shipped { color: #30d158; }
.targets { margin: 64px auto 0; max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 2.2fr); align-items: center; }
.t-src { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.light-sec:not(.alt) .t-src { background: var(--bg-alt); box-shadow: none; }
.t-src h3 { margin: 0; font-size: 19px; font-weight: 600; }
.t-src p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.t-src .lock { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--fg); }
.t-arrow svg { width: 100%; height: 40px; overflow: visible; }
.t-arrow line { stroke: var(--backup); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 10; }
.t-arrow path { fill: var(--backup); }
.motion .t-arrow line { animation: drip 1.1s linear infinite; }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.t-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: start; background: var(--card); border-radius: 18px; padding: 16px 18px;
  box-shadow: inset 0 0 0 1px var(--line); }
.light-sec:not(.alt) .t-card { background: var(--bg-alt); box-shadow: none; }
.t-card .t-ic { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; }
.t-card .t-ic img { width: 48px; height: 48px; }
.t-card .t-gen { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }
.t-card .t-gen svg { width: 26px; height: 26px; }
.t-card h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; }
.t-card p { margin: 0; font-size: 13.5px; line-height: 1.42; color: var(--muted); }
@media (max-width: 900px) {
  .targets { grid-template-columns: 1fr; max-width: 560px; }
  .t-arrow { height: 56px; display: flex; justify-content: center; }
  .t-arrow svg { width: 40px; height: 56px; }
  .t-arrow .h { display: none; }
}
@media (min-width: 901px) { .t-arrow .v { display: none; } }
@media (max-width: 560px) { .t-list { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.facts li { background: var(--card); border-radius: 22px; padding: 24px 24px 22px; }
.light-sec:not(.alt) .facts li { background: var(--bg-alt); }
.facts h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.25; }
.facts p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.measured-line { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.measured-line > div { border-top: 2px solid var(--fg); padding-top: 14px; }
.measured-line b { display: block; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.measured-line span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 760px) { .measured-line { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------------- the cluster */
.cl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 64px; }
.cl-grid .shot img { background: #0b0d12; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.cl-list li { border-top: 1px solid var(--d-line); padding-top: 16px; }
.cl-list b { display: block; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.cl-list span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--d-soft); }
@media (max-width: 960px) { .cl-grid { grid-template-columns: 1fr; } }
.more-row { margin-top: 40px; text-align: center; }

/* ---------------------------------------------------------------------------------- the price */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.cmp article { background: var(--bg-alt); border-radius: 28px; padding: 32px 32px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.cmp h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.cmp .big { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; font-weight: 600; color: var(--fg); margin: 12px 0 0; letter-spacing: -0.005em; text-wrap: balance; }
.cmp p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 14px 0 0; }
.cmp ul { margin: 16px 0 0; padding-left: 1.2em; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cmp ul b { color: var(--fg); }
.cmp .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 26px; }
.cmp .btn { color: #fff; }
.cmp .btn.soon-btn, .cmp .btn.soon-btn:hover { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.cmp .ours { box-shadow: inset 0 0 0 2px var(--fg); }
@media (max-width: 860px) { .cmp { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cmp article { padding: 24px 18px; } }
.costs { margin-top: 56px; max-width: 980px; }
.costs .bars { gap: 18px; }
.light-sec .bar .name { color: var(--muted); }
.light-sec .bar .name b { color: var(--fg); }
.light-sec .bar .line { background: var(--bg-alt); }
.light-sec .bar .fill { background: #8E8E93; }
.light-sec .bar.ours .fill { background: var(--grad); }
.light-sec .scale-note { color: var(--muted); }
.costs .c-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); max-width: 860px; }

/* ---------------------------------------------------------------------------------- the close */
.close { text-align: center; padding: clamp(110px, 14vw, 200px) 0; background: radial-gradient(ellipse at 50% 120%, rgba(242, 193, 78, .16), rgba(0, 0, 0, 0) 60%), var(--d-bg); }
.close .h2 { font-size: clamp(42px, 7vw, 104px); }
.close .no { margin: 0 0 18px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; color: var(--d-soft); letter-spacing: -0.005em; }

.close .intro { max-width: 840px; margin-left: auto; margin-right: auto; }
.close .ctas { margin-top: 40px; }
.close .btn.soon-btn { background: transparent; color: #d2d2d7; box-shadow: inset 0 0 0 1px #48484a; cursor: default; }

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

/* the cost bars: each bar's length, written by build_page.py from the prices (no style attribute in the page) */
.v-f2 .fill { --v: 0.0312; }
.v-f64 .fill { --v: 1.0000; }
.v-ours8 .fill { --v: 0.0010; }

/* openbi.no: room for "Buy" in the bar on a phone: the BI mark without the name (the page's title is just below), then tighter gaps */
@media (max-width: 479px) { .gbar .brand { font-size: 0; gap: 0; } .gbar nav { gap: 14px; } }
@media (max-width: 359px) { .gbar nav { gap: 10px; } }