/* SmartestQA marketing site. One stylesheet for every page.
   Look: one night-sky world (deep navy), the logo cyan as the brand colour, green for "passed",
   wide Archivo headlines, JetBrains Mono for labels. One paper band per page for contrast.
   The light theme turns the same scale around: paper ground, navy band.
   Motion budget: the hero headline and the run board. Nothing else moves on its own. */

:root {
  --bg: #070B14;
  --bg-alt: #0A101D;
  --surface: #0D1424;
  --ink: #EEF1F6;
  --fg: #B9C3D4;
  --muted: #9AA6BB;
  --line: #1C2840;
  --line-strong: #2A3A58;
  --brand: #2BC0EA;
  --brand-ink: #2BC0EA;
  --go: #44E5A0;
  --stop: #FF5B36;
  --band-bg: #EEECE5; --band-ink: #0A0F1A; --band-fg: #333C4E; --band-muted: #5B6578; --band-line: #D3CFC3; --band-brand: #0B6E8C;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #EEECE5; --bg-alt: #E6E3DA; --surface: #F6F4EE; --ink: #0A0F1A; --fg: #333C4E; --muted: #5B6578;
    --line: #D3CFC3; --line-strong: #B9B4A6; --brand-ink: #0B6E8C; --go: #0E7C52; --stop: #C2330F;
    --band-bg: #070B14; --band-ink: #EEF1F6; --band-fg: #B9C3D4; --band-muted: #9AA6BB; --band-line: #1C2840; --band-brand: #2BC0EA;
    --shadow: 0 30px 60px -34px rgba(10, 15, 26, 0.45);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #EEECE5; --bg-alt: #E6E3DA; --surface: #F6F4EE; --ink: #0A0F1A; --fg: #333C4E; --muted: #5B6578;
  --line: #D3CFC3; --line-strong: #B9B4A6; --brand-ink: #0B6E8C; --go: #0E7C52; --stop: #C2330F;
  --band-bg: #070B14; --band-ink: #EEF1F6; --band-fg: #B9C3D4; --band-muted: #9AA6BB; --band-line: #1C2840; --band-brand: #2BC0EA;
  --shadow: 0 30px 60px -34px rgba(10, 15, 26, 0.45);
  color-scheme: light;
}

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--bg); }
body { margin: 0; color: var(--fg); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; font-family: var(--display); }
h1 { font-variation-settings: "wdth" 125; font-weight: 850; font-size: clamp(3.25rem, 11vw, 9.5rem); line-height: 0.88; letter-spacing: -0.035em; }
h2 { font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(2rem, 4.6vw, 4.25rem); line-height: 0.98; letter-spacing: -0.032em; }
h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
strong, b { color: var(--ink); font-weight: 650; }
code { font-family: var(--mono); font-size: 0.86em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.08em 0.38em; color: var(--ink); overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--brand); color: #070B14; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #070B14; padding: 10px 16px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.skip:focus { top: 12px; color: #070B14; }
.eyebrow { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 20px; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--fg); max-width: 44rem; }
.arr { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.16em; transition: transform 0.25s var(--ease); }
a:hover .arr { transform: translateX(4px); }

/* ───────── buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 650 1.0625rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; border: 0; cursor: pointer; transition: box-shadow 0.25s, background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }
.btn-p, .btn-c { background: var(--brand); color: #070B14; }
.btn-p:hover, .btn-c:hover { color: #070B14; box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 24%, transparent); }
.btn-g { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-g:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-o { color: #EEF1F6; box-shadow: inset 0 0 0 1px #2A3A58; }
.btn-o:hover { color: #EEF1F6; box-shadow: inset 0 0 0 1.5px #2BC0EA; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.more { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.more:hover { color: var(--brand-ink); }

/* ───────── header ───────── */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
:root[data-theme="light"] .brand:not(.on-dark) .logo-dark { display: none; }
:root[data-theme="light"] .brand:not(.on-dark) .logo-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .brand:not(.on-dark) .logo-dark { display: none; }
  :root:not([data-theme="dark"]) .brand:not(.on-dark) .logo-light { display: block; }
}
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--fg); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop > a { padding-right: 2px; }
.nav-drop-btn { width: 28px; height: 40px; border: 0; background: none; color: var(--fg); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.nav-drop-btn svg, .icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-drop-btn svg { transition: transform 0.25s var(--ease); }
.nav-menu { display: none; position: absolute; top: 100%; left: -8px; min-width: 310px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); }
.nav-menu a { display: flex; border-radius: 12px; padding: 0 12px; min-height: 44px; }
.nav-menu a:hover { background: var(--bg); }
.nav-drop:hover .nav-menu, .nav-drop.open .nav-menu { display: block; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--line-strong); }
.i-sun { display: none; }
:root[data-theme="light"] .i-sun { display: block; }
:root[data-theme="light"] .i-moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .i-sun { display: block; } :root:not([data-theme="dark"]) .i-moon { display: none; } }
.menu-btn { display: none; border-color: var(--line-strong); }
.nav-cta { display: none; }

