/* Sums Labs — landing. Design canvas 1440 wide; everything is laid out in design px
   and scaled with `zoom: var(--s)` (set from JS). Tokens come from the Figma concept. */

:root {
  --tk: 1; --tkm: 1;   /* text compensation, set by AX.apply (index.html) */
  --bg: #E6E4DF;   /* = the hero render's background */
  --ink: #272625;
  --ink-2: rgba(39, 38, 37, .65);
  --ink-2s: #6A6966;   /* = --ink-2 over --bg, solid (stepper text) */
  --ink-3: rgba(39, 38, 37, .28);
  --ink-off: #7F7D7B;   /* = ink .54 over --bg, solid: text not reached yet (stepper), ≥ 3:1 */
  --ink-3s: #B1AFAB;   /* = --ink-3 over --bg, solid: for shapes that overlap (stepper line + nodes) */
  --line: rgba(39, 38, 37, .16);
  --acc: #FF3D00;
  --paper: #EFEEEA;
  --trace-highlight-strength: 6%;
  --selection-bg: color-mix(in srgb, var(--acc) var(--trace-highlight-strength), var(--paper));
  --white: #fff;   /* text and buttons on the accent, preloader */
  --dark: #272625;
  --dark-ink: #E0DED7;
  --dark-ink-2: rgba(224, 222, 215, .82);   /* lead text on dark */
  --dark-2: rgba(224, 222, 215, .65);
  --dark-line: rgba(224, 222, 215, .14);
  --s: 1;
  --stage-h: 1024;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background-color: var(--selection-bg); color: var(--ink); }
:is(.arch, .dark:not(.fin2)) ::selection { background-color: color-mix(in srgb, var(--acc) 32%, var(--dark)); color: var(--dark-ink); }
html { background: var(--bg); -webkit-text-size-adjust: none; text-size-adjust: none; }   /* iOS/iPadOS: autosizing off; NOT 100% — a percentage replaces zoom in WebKit font sizing, text stops scaling with zoom: var(--s) */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Inter fb", system-ui, sans-serif;
  font-weight: 500;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { display: block; }

/* ---------- type ---------- */
.h1 { font-size: 100px; line-height: 80px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.h2 { font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -.01em; }
.h3 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.005em; }
.big { font-size: 60px; line-height: 64px; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: calc(16px * var(--tk)); line-height: calc(24px * var(--tk)); font-weight: 600; }
.body { font-size: calc(16px * var(--tk)); line-height: calc(24px * var(--tk)); font-weight: 500; text-wrap: pretty; }
.small { font-size: calc(14px * var(--tk)); line-height: calc(20px * var(--tk)); font-weight: 500; }
.label { font-size: calc(13px * var(--tk)); line-height: calc(17px * var(--tk)); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }
.acc { color: var(--acc); }
.muted { color: var(--ink-2); }

/* ---------- elements ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--ink); background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--acc { background: var(--acc); border-color: var(--acc); color: var(--white); }
.btn--acc:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.link { font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* hairline frame with corner ticks (graph "node" card) */
.tick {
  --t: var(--ink);
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--t) 0 0) 0 0 / 9px 1px, linear-gradient(var(--t) 0 0) 0 0 / 1px 9px,
    linear-gradient(var(--t) 0 0) 100% 0 / 9px 1px, linear-gradient(var(--t) 0 0) 100% 0 / 1px 9px,
    linear-gradient(var(--t) 0 0) 0 100% / 9px 1px, linear-gradient(var(--t) 0 0) 0 100% / 1px 9px,
    linear-gradient(var(--t) 0 0) 100% 100% / 9px 1px, linear-gradient(var(--t) 0 0) 100% 100% / 1px 9px;
  background-repeat: no-repeat;
  background-origin: border-box;
}
.dark .tick { --t: var(--dark-ink); border-color: var(--dark-line); }

.dot { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--acc); }
.dot--s { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid var(--acc); opacity: .5; }

.thread { position: absolute; inset: 0; width: 1440px; height: 1024px; overflow: visible; pointer-events: none; }
.thread path, .thread line, .thread polyline { fill: none; stroke: var(--acc); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.thread .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.thread circle { fill: var(--acc); }

/* ---------- pinned scenes ---------- */
.scene { position: relative; height: calc(var(--len) * 100vh); }
.pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; padding-top: var(--st, 0); }  /* --st = AX.top() */
/* hero: the scattering blocks fly below the section's bottom edge — the pin clipped them there (a straight cut across the cubes).
   The pin reaches 1.5 screens further down (same as the canvas follows the window, hero3d.js) and gives it back with a negative
   margin: no layout change, and the clip stays an ordinary overflow: hidden (overflow-x: clip + y visible on this sticky box
   flickered in Chromium — the clip came and went frame by frame, the nav and the thread with it) */
.hero .pin { height: 250vh; margin-bottom: -150vh; }
html.ax-m .hero .pin { height: 250lvh; margin-bottom: -150lvh; }
.stage { position: relative; flex: none; width: 1440px; height: 1024px; zoom: var(--s); }
.stage > * { position: absolute; }
.abs { position: absolute; }

/* ---------- flow sections ---------- */
.flow { position: relative; overflow: hidden; }
.wrap { position: relative; width: 1440px; margin: 0 auto; zoom: var(--s); padding: 0 64px; }
/* the page is wider than the window (below the min size, or zoomed in — html.ax-wide from AX.apply): keep the
   wraps centred and crop both sides like the stages; the fixed nav has its own scale (--sn) and never crops */
html.ax-wide .wrap { margin-left: calc(50% - 720px); margin-right: 0; }
html.ax-wide .nav .wrap { margin: 0 auto; }
html.ax-wide .hero-nav { visibility: hidden; }
.dark { background: var(--dark); color: var(--dark-ink); }
.dark .label, .dark .muted { color: var(--dark-2); }
.vline { position: absolute; left: 720px; width: 1.25px; margin-left: -.6px; background: var(--acc); }

.grid4 { display: grid; grid-template-columns: repeat(4, 310px); column-gap: 24px; }
.grid2 { display: grid; grid-template-columns: 644px 644px; column-gap: 24px; }
.sec-head { display: grid; grid-template-columns: 310px 1002px; column-gap: 24px; align-items: start; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(56px * var(--sn, var(--s)));
  background: var(--bg);   /* solid, no backdrop-filter: a full-width blur re-rendered every scrolled frame on weak GPUs (2026-11-05) */
  border-bottom: 1px solid var(--line);
  transform: translateY(-101%); transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, color .3s;
}
.nav.is-on { transform: none; }
.nav.is-dark { background: var(--dark); color: var(--dark-ink); border-color: var(--dark-line); }
.nav.is-acc { background: var(--acc); color: var(--ink); border-color: var(--line); }
.nav .wrap { height: 56px; display: flex; align-items: center; zoom: var(--sn, var(--s)); }
.nav-in { display: contents; }
.nav a { font-size: 14px; }
.logo { font-weight: 600; }
.nav .m { position: absolute; top: 19px; }
.nav .cta { margin-left: auto; color: var(--acc); font-weight: 600; }
.nav.is-acc .cta { color: var(--ink); }

/* ---------- preloader ---------- */
.pre { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.pre-half { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--acc); transition: transform .7s cubic-bezier(.7,0,.2,1); }
.pre-half.l { left: 0; } .pre-half.r { right: 0; }
.pre-line { position: absolute; left: 50%; top: 0; width: 1.25px; height: 0; background: var(--white); }
.pre-dot { position: absolute; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--white); top: 0; }
.pre-num { position: absolute; left: calc(50% + 14px); top: -8px; font-size: 12px; font-weight: 600; color: var(--white); }
.pre.go .pre-half.l { transform: translateX(-101%); }
.pre.go .pre-half.r { transform: translateX(101%); }
.pre.go .pre-line, .pre.go .pre-dot, .pre.go .pre-num { opacity: 0; transition: opacity .25s; }
.pre.gone { display: none; }
/* instant reveal (2026-11-11): the line drops and the shutters part on CSS from the first paint — no wait for JS,
   fonts or the poster (Speed Index: the orange screen was the slowest part of the first load). ?pre=old — the JS run */
