/* OpenBI Studio for Mac: the product page. Dark-first for the hero and product chapters; text chapters follow the
   reader's system theme (and the site's data-theme on <html>). No external scripts; fonts: the system stack, Inter
   as the fallback. Every scroll 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%);
  --grad-badge: linear-gradient(145deg, #1B2A55 0%, #2F6FDE 46%, #7B5CF5 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;
  --gutter: max(22px, calc((100vw - 1440px) / 2 + 22px));
  --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 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; }

/* ------------------------------------------------------------------------------------------------- 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(48px, 7.4vw, 96px); line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.h2 { font-size: clamp(40px, 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; }
.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; }

/* ------------------------------------------------------------------------------------------- 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;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.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, .ch-cta { flex: none; }   /* the title gives way on a narrow phone, never the chevron */
.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: 833px) {
  .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; }
}
@media (max-width: 430px) {
  .chapters .wrap { gap: 10px; }
  .ch-title { font-size: 16px; }
}

/* ------------------------------------------------------------------------------ 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(44px, min(7vw, 9.4vh), 104px); }
.hero .intro { max-width: 760px; 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 .copy-2 { position: relative; z-index: 2; text-align: center; padding: 40px 22px 80px; }
.motion .hero .copy-2 { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 6vh); padding: 0 22px; }
.hero .copy-2 .h3 { text-shadow: 0 2px 30px #000; }
@media (max-width: 734px) { .motion .hero .copy { top: calc(var(--nav-h) + 4vh); } }

/* the turn */
.turn .beat { position: relative; z-index: 2; padding: 48px 22px; text-align: center; }
.motion .turn .beat { position: absolute; left: 50%; top: calc(var(--nav-h) + 4vh); transform: translateX(-50%); width: min(760px, 100% - 44px); text-align: center; padding: 0; }
.turn .beat .h3 { font-size: clamp(30px, min(3.6vw, 5.6vh), 52px); }
.turn .beat p { color: var(--d-soft); font-size: clamp(17px, min(1.5vw, 2.4vh), 21px); line-height: 1.42; margin: 12px auto 0; font-weight: 500; max-width: 620px; }

/* the tour: zoom in, pan across the studio's views, zoom out */
.tour .stage { position: relative; width: 100%; aspect-ratio: 16 / 10; margin: 0 auto; }
.motion .tour .stage { position: absolute; left: 50%; top: calc(50% + var(--nav-h) / 2); width: min(100vw, (100vh - var(--nav-h)) * 1.6); transform: translate(-50%, -50%); }
@supports (height: 100svh) { .motion .tour .stage { width: min(100vw, (100svh - var(--nav-h)) * 1.6); } }
.tour .flat { position: absolute; inset: 0; overflow: hidden; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.tour .strip { display: flex; height: 100%; will-change: transform; }
.tour .strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.tour .zoomout { opacity: 0; }
.tour .intro-line { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--nav-h) + 5vh); text-align: center; padding: 0 22px; }
.tour .caps { position: absolute; z-index: 3; left: 0; right: 0; bottom: 2.4vh; height: 48px; text-align: center; pointer-events: none; padding: 0 22px; }
.tour .cap { position: absolute; left: 22px; right: 22px; bottom: 0; margin: 0; opacity: 0; }
.tour .cap span { display: inline-block; background: rgba(22, 22, 23, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 10px 18px; font-size: 17px; line-height: 1.3; color: var(--d-soft); }
.tour .cap b { color: var(--d-fg); font-weight: 600; }
.tour .end-line { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--nav-h) + 3.5vh); margin: 0; text-align: center; padding: 0 22px; font-size: clamp(28px, min(3.4vw, 5vh), 48px); }
/* no script / reduced motion: the views as a list */
.tour .static { display: grid; gap: 56px; padding: 40px 0 120px; }
.tour .static figure { margin: 0; }
.tour .static img { width: 100%; height: auto; border-radius: 12px; }
.tour .static figcaption { margin-top: 14px; color: var(--d-soft); font-size: 17px; text-align: center; }
.tour .static figcaption b { color: var(--d-fg); }
.motion .tour .static { display: none; }
.tour .stage, .tour .caps, .tour .intro-line, .tour .end-line { display: none; }
.motion .tour .stage, .motion .tour .caps, .motion .tour .intro-line, .motion .tour .end-line { display: block; }
.motion @media (max-width: 734px) {
  .tour .cap span { font-size: 15px; padding: 8px 14px; }
  }