@media (max-width: 1139px) {
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 8px clamp(20px, 4vw, 48px) 24px; }
  .nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav a { min-height: 52px; padding: 0; font-size: 1.0625rem; width: 100%; color: var(--ink); }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--brand-ink); }
  .nav-drop { display: block; }
  .nav-drop-btn { display: none; }
  .nav-menu { display: block; position: static; border: 0; background: none; box-shadow: none; padding: 0 0 10px 16px; min-width: 0; }
  .nav-menu a { min-height: 44px; padding: 0; font-size: 1rem; color: var(--fg); }
  .site-nav > ul > .nav-cta { display: block; border: 0; padding-top: 18px; }
  .site-nav .nav-cta a { color: #070B14; justify-content: center; min-height: 54px; }
}
@media (max-width: 560px) { .header-actions .btn { display: none; } }

/* ───────── sections ───────── */
.sec { padding: clamp(80px, 9vw, 136px) 0; border-top: 1px solid var(--line); }
.sec-alt { background: transparent; } /* no fill: the particle field must not be cut off */
.sec-line { border-top: 1px solid var(--line); }
.sec-head { max-width: 56rem; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head .lead { margin-top: 22px; }
/* the one contrast band: its own palette, set by overriding the variables */
.band { --bg: var(--band-bg); --bg-alt: var(--band-bg); --surface: var(--band-bg); --ink: var(--band-ink); --fg: var(--band-fg); --muted: var(--band-muted); --line: var(--band-line); --line-strong: var(--band-line); --brand-ink: var(--band-brand); background: var(--band-bg); color: var(--band-fg); border-top: 0; }
.band + .sec { border-top: 0; }
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); }

/* particle field: one fixed canvas behind the page (home only) */
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.hero h1 { font-size: clamp(4rem, 14vw, 14rem); }
.hero h1 .w { display: block; }
.hero h1 .accent { color: var(--brand); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 4.5vh, 52px); }
.hero-foot .lead { max-width: 30rem; }
.hero-foot .btns { margin-top: 0; }
.hero-note { margin-top: 22px; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--go); flex: none; }
.js .hero h1 .w { opacity: 0; transform: translateY(0.3em); filter: blur(12px); animation: chIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * 0.16s + 0.1s); }
.js .hero .rise { opacity: 0; transform: translateY(14px); animation: chIn 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 0.12s + 0.7s); }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }

/* verdict: scroll through it and the release is tested, stopped, re-run and cleared */
.verdict { position: relative; border-top: 1px solid var(--line); }
.verdict-stage { padding: clamp(72px, 9vw, 120px) 0; }
.verdict.live { height: 260vh; }
.verdict.live .verdict-stage { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 16px) 0 24px; }
.verdict-stage .wrap { width: 100%; }
.verdict h2 { font-variation-settings: "wdth" 115; font-weight: 750; font-size: clamp(1.375rem, 2.2vw, 1.875rem); letter-spacing: -0.025em; line-height: 1.05; }
.verdict-meta { margin-top: 8px; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.verdict-word { margin-top: clamp(16px, 3vh, 32px); font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 850; font-size: clamp(3.25rem, 11.4vw, 11.25rem); line-height: 0.88; letter-spacing: -0.035em; white-space: nowrap; color: var(--ink); }
.verdict-word[data-phase="go"] { color: var(--go); }
.verdict-word[data-phase="stop"] { color: var(--stop); }
.verdict-word[data-phase="re"] { color: var(--brand); }
.verdict-note { margin-top: 18px; min-height: 3.2em; max-width: 56ch; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--fg); }
.verdict-grid { margin-top: clamp(16px, 3vh, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.verdict-cell { background: var(--bg); padding: clamp(12px, 2vh, 20px) clamp(14px, 2vw, 24px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.verdict-cell > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.verdict-cell b { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 750; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); letter-spacing: -0.025em; }
.verdict-cell > div span { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.verdict-cell [data-c] { font-style: normal; color: var(--ink); font-weight: 500; }
.vbar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.vbar i { display: block; height: 100%; border-radius: 999px; background: var(--go); transform-origin: left; }
.verdict-cell[data-state="run"] .vbar i { background: var(--brand); }
.verdict-cell[data-state="stop"] .vbar i { background: var(--stop); }
.verdict-cell small { font-size: 0.875rem; color: var(--muted); min-height: 1.4em; }
.verdict-cell[data-state="stop"] small { font-family: var(--mono); font-size: 0.8125rem; color: var(--stop); }
.verdict-cap { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 760px) { .verdict-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .verdict-cell small { display: none; } .verdict-note { min-height: 4.6em; } }

/* scenes: short illustrations whose rows come in one by one */
.vg { margin: 0; max-width: 46rem; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.vg-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.vg-bar span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 10px; }
.vg-replay { font: 500 0.75rem var(--mono); color: var(--fg); background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.vg-replay:hover { border-color: var(--brand); color: var(--ink); }
html:not(.js) .vg-replay { display: none; }
.vg-rows { list-style: none; margin: 0; padding: 4px 20px; }
.vg-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 6px 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.vg-row:last-child { border-bottom: 0; }
.vg-k { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vg-t { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.vg-s { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); text-align: right; }
.k-ok .vg-s { color: var(--go); }
.k-bad .vg-s, .k-bad .vg-k { color: var(--stop); }
.k-heal .vg-s, .k-heal .vg-k { color: var(--brand-ink); }
.k-add .vg-t, .k-add .vg-k { color: var(--go); }
.k-del .vg-t { color: var(--stop); text-decoration: line-through; }
.k-add .vg-t, .k-del .vg-t, .k-code .vg-t { font-family: var(--mono); font-size: 0.8125rem; }
.k-bar { grid-template-columns: minmax(0, 1fr); }
.vg-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.vg-track i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--brand); transform-origin: left; }
.vg figcaption { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.js .vg.play .vg-row { animation: vgIn 0.55s var(--ease) both; animation-delay: calc(var(--i) * 0.4s + 0.15s); }
.js .vg.play .vg-track i { animation: fill 1s var(--ease) both; animation-delay: calc(var(--i) * 0.4s + 0.3s); }
@keyframes vgIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes fill { from { transform: scaleX(0); } }
@media (max-width: 560px) { .vg-row { grid-template-columns: 70px minmax(0, 1fr) auto; } }

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.5rem); line-height: 0.94; max-width: 16ch; }
.page-hero .lead { margin-top: 28px; }

/* assistant example */
.chat { background: #0D1424; color: #EEF1F6; border: 1px solid #1C2840; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.9375rem; margin: 0; }
.chat-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #1C2840; font-family: var(--mono); font-size: 0.75rem; color: #9AA6BB; }
.chat-bar span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2BC0EA; margin-right: 10px; }
.chat-body { padding: 20px 20px 22px; display: grid; gap: 14px; }
.chat-you { justify-self: end; max-width: 88%; background: #1C2840; border-radius: 16px 16px 4px 16px; padding: 10px 14px; color: #EEF1F6; }
.chat-tool { font-family: var(--mono); font-size: 0.75rem; color: #9AA6BB; }
.chat-tool b { color: #2BC0EA; font-weight: 500; }
.chat pre { margin: 0; padding: 14px 16px; background: #070B14; border: 1px solid #1C2840; border-radius: 12px; font-family: var(--mono); font-size: 0.78125rem; line-height: 1.75; color: #EEF1F6; overflow-x: auto; white-space: pre; }
.chat pre .add { color: #44E5A0; }
.chat pre .dim { color: #9AA6BB; }
.chat-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chat-ask span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 650; font-size: 0.875rem; }
.chat-ask .yes { background: #2BC0EA; color: #070B14; }
.chat-ask .no { box-shadow: inset 0 0 0 1px #2A3A58; color: #EEF1F6; }
.chat-cap { padding: 12px 20px; border-top: 1px solid #1C2840; font-size: 0.8125rem; color: #9AA6BB; }
.chat-cap a { color: #EEF1F6; }
.chat-cap a:hover { color: #2BC0EA; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line-strong); }
.facts div { padding: 22px 24px 4px 0; }
.facts dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 550; line-height: 1.4; }
.facts[data-two] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts, .facts[data-two] { grid-template-columns: minmax(0, 1fr); } .facts div { border-bottom: 1px solid var(--line); padding-bottom: 18px; } }

/* numbered rows */
.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; border-bottom: 1px solid var(--line); }
.rows > li { counter-increment: row; display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr) auto; gap: 8px 28px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); }
.rows > li::before { content: counter(row, decimal-leading-zero); font-family: var(--mono); font-size: 0.875rem; color: var(--brand-ink); }
.rows h3 { font-size: 1.625rem; font-variation-settings: "wdth" 120; font-weight: 750; }
.rows h3 a { text-decoration: none; }
.rows .more { font-size: 0.9375rem; white-space: nowrap; }
@media (max-width: 860px) { .rows > li { grid-template-columns: 44px minmax(0, 1fr); } .rows > li > :not(h3) { grid-column: 2; } }

/* three statements */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.trio > div { border-top: 2px solid var(--ink); padding-top: 22px; }
.trio .num { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.trio h3 { font-size: 1.625rem; font-variation-settings: "wdth" 118; font-weight: 750; margin-bottom: 14px; line-height: 1.1; }
.trio .fix { margin-top: 16px; color: var(--ink); font-weight: 550; }
@media (max-width: 900px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; gap: 12px; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-decoration: none; color: var(--fg); transition: border-color 0.25s; }
a.card:hover { border-color: var(--brand); color: var(--fg); }
.card .tag { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.card h3 { font-size: 1.375rem; line-height: 1.15; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 0.9375rem; }
@media (min-width: 1100px) { .cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards.c4 .card { padding: 24px; } }
@media (min-width: 640px) and (max-width: 1099px) { .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* split + figures */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.split.center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack > * + * { margin-top: 16px; }
.stack > h2 + *, .stack > h3 + * { margin-top: 20px; }
.gap-top { margin-top: 28px !important; }
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.shot figcaption, .video figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.video { margin: 0; }
.video-play { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #070B14; box-shadow: var(--shadow); }
.video-play img, .video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.video video { border-radius: 16px; border: 1px solid var(--line-strong); background: #070B14; }
.video-btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: #2BC0EA; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(43, 192, 234, 0.25); transition: transform 0.3s var(--ease); }
.video-btn svg { width: 26px; height: 26px; fill: #070B14; margin-left: 3px; }
.video-play:hover .video-btn { transform: scale(1.08); }
.video-len { position: absolute; right: 12px; bottom: 12px; font-family: var(--mono); font-size: 0.75rem; background: rgba(7, 11, 20, 0.88); color: #EEF1F6; padding: 3px 9px; border-radius: 999px; }
.video figcaption strong { display: block; font-size: 1rem; }
.video figcaption a { white-space: nowrap; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 24px; }
.video-grid .video-btn { width: 52px; height: 52px; margin: -26px 0 0 -26px; box-shadow: 0 0 0 6px rgba(43, 192, 234, 0.25); }
.video-grid .video-btn svg { width: 20px; height: 20px; }
.video-grid .video-play { box-shadow: none; }

/* steps, lists, chips */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 28px 58px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--brand-ink); font-family: var(--mono); font-size: 0.875rem; display: flex; align-items: center; justify-content: center; }
.steps > li::after { content: ""; position: absolute; left: 17.5px; top: 42px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; padding-top: 5px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.plain li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 14px; height: 4px; border-radius: 2px; background: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-family: var(--mono); font-size: 0.8125rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg); white-space: nowrap; }
.chips a { text-decoration: none; color: inherit; }
.chips a:hover { color: var(--brand-ink); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cols3 h3 { margin-bottom: 12px; font-size: 1.5rem; }
.cols3 .chips { margin-top: 18px; }
@media (max-width: 900px) { .cols3 { grid-template-columns: minmax(0, 1fr); } }

/* tables */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-strong); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
th { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 600; }

/* faq */
.faqs { max-width: 54rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-variation-settings: "wdth" 110; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 400; font-size: 1.125rem; line-height: 1; transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #070B14; }
.faq-a { padding: 0 52px 26px 0; }
.faq-a > * + * { margin-top: 12px; }

/* blog */
.post-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.post { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 28px; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.post-date { grid-row: span 2; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); padding-top: 6px; }
.post-title { font-family: var(--display); font-variation-settings: "wdth" 118; font-size: 1.5rem; font-weight: 750; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.post:hover .post-title { color: var(--brand-ink); }
.post-desc { color: var(--fg); }
@media (max-width: 700px) { .post { grid-template-columns: minmax(0, 1fr); } .post-date { grid-row: auto; padding: 0; } }
.post-page { max-width: 840px; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(72px, 9vw, 120px); }
.post-head h1 { font-size: clamp(2.125rem, 4.8vw, 3.75rem); line-height: 1; font-variation-settings: "wdth" 118; font-weight: 800; }
.post-meta { margin-top: 22px; font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }
.prose { margin-top: 44px; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 20px; }
.prose > p:first-child { font-size: 1.3125rem; line-height: 1.55; color: var(--ink); }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-variation-settings: "wdth" 118; line-height: 1.08; margin-top: 64px; }
.prose h3 { font-size: 1.3125rem; margin-top: 38px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--brand-ink); font-family: var(--mono); font-size: 0.9em; }
.prose pre { background: #070B14; color: #EEF1F6; border: 1px solid #1C2840; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 0.875rem; line-height: 1.7; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }
.prose .faqs { margin-top: 24px; }
.prose .faq summary { font-size: 1.125rem; }
.post-aside { margin-top: 72px; }
.post-aside h2 { font-size: 1.625rem; margin: 56px 0 20px; }
.next { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.next span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.next a { font-size: 1.25rem; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

/* footer: transparent, so the particle field runs to the end of the page */
.site-footer { color: var(--fg); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand-ink); }
.site-footer a.btn-p, .site-footer a.btn-p:hover { color: #070B14; }
.cta { padding-top: clamp(80px, 9vw, 136px); padding-bottom: clamp(64px, 7vw, 96px); }
.cta h2 { font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: 0.9; max-width: 14ch; }
.cta h2 span { color: var(--go); }
.cta p { margin-top: 26px; font-size: 1.1875rem; color: var(--muted); }
.cta .btns { margin-top: 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.foot-brand p { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); max-width: 30ch; }
.foot h2 { font-family: var(--mono); font-variation-settings: normal; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.foot li a { display: inline-block; padding: 5px 0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 980px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
.contact-card .mail { display: inline-block; margin-top: 8px; font-family: var(--display); font-variation-settings: "wdth" 115; font-size: clamp(1.375rem, 3.2vw, 2.125rem); font-weight: 750; letter-spacing: -0.03em; overflow-wrap: anywhere; }

/* phones */
@media (max-width: 560px) {
  .chat pre .opt { display: none; }
  .chat pre { font-size: 0.75rem; }
  .btns .btn { flex: 1 1 auto; }
  .faq-a { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1 .w, .js .hero .rise { opacity: 1; transform: none; filter: none; }
}

/* set by site.js after the intro has had time to play: the text is visible even when no frame was drawn */
.js.intro-done .hero h1 .w, .js.intro-done .hero .rise { animation: none; opacity: 1; transform: none; filter: none; }

/* the film: a self-contained page in a 16:9 frame */
.film { aspect-ratio: 16 / 9; width: 100%; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #04060B; box-shadow: var(--shadow); }
.film iframe { width: 100%; height: 100%; border: 0; display: block; }
@keyframes endIn { from { opacity: 0; } }

/* demo request form */
.demo-form { display: grid; gap: 10px; margin-top: 8px; }
.demo-form label { font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-top: 8px; }
.demo-form label span { font-weight: 400; color: var(--muted); }
.inp { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); padding: 14px 16px; font: inherit; font-size: 1rem; }
textarea.inp { resize: vertical; min-height: 96px; }
.inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.demo-form .btn { margin-top: 12px; justify-self: start; }
.demo-form .btn[disabled] { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 550; color: var(--ink); }
.form-status[data-state="ok"] { color: var(--go); }
.form-status[data-state="fail"] { color: var(--fg); }
.form-small { font-size: 0.875rem; color: var(--muted); }
.demo-done { font-family: var(--display); font-variation-settings: "wdth" 118; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--go); }
.contact-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.05; }

/* two large cards (use cases) */
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card-lg { padding: clamp(28px, 3.4vw, 44px); gap: 16px; }
.card-lg h2 { font-size: clamp(1.625rem, 2.8vw, 2.5rem); line-height: 1.02; font-variation-settings: "wdth" 120; }
.card-lg p { font-size: 1.0625rem; max-width: 34rem; }
.card-lg .more { padding-top: 16px; font-size: 1rem; }
@media (max-width: 860px) { .cards.c2 { grid-template-columns: minmax(0, 1fr); } }

/* scene drawings: a small live picture above the rows of a scene */
.vz { position: relative; min-height: 236px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 16px; padding: 26px 22px; border-bottom: 1px solid var(--line); overflow: hidden; background-image: radial-gradient(color-mix(in srgb, var(--muted) 22%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; }
.vz.col, .vz .col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vz.left { align-items: stretch; padding-inline: clamp(22px, 8%, 64px); }
.vz.tight { gap: 8px; }
.vz .col.wide { align-items: stretch; flex: 1 1 180px; max-width: 260px; }
.vz .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.nd { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); color: var(--ink); font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; text-align: center; }
.nd.sm { font-size: 0.875rem; padding: 9px 12px; }
.nd em, .day { font: 400 0.6875rem var(--mono); font-style: normal; color: var(--muted); letter-spacing: 0.02em; }
.nd.ok { border-color: var(--go); } .nd.ok em { color: var(--go); }
.nd.bad { border-color: var(--stop); } .nd.bad em { color: var(--stop); }
.wr { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); transform-origin: left; flex: none; }
.wr.v { width: 2px; height: 18px; transform-origin: top; }
.tg { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 0.8125rem; font-weight: 550; white-space: nowrap; }
.tg.code { font-family: var(--mono); font-weight: 400; font-size: 0.75rem; }
.tg.ok { border-color: var(--go); color: var(--go); }
.tg.bad { border-color: var(--stop); color: var(--stop); }
.tg.hl { background: var(--brand); border-color: var(--brand); color: #070B14; }
.tg.dim { color: var(--muted); }
.tg.del { font-family: var(--mono); font-weight: 400; font-size: 0.75rem; color: var(--stop); text-decoration: line-through; }
.win { width: 220px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); overflow: hidden; flex: none; }
.win.sm { width: 118px; }
.win.sm .win-body { min-height: 76px; padding: 10px; }
.win-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.rec { margin-left: auto; font: 500 0.625rem var(--mono); color: var(--stop); display: inline-flex; align-items: center; gap: 5px; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--stop); }
.win-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 104px; }
.win-body.rel { flex-direction: row; align-items: center; justify-content: space-between; }
.inp-m { height: 12px; border-radius: 6px; background: var(--line); width: 100%; overflow: hidden; }
.inp-m i { display: block; height: 100%; width: 72%; border-radius: 6px; background: var(--muted); }
.inp-m.s { width: 64%; }
.btn-m { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: #070B14; font-size: 0.6875rem; font-weight: 650; }
.btn-m.ghost { background: none; border: 1px dashed var(--line-strong); color: var(--muted); }
.cur { position: absolute; left: 70px; top: 86px; width: 0; height: 0; border-bottom: 13px solid var(--ink); border-left: 5px solid transparent; border-right: 5px solid transparent; rotate: -32deg; }
.scan { position: absolute; inset: 0 auto 0 0; width: 70px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 22%, transparent), transparent); opacity: 0; pointer-events: none; }
.day { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; width: 38px; }
.day b { width: 14px; height: 14px; border-radius: 50%; background: var(--go); }
.day.bad b { background: var(--stop); }
.shotm { width: 110px; height: 70px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); position: relative; flex: none; }
.shotm b { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 12px; border-radius: 6px; border: 1.5px solid var(--stop); }
.ring { width: 118px; height: 118px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 10; }
.ring .arc { stroke: var(--go); stroke-linecap: round; stroke-dasharray: 79 100; }
.mbar { display: block; font-size: 0.75rem; font-weight: 550; color: var(--ink); }
.mbar i { display: block; margin-top: 5px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--w), var(--line) var(--w)); }
.bub { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.875rem; }
.bub.you { align-self: flex-end; background: var(--line); color: var(--ink); border-bottom-right-radius: 4px; }
.bub.ai { align-self: flex-start; border: 1px solid var(--line-strong); background: var(--bg); color: var(--go); font: 400 0.75rem/1.7 var(--mono); border-bottom-left-radius: 4px; }
.vz.left .row { justify-content: flex-start; }
.ph { position: relative; width: 104px; height: 186px; border: 2px solid var(--line-strong); border-radius: 22px; background: var(--bg); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; flex: none; }
.ph-top { width: 34px; height: 5px; border-radius: 3px; background: var(--line-strong); align-self: center; margin-bottom: 4px; }
.ph-card { height: 34px; border-radius: 8px; background: var(--line); }
.ph-card.s { height: 20px; width: 70%; }
.ph-btn { margin-top: auto; text-align: center; padding: 6px 0; border-radius: 999px; background: var(--brand); color: #070B14; font-size: 0.6875rem; font-weight: 650; }
.rip { position: absolute; left: 50%; bottom: 14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.chart { width: min(100%, 420px); height: 120px; }
.chart .area { fill: color-mix(in srgb, var(--brand) 16%, transparent); }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; vector-effect: non-scaling-stroke; }
.chart .line.p { stroke: var(--go); stroke-width: 2; }
.fun { display: flex; align-items: center; justify-content: center; width: calc(var(--w) * 0.7); min-width: 120px; min-height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 24%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); color: var(--ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.fun.ok { background: color-mix(in srgb, var(--go) 26%, transparent); border-color: var(--go); }
.js .vg.play .vz [style*="--i"] { animation: vzPop 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.32s + 0.2s); }
.js .vg.play .vz .wr { animation-name: vzDraw; }
.js .vg.play .vz .wr.v { animation-name: vzDrawV; }
.js .vg.play .vz .fun { animation-name: vzGrow; }
.js .vg.play .vz .arc { animation: vzDash 1.4s var(--ease) both; animation-delay: 0.5s; }
.js .vg.play .vz .line { animation: vzLine 1.6s var(--ease) both; animation-delay: 0.3s; }
.js .vg.play .vz .line.p { animation-delay: 0.9s; }
.js .vg.play .vz .area { animation: endIn 1s ease both; animation-delay: 1.2s; }
.js .vg.play .vz .mbar i { animation: fill 1s var(--ease) both; animation-delay: calc(var(--i) * 0.32s + 0.4s); transform-origin: left; }
.js .vg.play .vz .scan { animation: vzScan 2.2s ease-in-out 0.2s both; }
.js .vg.play .vz .cur { animation: vzCur 2.4s var(--ease) 0.4s both; }
.js .vg.play .vz .rec { animation: vzBlink 1s steps(2) 3; }
.js .vg.play .vz .rip { animation: vzRip 1.1s ease-out 0.9s 3; }
.js .vg.play .vz .moved { animation: vzMove 1.1s var(--ease) 0.9s both; }
@keyframes vzPop { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
@keyframes vzDraw { from { transform: scaleX(0); } }
@keyframes vzDrawV { from { transform: scaleY(0); } }
@keyframes vzGrow { from { opacity: 0; width: 0; } }
@keyframes vzDash { from { stroke-dashoffset: 79; } to { stroke-dashoffset: 0; } }
@keyframes vzLine { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes vzScan { 0% { opacity: 0; left: -70px; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
@keyframes vzCur { 0% { translate: 110px -70px; } 22%, 50% { translate: 20px -58px; } 78% { translate: 0 0; } 86% { translate: 0 0; scale: 0.78; } 100% { translate: 0 0; scale: 1; } }
@keyframes vzBlink { 50% { opacity: 0.2; } }
@keyframes vzRip { from { opacity: 0.9; transform: scale(0.5); } to { opacity: 0; transform: scale(2.2); } }
@keyframes vzMove { from { transform: translateX(-110px); } }
@media (max-width: 560px) { .win { width: 180px; } .vz { padding: 22px 14px; } .wr:not(.v) { width: 20px; } }

/* scene stories: states that change, things that move */
.ctl { display: flex; gap: 4px; text-decoration: none; margin-top: 4px; }
.ctl b { width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.wr.flow { position: relative; }
.wr.flow::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--go); opacity: 0; }
.clk { position: relative; }
.clk::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid var(--brand); opacity: 0; pointer-events: none; }
.done-m { align-self: flex-start; font: 500 0.625rem var(--mono); color: var(--go); }
.done-m::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--go); margin-right: 6px; }
.seek { position: absolute; top: 50%; left: calc(100% - 62px); width: 50px; height: 32px; margin-top: -16px; border-radius: 999px; border: 2px solid var(--go); opacity: 0; pointer-events: none; }
.ringw { position: relative; flex: none; display: grid; place-items: center; }
.ringw span { position: absolute; font: 700 0.75rem/1.1 var(--display); font-variation-settings: "wdth" 112; color: var(--ink); text-align: center; }
.mbar.low i { background: linear-gradient(90deg, var(--stop) var(--w), var(--line) var(--w)); }
.bub.ai { position: relative; display: flex; flex-direction: column; }
.bub.ai .d3 { position: absolute; left: 14px; top: 14px; display: flex; gap: 4px; opacity: 0; }
.bub.ai .d3 b { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.tg.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #070B14; margin-right: 7px; }
.ph-ok { position: absolute; inset: 30px 8px 8px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 0.75rem; font-weight: 650; color: var(--go); }
.ph-ok b { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--go); position: relative; }
.ph-ok b::after { content: ""; position: absolute; left: 10px; top: 6px; width: 9px; height: 15px; border: solid var(--go); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.users { display: flex; gap: 6px; }
.users b { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.js .vg.play .vz .st[style] { animation: vzPop 0.5s var(--ease) both calc(var(--i) * 0.32s + 0.2s), vzNeutral calc(var(--j) * 0.32s + 0.2s) linear both; }
.js .vg.play .vz .st em { animation: endIn 0.3s ease both; animation-delay: calc(var(--j) * 0.32s + 0.2s); }
.js .vg.play .vz .st.shake[style] { animation: vzPop 0.5s var(--ease) both calc(var(--i) * 0.32s + 0.2s), vzNeutral calc(var(--j) * 0.32s + 0.2s) linear both, vzShake 0.45s ease calc(var(--j) * 0.32s + 0.2s); }
.js .vg.play .vz .st.pulse[style] { animation: vzPop 0.5s var(--ease) both calc(var(--i) * 0.32s + 0.2s), vzNeutral calc(var(--j) * 0.32s + 0.2s) linear both, vzPulse 0.9s ease calc(var(--j) * 0.32s + 0.2s) 2; }
.js .vg.play .vz .day b { animation: vzHollow calc(var(--i) * 0.32s + 0.6s) linear both; }
.js .vg.play .vz .wr.flow::after { animation: vzPkt 0.6s linear 4 both; animation-delay: calc(var(--i) * 0.32s + 0.5s); }
.js .vg.play .vz .inp-m i { animation: vzType 0.9s steps(9) both; animation-delay: 0.9s; }
.js .vg.play .vz .clk::after { animation: vzRip2 0.7s ease-out var(--c, 1s) 2; }
.js .vg.play .vz .done-m { animation: endIn 0.4s ease both; animation-delay: 3.4s; }
.js .vg.play .vz .cur { animation: vzCur 3.2s var(--ease) 0.3s both; }
.js .vg.play .vz .seek { animation: vzSeek 2.6s ease 1.2s both; }
.js .vg.play .vz .moved { animation: vzMove 0.9s var(--ease) 0.4s both; }
.js .vg.play .vz .scan.slow { animation: vzScan 3.4s linear 0.3s both; }
.js .vg.play .vz .d3 { animation: vzDots 0.9s ease 0.7s both; }
.js .vg.play .vz .d3 b { animation: vzBlink 0.6s ease infinite; }
.js .vg.play .vz .d3 b:nth-child(2) { animation-delay: 0.15s; }
.js .vg.play .vz .d3 b:nth-child(3) { animation-delay: 0.3s; }
.js .vg.play .vz .ph-ok { animation: endIn 0.4s ease both; animation-delay: 2.2s; }
.js .vg.play .vz .rip { animation: vzRip 0.8s ease-out 1s 2; }
.js .vg.play .vz .tg.live::before { animation: vzBlink 1s steps(2) 4; }
@keyframes vzNeutral { 0%, 99.9% { border-color: var(--line-strong); color: var(--muted); background: var(--bg); } }
@keyframes vzHollow { 0%, 99.9% { background: transparent; box-shadow: inset 0 0 0 2px var(--line-strong); } }
@keyframes vzPkt { from { left: 0; opacity: 1; } to { left: 100%; opacity: 1; } }
@keyframes vzType { from { width: 0; } }
@keyframes vzRip2 { from { opacity: 0.9; transform: scale(0.8); } to { opacity: 0; transform: scale(1.35); } }
@keyframes vzShake { 20% { translate: -4px 0; } 40% { translate: 4px 0; } 60% { translate: -3px 0; } 80% { translate: 3px 0; } }
@keyframes vzPulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--stop) 22%, transparent); } }
@keyframes vzSeek { 0% { opacity: 0; left: 6px; border-color: var(--stop); } 10% { opacity: 1; left: 6px; border-color: var(--stop); } 20% { translate: -3px 0; } 28% { translate: 3px 0; } 36% { translate: 0 0; left: 6px; border-color: var(--stop); } 62% { left: calc(100% - 62px); border-color: var(--go); } 88% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 62px); border-color: var(--go); } }
@keyframes vzDots { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }

/* three equal cards per row (use cases and questions) */
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards.c3 { grid-template-columns: minmax(0, 1fr); } }