html:not(.pre-old) .pre-num { display: none; }
html:not(.pre-old) .pre-line { animation: pre-line .55s cubic-bezier(.5,0,.2,1) forwards; }
html:not(.pre-old) .pre-dot { animation: pre-dot .55s cubic-bezier(.5,0,.2,1) forwards; }
html:not(.pre-old) .pre-half.l { animation: pre-l .7s cubic-bezier(.7,0,.2,1) .25s forwards; }
html:not(.pre-old) .pre-half.r { animation: pre-r .7s cubic-bezier(.7,0,.2,1) .25s forwards; }
html:not(.pre-old) .pre { animation: pre-off 0s 1s forwards; }
@keyframes pre-line { 55% { height: 100%; opacity: 1; } 100% { height: 100%; opacity: 0; } }
@keyframes pre-dot { 55% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes pre-l { to { transform: translateX(-101%); } }
@keyframes pre-r { to { transform: translateX(101%); } }
@keyframes pre-off { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .pre { display: none; } }

/* ---------- hero ---------- */
/* hero intro steps: s2 lead (the bar draws down and uncovers the lines behind it), s3 the dot,
   s4 the menu drops in from above, s5 the bottom labels rise from below */
.hero [data-step] { opacity: 0; transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.hero [data-step="4"] { transform: translateY(-16px); }
.hero [data-step="5"] { transform: translateY(16px); }
.hero.s4 [data-step="4"], .hero.s5 [data-step="5"] { opacity: 1; transform: none; }
.lead-bar { transform: scaleY(0); transform-origin: top; transition: transform .9s cubic-bezier(.6,0,.2,1); }
.sheets .lead-bar { transition-duration: 1.4s; }
.hero.s2 .lead-bar, .lead-in .lead-bar { transform: none; }
.hero-lead .ln { display: block; overflow: hidden; padding-bottom: .25em; margin-bottom: -.25em; }   /* room for descenders (g, p, y) at any size */
.hero-lead .ln > span { display: block; transform: translateY(calc(100% + .5em)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero.s2 .hero-lead .ln > span, .lead-in .hero-lead .ln > span { transform: none; }
.hero-lead .ln:nth-child(1) > span { transition-delay: .15s; }
.hero-lead .ln:nth-child(2) > span { transition-delay: .4s; }
.hero-lead .ln:nth-child(3) > span { transition-delay: .65s; }
.hero-lead .ln:nth-child(4) > span { transition-delay: .9s; }
.hero-lead .ln:nth-child(5) > span { transition-delay: 1.15s; }
.pulse { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 1px solid var(--acc); opacity: 0; pointer-events: none; }
.hero.s3 .pulse { animation: pulse 1.8s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
/* the poster and the headline are painted from the first frame, under the orange screen (the shutters are their
   reveal): the headline is the page's LCP and needs no fade to wait for; decode() scrambles it before the shutters part */
.hero .hero-3d { opacity: 0; transition: opacity .6s; }
.hero.is-in .hero-3d { opacity: 1; }
/* cash3d: the live burst replaces the cube image, the fan and the entities render */
.cash .cash-3d { pointer-events: none; }
.cash.has-3d .ents, .cash.has-3d .fan, .cash.has-3d .cube-wrap { display: none; }
/* sheets3d: the live fragments replace cluster.png and the SVG wiring */
.sheets .sheets-3d { pointer-events: none; }
.sheets.has-3d .cluster, .sheets.has-3d .thread { visibility: hidden; }
/* hero3d / cash3d: four corners aiming at the focused block or piece */
.aim3d { position: fixed; z-index: 5; pointer-events: none; opacity: 0; }
.aim3d i { position: absolute; width: 10px; height: 10px; border: 0 solid var(--acc); }
.aim3d i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.aim3d i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.aim3d i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.aim3d i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
/* hover on a piece (or its label): its label stays, the rest step back */
.cash .ent { transition: color .25s; }
.cash.is-focus .ent:not(.is-on) { color: var(--ink-3); }
/* hero3d: tag over the block under the cursor */
.hero3d-tag {
  position: fixed; z-index: 5; pointer-events: none; display: flex; gap: 10px; align-items: center;
  transform: translate(-50%, calc(-100% - 6px)); padding: 6px 8px; white-space: nowrap;
  font: 600 13px/1 Inter, "Inter fb", sans-serif; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line); opacity: 0; transition: opacity .25s;
}
.hero3d-tag b { color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hero3d-tag b::before { content: ''; width: 5px; height: 5px; background: var(--acc); }
.hero3d-tag.is-on { opacity: 1; }
.hero.has-3d .hero-img { visibility: hidden; }   /* hero.png stays as the fallback (no WebGL, reduced motion) */
.hero:not(.has-3d) .hero-3d { visibility: hidden; }   /* until its first frame: hero3d sizes the canvas on init (no layout shift on screen); poster ↔ 3D swap in one frame */
.hero .ch, .sheets .w, .scatter .ch { display: inline-block; will-change: transform; }
.hero-nav a { font-size: 14px; }
/* menu hover: a node lights up left of the item (the thread's dot), the CTA arrow steps forward */
.nav .m, .hero-nav a:not(.logo):not(.acc) { transition: color .2s; }
.nav .m::before, .hero-nav a:not(.logo):not(.acc)::before { content: ''; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--acc); transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.nav .m:hover::before, .hero-nav a:not(.logo):not(.acc):hover::before,
.nav .m:focus-visible::before, .hero-nav a:not(.logo):not(.acc):focus-visible::before { transform: none; }
.nav.is-acc .m::before { background: var(--ink); }
.nav .m:hover, .hero-nav a:not(.logo):not(.acc):hover { color: var(--acc); }
.nav.is-acc .m:hover { color: var(--ink); }
.nav .cta .ar, .hero-nav .acc .ar { display: inline-block; font-style: normal; transition: transform .25s; }
.nav .cta:hover .ar, .hero-nav .acc:hover .ar { transform: translateX(4px); }
.logo { transition: opacity .2s; }
.logo:hover { opacity: .65; }

/* cash flow */
.ent { color: var(--ink); white-space: nowrap; }
/* the central cube, cropped out of cluster.png (cube spans x .43–.57, y .355–.643 of the render) */
.cube { width: 140px; height: 124px; }
.fb .cube-wrap .cube { background: url(assets/cluster.webp) no-repeat -430px -152px / 1000px auto; }   /* only when the live scene can't run (AX.fallback) */

/* sheets stepper */
.step { width: 198px; }
/* stepper = the trace level column's pair: title 24/30 semibold, text 16/24 500 ink (as .body); steps not reached yet stay faint */
.step .label { font-size: 24px; line-height: 30px; letter-spacing: -.01em; text-transform: none; color: var(--ink-off); transition: color .3s; }
.step .d { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink-off); margin-top: 10px; text-wrap: balance; transition: color .3s; }
.step.on .label { color: var(--ink); }
.step.on .d { color: var(--ink); }
.step-node { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink-3s); transition: all .3s; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--white); }
.step-node.on { background: var(--acc); }
.step-node.cur { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
/* sheets: the bottom row plays in by time once the scene reaches it (main.js toggles .steps-in): the base line
   draws from the left, the nodes fade in, the steps rise one after another (delays set in main.js) */
#sheets [data-fade=steps] { opacity: 0; transition: opacity .5s; }
#sheets.steps-in [data-fade=steps] { opacity: 1; }
#sheets .stepper > :first-child { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s cubic-bezier(.6,0,.2,1); }
#sheets.steps-in .stepper > :first-child { transform: none; }
#sheets .step { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s cubic-bezier(.2,.7,.2,1), color .3s; }
#sheets.steps-in .step { opacity: 1; transform: none; }
#sheets:not(.steps-in) .step { transition-delay: 0s !important; }

/* architecture */
.arch.has-3d .assembly { visibility: hidden; }   /* assembly.png stays as the fallback */
.arch-step { width: 310px; color: var(--dark-ink); transition: opacity .4s; }
.arch-step .label { font-size: 24px; line-height: 30px; letter-spacing: -.01em; text-transform: none; color: var(--acc); margin-bottom: 10px; }
.arch-step .body { color: var(--dark-ink-2); }
.h1 .bgk { background: var(--dark); padding: 0 6px; margin: 0 -6px; }

/* trace: the product window, exploded into layers and assembled by the scroll (main.js sets the transforms);
   once flat it is a live UI: the rows switch the level */
.trace { --mono: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.tr-rig { transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; }
.tr-ly { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.tr-ly:not(.tr-base) { box-shadow: inset 0 0 0 1px rgba(39, 38, 37, calc(var(--e, 0) * .28));
  background: color-mix(in srgb, var(--paper) calc(var(--e, 0) * 90%), transparent); }
.tr-base { --t: var(--ink); background-color: var(--paper); }
/* exploded view: a dot grid fills the empty paper of each layer, gone once the window is flat */
.tr-ly::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, var(--ink-3) 1.2px, transparent 1.7px) 10px 10px / 20px 20px;
  opacity: var(--e, 0); }
.tr-tag { position: absolute; left: 14px; top: 14px; font: 500 calc(12px * var(--tkm)) var(--mono); color: var(--acc); white-space: nowrap; opacity: var(--e, 0); }
/* the dots only show on empty paper: UI blocks (and the tags) cover them with solid paper + a 12 px margin */
.tr-ly .tr-top, .tr-ly .tr-tree, .tr-ly .tr-insp, .tr-ly .tr-src, .tr-ly .tr-tag {
  --pp: color-mix(in srgb, var(--paper) calc(var(--e, 0) * 100%), transparent);
  background-color: var(--pp); box-shadow: 0 0 0 12px var(--pp); }
.tr-ly .tr-top { box-shadow: 0 12px 0 0 var(--pp); }
.tr-top { position: absolute; left: 0; right: 0; top: 0; height: 48px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 20px; font: 500 calc(12px * var(--tkm))/1 var(--mono); color: var(--ink-2); }
.tr-top span { transition: opacity .25s; }
.tr-top span + span::before { content: "/"; margin: 0 10px; color: var(--ink-3); }
.tr-top span.off { opacity: .3; }
.tr-split { position: absolute; left: 400px; top: 48px; bottom: 0; width: 1px; background: var(--line); }
.tr-tree { position: absolute; left: 0; top: 48px; width: 400px; }
.tr-tree .r { display: grid; grid-template-columns: 24px 1fr auto; column-gap: 12px; align-items: center; width: 100%; height: 76px;
  padding: 0 20px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer;
  box-shadow: inset 0 0 0 transparent; transition: background-color .2s, box-shadow .2s; }
.tr-tree .r:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.tr-tree .r:focus-visible { outline: 1.5px solid var(--acc); outline-offset: -2px; }
.tr-tree .n { font: 500 calc(12px * var(--tkm)) var(--mono); color: var(--ink-2); }
.tr-tree .t { font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; }
.tr-tree .t small { display: block; margin-top: 3px; font: 500 calc(12px * var(--tkm))/1.4 var(--mono); color: var(--ink-2); letter-spacing: 0; }
.tr-tree .v { font: 500 calc(14px * var(--tkm)) var(--mono); }
.tr-tree .r { position: relative; }
.tr-hl { position: absolute; left: 0; top: 0; width: 100%; background: color-mix(in srgb, var(--acc) var(--trace-highlight-strength), transparent); box-shadow: inset 2px 0 0 var(--acc);
  transition: transform .42s cubic-bezier(.6,0,.2,1), height .42s cubic-bezier(.6,0,.2,1); pointer-events: none; }
.tr-tree .r .n, .tr-tree .r .v { transition: color .3s; }
.tr-tree .r.on .n, .tr-tree .r.on .v { color: var(--acc); }
.tr-rig.live .tr-ly { pointer-events: auto; }
.tr-c { position: absolute; width: 0; height: 0; }
.tr-lk { overflow: visible; pointer-events: none; }
.tr-lk path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lk-c path { stroke: var(--line); stroke-dasharray: 3 4; }
.lk-c circle { fill: var(--bg); stroke: var(--ink-2); stroke-width: 1; }
.tr-insp { position: absolute; left: 432px; top: 80px; width: 514px; }
.tr-sub { font: 500 calc(12px * var(--tkm)) var(--mono); color: var(--ink-2); }
.tr-giant { margin-top: 10px; font: 600 60px/1 var(--mono); letter-spacing: -.05em; white-space: nowrap; }
.tr-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
.tr-meta div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tr-meta p:first-child { font-size: calc(11px * var(--tkm)); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); }
.tr-meta p:last-child { margin-top: 5px; font: 500 calc(13px * var(--tkm)) var(--mono); }
.tr-src { position: absolute; left: 432px; top: 392px; width: 514px; }
.tr-tab-cap { margin-bottom: 10px; font: 500 calc(12px * var(--tkm)) var(--mono); color: var(--ink-2); }
.tr-csv { width: 100%; border-collapse: collapse; font: 500 calc(12px * var(--tkm))/1 var(--mono); }
.tr-csv :is(th, td) { padding: 11px 10px; font: inherit; text-align: left; border: 1px solid var(--line); color: var(--ink-2); }
.tr-csv td:last-child { text-align: right; white-space: nowrap; }
.tr-csv tr.on :is(th, td) { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--acc) 8%, transparent); }
.tr-csv tr.on th { box-shadow: inset 2px 0 0 var(--acc); }
.tr-track { will-change: transform; }
.tr-blk { height: 760px; }
html:not(.ax-m) .tr-track { position: relative; }
html:not(.ax-m) .tr-blk { position: absolute; left: 0; right: 0; top: 0; height: auto; will-change: transform, opacity; }
.tr-go { width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; background: var(--acc); color: var(--white);
  display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; line-height: 18px; font-weight: 600;
  transform: scale(0); transition: background-color .2s; }
