/* UIX Pearl, the shared stylesheet (docs/SITE-ARCHITECTURE.md section 8). Tokens (light + dark), icons, type, the signature
   edge, liquid + frosted glass, the three buttons (.btn-primary, .btn-glass, .btn-text), the bar with its mega menu and mobile
   sheet, sections, reveal, FAQ, the product cards, the compare table, the dark start band, the footer and the layouts.
   Home-only styles (hero, silk, fan, proof, problem, how, scenes, sync, parts) stay in _style/v10/home.css.
   pearl.js sets --p-* only on the home page; every other page uses the defaults below. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/jakarta-home.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+2013-2014, U+2018-201D, U+2022, U+2026, U+2190-2199, U+2713; } /* the home page's 132 glyphs, 16 KB */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00D6, U+00D8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-2012, U+2015-2017, U+201E-2021, U+2023-2025, U+2027-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 104.3%; ascent-override: 99.5%; descent-override: 21.3%; line-gap-override: 0%; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin-v6.woff2) format('woff2'); }

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --ea { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --lit { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --xr { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --s0 { syntax: '<color>'; inherits: true; initial-value: #F6F4F8; }
@property --s1 { syntax: '<color>'; inherits: true; initial-value: #CDD3F6; }
@property --s2 { syntax: '<color>'; inherits: true; initial-value: #D3C6F4; }
@property --s3 { syntax: '<color>'; inherits: true; initial-value: #F6DCCB; }
@property --s4 { syntax: '<color>'; inherits: true; initial-value: #CFCFE6; }
@property --k0 { syntax: '<color>'; inherits: true; initial-value: #FBF1E8; }
@property --k1 { syntax: '<color>'; inherits: true; initial-value: #F6D9C1; }
@property --k2 { syntax: '<color>'; inherits: true; initial-value: #F1CDB0; }
@property --k3 { syntax: '<color>'; inherits: true; initial-value: #E3D3F0; }
@property --k4 { syntax: '<color>'; inherits: true; initial-value: #EAD9CB; }
@property --d0 { syntax: '<color>'; inherits: true; initial-value: #1B1424; }
@property --d1 { syntax: '<color>'; inherits: true; initial-value: #3A2B5E; }
@property --d2 { syntax: '<color>'; inherits: true; initial-value: #4B3A78; }
@property --d3 { syntax: '<color>'; inherits: true; initial-value: #6A4B3A; }
@property --d4 { syntax: '<color>'; inherits: true; initial-value: #120E19; }

:root {
  --p-50: #F5F3FF; --p-100: #DBD5FF; --p-200: #C2B6FF; --p-300: #AB95FF; --p-400: #9671FF; --p-500: #824BF6;
  --p-600: #6D2DDA; --p-700: #570EB8; --p-800: #41008E; --p-900: #2B0063; --p-950: #16003B;
  --w-50: #FFF5ED; --w-100: #F9D4BA; --w-200: #ECB68D; --w-300: #DC9863; --w-400: #C87C3D; --w-500: #B06215;
  --w-600: #924D00; --w-700: #733B00; --w-800: #552A00; --w-900: #391900; --w-950: #1F0A00;
  --act: var(--p-600); --on-act: #FFFFFF; --acc: var(--p-700); --acc-dk: var(--p-300);
  --fa: #8F6CF0; --fb: #E39A6C;

  --paper: #F7F6F3; --surface: #FFFFFF; --sunken: #EFEEEA; --line: #E1E2E8; --line-2: #CDD0D9;
  --ink: #0C0C10; --ink-2: #34333C; --ink-3: #5B5A64;
  --accent: var(--acc); --ring: var(--act);
  --btn-ink: #0C0C10; --btn-ink-t: #FFFFFF;
  --sh-1: 0 1px 2px rgb(30 24 40 / .05), 0 3px 10px -3px rgb(30 24 40 / .06);
  --sh-2: 0 1px 2px rgb(30 24 40 / .04), 0 12px 28px -10px rgb(30 24 40 / .09), 0 32px 64px -24px rgb(30 24 40 / .1);
  --sh-3: 0 2px 4px rgb(30 24 40 / .05), 0 18px 40px -12px rgb(30 24 40 / .14), 0 44px 88px -28px rgb(30 24 40 / .18);

  /* the signature edge: a 1px conic hairline, light resting at the top left; it turns and brightens on hover */
  --e0: color-mix(in oklab, var(--line-2) 85%, transparent); --e1: color-mix(in oklab, var(--p-300) 80%, white);
  --e2: var(--w-200); --e3: var(--p-200); --e-at: 285deg; --edge-bg: var(--surface);
  --rib: rgb(255 255 255 / .7); --rib-w: rgb(255 255 255 / .55); /* the light ribbons of the CSS silks */

  /* glass: a fixed tint per theme and bar state (no sampling), rim, glow and shadow */
  --g-t: 252 251 249; --g-a: .55; --g-sh: 70 60 100; --g-br: 1.05; --rim-hi: .85; --glow-a: .4; --sh-a: .34; --edge-a: .22; --lip: 0; --plate: .26;

  --f-d: 'Plus Jakarta Sans', 'Jakarta Fallback', ui-sans-serif, system-ui, sans-serif; --f-b: var(--f-d);
  --f-m: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; --f-m0: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; /* f-m0: above the fold, no font request before first paint */
  --d-w: 700; --d-ls: -.04em; --b-w: 600;
  --spring: linear(0, .034, .121, .24, .376, .515, .647, .766, .867, .95, 1.013, 1.058, 1.087, 1.102, 1.107, 1.103, 1.094, 1.081, 1.067, 1.052, 1.038, 1.025, 1.014, 1.006, .999, .994, .991, .989, .989, .989, .99, .991, .993, .994, .996, .997, .998, .999, 1);
  --spring-s: linear(0, .098, .306, .531, .726, .871, .965, 1.018, 1.042, 1.046, 1.04, 1.03, 1.02, 1.011, 1.005, 1.001, .999, .998, .998, .998, .999, .999, 1);
  --out: cubic-bezier(.2, .8, .2, 1); --io: cubic-bezier(.65, 0, .3, 1);
  --b-t: .5s;
  --pad: 32px;
  color-scheme: light;
  transition: --s0 .7s, --s1 .7s, --s2 .7s, --s3 .7s, --s4 .7s, --k0 .7s, --k1 .7s, --k2 .7s, --k3 .7s, --k4 .7s, --d0 .7s, --d1 .7s, --d2 .7s, --d3 .7s, --d4 .7s;
}
[data-theme=dark], .satin {
  --paper: #0B0B10; --surface: #141419; --sunken: #1B1B22; --line: #26262F; --line-2: #363641;
  --ink: #F3F2EF; --ink-2: #C3C2CB; --ink-3: #A09FAC;
  --accent: var(--acc-dk); --ring: var(--acc-dk);
  --btn-ink: #F3F2EF; --btn-ink-t: #0C0C10;
  --sh-1: 0 1px 2px rgb(0 0 0 / .4), 0 0 0 1px rgb(255 255 255 / .02);
  --sh-2: 0 1px 2px rgb(0 0 0 / .4), 0 12px 28px -10px rgb(0 0 0 / .5), 0 32px 64px -20px rgb(0 0 0 / .55);
  --sh-3: 0 2px 4px rgb(0 0 0 / .45), 0 18px 40px -10px rgb(0 0 0 / .6), 0 44px 88px -24px rgb(0 0 0 / .6);
  --e0: rgb(255 255 255 / .09); --e1: color-mix(in oklab, var(--p-300) 85%, white); --e2: var(--w-300); --e3: var(--p-500);
  --g-t: 30 29 37; --g-a: .6; --g-br: .9; --rim-hi: .3; --glow-a: .16; --sh-a: .7; --edge-a: .5; --plate: .07;
  --rib: rgb(255 255 255 / .05); --rib-w: rgb(255 255 255 / .04);
}
[data-theme=dark] { color-scheme: dark; }
.satin { color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .4s, color .4s; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; }
code { font-family: var(--f-m); font-size: .86em; }
b, strong { font-weight: 600; }
::selection { background: var(--p-100); color: #0C0C10; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-primary.skip { position: absolute; left: 12px; top: 12px; z-index: 100; transform: translateY(-300%); }
.btn-primary.skip:focus { transform: none; }
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lg-d { display: none; }
[data-theme=dark] .lg-l { display: none; } [data-theme=dark] .lg-d { display: block; }

/* ---------- icons: one currentColor sprite; the duotone layer is the same color at --ic-o ---------- */
.ic { flex: none; display: inline-block; width: 24px; height: 24px; overflow: visible; vertical-align: middle; --ic-o: .2; }
.ic.i20 { width: 20px; height: 20px; }
.ic.i16 { width: 16px; height: 16px; }
.bi { flex: none; width: 16px; height: 16px; fill: currentColor; }
.tile { flex: none; position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--accent); --ic-o: .22;
  background: color-mix(in oklab, var(--p-500) 9%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-500) 14%, transparent); transition: background-color .5s, color .5s; }
.tile.sm { width: 30px; height: 30px; border-radius: 10px; }
[data-theme=dark] .tile, .satin .tile { background: color-mix(in oklab, var(--p-400) 15%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-300) 18%, transparent); --ic-o: .28; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--f-d); font-weight: var(--d-w); letter-spacing: var(--d-ls); text-wrap: balance; }
h2 { font-size: clamp(32px, 3.45vw, 50px); line-height: 1.04; }
h3 { font: 600 19px/1.3 var(--f-b); letter-spacing: -.012em; }
.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.58; color: var(--ink-2); max-width: 33em; text-wrap: pretty; }
.sum { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--accent); margin-bottom: 16px; transition: color .4s; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(from 210deg, var(--p-500), var(--fa), var(--w-300), var(--p-500)); box-shadow: inset 0 0 0 1px rgb(12 12 16 / .08); }
.note { font-size: 14px; color: var(--ink-2); }

/* ---------- the signature edge, drawn on the element itself: the conic sits in the border box, the card color in
   the padding box, so the hairline always follows the element's own radius and crop ---------- */
.edge { border: 1px solid transparent;
  background: linear-gradient(var(--edge-bg), var(--edge-bg)) padding-box,
    conic-gradient(from calc(var(--ea) + var(--e-at)), var(--e1), var(--e2) 15%, var(--e3) 29%, var(--e0) 45%, var(--e0) 80%, var(--e1)) border-box;
  animation: edge-turn 7s linear infinite paused; }
.edge:hover { animation-play-state: running; --e0: color-mix(in oklab, var(--p-300) 34%, var(--line-2)); }
[data-theme=dark] .edge:hover { --e0: color-mix(in oklab, var(--p-400) 30%, rgb(255 255 255 / .1)); }
@keyframes edge-turn { from { --ea: 0deg; } to { --ea: 360deg; } }
/* translucent panes (glass, frost, glass buttons) can't use the padding box, so they carry the same edge as a mask */
.glass, .frost, .btn-glass { position: relative; isolation: isolate; }
.glass::before, .frost::before, .btn-glass::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(150px circle at var(--mx, 24%) var(--my, 0%), rgb(255 255 255 / calc(var(--lip) * var(--lit))), rgb(255 255 255 / 0) 72%),
    conic-gradient(from calc(var(--ea) + var(--e-at)), var(--e1), var(--e2) 15%, var(--e3) 29%, var(--e0) 45%, var(--e0) 80%, var(--e1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .9; animation: edge-turn 7s linear infinite paused; transition: opacity .6s var(--out); }
.glass:hover::before, .btn-glass.hov::before { animation-play-state: running; opacity: 1; }

/* ---------- liquid glass (bar, dock, fan label): blur + saturate, refraction added by liquid.js in Chromium ---------- */
.glass, .btn-glass { --lip: .95;
  background-color: rgb(var(--g-t) / var(--g-a));
  background-image: linear-gradient(118deg, rgb(255 255 255 / var(--plate)) 0%, rgb(255 255 255 / 0) 36%, rgb(255 255 255 / 0) 68%, rgb(255 255 255 / calc(var(--plate) * .6)) 100%);
  box-shadow: inset 0 10px 16px -12px rgb(255 255 255 / var(--rim-hi)), inset 0 -10px 18px -14px rgb(var(--g-sh) / var(--edge-a)), inset 0 0 var(--glow-r, 20px) rgb(255 255 255 / var(--glow-a)),
    0 1px 2px rgb(var(--g-sh) / calc(var(--sh-a) * .3)), 0 18px 38px -18px rgb(var(--g-sh) / var(--sh-a)), var(--g-focus, 0 0 #0000);
  transition: background-color .5s, box-shadow .5s, --lit .45s var(--out); }
.glass { --g-blur: 16px; -webkit-backdrop-filter: blur(var(--g-blur)) saturate(170%) brightness(var(--g-br)); backdrop-filter: blur(var(--g-blur)) saturate(170%) brightness(var(--g-br)); }
.glass::after, .btn-glass::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 24%) var(--my, 0%), rgb(255 255 255 / .22), transparent 70%); opacity: var(--lit); }
[data-theme=dark] .glass::after, [data-theme=dark] .btn-glass::after, .satin .btn-glass::after { background: radial-gradient(240px circle at var(--mx, 24%) var(--my, 0%), rgb(255 255 255 / .07), transparent 70%); }
.glass.lit, .btn-glass.hov { --lit: 1; }
/* frosted glass (mega menu, mobile sheet): cheaper, only on screen while open */
.frost { background: rgb(var(--g-t) / .86); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: var(--sh-3); }
[data-theme=dark] .frost { background: rgb(24 23 30 / .9); }

/* ---------- buttons: three classes, one ring, one timing ---------- */
.btn-primary, .btn-glass, .btn-text { -webkit-tap-highlight-color: transparent; cursor: pointer; }
.btn-primary:focus-visible, .btn-glass:focus-visible, .btn-text:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.btn-primary:disabled, .btn-glass:disabled, .btn-text:disabled { opacity: .5; pointer-events: none; }
.btn-primary, .btn-glass { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font: var(--b-w) 16px/1 var(--f-b); letter-spacing: -.005em; white-space: nowrap; }
.btn-primary.sm, .btn-glass.sm { height: 40px; padding: 0 16px; gap: 8px; font-size: 15px; }
.btn-primary { position: relative; isolation: isolate; color: var(--btn-ink-t); background: var(--btn-ink);
  box-shadow: 0 1px 2px rgb(12 12 16 / .22), 0 12px 26px -12px rgb(12 12 16 / .65); transition: color .35s, background-color .4s, box-shadow .3s; }
[data-theme=dark] .btn-primary, .satin .btn-primary { box-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 26px -12px rgb(0 0 0 / .8); transition: color .28s ease .14s, background-color .4s, box-shadow .3s; }
.btn-primary.filled { color: var(--on-act); }
.btn-primary .btn-t, .btn-primary .btn-arr, .btn-primary > .ic { position: relative; z-index: 2; }
.btn-fill { position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.btn-goo { position: absolute; inset: 0; filter: url(#goo); }
.btn-goo i { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--act); transform: translate(-50%, -50%) scale(0); transition: background-color .4s; }
.btn-goo i + i { width: 15px; height: 15px; }
.btn-primary::before { content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0% 50%, color-mix(in srgb, var(--fa) 85%, transparent) 63%, rgb(255 255 255 / .95) 72%, color-mix(in srgb, var(--fb) 90%, transparent) 81%, transparent 93%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; transition: opacity .35s; }
[data-theme=dark] .btn-primary::before, .satin .btn-primary::before { background: conic-gradient(from var(--ang), transparent 0% 50%, var(--fa) 63%, var(--p-700) 72%, var(--fb) 81%, transparent 93%); }
.btn-primary.filled::before, .btn-primary:focus-visible::before { opacity: 1; }
.btn-primary::after { content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px var(--ring), 0 0 26px 6px color-mix(in srgb, var(--ring) 45%, transparent); transition: opacity .25s; }
.btn-primary:focus-visible { outline: 0; }
.btn-primary:focus-visible::after { opacity: 1; }
.btn-arr { display: inline-grid; width: 20px; height: 20px; overflow: hidden; }
.btn-arr .ic { grid-area: 1 / 1; width: 20px; height: 20px; transition: translate .55s var(--spring-s), opacity .3s; }
.btn-arr .ic + .ic { translate: -150% 0; opacity: 0; }
.btn-primary.hov .btn-arr .ic:first-child { translate: 150% 0; opacity: 0; }
.btn-primary.hov .btn-arr .ic + .ic { translate: 0 0; opacity: 1; transition-delay: .07s; }
/* glass: a translucent pill with the edge, specular lip and inner glow; it lifts, swells and (where refraction runs) lenses */
.btn-glass { color: var(--ink); --g-a: .62; --glow-r: 9px; --glow-a: .3; transition: background-color .5s, box-shadow .5s, color var(--b-t), --lit .45s var(--out); }
.btn-glass > * { position: relative; z-index: 3; }
.btn-glass.lensed { --lip: 1; --glow-a: .5; --rim-hi: 1; --g-a: .74; }
[data-theme=dark] .btn-glass.lensed, .satin .btn-glass.lensed, .start-band .btn-glass.lensed { --g-a: .72; --glow-a: .14; --rim-hi: .4; }
.btn-glass.lensed::after { background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .38), transparent 70%); }
.btn-glass:focus-visible { outline: 0; --g-focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--ring), 0 0 26px 4px color-mix(in srgb, var(--ring) 40%, transparent); }
.btn-glass.icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn-glass.icon.sm { width: 34px; height: 34px; }
.btn-glass.dot { width: 28px; height: 28px; padding: 0; border-radius: 50%; background: var(--c); --glow-a: 0; --plate: 0; box-shadow: 0 1px 2px rgb(12 12 16 / .14), var(--g-focus, 0 0 #0000); }
.btn-glass[aria-pressed=true]:not(.dot) { --g-a: .95; color: var(--ink); }
/* text: the underline draws left to right, the arrow nudges */
.btn-text { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 15px/1.35 var(--f-b); color: var(--accent); text-align: left; transition: color var(--b-t); }
.btn-text .btn-t { padding-bottom: 1px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--b-t) var(--out); }
.btn-text.hov .btn-t, .btn-text:focus-visible .btn-t, .btn-text[aria-selected=true] .btn-t { background-size: 100% 1.5px; }
.btn-text:focus-visible { border-radius: 8px; }
.btn-text.stretch::after { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; }

/* ---------- the bar: a floating glass pill that shrinks and frosts on scroll, a sliding indicator, one morphing menu ---------- */
.bar { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.bar-pill { pointer-events: auto; display: flex; align-items: center; gap: 22px; width: min(1120px, 100% - 28px); height: 62px; margin: 0 auto; padding: 0 10px 0 16px; border-radius: 999px; --g-a: .5;
  transition: width .6s var(--spring-s), height .5s var(--spring-s), background-color .5s, box-shadow .5s, --lit .45s var(--out); }
.bar-pill > * { position: relative; z-index: 3; }
.bar.scrolled .bar-pill { width: min(1000px, 100% - 28px); height: 54px; --g-a: .8; --g-blur: 24px; --glow-a: .5; --sh-a: .42; }
[data-theme=dark] .bar-pill { --g-a: .55; }
[data-theme=dark] .bar.scrolled .bar-pill { --g-a: .84; }
/* compact bar (app pages: /account, /generate, Studio chrome): no float, a full-width thin glass strip, same items; in flow, so no top padding is needed */
.bar.compact { position: sticky; top: 0; }
.bar.compact .bar-pill, .bar.compact.scrolled .bar-pill { width: 100%; height: 52px; margin: 0; padding: 0 max(16px, calc((100% - 1240px) / 2)); border-radius: 0; gap: 18px; --g-a: .8; --g-blur: 24px; }
.bar.compact .bar-pill::before, .bar.compact .bar-pill::after { border-radius: 0; }
.bar.compact .brand img { width: 26px; height: 26px; }
.bar.compact .bar-link.btn-text, .bar.compact .bar-in.btn-text { height: 36px; }
.bar.compact .bar-ind { height: 34px; margin-top: -17px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: var(--d-w) 21px/1 var(--f-d); letter-spacing: -.035em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 9px; transition: rotate .5s var(--spring-s); }
.brand.hov img { rotate: -8deg; }
.brand.btn-text .btn-t { padding-bottom: 2px; }
.bar-nav { position: relative; display: flex; align-items: center; gap: 2px; }
.bar-link.btn-text { position: relative; z-index: 1; height: 40px; padding: 0 14px; font-weight: 500; color: var(--ink-2); }
.bar-link.btn-text .btn-t { background: none; }
.bar-link.hov, .bar-link[aria-expanded=true], .bar-in.hov, .bar-link[aria-current=page], .bar-link[data-current] { color: var(--ink); }
.bar-ind { position: absolute; left: 0; top: 50%; z-index: 0; height: 38px; width: var(--iw, 60px); margin-top: -19px; border-radius: 999px; pointer-events: none; opacity: 0;
  translate: var(--ix, 0) 0; background: rgb(255 255 255 / .72); box-shadow: 0 1px 2px rgb(30 24 40 / .08), inset 0 0 0 1px rgb(255 255 255 / .9);
  transition: translate .5s var(--spring-s), width .5s var(--spring-s), opacity .25s; }
.bar-ind.on { opacity: 1; }
.bar-ind.snap { transition: opacity .25s; }
[data-theme=dark] .bar-ind { background: rgb(255 255 255 / .09); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.chev { opacity: .75; transition: rotate .45s var(--spring-s); }
.bar-link[aria-expanded=true] .chev { rotate: 180deg; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar-in.btn-text { height: 40px; padding: 0 12px; font-weight: 500; color: var(--ink-2); }
.bar-menu { display: none; }
.burger { position: relative; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: translate .4s var(--spring-s), rotate .4s var(--spring-s); }
.burger i:first-child { top: 1px; } .burger i:last-child { bottom: 1px; }
.bar-menu[aria-expanded=true] .burger i:first-child { translate: 0 4px; rotate: 45deg; }
.bar-menu[aria-expanded=true] .burger i:last-child { translate: 0 -4px; rotate: -45deg; }

/* the mega menu: one panel that morphs between Products and Resources (size spring + slide), items stagger in */
.mega { position: absolute; left: 0; top: 0; z-index: 61; pointer-events: auto; border-radius: 28px; overflow: hidden; width: var(--mw, 640px); height: var(--mh, 300px);
  translate: var(--mx0, 0) 0; transform-origin: 30% 0; opacity: 0; scale: .96;
  transition: width .5s var(--spring-s), height .5s var(--spring-s), translate .5s var(--spring-s), opacity .2s, scale .4s var(--spring-s); }
.mega.open { opacity: 1; scale: 1; }
.mega.fresh { transition: opacity .22s, scale .45s var(--spring-s); }
.mega[hidden] { display: none; }
.mega-in { position: relative; z-index: 3; height: 100%; }
.mega-pane { position: absolute; left: 0; top: 0; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 8px; width: max-content; transition: opacity .3s, translate .45s var(--spring-s); }
.mega-pane[data-pane=resources] { grid-template-columns: minmax(0, 1fr); }
.mega-pane.off-l { opacity: 0; translate: -24px 0; pointer-events: none; }
.mega-pane.off-r { opacity: 0; translate: 24px 0; pointer-events: none; }
.mega-pane[hidden] { display: grid; visibility: hidden; }
.mega-list { display: grid; gap: 2px; width: 380px; }
.mega-list.two { grid-template-columns: 1fr 1fr; width: 600px; }
.mega-list li { opacity: 0; translate: 0 6px; transition: opacity .3s var(--out), translate .45s var(--spring-s); transition-delay: calc(var(--k, 0) * 35ms); }
.mega.open .mega-pane:not([hidden]):not(.off-l):not(.off-r) .mega-list li { opacity: 1; translate: 0 0; }
.mrow { display: flex; align-items: center; gap: 13px; width: 100%; padding: 10px 12px; border-radius: 18px; color: var(--ink); font-weight: 500; text-align: left; transition: background-color .3s, color var(--b-t); }
.btn-text.mrow .btn-t { background: none; }
.btn-text.mrow.hov, .btn-text.mrow:focus-visible { background: color-mix(in oklab, var(--p-500) 7%, rgb(255 255 255 / .6)); }
[data-theme=dark] .btn-text.mrow.hov, [data-theme=dark] .btn-text.mrow:focus-visible { background: rgb(255 255 255 / .06); }
.mrow b { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); }
.mrow small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.mrow .logo { flex: none; width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 8px -2px rgb(30 24 40 / .25); }
.logo-wrap { position: relative; flex: none; }
.logo-plate { display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 2px 8px -2px rgb(30 24 40 / .18) !important; }
/* product marks have their own shape (fan, frame, round tile): no rounded clip or box shadow on them */
.mrow .logo.mk, .srow img.mk { border-radius: 0; box-shadow: none; filter: drop-shadow(0 2px 4px rgb(30 24 40 / .18)); }
.srow-plate { width: 32px; height: 32px; flex: none; border-radius: 9px; }
.mrow .ext { margin-left: auto; color: var(--ink-3); }
.mini-see { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px; border-radius: 20px; background: color-mix(in oklab, var(--p-500) 6%, rgb(255 255 255 / .55)); color: var(--ink); }
[data-theme=dark] .mini-see { background: rgb(255 255 255 / .05); }
.mini-see .btn-t { background: none; }
.mini-t b { display: block; font-size: 15px; } .mini-t small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.mini-art { position: relative; display: block; height: 128px; border-radius: 14px; overflow: hidden; background: radial-gradient(90% 90% at 80% 10%, color-mix(in oklab, var(--p-200) 60%, transparent), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mini-sw { position: absolute; left: 46px; bottom: 16px; width: 18px; height: 82px; }
.mini-sw i { position: absolute; inset: 0; border-radius: 6px 6px 9px 9px; transform-origin: 50% calc(100% - 9px); box-shadow: 0 2px 6px -2px rgb(12 12 16 / .3); }
.mini-sw i:nth-child(1) { background: var(--p-200); --r: -42deg; } .mini-sw i:nth-child(2) { background: var(--p-400); --r: -21deg; } .mini-sw i:nth-child(3) { background: var(--p-500); --r: 0deg; } .mini-sw i:nth-child(4) { background: var(--p-700); --r: 21deg; } .mini-sw i:nth-child(5) { background: var(--p-900); --r: 42deg; }
.mega.open .mini-sw i { animation: mini-fan 4.8s var(--io) infinite; }
@keyframes mini-fan { 0%, 8% { rotate: 0deg; } 30%, 78% { rotate: var(--r); } 96%, 100% { rotate: 0deg; } }
.mini-ui { position: absolute; left: 104px; top: 22px; right: 16px; display: grid; gap: 8px; }
.mini-ui i { display: block; border-radius: 6px; }
.mini-ui .m-btn { width: 64px; height: 18px; border-radius: 9px; background: var(--act); }
.mini-ui .m-tog { width: 30px; height: 16px; border-radius: 9px; background: var(--p-500); box-shadow: inset 15px 0 0 -1px var(--p-500), inset -3px 0 0 -1px var(--p-500); position: relative; }
.mini-ui .m-tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #FFFFFF; }
.mini-ui .m-chip { width: 44px; height: 14px; border-radius: 7px; background: var(--p-100); }
.mini-ui .m-line { height: 6px; width: 90%; background: var(--line); } .mini-ui .m-line.s { width: 60%; }
.mega.open .mini-ui i { animation: mini-pop 4.8s var(--io) infinite; }
.mini-ui i:nth-child(2) { animation-delay: .08s !important; } .mini-ui i:nth-child(3) { animation-delay: .16s !important; } .mini-ui i:nth-child(4) { animation-delay: .24s !important; } .mini-ui i:nth-child(5) { animation-delay: .32s !important; }
@keyframes mini-pop { 0%, 22% { opacity: 0; translate: -8px 0; } 36%, 84% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: -8px 0; } }

/* the mobile sheet: slides down from the bar, items stagger, focus stays inside while it is open */
.sheet-wrap { position: fixed; inset: 0; z-index: 70; pointer-events: auto; background: rgb(12 12 16 / 0); transition: background-color .35s; }
.sheet-wrap.open { background: rgb(12 12 16 / .28); }
.sheet-wrap[hidden] { display: none; }
.sheet { position: absolute; left: 10px; right: 10px; top: 10px; max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 28px;
  translate: 0 -24px; opacity: 0; scale: .97; transform-origin: 50% 0; transition: translate .5s var(--spring-s), opacity .25s, scale .5s var(--spring-s); }
.sheet-wrap.open .sheet { translate: 0 0; opacity: 1; scale: 1; }
.sheet > * { position: relative; z-index: 3; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 6px 10px; }
.sheet-t { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.sheet-h { margin: 10px 10px 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.srow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 10px; border-radius: 16px; font-size: 16px; font-weight: 600; color: var(--ink); }
.srow img { border-radius: 9px; }
.srow .ic { margin-left: auto; color: var(--ink-3); }
.btn-text.srow.hov { background: color-mix(in oklab, var(--p-500) 7%, transparent); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.srow.sm { font-size: 15px; font-weight: 500; padding: 9px 10px; }
.sheet-go { margin-top: 12px; width: 100%; }
.sheet-wrap.open .sheet > * { animation: sheet-item .5s var(--spring-s) both; animation-delay: calc(var(--k, 0) * 28ms + 60ms); }
@keyframes sheet-item { from { opacity: 0; translate: 0 8px; } }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* ---------- sections ---------- */
.sec { padding: clamp(84px, 9vw, 128px) 0 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head h2 { max-width: 14em; }
.sec-head .sum { padding-bottom: 6px; }
.sum-col { display: grid; gap: 16px; justify-items: start; padding-bottom: 6px; }
.ticks { display: grid; gap: 10px; margin: 16px 0 22px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.ticks .ic { color: var(--accent); --ic-o: .2; }
.ticks b { color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--w-50) 70%, var(--sunken)); }
[data-theme=dark] .tag { background: var(--sunken); }
.tag .ic { color: var(--w-600); --ic-o: .25; }
[data-theme=dark] .tag .ic { color: var(--w-300); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; translate: 0 16px; transition: opacity .55s var(--out), translate .7s var(--out), box-shadow .4s var(--out); }
.js .rv.in { opacity: 1; translate: 0 0; }
.js .prod.rv.in:hover { translate: 0 -4px; }

/* ---------- below the fold: skip rendering until near the viewport ---------- */
#problem, #how, #sync, #parts, #agents, #products, #faq, #start { content-visibility: auto; } /* not #compare: its paint containment cut off the raised UIX column */
#problem { contain-intrinsic-size: auto 760px; } #how { contain-intrinsic-size: auto 2400px; } #sync { contain-intrinsic-size: auto 900px; } #parts { contain-intrinsic-size: auto 900px; } #agents { contain-intrinsic-size: auto 800px; }
#products { contain-intrinsic-size: auto 800px; } #compare { contain-intrinsic-size: auto 900px; } #faq { contain-intrinsic-size: auto 800px; } #start { contain-intrinsic-size: auto 700px; }


/* ---------- products: real logos, each card in its product's own hue ---------- */
.prods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.prod { position: relative; display: flex; flex-direction: column; min-width: 0; grid-column: span 2; border-radius: 28px; box-shadow: var(--sh-1); transition: translate .5s var(--spring-s), box-shadow .4s var(--out); }
.prod.big { grid-column: span 3; }
.prod:hover { translate: 0 -4px; box-shadow: var(--sh-3), 0 30px 60px -34px color-mix(in srgb, var(--ph) 60%, transparent); }
.prod-m { position: relative; display: flex; align-items: center; justify-content: space-between; height: 132px; margin: 7px 7px 0; padding: 0 22px; border-radius: 21px; overflow: hidden;
  background: radial-gradient(70% 120% at 100% 0%, color-mix(in oklab, var(--ph) 30%, transparent), transparent 70%), radial-gradient(60% 90% at 0% 100%, color-mix(in oklab, var(--w-200) 40%, transparent), transparent 70%), color-mix(in oklab, var(--ph) 6%, var(--sunken)); }
[data-theme=dark] .prod-m { background: radial-gradient(70% 120% at 100% 0%, color-mix(in oklab, var(--ph) 28%, transparent), transparent 70%), radial-gradient(60% 90% at 0% 100%, color-mix(in oklab, var(--w-500) 16%, transparent), transparent 70%), color-mix(in oklab, var(--ph) 6%, var(--sunken)); }
.prod-logo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 2px rgb(30 24 40 / .08), 0 14px 26px -12px color-mix(in oklab, var(--ph) 55%, rgb(30 24 40 / .4)), inset 0 0 0 1px var(--line); transition: rotate .6s var(--spring-s), scale .6s var(--spring-s); }
.prod-logo img { border-radius: 14px; }
.prod:hover .prod-logo { rotate: -6deg; scale: 1.06; }
.tagline { align-self: flex-start; margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--ink); padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9); }
[data-theme=dark] .tagline { background: rgb(0 0 0 / .32); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.prod-b { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.prod h3 { font: var(--d-w) 21px/1.2 var(--f-d); letter-spacing: -.03em; margin-bottom: 6px; }
.prod p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 20px; }
.prod .btn-text { margin-top: auto; align-self: flex-start; }
.prod-sub { display: block; margin: -2px 0 10px; font: 500 13.5px/1.4 var(--f-b); letter-spacing: 0; color: var(--ink-2); }
.prod h3 .prod-sub { margin: 4px 0 4px; }
.prod p.prod-sub { color: var(--ink-2); font-size: 13.5px; margin-bottom: 10px; }
.prod-logo img.mk { border-radius: 0; filter: drop-shadow(0 3px 6px rgb(30 24 40 / .16)); }
.prod-logo { position: relative; }
.pm-ramp { display: flex; margin: 0 auto 0 28px; height: 54px; align-items: flex-end; gap: 4px; }
.pm-ramp i { width: 12px; border-radius: 4px 4px 3px 3px; height: calc(20px + var(--i, 0) * 3px); transform-origin: 50% 100%; transition: scale .5s var(--spring-s); }
.pm-ramp i:nth-child(1) { --i: 0; background: var(--p-50); } .pm-ramp i:nth-child(2) { --i: 1; background: var(--p-100); } .pm-ramp i:nth-child(3) { --i: 2; background: var(--p-200); } .pm-ramp i:nth-child(4) { --i: 3; background: var(--p-300); } .pm-ramp i:nth-child(5) { --i: 4; background: var(--p-400); } .pm-ramp i:nth-child(6) { --i: 5; background: var(--p-500); } .pm-ramp i:nth-child(7) { --i: 6; background: var(--p-600); } .pm-ramp i:nth-child(8) { --i: 7; background: var(--p-700); } .pm-ramp i:nth-child(9) { --i: 8; background: var(--p-800); } .pm-ramp i:nth-child(10) { --i: 9; background: var(--p-900); } .pm-ramp i:nth-child(11) { --i: 10; background: var(--p-950); }
.prod:hover .pm-ramp i { scale: 1 1.12; transition-delay: calc(var(--i) * 25ms); }
.pm-vars { display: grid; gap: 5px; margin: 0 auto 0 28px; width: 150px; padding: 8px; border-radius: 12px; background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 6px 14px -8px rgb(30 24 40 / .25); }
[data-theme=dark] .pm-vars { background: rgb(0 0 0 / .3); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.pm-vars i { display: flex; align-items: center; gap: 7px; height: 12px; }
.pm-vars i::after { content: ""; flex: 1; height: 5px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 16%, transparent); }
.pm-vars b { width: 12px; height: 12px; border-radius: 3px; }
.prod-m .tagline { align-self: flex-start; }

/* ---------- compare: a raised glass column for UIX with the signature edge, sticky head, rows that light up ---------- */
.cmp { position: relative; border-radius: 30px; }
.cmp:focus-visible { outline-offset: 6px; }
.cmp table { position: relative; z-index: 1; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.cmp th, .cmp td { padding: 17px 22px; text-align: left; vertical-align: middle; }
.cmp thead th { position: sticky; top: 76px; z-index: 3; padding-top: 18px; padding-bottom: 18px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 -1px 0 var(--line); }
.cmp thead th:first-child { border-top-left-radius: 18px; } .cmp thead th:last-child { border-top-right-radius: 18px; }
.cmp thead th.c-uix { background: color-mix(in oklab, var(--p-500) 9%, var(--surface)); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; color: var(--ink); border-radius: 18px 18px 0 0; }
[data-theme=dark] .cmp thead th.c-uix { background: color-mix(in oklab, var(--p-500) 16%, var(--surface)); }
.cu { display: inline-flex; align-items: center; gap: 10px; font: var(--d-w) 19px/1 var(--f-d); letter-spacing: -.03em; }
.cu img { border-radius: 7px; }
.cmp tbody th { width: 27%; font-weight: 600; color: var(--ink); }
.cmp tbody td { color: var(--ink-2); }
.cmp tbody tr > * { box-shadow: inset 0 -1px 0 var(--line); transition: background-color .25s; }
.cmp tbody tr > .c-uix { box-shadow: inset 0 -1px 0 color-mix(in oklab, var(--p-500) 12%, transparent); }
.cmp tbody tr:last-child > * { box-shadow: none; }
.cmp tbody tr:hover > :not(.c-uix) { background: color-mix(in oklab, var(--p-500) 4%, transparent); }
.cmp tbody tr:hover > .c-uix { background: color-mix(in oklab, var(--p-500) 8%, transparent); }
.cmp tbody tr:hover > th { color: var(--accent); }
.cmp .c-uix { width: 27%; color: var(--ink); }
.cmp td b { color: var(--ink); }
.cmp-lift { position: absolute; z-index: 0; left: var(--lx, 27%); top: -10px; width: var(--lw, 27%); bottom: -10px; border-radius: 26px; border: 1px solid transparent; pointer-events: none;
  background: linear-gradient(170deg, color-mix(in oklab, var(--p-500) 9%, var(--surface)), var(--surface) 46%, color-mix(in oklab, var(--w-200) 22%, var(--surface))) padding-box,
    conic-gradient(from calc(var(--ea) + var(--e-at)), var(--e1), var(--e2) 15%, var(--e3) 29%, var(--e0) 45%, var(--e0) 80%, var(--e1)) border-box;
  box-shadow: 0 2px 4px rgb(30 24 40 / .05), 0 24px 50px -20px color-mix(in oklab, var(--p-500) 40%, rgb(30 24 40 / .2)); animation: edge-turn 9s linear infinite; }
[data-theme=dark] .cmp-lift { background: linear-gradient(170deg, color-mix(in oklab, var(--p-500) 16%, var(--surface)), var(--surface) 46%, color-mix(in oklab, var(--w-500) 10%, var(--surface))) padding-box,
    conic-gradient(from calc(var(--ea) + var(--e-at)), var(--e1), var(--e2) 15%, var(--e3) 29%, var(--e0) 45%, var(--e0) 80%, var(--e1)) border-box; }
.cmp:not(.in) .cmp-lift { animation-play-state: paused; }
.yes, .no { display: inline-flex; align-items: center; gap: 9px; }
.yes { font-weight: 500; color: var(--ink); }
.ck, .xk { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ck { stroke: var(--on-act); background: var(--act); }
.xk { stroke: var(--ink-3); background: var(--sunken); stroke-width: 2.2; }
.ck path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .5s var(--out); transition-delay: calc(var(--r, 0) * 70ms + 300ms); }
.xk { opacity: 0; scale: .5; transition: opacity .3s, scale .45s var(--spring-s); transition-delay: calc(var(--r, 0) * 70ms + 350ms); }
.cmp.in .ck path { stroke-dashoffset: 0; }
.cmp.in .xk { opacity: 1; scale: 1; }
.cmp tbody tr:nth-child(2) { --r: 1; } .cmp tbody tr:nth-child(3) { --r: 2; } .cmp tbody tr:nth-child(4) { --r: 3; } .cmp tbody tr:nth-child(5) { --r: 4; } .cmp tbody tr:nth-child(6) { --r: 5; } .cmp tbody tr:nth-child(7) { --r: 6; }
.cmp .verdict > * { padding-top: 20px; padding-bottom: 22px; font-size: 15px; }
.cmp .verdict th { color: var(--ink-2); font-weight: 600; }
.cmp .verdict .c-uix b { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: var(--on-act); background: var(--act); font-weight: 600; }

/* ---------- FAQ: details keeps its semantics; the answer opens with a height spring, fades and slides, + turns into - ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .sum { margin: 18px 0 22px; }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 22px; box-shadow: var(--sh-1); transition: box-shadow .4s var(--out); }
.qa.is-open { box-shadow: var(--sh-2); }
.qa > summary { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; list-style: none; font: 600 17px/1.35 var(--f-b); color: var(--ink); border-radius: inherit; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary .btn-t { background: none; }
.qa-x { position: relative; flex: none; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: var(--sunken); transition: background-color .3s, rotate .5s var(--spring-s); }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: rotate .5s var(--spring-s), scale .4s var(--spring-s), opacity .3s; }
.qa-x::after { rotate: 90deg; }
.qa:not(.is-open) > summary.hov .qa-x { background: color-mix(in oklab, var(--p-500) 12%, var(--surface)); }
.qa.is-open .qa-x { rotate: 180deg; background: var(--act); }
.qa.is-open .qa-x::before { background: var(--on-act); }
.qa.is-open .qa-x::after { rotate: 0deg; scale: 0 1; opacity: 0; }
.qa-a { display: grid; grid-template-rows: 1fr; }
.js .qa-a { grid-template-rows: 0fr; transition: grid-template-rows .55s var(--spring-s); }
.js .qa.is-open .qa-a { grid-template-rows: 1fr; }
.qa-in { min-height: 0; overflow: hidden; }
.qa-in p { padding: 0 22px 20px 62px; color: var(--ink-2); font-size: 16px; max-width: 42em; }
.js .qa-in p { opacity: 0; translate: 0 -8px; transition: opacity .3s, translate .5s var(--spring-s); }
.js .qa.is-open .qa-in p { opacity: 1; translate: 0 0; transition-delay: .08s; }
.qa-in code { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- start: a dark satin band (CSS, no shader) with the story as one animated vector composition ---------- */
.sec-start { padding: clamp(84px, 9vw, 128px) 0 0; }
.start-band { position: relative; isolation: isolate; width: min(1400px, 100% - 28px); margin: 0 auto; padding: 84px 0; border-radius: 44px; overflow: hidden; color: var(--ink);
  --paper: #0B0B10; --surface: #17161D; --sunken: #1F1E26; --line: #2A2932; --line-2: #3A3944; --ink: #F3F2EF; --ink-2: #C9C8D1; --ink-3: #A09FAC;
  --accent: var(--acc-dk); --ring: var(--acc-dk); --btn-ink: #F3F2EF; --btn-ink-t: #0C0C10; --g-t: 30 29 37; --g-a: .5; --rim-hi: .3; --glow-a: .16; --sh-a: .7; --edge-a: .5; --plate: .07;
  --e0: rgb(255 255 255 / .09); --e1: color-mix(in oklab, var(--p-300) 85%, white); --e2: var(--w-300); --e3: var(--p-500);
  background: radial-gradient(50% 70% at 82% 30%, color-mix(in oklab, var(--d2) 80%, transparent), transparent 70%), radial-gradient(40% 60% at 10% 100%, color-mix(in oklab, var(--d3) 55%, transparent), transparent 70%),
    linear-gradient(160deg, var(--d1), var(--d0) 46%, var(--d4)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.start-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background: repeating-conic-gradient(from 200deg at 110% 140%, transparent 0deg, color-mix(in oklab, var(--d3) 30%, transparent) 3deg, transparent 8deg, transparent 28deg); }
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px; }
.start-copy h2 { font-size: clamp(38px, 4.4vw, 62px); margin-bottom: 18px; max-width: 10em; }
.start-copy .sum { margin-bottom: 30px; }
.start .btn-primary { --btn-ink: #F3F2EF; --btn-ink-t: #0C0C10; }
.start .btn-glass { --g-a: .34; color: #F3F2EF; }
.flow { position: relative; container-type: inline-size; aspect-ratio: 52 / 38; }
.flow > * { position: absolute; }
.flow, .flow * { --T: 10s; }
.flow * { animation-duration: var(--T); animation-iteration-count: infinite; animation-timing-function: var(--io); animation-fill-mode: both; }
.js .flow:not(.run) *, .js .flow:not(.run) *::before { animation-play-state: paused; }
.flow-lines { inset: 0; width: 100%; height: 100%; overflow: visible; }
.fl { fill: none; stroke: var(--p-400); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation-name: fl-draw; opacity: .9; }
.fl2 { animation-delay: .15s; } .fl3 { animation-delay: .3s; }
@keyframes fl-draw { 0%, 30% { stroke-dashoffset: 220; } 44%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: -220; } }
.fw-src { left: 9%; top: 18%; width: 22%; height: 64%; font-size: calc(100cqw / 52); }
.fw-one, .fw-fan i { position: absolute; left: 50%; bottom: 0; width: 4.4em; height: 18em; margin-left: -2.2em; border-radius: 1.2em 1.2em 2.2em 2.2em; transform-origin: 50% calc(100% - 2.2em); box-shadow: 0 .8em 1.6em -.8em rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .25); }
.fw-one { z-index: 20; background: var(--p-500); animation-name: fw-one; }
@keyframes fw-one { 0%, 10% { opacity: 1; scale: 1; } 14% { scale: 1.06; } 18%, 92% { opacity: 0; scale: 1; } 98%, 100% { opacity: 1; scale: 1; } }
.fw-fan i { background: var(--c, var(--p-500)); rotate: 0deg; opacity: 0; z-index: calc(11 - var(--i)); animation-name: fw-fan; animation-delay: calc(var(--i) * 30ms); --a: calc((var(--i) - 5) * 9.5deg); }
.fw-fan i:nth-child(1) { --c: var(--p-50); } .fw-fan i:nth-child(2) { --c: var(--p-100); } .fw-fan i:nth-child(3) { --c: var(--p-200); } .fw-fan i:nth-child(4) { --c: var(--p-300); } .fw-fan i:nth-child(5) { --c: var(--p-400); } .fw-fan i:nth-child(6) { --c: var(--p-500); } .fw-fan i:nth-child(7) { --c: var(--p-600); } .fw-fan i:nth-child(8) { --c: var(--p-700); } .fw-fan i:nth-child(9) { --c: var(--p-800); } .fw-fan i:nth-child(10) { --c: var(--p-900); } .fw-fan i:nth-child(11) { --c: var(--p-950); }
@keyframes fw-fan { 0%, 12% { opacity: 0; rotate: 0deg; } 14% { opacity: 1; rotate: 0deg; } 28%, 90% { opacity: 1; rotate: var(--a); } 97%, 100% { opacity: 0; rotate: 0deg; } }
.fw-src::after { content: ""; position: absolute; left: 50%; bottom: 2.2em; width: 1.3em; height: 1.3em; margin: 0 0 -.65em -.65em; border-radius: 50%; z-index: 30; background: radial-gradient(circle at 38% 32%, #FFFFFF, #C9C6C0 72%); }
.fw-card { width: 33%; height: 24%; padding: 1.1em 1.2em; font-size: calc(100cqw / 52); border-radius: 1.4em; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 1.4em 2.6em -1.2em rgb(0 0 0 / .6); opacity: 0; animation-name: fw-card; }
.fw-fig { left: 65.5%; top: 8%; } .fw-code { left: 65.5%; top: 38%; animation-delay: .2s; } .fw-chat { left: 65.5%; top: 68%; animation-delay: .4s; }
@keyframes fw-card { 0%, 36% { opacity: 0; translate: 2em 0; } 46%, 90% { opacity: 1; translate: 0 0; } 97%, 100% { opacity: 0; translate: 0 0; } }
.fw-h { display: flex; align-items: center; gap: .5em; margin-bottom: .8em; font-size: 1.15em; font-weight: 600; color: #F3F2EF; }
.fw-dot { width: .8em; height: .8em; border-radius: 50%; background: var(--p-400); }
.fw-vars { display: flex; gap: .5em; }
.fw-vars i { width: 2.2em; height: 2.2em; border-radius: .5em; background: rgb(255 255 255 / .12); animation-name: fw-tint; }
.fw-vars i:nth-child(1) { --c: var(--p-200); } .fw-vars i:nth-child(2) { --c: var(--p-400); animation-delay: .1s; } .fw-vars i:nth-child(3) { --c: var(--p-600); animation-delay: .2s; } .fw-vars i:nth-child(4) { --c: var(--p-800); animation-delay: .3s; }
@keyframes fw-tint { 0%, 48% { background: rgb(255 255 255 / .12); } 56%, 90% { background: var(--c); } 97%, 100% { background: rgb(255 255 255 / .12); } }
.fw-btn { position: absolute; right: 1.2em; bottom: 1.2em; width: 5.6em; height: 2.2em; border-radius: .7em; background: rgb(255 255 255 / .12); --c: var(--act); animation-name: fw-tint; animation-delay: .4s; }
.fw-lines { display: grid; gap: .55em; }
.fw-lines i { height: .7em; width: calc(var(--w) * 100%); border-radius: .4em; background: rgb(255 255 255 / .14); --c: var(--p-300); animation-name: fw-tint; }
.fw-lines i:nth-child(2) { --c: var(--p-500); animation-delay: .1s; } .fw-lines i:nth-child(3) { --c: var(--p-200); animation-delay: .2s; } .fw-lines i:nth-child(4) { --c: var(--w-300); animation-delay: .3s; }
.fw-bub { position: absolute; display: block; height: 1.8em; border-radius: 1em; }
.fw-bub.me { right: 1.2em; top: 3.2em; width: 9em; background: rgb(255 255 255 / .85); }
.fw-bub.ai { left: 1.2em; top: 5.6em; width: 13em; display: flex; align-items: center; gap: .4em; padding: 0 .6em; background: rgb(255 255 255 / .12); --c: color-mix(in oklab, var(--p-500) 45%, transparent); animation-name: fw-tint; animation-delay: .5s; }
.fw-bub.ai i { width: 1em; height: 1em; border-radius: 50%; background: var(--p-300); }
.fw-bub.ai i + i { background: var(--p-600); }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--paper); transition: background-color .4s; }
.use-now { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 56px; padding: 12px 12px 12px 22px; border-radius: 26px; background: var(--surface); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.use-h { font: var(--d-w) 19px/1.2 var(--f-d); letter-spacing: -.025em; padding-right: 10px; }
.use-i { display: flex; align-items: center; gap: 10px; min-width: 0; height: 50px; padding: 0 8px 0 14px; border-radius: 16px; background: var(--sunken); }
.use-i code { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.use-k { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.use-k .ic { color: var(--accent); }
.use-fig { height: 50px; }
.foot .brand img { border-radius: 9px; }
.news-l { font-size: 14px; font-weight: 600; color: var(--ink); }
.news-f { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
.news-f:focus-within { box-shadow: inset 0 0 0 1.5px var(--ring), 0 0 0 4px color-mix(in srgb, var(--p-500) 18%, transparent); }
.news-f input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; color: var(--ink); }
.news-f input::placeholder { color: var(--ink-3); }
.news-f input:focus { outline: 0; }
.news-msg { min-height: 1.4em; font-size: 13.5px; color: var(--ink-2); }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px 72px; align-items: start; padding-bottom: 48px; margin-bottom: 48px; box-shadow: inset 0 -1px 0 var(--line); }
.foot-brand > p { margin: 14px 0 22px; max-width: 24em; color: var(--ink-2); font-size: 16px; }
.news { display: grid; gap: 8px; max-width: 420px; }
.ask { min-width: 0; padding: 22px 22px 24px; border-radius: 24px; background: var(--sunken); }
.ask-h { font: var(--d-w) 19px/1.2 var(--f-d); letter-spacing: -.025em; color: var(--ink); }
.ask-s { margin: 4px 0 16px; font-size: 14px; color: var(--ink-2); }
.ask-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-list .btn-glass { gap: 8px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.fp img, .fp-plate { flex: none; width: 20px; height: 20px; }
.fp img { border-radius: 5px; } .fp img.mk { border-radius: 0; }
.fp-plate { display: grid; place-items: center; border-radius: 5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.foot-col .fp { gap: 10px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; translate: -50% 16px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--on-act); background: var(--act); box-shadow: 0 12px 30px -10px rgb(30 24 40 / .45); opacity: 0; pointer-events: none; transition: opacity .25s var(--out), translate .4s var(--spring-s); }
.toast.show { opacity: 1; translate: -50% 0; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-h { margin-bottom: 4px; font: 600 14px/1.3 var(--f-b); letter-spacing: 0; color: var(--ink); }
.foot-col .btn-text { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.foot-col .btn-text.hov { color: var(--ink); }
.foot-col .btn-text .ic { color: var(--ink-3); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 56px; padding: 20px 0 22px; box-shadow: inset 0 1px 0 var(--line); font-size: 14px; color: var(--ink-2); }
.by { gap: 10px; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.by .btn-t { background: none; }
.by img { width: 92px; height: auto; }
.mail { font-weight: 500; color: var(--ink-2); gap: 8px; }
.social { display: flex; gap: 6px; margin-left: auto; }
.theme { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sunken); }
.theme .btn-glass { height: 34px; padding: 0 13px; font-size: 14px; font-weight: 500; color: var(--ink-2); --g-a: 0; --sh-a: 0; --glow-a: 0; --rim-hi: 0; --plate: 0; }
.theme .btn-glass::before { opacity: 0; }
.theme .btn-glass[aria-pressed=true] { --g-a: 1; --sh-a: .2; --rim-hi: .85; color: var(--ink); }
.theme .btn-glass[aria-pressed=true]::before { opacity: .9; }
[data-theme=dark] .theme .btn-glass[aria-pressed=true] { --g-a: 1; --g-t: 44 43 52; }
.copy { width: 100%; font-size: 13.5px; }
.mega-mark { display: block; width: min(1240px, 100% - 2 * var(--pad)); height: auto; margin: 40px auto 0; overflow: hidden; }
.mm > * { fill: color-mix(in oklab, var(--p-500) 15%, var(--paper)); transition: fill .5s; }
[data-theme=dark] .mm > * { fill: color-mix(in oklab, var(--p-400) 16%, var(--paper)); }
.mm3, .mm4 { transform-box: view-box; transform-origin: 895px 205px; rotate: var(--r, -30deg); transition: rotate .9s var(--spring-s), fill .5s; }
.mm4 { --r: 30deg; }
.foot:hover .mm3 { --r: -36deg; } .foot:hover .mm4 { --r: 36deg; }


/* ---------- layouts ---------- */
@media (max-width: 1180px) {
  .bar-pill { gap: 12px; }
  .bar-link.btn-text { padding: 0 10px; }
  .use-now { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .use-h { grid-column: 1 / -1; padding: 4px 0 0; }
  .use-fig { justify-self: start; }
}
@media (max-width: 1024px) {
  .bar-nav, .bar-in { display: none; }
  .bar-menu { display: inline-flex; }
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod, .prod.big { grid-column: span 1; }
  .prod:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .sec-head, .faq { grid-template-columns: 1fr; gap: 18px; }
  .faq { gap: 28px; }
  .faq-head { position: static; }
  .start { grid-template-columns: 1fr; }
  .flow { max-width: 520px; width: 100%; justify-self: center; }
  .cmp { overflow-x: auto; overscroll-behavior-x: contain; padding: 14px 0 60px; margin-bottom: -40px; }
  .cmp table { min-width: 720px; }
  .cmp-lift { top: 4px; bottom: 50px; } /* inside the scroller's padding, so its rounded end and shadow stay visible */
  .cmp thead th { position: static; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cmp thead th:first-child, .cmp tbody th { position: sticky; left: 0; z-index: 2; background: var(--paper); box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
  .cmp tbody tr:last-child > th { box-shadow: inset -1px 0 0 var(--line); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cmp table { min-width: 600px; }
  .cmp tbody th { width: 132px; padding-left: 14px; padding-right: 12px; font-size: 14.5px; }
  .foot-top { padding-bottom: 36px; margin-bottom: 36px; }
  .ask { padding: 18px 16px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .bar { top: 10px; }
  .bar-pill { height: 56px; width: calc(100% - 20px); gap: 8px; padding: 0 7px 0 12px; }
  .bar.scrolled .bar-pill { height: 52px; width: calc(100% - 20px); }
  .bar-end .btn-primary.sm { padding: 0 14px; }
  .cta .btn-primary, .cta .btn-glass { flex: 1 1 auto; }
  .prods { grid-template-columns: 1fr; }
  .prod:last-child { grid-column: auto; }
  .pm-ramp, .pm-vars { display: none; }
  .qa > summary { padding: 13px 14px; gap: 12px; font-size: 16px; }
  .qa-in p { padding: 0 16px 18px 16px; }
  .start-band { width: calc(100% - 16px); border-radius: 30px; padding: 56px 0; }
  .use-now { grid-template-columns: 1fr; padding: 14px; }
  .social { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; transition-property: opacity, color, background-color, border-color !important; }
  .js .rv { opacity: 1; translate: none; }
  /* every explainer, the parts and the start composition hold one meaningful still frame */
  .xp *, .xp *::before, .xp *::after, .flow *, .parts *, .mini-art * { animation-duration: var(--T, 9s) !important; animation-iteration-count: infinite !important; animation-play-state: paused !important; animation-delay: calc(0s - var(--still, 7s)) !important; }
  .flow { --still: 7s; }
  .js .qa-a, .js .qa-in p { transition: none !important; }
}

/* ---------- ill-*: mini-UI diagrams (SITE-ARCHITECTURE section 8b) ---------- */
/* UIX illustration kit (SITE-ARCHITECTURE §8b): eight .ill-* primitives for quiet mini-UI diagrams in bento cards.
   Pearl tokens only (light + dark follow [data-theme]); ink structure, one brand accent, the warm partner only on the
   moving dot and the status chip. A stage (.ill) scales everything in em from its own size (container query units),
   so a diagram drawn in a 24 x 14 em box fits a 1x1 card, a 2x1 card and a phone alike.
   Timing: every intro waits on --d (seconds); ill.js adds .on when the stage enters (plays once), .off when it leaves
   (pauses the idle loop). The plain styles are the final frame, which is all reduced motion shows. */
.ill { position: relative; overflow: hidden; container-type: size; height: var(--ill-h, clamp(210px, 19vw, 248px)); border-radius: 20px; color: var(--ink);
  background: radial-gradient(120% 90% at 85% 0%, color-mix(in oklab, var(--p-100) 45%, var(--sunken)), var(--sunken) 62%); }
[data-theme=dark] .ill { background: radial-gradient(120% 90% at 85% 0%, color-mix(in oklab, var(--p-500) 14%, var(--sunken)), var(--sunken) 62%); }
.ill-cv { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1.4em; line-height: 1.3;
  font-size: min(calc(100cqw / (var(--bw, 24) + 2)), calc(100cqh / (var(--bh, 14) + 1.2)), 17px); }
.ill-box { position: relative; flex: none; width: calc(var(--bw, 24) * 1em); height: calc(var(--bh, 14) * 1em); }
.ill.sm { --bw: 18; --bh: 11; }
.ill-rows { display: grid; grid-template-columns: auto auto; align-items: center; gap: .55em .9em; padding: 1em 1.15em; }
.ill-box > .ill-at { position: absolute; left: calc(var(--x) / var(--bw, 24) * 100%); top: calc(var(--y) / var(--bh, 14) * 100%); transform: translate(-50%, -50%); }
.ill .ic { width: 1.4em; height: 1.4em; }
.ill i { font-style: normal; }
.ill-lbl { font: 500 max(12px, .74em)/1.3 var(--f-m); color: var(--ink-2); white-space: nowrap; }
.js .ill:not(.on) *, .js .ill:not(.on) *::before, .js .ill:not(.on) *::after, .ill.off *, .ill.off *::before, .ill.off *::after { animation-play-state: paused; }

/* shared moves: enter (rise), pop (scale in), float (idle bob) */
.ill-in { animation: ill-in .7s var(--spring-s) var(--d, .2s) backwards; }
.ill-pop { animation: ill-pop .6s var(--spring) var(--d, .2s) backwards; }
.ill-float { animation: ill-float 5s ease-in-out var(--d, 0s) infinite; }
@keyframes ill-in { from { opacity: 0; translate: 0 .9em; } }
@keyframes ill-pop { from { opacity: 0; scale: .5; } }
@keyframes ill-float { 50% { translate: 0 -.3em; } }

/* ill-stack: two sheets (<i></i><i></i>) behind a front card; the sheets slide back out of the card on enter */
.ill-stack { position: relative; display: grid; }
.ill-stack > i { position: absolute; inset: 0; border-radius: 1.1em; background: var(--surface); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line);
  translate: 0 -.7em; scale: .92; opacity: .85; transition: translate .7s var(--spring-s); animation: ill-sheet .9s var(--spring-s) var(--d, .2s) backwards; }
.ill-stack > i + i { translate: 0 -1.4em; scale: .84; opacity: .6; animation-delay: calc(var(--d, .2s) + .12s); }
.ill-stack:hover > i { translate: 0 -.95em; } .ill-stack:hover > i + i { translate: 0 -1.9em; }
.ill-stack > :not(i) { --edge-bg: var(--surface); position: relative; border-radius: 1.1em; background-color: var(--surface); box-shadow: var(--sh-2); }
@keyframes ill-sheet { from { translate: 0 0; scale: 1; } }

/* ill-node: a round glass node holding an icon or a logo; .lg bigger, .solid brand-filled, .hit lights up and pulses when data arrives */
.ill-node { --n: 3.2em; position: relative; display: grid; place-items: center; width: var(--n); height: var(--n); border-radius: 50%; color: var(--accent);
  background: radial-gradient(circle at 32% 24%, var(--surface) 30%, color-mix(in oklab, var(--p-500) 8%, var(--surface)));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-500) 20%, var(--line)), inset 0 .35em .5em -.3em rgb(255 255 255 / .9),
    0 .1em .25em rgb(30 24 40 / .08), 0 .7em 1.5em -.5em color-mix(in srgb, var(--p-500) 38%, transparent); }
[data-theme=dark] .ill-node { background: radial-gradient(circle at 32% 24%, color-mix(in oklab, var(--p-300) 12%, var(--surface)), var(--surface) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-300) 26%, transparent), inset 0 .35em .5em -.3em rgb(255 255 255 / .12), 0 .8em 1.6em -.5em color-mix(in srgb, var(--p-500) 45%, transparent); }
.ill-node::after { content: ""; position: absolute; inset: -.4em; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-400) 22%, transparent); background: radial-gradient(closest-side, transparent 70%, color-mix(in srgb, var(--p-400) 14%, transparent)); pointer-events: none; }
.ill-node.lg { --n: 4.2em; } .ill-node.lg .ic { width: 1.8em; height: 1.8em; }
.ill-node.solid { color: var(--on-act); background: radial-gradient(circle at 32% 24%, color-mix(in oklab, var(--act) 75%, white), var(--act) 70%); }
.ill-node img { width: 58%; height: auto; border-radius: 22%; }
.ill-node.hit { animation: ill-hit .8s var(--spring) var(--d, 1.6s) backwards; }
.ill-node.hit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 .14em var(--p-400); opacity: 0; pointer-events: none; animation: ill-wave 6s var(--out) var(--d, 1.6s) infinite; }
@keyframes ill-hit { from { scale: .9; opacity: .45; filter: saturate(0); } 45% { scale: 1.07; opacity: 1; filter: none; } }
@keyframes ill-wave { 0% { opacity: .75; scale: 1; } 22%, 100% { opacity: 0; scale: 1.75; } }

/* ill-flow: an svg over the box (viewBox = box size x 10) with dotted paths; a .ill-dot right after its path travels it once,
   then loops every 6 s. A node fed by a dot that starts at --d gets --d + 1.4s. */
.ill-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ill-flow path { fill: none; stroke: color-mix(in oklab, var(--accent) 45%, var(--line-2)); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: .1 5.5; animation: ill-path 1.6s linear var(--d, .2s) backwards; }
.ill-dot { fill: url(#ill-g) var(--w-400); offset-rotate: 0deg; offset-distance: 60%; filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--w-300) 85%, transparent));
  animation: ill-run 1.4s var(--io) var(--d, .2s) both, ill-loop 6s var(--io) calc(var(--d, .2s) + 5.9s) infinite; }
.ill-dot:not([style*=offset]) { display: none; }
@keyframes ill-path { 0% { opacity: 0; stroke: var(--line-2); } 15% { opacity: 1; } 80% { stroke: var(--line-2); } }
@keyframes ill-run { 0% { offset-distance: 0%; opacity: 0; } 12%, 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes ill-loop { 0% { offset-distance: 0%; opacity: 0; } 3%, 22% { opacity: 1; } 25%, 100% { offset-distance: 100%; opacity: 0; } }

/* ill-window: title bar (three <i> + a label), mono lines that type in one after another, a status chip that lands last */
.ill-window { position: relative; width: 15em; border-radius: .9em; overflow: hidden; background-color: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.ill-tb { display: flex; align-items: center; gap: .32em; height: 2.1em; padding: 0 .75em; background: color-mix(in oklab, var(--sunken) 55%, var(--surface)); box-shadow: inset 0 -1px 0 var(--line); }
.ill-tb > i { width: .5em; height: .5em; border-radius: 50%; background: var(--line-2); }
.ill-tb > span { margin-left: .4em; font: 500 max(12px, .7em)/1 var(--f-m); color: var(--ink-2); }
.ill-window ol { padding: .7em .85em .9em; font: 400 max(12px, .74em)/1.85 var(--f-m); color: var(--ink-2); white-space: nowrap; }
.ill-window li { animation: ill-type .55s steps(16) calc(var(--d, .2s) + var(--i, 0) * .38s) backwards; }
.ill-window li:nth-child(2) { --i: 1; } .ill-window li:nth-child(3) { --i: 2; } .ill-window li:nth-child(4) { --i: 3; } .ill-window li:nth-child(5) { --i: 4; } .ill-window li:nth-child(6) { --i: 5; }
.ill-window b { font-weight: 500; color: var(--accent); }
.ill-window > .ill-chip { position: absolute; right: .7em; bottom: .7em; }
@keyframes ill-type { from { clip-path: inset(0 100% 0 0); } }

/* ill-chip: a token chip (<i style="--c:#hex"></i> + mono label); .st = status chip (warm), .on = picked (accent ring) */
.ill-chip { display: inline-flex; align-items: center; gap: .45em; height: 1.95em; padding: 0 .75em 0 .4em; border-radius: 999px; font: 500 max(12px, .76em)/1 var(--f-m); color: var(--ink); white-space: nowrap;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 .1em .3em rgb(30 24 40 / .07); }
.ill-chip > i { flex: none; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--c, var(--act)); box-shadow: inset 0 0 0 1px rgb(12 12 16 / .12); }
.ill-chip > .ic { width: 1.25em; height: 1.25em; }
.ill-chip.st { padding: 0 .8em 0 .6em; font-weight: 600; color: var(--w-700); background: color-mix(in oklab, var(--w-100) 45%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--w-300) 55%, transparent), 0 .3em .8em -.3em color-mix(in srgb, var(--w-400) 40%, transparent); }
[data-theme=dark] .ill-chip.st { color: var(--w-200); background: color-mix(in oklab, var(--w-500) 18%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--w-400) 40%, transparent); }
.ill-chip.on { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 .3em color-mix(in srgb, var(--p-500) 14%, transparent); animation: ill-pick .35s var(--out) var(--d, 1.6s) backwards; }
@keyframes ill-pick { from { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 transparent; } }
.ill-slot { display: inline-block; height: 1.5em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: repeating-linear-gradient(90deg, transparent 0 .3em, color-mix(in oklab, var(--line-2) 35%, transparent) .3em .6em); }

/* ill-toggle-card: icon + label + switch, usually as the front card of an ill-stack; the switch flips on at --d */
.ill-toggle-card { display: flex; align-items: center; gap: .75em; width: 15em; padding: .85em 1em; border-radius: 1.1em; background-color: var(--surface); box-shadow: var(--sh-2); }
.ill-toggle-card .tile { width: 2.2em; height: 2.2em; border-radius: .7em; }
.ill-toggle-card .tile .ic { width: 1.25em; height: 1.25em; }
.ill-toggle-card b { display: block; font-size: .88em; font-weight: 600; }
.ill-toggle-card small { display: block; font-size: max(12px, .72em); color: var(--ink-2); }
.ill-sw { position: relative; flex: none; margin-left: auto; width: 2.5em; height: 1.45em; border-radius: 1em; background: var(--act); animation: ill-sw .4s var(--out) var(--d, 1s) backwards; }
.ill-sw::after { content: ""; position: absolute; top: .22em; left: 1.25em; width: 1em; height: 1em; border-radius: 50%; background: #FFFFFF; box-shadow: 0 .1em .25em rgb(12 12 16 / .25); animation: ill-knob .55s var(--spring-s) var(--d, 1s) backwards; }
@keyframes ill-sw { from { background: var(--line-2); } }
@keyframes ill-knob { from { left: .25em; } }

/* ill-meter: a ring (svg with two pathLength=100 circles + text) that fills to --v (0-100); .bar = a bar (<i>) */
.ill-meter { position: relative; display: grid; place-content: center; justify-items: center; width: 7.6em; aspect-ratio: 1; }
.ill-meter svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.ill-meter circle { fill: none; stroke: var(--line-2); stroke-width: 3; }
.ill-meter circle + circle { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: var(--v) 100; filter: drop-shadow(0 0 2px color-mix(in srgb, var(--p-400) 50%, transparent)); animation: ill-fill 1.4s var(--io) var(--d, .3s) backwards; }
.ill-meter b { font: 700 1.55em/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ill-meter small { margin-top: .3em; font: 500 max(12px, .7em)/1 var(--f-m); color: var(--ink-2); }
.ill-meter.bar { display: block; width: 100%; height: .55em; aspect-ratio: auto; border-radius: 1em; background: var(--line-2); }
.ill-meter.bar > i { display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: inherit; background: var(--accent); animation: ill-grow 1.4s var(--io) var(--d, .3s) backwards; }
@keyframes ill-fill { from { stroke-dasharray: 0 100; } }
@keyframes ill-grow { from { width: 0; } }

/* ill-cursor: the tip sits at --x/--y (box em, like .ill-at); it glides in from --fx/--fy (em, relative), clicks at --d + 1.1s
   with a ripple; .drag grabs at -(--dx, --dy) and drags to the tip position (move the dragged item with .ill-drag) */
.ill-cursor { position: absolute; left: calc(var(--x) * 1em); top: calc(var(--y) * 1em); z-index: 5; width: 1.5em; height: 1.5em; pointer-events: none;
  animation: ill-move 1.1s var(--io) var(--d, .4s) backwards; }
.ill-cursor svg { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 10% 10%; filter: drop-shadow(0 .12em .2em rgb(0 0 0 / .3)); animation: ill-press .3s ease-in-out calc(var(--d, .4s) + 1.1s); }
.ill-cursor path { fill: #0C0C10; stroke: #FFFFFF; stroke-width: 1.6; stroke-linejoin: round; }
.ill-cursor::after { content: ""; position: absolute; left: -.8em; top: -.8em; width: 1.6em; height: 1.6em; border-radius: 50%; box-shadow: 0 0 0 .14em var(--p-500); opacity: 0; animation: ill-ripple .7s var(--out) calc(var(--d, .4s) + 1.12s); }
.ill-cursor.drag { animation: ill-dragc 2.6s var(--io) var(--d, .4s) backwards; }
.ill-drag { animation: ill-dragi 2.6s var(--io) var(--d, .4s) backwards; }
@keyframes ill-move { from { translate: calc(var(--fx, 4) * 1em) calc(var(--fy, 3) * 1em); opacity: 0; } 25% { opacity: 1; } }
@keyframes ill-press { 50% { scale: .82; } }
@keyframes ill-ripple { from { opacity: .9; scale: .3; } to { opacity: 0; scale: 1.6; } }
@keyframes ill-dragc { 0% { translate: calc(var(--fx, 4) * 1em) calc(var(--fy, 3) * 1em); opacity: 0; } 12% { opacity: 1; } 42%, 52% { translate: calc(var(--dx) * -1em) calc(var(--dy) * -1em); } }
@keyframes ill-dragi { 0%, 52% { translate: calc(var(--dx) * -1em) calc(var(--dy) * -1em); } }
.ill-cursor.drag svg { animation: ill-hold 1.7s ease-in-out calc(var(--d, .4s) + 1.05s); }
@keyframes ill-hold { 0%, 100% { scale: 1; } 8%, 92% { scale: .82; } }

/* bento: 3 columns (.c4: 4), cards 1x1 or .w2 (2x1), one .feat card per grid with the signature edge lit. Card = .edge */
.ill-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ill-bento.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ill-card { --edge-bg: var(--surface); display: flex; flex-direction: column; min-width: 0; border-radius: 28px; box-shadow: var(--sh-1); }
.ill-card.w2 { grid-column: span 2; }
.ill-card > .ill { margin: 7px 7px 0; border-radius: 21px; }
.ill-txt { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 22px 22px; }
.ill-txt p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ill-txt .btn-text { margin-top: auto; padding-top: 6px; }
.ill-card.feat { --e0: color-mix(in oklab, var(--p-300) 55%, var(--line-2)); --e-at: 300deg; box-shadow: var(--sh-2), 0 30px 60px -36px color-mix(in srgb, var(--p-500) 45%, transparent); }
[data-theme=dark] .ill-card.feat { --e0: color-mix(in oklab, var(--p-400) 40%, rgb(255 255 255 / .12)); }
@media (max-width: 1100px) { .ill-bento.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ill-bento { grid-template-columns: minmax(0, 1fr); } .ill-card.w2 { grid-column: auto; } }
@media (max-width: 600px) { .ill-bento.c4 { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .ill *, .ill *::before, .ill *::after { animation: none !important; transition: none !important; }
}