/* ----------------------------------------------------------------------------------------- dark chapters */
.dark { background: var(--d-bg); color: var(--d-fg); }
.sec { padding: clamp(96px, 12vw, 160px) 0; }
.sec-tight { padding: clamp(64px, 8vw, 100px) 0; }
.head { max-width: 860px; }
.head.center { margin: 0 auto; }

/* performance: the chip section */
.chip-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.chip-media { margin: 0; }
.chip-media img { width: 100%; height: auto; }
.chip-media figcaption { margin-top: 6px; text-align: center; }
.badge { width: 108px; height: 108px; border-radius: 26px; background: var(--grad-badge); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 14px 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 20px 50px -18px rgba(47, 111, 222, .7);
  margin-bottom: 34px; }
.badge b { font-size: 15px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.badge small { font-size: 11px; color: rgba(255, 255, 255, .72); margin-top: 6px; letter-spacing: .02em; font-family: var(--mono); }
.chip-copy .h3 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.12; }
.claims { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.claims li { font-size: clamp(21px, 2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.003em; }
.claims .grad sup { -webkit-text-fill-color: var(--d-muted); }
.pill-row { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.pill { display: inline-flex; align-items: center; gap: 14px; background: #1d1d1f; border: 0; border-radius: 980px; padding: 10px 10px 10px 24px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--d-fg); cursor: pointer; transition: background .2s; }
.pill:hover { background: #2a2a2d; }
.pill .plus { width: 34px; height: 34px; border-radius: 50%; background: #0071e3; display: grid; place-items: center; }
.pill .plus svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .chip-grid { grid-template-columns: 1fr; }
  .chip-copy { max-width: 560px; margin: 0 auto; }
}

/* performance: big numbers and highlights */
.kpis { display: grid; grid-template-columns: repeat(3, 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; }
.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.win .fill { background: #6e7da3; }
.bar.mac .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: .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; } }

.hls { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 22px; }
.hl { background: var(--d-card); border-radius: 24px; padding: 28px 28px 26px; }
.hl h4 { 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 { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 18px; }
.honest { margin-top: 22px; background: var(--d-card); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.honest h3 { margin: 0; font-size: 21px; font-weight: 600; }
.honest p { margin: 8px 0 0; color: var(--d-soft); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .honest { grid-template-columns: 1fr; } }

/* 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)); border-bottom-width: 1px; vertical-align: bottom; }
.tbl .grp th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted-c, var(--d-muted)); padding-top: 22px; }
.tbl .mac { font-weight: 600; }
.tbl .note { display: block; font-size: 12px; color: var(--muted-c, var(--d-muted)); font-weight: 400; }
.tbl details { margin-top: 4px; }
.tbl summary { cursor: pointer; font-size: 12px; color: var(--link-c, var(--d-link)); list-style: none; display: inline-block; }
.tbl summary::-webkit-details-marker { display: none; }
.tbl summary::after { content: " +"; }
.tbl details[open] summary::after { content: " \2212"; }
.tbl pre { white-space: pre-wrap; word-break: break-word; margin: 6px 0 4px; font: 12px/1.45 var(--mono); color: var(--fg-c, var(--d-fg));
  background: rgba(127, 127, 127, .12); border-radius: 8px; padding: 8px 10px; text-align: left; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x .tbl { min-width: 640px; }

/* the benchmark overlay */
.overlay { color-scheme: dark; width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 28px; background: #161617; color: var(--d-fg); overflow: hidden; }
.overlay::backdrop { background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.overlay[open] { display: flex; flex-direction: column; animation: ov-in .38s var(--ease); }
@keyframes ov-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
.ov-scroll { overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 72px) 56px; }
.ov-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #333336;
  color: #d2d2d7; display: grid; place-items: center; cursor: pointer; }
.ov-close:hover { background: #424245; color: #fff; }
.ov-close svg { width: 12px; height: 12px; }
.overlay h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.005em; }
.overlay h3 { font-size: 24px; font-weight: 600; margin: 48px 0 14px; letter-spacing: .009em; }
.overlay p { color: var(--d-soft); font-size: 17px; line-height: 1.47; }
.overlay p b { color: var(--d-fg); }
.sys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sys article { background: #1f1f21; border-radius: 18px; padding: 22px; }
.sys h4 { margin: 0 0 4px; font-size: 19px; }
.sys .sub { margin: 0 0 14px; font-size: 13px; color: var(--d-muted); }
.sys dl { margin: 0; display: grid; gap: 8px; }
.sys dt { font-size: 12px; color: var(--d-muted); }
.sys dd { margin: 0; font-size: 15px; }
.sys article.lead { box-shadow: inset 0 0 0 1px rgba(138, 108, 255, .55); }
@media (max-width: 860px) { .sys { grid-template-columns: 1fr; } }
html.locked, html.locked body { overflow: hidden; }

/* ------------------------------------------------------------------------------------------ analytics tabs */
.analytics .head { margin-bottom: 56px; }
.tabbar { position: relative; display: flex; justify-content: center; }
.tabs { position: relative; display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 0 2px;
  border-bottom: 1px solid #2a2a2d; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; background: none; border: 0; padding: 14px 0 16px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--d-muted); cursor: pointer; white-space: nowrap; transition: color .2s; }
.tab:hover { color: #d2d2d7; }
.tab[aria-selected="true"] { color: var(--d-fg); }
.tab:focus-visible { outline-offset: -2px; }
.ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100px; background: var(--d-fg); border-radius: 1px;
  transform-origin: 0 0; transition: transform .45s var(--ease), width .45s var(--ease); pointer-events: none; }
.tabs-more { display: none; position: absolute; right: 0; top: 0; bottom: 1px; width: 56px; border: 0; padding: 0 0 0 18px; cursor: pointer; color: var(--d-fg);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 40%); font-size: 24px; line-height: 1; }
.tabs-more[hidden] { display: none !important; }
.tab-stage { position: relative; margin: 48px auto 0; width: min(880px, 100%); aspect-ratio: 1614 / 1442; }
.tab-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.985);
  transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.tab-stage img.on { opacity: 1; transform: none; z-index: 2; }
.tab-stage img.was { opacity: 1; transform: none; z-index: 1; transition: none; }
.tabpanel { max-width: 820px; margin: 40px auto 0; text-align: center; min-height: 9.5em; }
.tabpanel[hidden] { display: none; }
.tabpanel .lead { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: .009em; color: var(--d-soft); margin: 0; }
.tabpanel .lead b { color: var(--d-fg); font-weight: 600; }
.tabpanel .powered { margin: 18px auto 0; color: var(--d-muted); font-size: 14px; line-height: 1.5; max-width: 760px; }
.tabpanel.enter { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.notebook-line { margin: 72px auto 0; max-width: 820px; text-align: center; color: var(--d-muted); font-size: 14px; }
@media (max-width: 734px) {
  .tabbar { justify-content: flex-start; }
  .tabs { gap: 26px; padding-right: 56px; }
  .tabs-more { display: block; }
  .tab { font-size: 15px; }
  .tab-stage { margin-top: 28px; }
  .tabpanel { min-height: 0; margin-top: 28px; }
}

/* ----------------------------------------------------------------------------------------------- excel */
.excel .stage { position: relative; width: 100%; aspect-ratio: 16 / 10; }
.motion .excel .stage { position: absolute; left: 50%; top: calc(50% + var(--nav-h) / 2); width: min(100vw, (100vh - var(--nav-h)) * 1.6); transform: translate(-50%, -50%); }
@supports (height: 100svh) { .motion .excel .stage { width: min(100vw, (100svh - var(--nav-h)) * 1.6); } }
.excel .handoff { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.excel .stage .still-x { display: none; }
.excel .copy { position: relative; z-index: 2; text-align: center; padding: 120px 22px 48px; }
.motion .excel .copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 7vh); padding: 0 22px; }
.excel .end { position: relative; z-index: 2; text-align: center; padding: 32px 22px 96px; }
.motion .excel .end { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 2.2vh); padding: 0 22px; }
.excel .end span { display: inline-block; background: rgba(22, 22, 23, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 10px 18px; font-size: 17px; color: var(--d-soft); }
.excel .end b { color: var(--d-fg); }
.excel .stage, .excel canvas { display: none; }
.motion .excel .stage { display: block; }
.motion .excel .static-x { display: none; }
.excel .static-x { width: min(1100px, 100% - 44px); margin: 0 auto; }
.excel .static-x img { width: 100%; height: auto; border-radius: 10px; }

/* the excel cards: follow the system theme */
.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); }
.xgrid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 22px; margin-top: 64px; align-items: stretch; }
.xcards { display: grid; gap: 22px; }
.xcard { background: var(--card); border-radius: 28px; padding: 30px 30px 26px; overflow: hidden; }
.light-sec:not(.alt) .xcard { background: var(--bg-alt); }
.xcard h3 { margin: 0; font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: .007em; }
.xcard p { margin: 8px 0 20px; color: var(--muted); font-size: 17px; line-height: 1.47; }
.xcard p code, .fx code { font-family: var(--mono); font-size: .88em; color: var(--fg); }
.shot { border-radius: 10px; overflow: hidden; background: #1f1f1f; box-shadow: 0 0 0 1px rgba(127, 127, 127, .25); }
.shot img { width: 100%; height: auto; }
.xcard .shot img[width="800"] { max-width: 800px; }
.shot.cut { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.pivot-pair { display: grid; gap: 14px; }
.pivot-pair .shot.cut img { width: auto; max-width: 100%; }
.pivot-pair .shot.cut { justify-self: start; max-width: 100%; }
.pivot-pair .wells { max-width: 252px; }
.xwide { grid-column: 1 / -1; }
.pane-card { background: var(--card); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; }
.light-sec:not(.alt) .pane-card { background: var(--bg-alt); }
.pane-card .shot { max-width: 340px; margin: 22px auto 0; width: 100%; }
.fx { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.fx li { font-family: var(--mono); font-size: 13px; background: rgba(127, 127, 127, .12); border-radius: 8px; padding: 6px 10px; }
@media (max-width: 1000px) { .xgrid { grid-template-columns: 1fr; } .xwide { grid-column: auto; } }

/* ------------------------------------------------------------------------------------------------- specs */
.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; }
.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: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; border-top: 1px solid var(--line); padding-top: 36px; }
.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; }
.bench-text { margin-top: 30px; color: var(--muted); font-size: 15px; max-width: 900px; }
.bench-text code { font-family: var(--mono); font-size: .88em; color: var(--fg); }
@media (max-width: 1000px) { .specs .cols { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, 1fr); } .specs .sub { min-height: 0; } }

/* -------------------------------------------------------------------------------------------- scale-out */
.scale .badge-dev { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 980px;
  padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--d-fg); margin: 0 0 22px; }
.scale .badge-dev i { width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; box-shadow: 0 0 12px #ff9f0a; }
.diagram { margin: 64px auto 0; max-width: 620px; }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.diagram .link { stroke: url(#tb-grad); stroke-width: 2; stroke-dasharray: 6 8; }
.motion .diagram .link { animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.diagram .node { fill: #161617; stroke: #3a3a3d; }
.diagram .node-title { fill: #f5f5f7; font: 600 17px var(--font); }
.diagram .node-mem { fill: #a1a1a6; font: 500 14px var(--font); }
.diagram .slice { fill: #3a3a3d; }
.diagram .slice.on { fill: #8A6CFF; }
.diagram .core { fill: url(#core-grad); }
.diagram .core-1 { fill: #fff; font: 600 19px var(--font); }
.diagram .core-2 { fill: rgba(255, 255, 255, .8); font: 500 14px var(--font); }
.diagram .wire { fill: #86868b; font: 500 13px var(--font); }
.sfacts { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; text-align: left; }
.sfacts li { border-top: 1px solid var(--d-line); padding-top: 20px; color: var(--d-soft); font-size: 15px; line-height: 1.42; }
.sfacts b { display: block; color: var(--d-fg); font-size: 34px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.status { margin: 56px auto 0; max-width: 680px; color: var(--d-muted); font-size: 15px; }
@media (max-width: 900px) { .sfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------------------------- download */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.dl { background: var(--card); border-radius: 28px; padding: 34px 30px 30px; display: flex; flex-direction: column; }
.light-sec:not(.alt) .dl { background: var(--bg-alt); }
.dl .os { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.dl h3 { margin: 0; font-size: 28px; line-height: 1.14; font-weight: 600; }
.dl ul { margin: 18px 0 26px; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.dl ul code { font-family: var(--mono); font-size: 13px; color: var(--fg); word-break: break-all; }
.dl .btn { margin-top: auto; align-self: flex-start; color: #fff; }
.dl .btn.secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.dl.primary { box-shadow: inset 0 0 0 2px #0071e3; }
@media (max-width: 1000px) { .dl-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* -------------------------------------------------------------------------------------------- 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); }
.notes code { font-family: var(--mono); font-size: 11px; }
.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; }
}