.tr-go:hover { background: var(--ink); }
/* promise → action: on hover the line slides up out of the mask and "Request access →" comes in from below */
.go-t { position: relative; display: block; height: 36px; overflow: hidden; }
.go-a, .go-b { display: block; transition: transform .45s cubic-bezier(.6,0,.2,1); }
.go-b { position: absolute; left: 0; right: 0; top: 0; transform: translateY(110%); }
.tr-go:hover .go-a, .tr-go:focus-visible .go-a { transform: translateY(-110%); }
.tr-go:hover .go-b, .tr-go:focus-visible .go-b { transform: none; }
.tr-io { opacity: 0; }
.tr-io-h { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--ink-2); }
.tr-in { text-align: right; }
.tr-io-i { position: absolute; left: 0; right: 0; font-size: 14px; line-height: 18px; font-weight: 600; transform: translateY(-50%); opacity: 0; }
.tr-out .tr-io-i { font-weight: 500; }
.tr-io-svg { overflow: visible; pointer-events: none; }
.tr-io-svg path { fill: none; stroke: var(--ink-3); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tr-io-svg circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1; opacity: 0; }
.tr-go-pulse { width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; border: 1px solid var(--acc); opacity: 0; pointer-events: none; }
.tr-go:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
.tr-s-num { font: 500 calc(13px * var(--tkm)) var(--mono); color: var(--acc); }
.tr-s-t { margin-top: 14px; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; }
.tr-s-p { margin-top: 16px; font-size: calc(16px * var(--tk)); line-height: calc(24px * var(--tk)); font-weight: 500; color: var(--ink); }

/* proof — every number has a source: figure on the left, its picture on the right (x 764…1376),
   a node on the thread between them; a click opens the figure's trace */
#proof .pf-node { transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
#proof .pf-node.on { transform: scale(1); }
.pf-fig { width: 560px; cursor: pointer; }
.pf-fig > .lead { margin-top: 24px; width: 310px; color: var(--dark-ink-2); }
.pf-cite { margin-top: 20px; transition: color .15s; }
.pf-fig:hover .pf-cite, .pf-fig.open .pf-cite, .pf-cite:focus-visible { color: var(--dark-ink); }
.pf-cite:focus-visible { outline: 1px solid var(--acc); outline-offset: 6px; }
.ask-src li:focus-visible { outline: 1px solid var(--acc); outline-offset: 1px; }
.pf-trace { overflow: hidden; height: 0; transition: height .45s cubic-bezier(.2,.8,.2,1); }
.pf-fig.open .pf-trace { height: 132px; }
.pf-trace ol { list-style: none; padding-top: 16px; }
.pf-trace li { display: grid; grid-template-columns: 96px 1fr; align-items: center; height: 36px; border-top: 1px solid var(--dark-line);
  opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.pf-fig.open .pf-trace li { opacity: 1; transform: none; }
.pf-fig.open .pf-trace li:nth-child(2) { transition-delay: .12s; }
.pf-fig.open .pf-trace li:nth-child(3) { transition-delay: .24s; }
.pf-trace li:last-child .lead { color: var(--acc); }
.pf-vis { left: 764px; width: 612px; }
.pf-head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.pf-head b { color: var(--dark-ink); font-weight: 600; }
.pf-days { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.pf-days .tick { height: 96px; transform-origin: 50% 100%; }
.dark .pf-days .keep { --t: var(--acc); border-color: var(--acc); }
.pf-bracket { position: relative; height: 34px; margin-top: 14px; }
.pf-bracket i { position: absolute; top: 0; height: 9px; border: 1px solid var(--acc); border-top: 0; opacity: 0; transition: opacity .3s; }
.pf-bracket span { position: absolute; top: 18px; color: var(--acc); opacity: 0; transition: opacity .3s; }
.pf-bracket.on i, .pf-bracket.on span { opacity: 1; }
.pf-flows { display: grid; grid-template-columns: repeat(25, 1fr); gap: 7px; }
.pf-flows i { aspect-ratio: 1; border: 1px solid var(--dark-line); transition: background .25s, border-color .25s; }
.pf-flows i.on { background: var(--acc); border-color: var(--acc); }
.pf-flows i.q { border-color: var(--dark-ink); }
.pf-hours { display: grid; grid-template-columns: repeat(17, 1fr); gap: 8px; }
.pf-hours i { height: 30px; background: var(--dark-ink); border: 1px solid var(--dark-ink); transition: background .25s, border-color .25s; }
.pf-hours i.back { background: transparent; border-color: var(--dark-line); }
/* figures, pictures and quotes come in when the dot reaches their node (as .in-rv) */
.pf-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * .12s); }
.pf-rv.on { opacity: 1; transform: none; }
.pf-quotes { overflow: hidden; padding-left: 32px; margin-left: -32px; touch-action: pan-y; }   /* room for the hanging quote; horizontal drag = swipe */
.pf-track { display: flex; transition: transform .8s cubic-bezier(.6,0,.2,1); }
.pf-quote { flex: 0 0 1312px; margin-right: 96px; transition: opacity .5s; }
.pf-quote:not(.on) { opacity: .2; }
.pf-quote blockquote { max-width: 1180px; height: 256px; text-indent: -.46em; }   /* 4 lines; hanging opening quote */
.pf-quote .w { opacity: .42; transition: opacity .25s; }   /* unlit floor: ≥ 3:1 on the dark ground (a11y; was .14) */
.pf-quote .w.on { opacity: 1; }
.pf-quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.pf-quote img { width: 56px; height: 56px; object-fit: cover; }
.pf-quote figcaption span { display: block; margin-top: 4px; color: var(--dark-2); }
.pf-ctl { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; }
.pf-ctl .label { margin-right: 16px; }
.dark .pf-ctl .btn { width: 48px; padding: 0; justify-content: center; border-color: var(--dark-line); color: var(--dark-ink); }
.dark .pf-ctl .btn:hover { background: var(--acc); border-color: var(--acc); color: var(--white); }
.pf-aim { position: absolute; transition: opacity .2s, left .25s, top .25s, width .25s, height .25s; }
/* proof cells: each is a record — hover aim + tag, click opens its trace; the node pings, a line runs to the picture */
.pf-days .tick, .pf-flows i, .pf-hours i { cursor: pointer; }
.pf-vis .pick { outline: 1px solid var(--acc); outline-offset: 3px; }
.pf-tag.hero3d-tag { z-index: 6; }
#proof .pf-node::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--acc); opacity: 0; pointer-events: none; }
#proof .pf-node.on.ping::after { animation: pulse 1.4s cubic-bezier(.2,.6,.3,1) infinite; }
.pf-link { position: absolute; left: 728px; width: 32px; height: 1.25px; margin-top: -.6px; background: var(--acc); pointer-events: none;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.pf-link.on { transform: none; }

/* trust (6b): team as records, security facts, backers — the thread runs down the central gutter */
#trust .tu-node { transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
#trust .tu-node.on { transform: scale(1); }
.tu-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * .12s); }
.tu-rv.on { opacity: 1; transform: none; }
.tu-card { width: 310px; padding: 24px; }
.tu-card img { width: 96px; height: 96px; object-fit: cover; filter: grayscale(1); }
.tu-card > .lead { margin-top: 24px; color: var(--dark-ink); }
.tu-card > .label { margin-top: 4px; }
.tu-card ol { list-style: none; margin-top: 24px; }
.tu-card li { display: grid; grid-template-columns: 68px 1fr; align-items: center; height: 36px; border-top: 1px solid var(--dark-line); }
.tu-card li .lead { color: var(--dark-ink); transition: color .15s; }
.tu-card:hover li:last-child .lead { color: var(--acc); }
/* table rows of fixed height (team cards, proof trace): the softer text compensation, as in the product windows */
.tu-card li .lead, .pf-trace li .lead { font-size: calc(16px * var(--tkm)); line-height: calc(24px * var(--tkm)); white-space: nowrap; }
.tu-card li .label, .pf-trace li .label { font-size: calc(13px * var(--tkm)); line-height: calc(17px * var(--tkm)); }
.tu-card li .label { letter-spacing: 0; }
.tu-fact { width: 310px; height: 184px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.tu-fact .h3 { color: var(--dark-ink); }
.tu-back { color: var(--dark-2); transition: color .2s; }
.tu-back:hover { color: var(--dark-ink); }
.tu-aim { position: absolute; transition: opacity .2s, left .25s, top .25s; }

/* integrations (dark): 4 cards of sources → one link each into the cube → the thread is the timeline */
.in-node { transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.in-node.on { transform: scale(1); }
.in-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * .12s); }
.in-rv.on { opacity: 1; transform: none; }
.in-grp { width: 310px; padding: 24px 24px 16px; }
.in-grp .hd { display: flex; justify-content: space-between; margin-bottom: 24px; }
.in-grp ol { list-style: none; }
.in-grp li { display: flex; justify-content: space-between; align-items: center; height: 44px; border-top: 1px solid var(--dark-line); cursor: default; }
.in-grp li .h3 { font-size: 16px; line-height: 24px; }
.in-grp li .label { transition: color .15s; }
.in-grp li:hover .label { color: var(--acc); }
.in-grp li.you { border-top-style: dashed; color: var(--dark-2); }
.in-grp li.you .h3::before { content: '+ '; color: var(--acc); }
.in-port { position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--acc); }
/* links: drawn with pathLength, so they must scale with the stage (no non-scaling stroke) */
.in-svg .lnk { vector-effect: none; stroke: var(--acc); stroke-width: 1; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .2s, stroke .2s; }   /* drawn by the scroll (main.js) */
.in-svg .lnk.hl { stroke: var(--acc); opacity: 1; stroke-width: 1.5; }
.in-cube { position: absolute; width: 120px; height: 120px; background: none; overflow: visible; transition: transform .12s; transform-origin: 50% 60%; }
.in-cube.kick { transform: scale(1.04); }
#integrations.has-3d .in-cube { display: none; }   /* the live cube (int3d.js) replaces the SVG fallback */
.in-when { text-align: right; width: 310px; }
.in-what { width: 310px; }
.in-what .lead { color: var(--dark-2); margin-top: 6px; }
.in-aim { position: absolute; transition: opacity .2s, left .2s, top .2s, width .2s; }

/* final: no run-up — the thread's dot (mid-screen) grows into the orange the moment the thread runs out;
   the overlay holds while the section scrolls by, then parks at its bottom */
.fin2 { height: 110vh; overflow: visible; }
.fin-pin { position: absolute; left: 0; right: 0; bottom: 0; height: 100vh; overflow: hidden; z-index: 46; visibility: hidden; }
.fin2.on .fin-pin { visibility: visible; }
.fin2.hold .fin-pin, .fin2.out .fin-pin { position: fixed; top: 0; bottom: auto; }
.fin2.out .fin-pin { visibility: visible; }
.fin2.out .fin-c { opacity: 0; transition: opacity .25s; }
/* .fin-a: the disc's origin — put on the thread's end point every frame (JS), so the orange grows out of the
   dot itself and keeps going with it while the page scrolls; .fin-c: the form, fixed mid-screen */
.fin-a, .fin-c { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: scale(var(--s)); }
.fin-disc { position: absolute; left: -380px; top: -380px; width: 760px; height: 760px; border-radius: 50%; background: var(--acc);
  transform: scale(.012); transition: background .4s, transform 1.1s cubic-bezier(.7,0,.2,1); }
.fin-in { position: absolute; left: -260px; top: -210px; width: 520px; text-align: center; color: var(--white); }
.fin-in .label { color: var(--white); }
.fin-h { font-size: 88px; line-height: 84px; font-weight: 600; letter-spacing: -.02em; }
.fin-in .ln:nth-child(1) { margin-bottom: 20px; }
.fin-row { margin-top: 40px; }
.fin-row > span { display: block; }
/* one field = one node: tick corners, the button sits inside the frame */
.fin-field { --t: var(--white); display: flex; align-items: center; width: 480px; height: 64px; margin: 0 auto; padding: 7px 7px 7px 0;
  border-color: rgba(255,255,255,.4); background-color: transparent; transition: border-color .2s; cursor: text; }
.fin-field:focus-within { border-color: var(--white); }
.fin-field input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; background: transparent; color: var(--white); font: 600 16px Inter, "Inter fb", sans-serif;
  outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.fin-field input::placeholder { color: rgba(255,255,255,.8); }
.fin-field .btn { flex: none; border: 0; background: var(--white); color: var(--ink); }
.fin-field .btn:hover { background: var(--ink); color: var(--white); }
.fin-field .btn:focus-visible { outline: 1.5px solid var(--white); outline-offset: 3px; }
.fin-in.busy .btn { pointer-events: none; }
.fin-in.busy .btn::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: fin-ping .6s ease-in-out infinite alternate; }
@keyframes fin-ping { to { transform: scale(.3); opacity: .4; } }
.fin-in.err .fin-field { border-color: var(--ink); --t: var(--ink); animation: fin-no .35s; }
.fin-in.err .fin-note { color: var(--ink); }
@keyframes fin-no { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.fin-note { display: block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--white); transition: color .2s; }
.fin-legal { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--white); }
.fin-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fin-legal a:hover { text-decoration: none; }
/* the form plays in after the orange (disc 1.1 s): label → headline lines → the thread's dot comes back as a white
   point, stretches into a line, the line opens into the field frame → its input/button → note → legal.
   Going out (no .lead-in) everything drops at once, no delays */
.fin-in .ln:nth-child(1) > span { transition-delay: .4s; }
.fin-in .ln:nth-child(2) > span { transition-delay: .52s; transition-duration: .8s; }
.fin-in .ln:nth-child(3) > span { transition-delay: .64s; transition-duration: .8s; }
.fin-in .ln.fin-row { overflow: visible; }
.fin-in .ln.fin-row > span { position: relative; transform: none; }
.fin-row > span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 3px; background: var(--white);
  transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none; }
.lead-in .fin-row > span::before { animation: fin-node 1.05s .85s both; }
@keyframes fin-node {
  0% { width: 6px; height: 6px; border-radius: 3px; transform: translate(-50%, -50%) scale(0); opacity: 1; animation-timing-function: cubic-bezier(.3,1.6,.5,1); }
  16% { width: 6px; height: 6px; border-radius: 3px; transform: translate(-50%, -50%) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.7,0,.2,1); }
  55% { width: var(--fw, 480px); height: 1px; border-radius: 0; transform: translate(-50%, -50%); opacity: 1; }
  78% { width: var(--fw, 480px); height: 1px; border-radius: 0; transform: translate(-50%, -50%); opacity: 1; }
  100% { width: var(--fw, 480px); height: 1px; border-radius: 0; transform: translate(-50%, -50%); opacity: 0; }
}
.fin-field { clip-path: inset(calc(50% - .5px) 0 calc(50% - .5px) 0); transition: border-color .2s, clip-path .45s cubic-bezier(.7,0,.2,1); }
.lead-in .fin-field { clip-path: inset(0); transition-delay: 0s, 1.42s; }
.fin-field > * { opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.fin-field .btn { transform: translateX(-12px); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1), background .2s, color .2s; }
.lead-in .fin-field > * { opacity: 1; transform: none; transition-delay: 1.7s; }
.lead-in .fin-field .btn { transition-delay: 1.78s, 1.78s, 0s, 0s; }
.fin-in .ln:nth-child(5) > span { transition-delay: 1.95s; }
.fin-in .ln:nth-child(6) > span { transition-delay: 2.05s; }
.fin2:not(.lead-in) .fin-in .ln > span, .cta-modal:not(.lead-in) .fin-in .ln > span,
.fin2:not(.lead-in) .fin-field, .cta-modal:not(.lead-in) .fin-field,
.fin2:not(.lead-in) .fin-field > *, .cta-modal:not(.lead-in) .fin-field > * { transition-delay: 0s !important; transition-duration: .2s; }
/* sent: the orange closes back into a dot — white this time, a new node on the graph */
.fin-ok { position: absolute; left: -260px; top: 40px; width: 520px; text-align: center; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--dark-ink); opacity: 0; transition: opacity .6s .7s; }
.fin-ok span { font-size: 14px; color: var(--dark-2); }
.fin2.sent .fin-in { opacity: 0; pointer-events: none; transition: opacity .3s; }
.fin2.sent .fin-disc { transform: scale(.021) !important; background: var(--white); }
.fin2.sent .fin-ok { opacity: 1; }

.footer a:hover { color: var(--acc); }

/* grid overlay — key G */
.grid-ov { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
.grid-ov.on { display: block; }
.grid-ov .wrap { height: 100vh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; height: calc(100vh / var(--s)); }
.grid-ov .wrap div { background: rgba(255, 61, 0, .08); }

@media (prefers-reduced-motion: reduce) {
  .pre { display: none; }
}

/* The fixed SVG only draws inside the viewport. The trail can start several screens above it. */
.comet { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 45; pointer-events: none; overflow: hidden; }
/* Keep the frequently repainted thread on a separate layer from the fixed nav. */
.comet, .nav { will-change: transform; }
.comet .junction { fill: none; stroke: var(--acc); stroke-width: 1; }
.comet .junction-dot { fill: var(--acc); }
.comet .pulse-ring { fill: none; stroke: var(--acc); stroke-width: 1; opacity: 0; }
.comet polyline { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.comet circle { fill: var(--acc); transition: opacity .5s; }
/* mobile, hero → manifest: the thread as page elements (main.js heroThread) — the box clips the line at the full stop,
   the line is sticky (its bottom, the dot, waits on screen, then rides up with the page into the manifest point) */
.hthr { display: none; }
html.ax-m .hthr { display: block; position: absolute; width: 0; z-index: 45; pointer-events: none; visibility: hidden; clip-path: inset(0 -40px -40px -40px); }
html.ax-m .hthr.on { visibility: visible; }
html.ax-m .hthr-l { display: block; position: sticky; width: 1.5px; margin-left: -.75px; background: var(--acc); }
html.ax-m .hthr-d { position: absolute; left: 50%; bottom: 0; border-radius: 50%; background: var(--acc); transform: translate(-50%, 50%); }
.arch-step .label { transition: color .3s; }
.comet stop { stop-color: var(--acc); }
.words .ln { display: block; }

/* encoded hero letters: the real letter keeps the width, a changing glyph is drawn over it */
.hero .ch, .dec .ch { position: relative; }
.ch.enc { color: transparent; }
.ch.enc::after { content: attr(data-g); position: absolute; left: 0; top: 0; width: 100%; text-align: center; color: var(--ink); }
.dark .ch.enc::after { color: var(--dark-ink); }

/* Lenis (smooth scroll), its required base styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ask the graph (4b): two product windows — chat + graph (main.js drives the scroll) */
.ask { --mono: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.ask-chat, .ask-gw { will-change: transform; }
.ask-chat { transform-origin: 322px 346px; }
.ask-gw { transform-origin: 1054px 558px; pointer-events: none; }
.ask-gw .ask-win { pointer-events: auto; }
.ask-win { top: 212px; height: 692px; background-color: var(--paper); overflow: hidden; }
.ask-bar { position: absolute; left: 0; right: 0; top: 0; height: 48px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 20px; font: 500 calc(12px * var(--tkm))/1 var(--mono); color: var(--ink-2); }
.ask-bar .crumb span + span::before { content: "/"; margin: 0 10px; color: var(--ink-3); }
.ask-bar .crumb span:first-child { color: var(--ink); }
.ask-bar .right { margin-left: auto; display: flex; gap: 4px; }
.ask-tab { padding: 7px 10px; cursor: pointer; color: var(--ink-2); transition: color .2s, background .2s; font: inherit; letter-spacing: inherit; text-transform: inherit; border: 0; background: none; }
.ask-tab:focus-visible { outline: 1px solid var(--acc); outline-offset: 1px; }
.ask-g .n:focus { outline: none; }
.ask-g .n:focus-visible .ring { opacity: 1; }
.ask-tab.on { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ask-msgs { position: absolute; left: 0; right: 0; top: 48px; bottom: 80px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 28px 20px;
  -webkit-mask-image: linear-gradient(transparent, #000 72px); mask-image: linear-gradient(transparent, #000 72px); }
.ask-msgs > div { display: flex; flex-direction: column; }
.ask-msgs .old { opacity: .6; }
.ask-me { align-self: flex-end; max-width: 440px; margin-top: 28px; padding: 12px 16px; background: var(--ink); color: var(--bg); font-size: 15px; line-height: 20px; font-weight: 600; }
.ask-st { margin-top: 20px; display: flex; gap: 10px; align-items: center; font: 500 calc(12px * var(--tkm))/1 var(--mono); color: var(--ink-2); }
.ask-st i { width: 6px; height: 6px; background: var(--acc); }
.ask-st.run i { animation: ask-blink .6s steps(1) infinite; }
.ask-ai { margin-top: 12px; max-width: 560px; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; }
.ask-ai .dim { color: var(--ink-2); }
.ask-c { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin: 0 2px 0 3px; vertical-align: 3px;
  font: 600 calc(11px * var(--tkm))/1 var(--mono); color: var(--acc); border: 1px solid var(--acc); cursor: pointer; }
.ask-c:hover, .ask-c.hot { background: var(--acc); color: var(--white); }
.ask-src { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.ask-src li { display: flex; gap: 8px; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line); font: 500 calc(12px * var(--tkm))/1 var(--mono); color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s; }
.ask-src li b { color: var(--acc); font-weight: 600; }
.ask-src li:hover, .ask-src li.hot { border-color: var(--acc); color: var(--ink); }
.ask-inp { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 48px; border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; padding: 0 6px 0 16px; font-size: 15px; font-weight: 600; }
.ask-inp .ph { color: var(--ink-2); font-weight: 500; margin-left: 2px; }
.ask-inp .caret:first-child { margin-left: 0; }
.ask-inp .send { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink-3); color: var(--white); font: 600 16px/1 Inter; transition: background .2s; }
.ask-inp .send.on { background: var(--acc); }
.ask .caret { display: inline-block; width: 2px; height: 18px; background: var(--acc); margin-left: 2px; vertical-align: -3px; animation: ask-blink 1s steps(1) infinite; }
@keyframes ask-blink { 50% { opacity: 0; } }
.ask-g { overflow: visible; pointer-events: none; }
.ask-g .e { fill: none; stroke: var(--line); stroke-width: 1; }
.ask-g .el { fill: none; stroke: var(--acc); stroke-width: 1.5; }
.ask-g .n rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; transition: fill .2s, stroke .2s; }
.ask-g .n text { font: 500 calc(12px * var(--tkm)) var(--mono); fill: var(--ink-2); text-anchor: middle; transition: fill .2s; }
.ask-g .n text.v { font: 600 22px Inter, "Inter fb", sans-serif; fill: var(--ink); letter-spacing: -.01em; }
.ask-g .n.lit rect { fill: var(--acc); stroke: var(--acc); }
.ask-g .n.lit text { fill: var(--ink); }
.ask-g .n.lit text.v { fill: var(--acc); }
.ask-g .n .ring { fill: none; stroke: var(--acc); stroke-width: 1; opacity: 0; transition: opacity .15s; }
.ask-g .n.hot .ring { opacity: 1; }
.ask-g .alias { font: 500 calc(12px * var(--tkm)) var(--mono); fill: var(--ink-2); }
.ask-g .layer { font: 500 calc(12px * var(--tkm)) var(--mono); fill: var(--ink-2); text-transform: uppercase; }
.ask-foot { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; gap: 16px; white-space: nowrap; font: 500 calc(12px * var(--tkm))/1 var(--mono); color: var(--ink-2); }
.ask-foot span { display: flex; gap: 8px; align-items: center; }
.ask-foot i { width: 8px; height: 8px; border: 1px solid var(--ink); }
.ask-foot i.a { background: var(--acc); border-color: var(--acc); }
.ask-foot i.l { width: 16px; height: 0; border: 0; border-top: 1.5px solid var(--acc); }
.ask-foot em { margin-left: auto; font-style: normal; }

/* ask graph: labels knock the edges out; hover lights a node's neighbourhood; click asks */
.ask-g .n text { paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.ask-g .n { pointer-events: all; cursor: pointer; transition: opacity .2s; }
.ask-g .n .hit.hit { fill: transparent; stroke: none; }
.ask-g .n .ring.ring { fill: none; }
.ask-g .e { transition: opacity .2s, stroke .2s; }
.ask-g.focus .n:not(.nb), .ask-g.focus .e:not(.nb) { opacity: .25; }
.ask-g.focus .e.nb { stroke: var(--ink); }
.ask-g.focus .n.nb text { fill: var(--ink); }
/* hover: the site's aim (four accent corners) round the node and its label, the tag above it — in stage px */
.ask-aim.aim3d { position: absolute; z-index: 1; transition: opacity .2s; }
.ask-tag.hero3d-tag { position: absolute; z-index: 1; }

/* hero runs at the faster decode's pace (~×0.5): lead, bar, menu and labels come in quicker */
.hero [data-step] { transition-duration: .5s; }
.hero .lead-bar { transition-duration: .6s; }
.hero .hero-lead .ln > span { transition-duration: .45s; }
.hero .hero-lead .ln:nth-child(1) > span { transition-delay: .08s; }
.hero .hero-lead .ln:nth-child(2) > span { transition-delay: .2s; }
.hero .hero-lead .ln:nth-child(3) > span { transition-delay: .32s; }
.hero .hero-lead .ln:nth-child(4) > span { transition-delay: .44s; }
.hero .hero-lead .ln:nth-child(5) > span { transition-delay: .56s; }

/* round CTAs (trace, ask) → the same orange form grows out of the circle over the page (main.js) */
.cta-modal { position: fixed; inset: 0; z-index: 60; overflow: hidden; visibility: hidden; pointer-events: none; }
.cta-modal.open { visibility: visible; pointer-events: auto; }
.cta-modal .fin-a { left: 0; top: 0; }
.cta-modal .fin-ok { top: -40px; color: var(--white); transition: opacity .5s .3s; }
.cta-modal .fin-ok span { color: var(--white); }
.cta-modal.sent .fin-in { opacity: 0; pointer-events: none; transition: opacity .3s; }
.cta-modal.sent .fin-ok { opacity: 1; }
.cta-modal.open.closing .fin-ok, .cta-modal.open.closing .fin-in, .cta-modal.open.closing .cm-x { opacity: 0; transition: opacity .25s; transition-delay: 0s; }
.cm-x { position: fixed; top: calc(24px * var(--s)); right: calc(32px * var(--s)); width: 48px; height: 48px; border: 0; background: none;
  color: var(--white); font: 300 40px/48px Inter, "Inter fb", sans-serif; cursor: pointer; opacity: 0; transition: opacity .3s; }
.cta-modal.lead-in .cm-x { opacity: 1; transition-delay: .8s; }
.cm-x:hover { color: var(--ink); }
.cm-x:focus-visible { outline: 1.5px solid var(--white); outline-offset: 2px; }

/* the cash sentence, split round the node: the accent step (24/30), each half on three of the eight half-columns */
.cash-l, .cash-r { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }

/* visually hidden, read by screen readers and crawlers (the hero line is drawn by the .scr pieces) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* selectable text (2026-11-05): big transparent boxes let the pointer through, only their content catches it —
   otherwise they lie over neighbouring text and it can't be selected */
.stepper, .tr-io, .hero-lead .ln { pointer-events: none; }
.stepper > *, .hero-lead .ln > span { pointer-events: auto; }
.tr-io.is-on, .tr-io.is-on .tr-io-i { pointer-events: auto; }
.tr-io-i { pointer-events: none; }
.tr-rig.live .tr-ly { pointer-events: none; }
.tr-rig.live .tr-ly > * { pointer-events: auto; }
.tr-tree .r { -webkit-user-select: text; user-select: text; }
.ask-g .layer, .ask-g .alias { pointer-events: auto; }
/* "click any node": the hover look shown by itself on Acme Corp (aim breathing + tag), and a chip under the first answer */
.ask-aim.aim3d.hint { animation: ask-hint 1.4s ease-in-out infinite alternate; }
.ask-tag.hero3d-tag.hint { transform: translate(0, calc(-100% - 6px)); }
@keyframes ask-hint { from { transform: scale(1); } to { transform: scale(1.12); } }
.ask-try { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid var(--acc);
  background: transparent; font: 500 calc(12px * var(--tkm))/1 var(--mono); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.ask-try b { color: var(--acc); font-weight: 600; transition: color .2s; }
.ask-try:hover { background: var(--acc); color: var(--white); }
.ask-try:hover b { color: var(--white); }
.tr-tag, .tr-rig.live .tr-ly > .tr-tag { pointer-events: none; }
.fin-pin { pointer-events: none; }
.fin-pin .fin-disc, .fin-pin .fin-in { pointer-events: auto; }
.fin-ok { pointer-events: none; }
.fin2.sent .fin-ok { pointer-events: auto; }

/* The hero draws its own cursor node. The same dot marks controls and hover targets elsewhere. */
@media (any-hover: hover) and (any-pointer: fine) {
  a[href], button:enabled, .tr-tree .r,
  .cash.has-3d.has-hotspot, .sheets.has-3d.has-hotspot, .arch.has-3d.has-hotspot,
  .pf-fig, .pf-days .tick, .pf-flows i, .pf-hours i, .pf-quotes,
  .ask-g .n, .ask-c, .ask-src li, .tu-card, .in-grp li {
    cursor: url('assets/cursor-dot.svg') 5 5, pointer;
  }
  .hero.has-3d .hero-3d { cursor: none; }
}

/* ================= MOBILE (html.ax-m, < 1080 wide; AX.applyM) =================
   Stage 390 × var(--mh) (the screen's tall viewport in stage px), margins 16, 4 columns of 79.5 / gutter 14,
   thread on x = 195. Positions come from each element's data-m (main.js). Type: H1 60/56, H2 40/40, big 28/32,
   H3 24/28; lead / body / label as on desktop. */
html.ax-m .stage { width: 390px; height: var(--mh); }
html.ax-m .wrap { width: 390px; padding: 0 16px; }
html.ax-m .pin { height: 100lvh; }
html.ax-m .h1 { font-size: 60px; line-height: 56px; }
html.ax-m .h2 { font-size: 40px; line-height: 40px; }
html.ax-m .h3 { font-size: 24px; line-height: 28px; }
html.ax-m .big { font-size: 28px; line-height: 32px; }
html.ax-m .nav .m, html.ax-m .hero-nav a:not(.logo):not(.acc) { display: none; }
html.ax-m .nav .wrap { height: 56px; }
html.ax-m .grid-ov .wrap { grid-template-columns: repeat(4, 1fr); column-gap: 14px; }
/* hero (mobile): the headline wraps round the cubes; the lead sits under it with a horizontal dash; no IN / OUT */
html.ax-m .hero .label.scatter { display: none; }
html.ax-m .hero .lead-bar[data-mfix] { transform: scaleX(0); transform-origin: left; }
html.ax-m .hero.s2 .lead-bar[data-mfix] { transform: none; }
/* cash (mobile): the sentence's halves one after another under the scheme; labels wrap, centred under their piece */
html.ax-m .cash-l, html.ax-m .cash-r { font-size: 20px; line-height: 26px; }
html.ax-m .cash .ent { white-space: normal; width: 120px; text-align: center; }
/* trace (mobile): the window is the column (358 × TRH). The five levels are a compact stepper on top (the open one
   widens to its name — main.js sets the columns), under it the level itself: figure, three facts, its records table
   (the highlighted row is the link to the next level). Breadcrumb, highlight bar and in / out wiring are left out */
html.ax-m .tr-top, html.ax-m .tr-split, html.ax-m .tr-io, html.ax-m .tr-io-svg, html.ax-m .tr-hl { display: none; }
html.ax-m .tr-tree { top: 0; width: 100%; height: 44px; display: grid; grid-template-columns: 1fr 44px 44px 44px 44px;
  border-bottom: 1px solid var(--line); transition: grid-template-columns .45s cubic-bezier(.2,.7,.2,1); }
html.ax-m .tr-tree .r { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 0 0 16px; min-width: 0; overflow: hidden;
  white-space: nowrap; border-bottom: 0; border-left: 1px solid var(--line); }
html.ax-m .tr-tree .r:first-of-type { border-left: 0; }
html.ax-m .tr-tree .r.on { background: color-mix(in srgb, var(--acc) var(--trace-highlight-strength), transparent); box-shadow: inset 0 -2px 0 var(--acc); }
html.ax-m .tr-tree .t { font-size: 14px; opacity: 0; transition: opacity .2s; }
html.ax-m .tr-tree .r.on .t { opacity: 1; transition-delay: .15s; }
html.ax-m .tr-tree .t small, html.ax-m .tr-tree .v { display: none; }
html.ax-m .tr-insp { left: 12px; top: 54px; width: 334px; }
html.ax-m .tr-sub { font-size: 11px; }
html.ax-m .tr-giant { margin-top: 4px; font-size: 28px; }
html.ax-m .tr-meta { margin-top: 10px; }
html.ax-m .tr-meta div:nth-child(n+4) { display: none; }
html.ax-m .tr-meta p:first-child { font-size: 10px; }
html.ax-m .tr-meta p:last-child { margin-top: 3px; font-size: 12px; }
html.ax-m .tr-src { left: 12px; top: 164px; width: 334px; }
html.ax-m .tr-tab-cap { margin-bottom: 6px; font-size: 11px; }
html.ax-m .tr-csv { font-size: 11px; }
html.ax-m .tr-csv :is(th, td) { padding: 6px 8px; }
html.ax-m .tr-rig.tall .tr-meta div:nth-child(n+4) { display: block; }
html.ax-m .tr-rig.tall .tr-src { top: 210px; }
html.ax-m .tr-csv td:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
/* level texts ride up 1:1 with the scroll — cut off at the column top (just under the window), never over the UI or the headline */
html.ax-m .tr-side { clip-path: inset(0 -40px -2000px -40px); }
/* the window may be shorter than its content on a short screen (main.js TRH): cut at its bottom edge */
html.ax-m .tr-ly { clip-path: inset(-200px -200px 0 -200px); }
/* arch steps: opacity follows the scroll — no lag, or a leaving text rides up into the icons still visible */
html.ax-m .arch-step { transition: none; }
/* proof: the thread is hidden over the whole section (main.js FULL hole) — so are its nodes and their links */
html.ax-m #proof .pf-node, html.ax-m #proof .pf-link { display: none; }
html.ax-m .tr-meta div { padding: 6px 0; }
html.ax-m .tr-s-t { margin-top: 10px; font-size: 20px; line-height: 26px; }
html.ax-m .tr-s-p { margin-top: 12px; font-size: 14px; line-height: 20px; }
/* sheets (mobile, draft): headline 36 on two lines from the left; lead under it; the 3D box 760 wide (outer fragments
   run off the sides); stepper: five nodes 76 apart, titles 15, only the current step's text, under the row */
html.ax-m .sheets .sh-side { display: none; }
html.ax-m .step { width: 72px; }
html.ax-m .step .label { font-size: 15px; line-height: 20px; }
html.ax-m .step .d { display: none; }
html.ax-m .step.cur .d { display: block; position: absolute; left: var(--dx); top: 30px; width: 358px; margin: 0; }
/* ask (mobile, draft): the chat window across the column (358 × 252), the graph window under it at half size */
html.ax-m .ask-chat { transform-origin: 50% 50%; }
html.ax-m .ask-gw { transform-origin: 0 0; }
html.ax-m .ask-bar { padding: 0 12px; white-space: nowrap; overflow: hidden; }
html.ax-m .ask-msgs { bottom: 68px; padding: 0 14px 12px; }
html.ax-m .ask-me { max-width: 280px; margin-top: 16px; padding: 8px 12px; font-size: 14px; line-height: 18px; }
html.ax-m .ask-ai { font-size: 15px; line-height: 21px; }
html.ax-m .ask-inp { left: 12px; right: 12px; bottom: 12px; height: 44px; font-size: 14px; }
/* ask (mobile): no graph window — the chat alone (358 × 440), the CTA under it; the "try a node" chip goes with the graph */
html.ax-m .ask-gw, html.ax-m .ask-try { display: none; }
/* ask (mobile, as trace): no dot waiting over the window — the CTA grows from nothing under it */
html.ax-m .ask-dot { display: none; }
/* proof (mobile, draft): one column — node, figure, its picture under it; the thread passes behind the blocks */
html.ax-m .pf-vis { left: 16px; width: 358px; }
html.ax-m .pf-flows { gap: 4px; }
html.ax-m .pf-days { gap: 5px; }
html.ax-m .pf-hours { gap: 5px; }
html.ax-m .pf-link { display: none; }
/* the trace (Metric → Record → Source): rows grow with their text; while it is open it takes the picture's place */
html.ax-m .pf-trace { height: auto; max-height: 0; transition: max-height .45s cubic-bezier(.2,.8,.2,1); }
html.ax-m .pf-fig.open .pf-trace { height: auto; max-height: 360px; }
html.ax-m .pf-trace li { grid-template-columns: 76px 1fr; height: auto; min-height: 36px; padding: 8px 0; }
html.ax-m .pf-trace li .lead { font-size: 14px; line-height: 20px; }
html.ax-m .pf-fig + .pf-vis { transition: opacity .3s; }
html.ax-m .pf-fig.open + .pf-vis { opacity: 0 !important; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
html.ax-m #proof:has(.pf-fig.open) .pf-tag, html.ax-m #proof:has(.pf-fig.open) .pf-vis .aim3d { visibility: hidden; }
html.ax-m .pf-quote { flex-basis: 326px; margin-right: 32px; }   /* the box's 32 px hanging-quote room comes off the width */
html.ax-m .pf-quote blockquote { height: 224px; }
html.ax-m .pf-quote figcaption { margin-top: 20px; }
html.ax-m .pf-quote { padding-bottom: 64px; }   /* the controls sit under the caption */
/* trust (mobile, draft): two columns of 172 (the thread runs down the 14 px gutter on 195); cards compact,
   their rows label over value; backers stacked in the left column */
html.ax-m .tu-card { width: 172px; padding: 16px; }
html.ax-m .tu-card img { width: 64px; height: 64px; }
html.ax-m .tu-card > .lead { margin-top: 16px; }
html.ax-m .tu-card ol { margin-top: 16px; }
html.ax-m .tu-card li { display: block; height: auto; padding: 6px 0; }
html.ax-m .tu-card li .lead { display: block; font-size: 14px; line-height: 18px; }
html.ax-m .tu-fact { width: 172px; height: 136px; padding: 16px; }
html.ax-m .tu-fact .h3 { font-size: 20px; line-height: 24px; }
/* integrations (mobile, draft): cards 2×2 (172), filled so the upper cards' links pass behind the lower ones;
   the cube under them on 195; timeline: when on the left, what on the right of the thread */
html.ax-m .in-grp { width: 172px; padding: 16px 14px 12px; background-color: var(--dark); }
html.ax-m .in-grp .hd { margin-bottom: 16px; }
html.ax-m .in-grp li { height: 40px; }
html.ax-m .in-grp li .h3 { font-size: 14px; line-height: 20px; }
html.ax-m .in-grp li .label { display: none; }   /* the type (ERP, Files…) — no room next to the name */
html.ax-m .in-when { width: 165px; }
html.ax-m .in-what { width: 163px; }
/* final (mobile): the form on the column (358), headline 56; footer: logo + links in a wrapping row, © under them */
html.ax-m .fin-in { left: -179px; width: 358px; }
html.ax-m .fin-h { font-size: 56px; line-height: 56px; }
html.ax-m .fin-row { margin-top: 32px; }
html.ax-m .fin-row > span { --fw: 342px; }
html.ax-m .fin-field { width: 342px; height: 56px; padding: 5px 5px 5px 0; }
html.ax-m .fin-field input { height: 46px; padding: 0 12px; font-size: 15px; }
html.ax-m .fin-field .btn { height: 46px; padding: 0 14px; font-size: 13px; }
html.ax-m .fin-ok { left: -179px; width: 358px; }
html.ax-m .footer .wrap { column-gap: 24px; }
html.ax-m .footer .logo { flex-basis: 100%; }
html.ax-m .footer .wrap > .label { margin-left: 0 !important; flex-basis: 100%; }
html.ax-m .cm-x { top: 8px; right: 8px; }
/* text compensation is desktop-only */
html.ax-m { --tk: 1 !important; --tkm: 1 !important; }
html.ax-m .tu-card li .lead, html.ax-m .pf-trace li .lead { white-space: normal; }

/* fallback renders keep their own proportions (mobile boxes differ from the art: cluster was stretched 2.33 → 1.05) */
img[data-fb] { object-fit: contain; }
/* the arch title and steps are light text for the dark panel: hidden until the panel is under them (they are off
   screen until then anyway) — otherwise contrast checks read them light-on-light in the initial state */
.arch .track { visibility: hidden; }
.arch[data-theme="dark"] .track { visibility: visible; }
/* arch membrane: the wave after the tear */
.membrane .mem-ring { fill: none; stroke: var(--dark-ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; }
.track .mw { display: inline-block; }

/* key phrases (2026-11-13): one weight step, no colour — paragraph 500 → 600, big/semibold 600 → 750; map: reviews/2026-11-13_text_emphasis_map.md */
.body strong, .tr-s-p strong { font-weight: 600; }
.big strong, .cash-l strong, .cash-r strong { font-weight: 750; }
.arch-step .body strong { color: var(--dark-ink); }
