/* Layout: a blueprint frame on a 12-column grid, mono labels on every section, one blue accent taken from the logo. Dark by default. */
:root {
  color-scheme: dark;
  --bg: #08090e;
  --panel: #0e1018;
  --ink: #eceef6;
  --ink-2: #b1b5c7;
  --muted: #7d8298;
  --line: rgba(236, 238, 246, .11);
  --line-2: rgba(236, 238, 246, .24);
  --accent: #6372ff;
  --on-accent: #08090e;
  --grid: rgba(99, 114, 255, .07);
  --ok: #3ccf91;
  --warn: #f2b54b;
  --contour: rgba(236, 238, 246, .15);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --head-h: 64px;
  --side: clamp(16px, 2.2vw, 36px);
  --e-out: cubic-bezier(.25, 1, .5, 1);
  --e-io: cubic-bezier(.76, 0, .24, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f2f6;
  --panel: #e7e9f0;
  --ink: #0a0c16;
  --ink-2: #393d51;
  --muted: #5d6176;
  --line: rgba(10, 12, 22, .12);
  --line-2: rgba(10, 12, 22, .26);
  --accent: #3444de;
  --on-accent: #f1f2f6;
  --grid: rgba(52, 68, 222, .06);
  --ok: #0d8657;
  --warn: #946000;
  --contour: rgba(10, 12, 22, .15);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
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 { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.muted { color: var(--muted); }
.acc { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Frame: side gutters plus the two blueprint rails */
.frame {
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}
.rail { margin-inline: auto; border-inline: 1px solid var(--line); padding-inline: clamp(14px, 1.6vw, 28px); }

/* Header */
.head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
}
.head__in { margin-inline: auto; height: var(--head-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 24px; width: auto; display: block; }
.brand .logo-blue { display: none; }
:root[data-theme="light"] .brand .logo-white { display: none; }
:root[data-theme="light"] .brand .logo-blue { display: block; }
.brand__tag { color: var(--muted); white-space: nowrap; }
.nav { margin-inline: auto; display: flex; gap: 30px; }
.nav a { font-size: 15px; color: var(--ink); display: inline-flex; gap: 6px; align-items: baseline; transition: color .2s; }
.nav a > span:first-child { font-family: var(--mono); font-size: 11px; color: var(--muted); }
/* Menu roll: on hover the word slides up out of its line and an accent copy slides in from below. */
.nav__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.2; vertical-align: bottom; }
.nav__label > span { display: block; transition: transform .4s var(--e-io); }
.nav__label::after { content: attr(data-label); content: attr(data-label) / ""; position: absolute; top: 100%; left: 0; color: var(--accent); transition: transform .4s var(--e-io); }
.nav a:hover .nav__label > span, .nav a:hover .nav__label::after { transform: translateY(-100%); }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .tools { margin-left: 0; }
.ibtn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer;
  font-family: var(--mono); font-size: 11px; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.ibtn:hover { border-color: var(--ink); }
.ibtn svg { width: 15px; height: 15px; }
.ibtn--menu { width: auto; padding-inline: 12px; border-radius: 999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .2s, border-color .2s, color .2s;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { transform: translateY(-2px); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.cta-xs { display: none; }
.btn .arr { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translateX(3px); }

/* Scroll ruler under the header */
.ruler { margin-inline: auto; height: 16px; position: relative; border-top: 1px solid var(--line); }
.ruler__ticks {
  position: absolute; inset: 0 0 auto; height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 5%);
}
.ruler__bar { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.ruler__tag {
  position: absolute; top: 3px; left: 0; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9.5px; line-height: 1; padding: 2px 4px;
  background: var(--accent); color: var(--on-accent); font-variant-numeric: tabular-nums;
}

/* Sections */
.sec { padding-block: clamp(72px, 10vw, 150px) 0; }
.sec__head { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.sec__head .mono:first-child { color: var(--ink); }
.sec__head .mono:last-child { color: var(--muted); text-align: right; }
.sec__body { padding-top: clamp(48px, 7vw, 110px); }
.h2 { font-size: clamp(38px, 5.6vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.lead { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; color: var(--ink-2); letter-spacing: -.01em; text-wrap: pretty; }

/* Outline-to-fill lines */
.ol { position: relative; display: block; }
.ol__o { display: block; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.ol__f { position: absolute; inset: 0; color: var(--ink); clip-path: inset(0 0 0 0); }

/* Hero */
.hero { position: relative; isolation: isolate; padding-block: 20px clamp(48px, 6vw, 90px); }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.metabar { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); padding-bottom: clamp(36px, 5vw, 72px); }
.hero__title {
  font-size: clamp(64px, 12.2vw, 212px); font-weight: 500;
  letter-spacing: -.062em; line-height: .84; margin-left: -.04em;
}
.hero__title .ol + .ol { margin-left: .58em; }
.hero__sub {
  margin-top: clamp(18px, 2.2vw, 34px);
  font-size: clamp(26px, 3.4vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02;
  max-width: 20ch; text-wrap: balance;
}
.evalbar { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(26px, 3vw, 44px); color: var(--muted); }
.evalbar b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.evalbar .ic { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--accent); vertical-align: 1px; }
.evalbar .ic--dot { border-radius: 50%; }
.evalbar .ic--dia { transform: rotate(45deg); }
.evalbar .ic--tri { width: 0; height: 0; background: none; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid var(--accent); }
.evalbar .pass { color: var(--ok); }
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 80px); padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__lead { max-width: 46ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); line-height: 1.45; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 01 The call and the two doors */
.call { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
.manifesto { font-size: clamp(46px, 8.6vw, 150px); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.manifesto .ol:nth-child(2) { margin-left: 1.1em; }
.manifesto .ol:nth-child(3) { margin-left: 2.2em; }
.call__note { margin-left: auto; max-width: 40ch; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.door { display: grid; gap: 18px; align-content: start; padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); position: relative; }
.door + .door { padding-left: 28px; border-left: 1px solid var(--line); }
.door__k { color: var(--accent); }
.door__t { font-size: clamp(32px, 4vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.door__t .arr { font-weight: 300; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.door:hover .door__t .arr { transform: translateX(6px); }
.door p { color: var(--ink-2); max-width: 40ch; }

/* 02 Proof: pinned stage on desktop */
.proof-intro { max-width: 46ch; margin-bottom: clamp(36px, 5vw, 64px); }
.cases { display: grid; gap: 72px; }
.case { display: grid; gap: 28px; }
.case__count { font-size: clamp(72px, 8vw, 132px); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.case__count .of { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.case__text { display: grid; gap: 14px; align-content: start; }
.case__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin-top: 18px; }
.case__title { font-size: clamp(28px, 2.5vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.case__who { color: var(--muted); margin-top: -6px; }
.case__desc { color: var(--ink-2); max-width: 46ch; }
.case__text .btn { justify-self: start; margin-top: 8px; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.phases li { display: grid; gap: 6px; padding-top: 10px; position: relative; border-top: 1px solid var(--line-2); font-family: var(--sans); font-size: 16px; letter-spacing: -.01em; text-transform: none; }
.phases li span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.phases li i { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--fill, 1)); }

.stage {
  position: relative; overflow: hidden; border-radius: 4px;
  background-color: var(--panel);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
  min-height: 430px; padding: clamp(18px, 2.4vw, 34px);
  display: grid; align-content: center;
}
.stage__tag { position: absolute; top: 14px; left: 18px; color: var(--accent); }
.stage__tag2 { position: absolute; bottom: 12px; right: 16px; color: var(--muted); }
/* Every part of a stage is visible by default. Motion hides the parts a phase has not reached. */
.motion .stage [data-ph]:not(.w):not(.sw) { transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.motion .stage [data-ph]:not(.on):not(.w):not(.sw) { opacity: 0; transform: translateY(8px); }

/* Proof screens: real-looking app windows, drawn at 900 x 600 and scaled to fit the stage */
.stage { isolation: isolate; }
.stage::before {
  content: ""; position: absolute; inset: -25%; z-index: -1; pointer-events: none; opacity: .75;
  background: var(--glow, none); will-change: transform; animation: drift 24s ease-in-out infinite alternate;
}
.stage--a { --glow: radial-gradient(26% 32% at 28% 34%, rgba(91, 91, 246, .55), transparent 70%), radial-gradient(24% 28% at 74% 70%, rgba(245, 158, 11, .38), transparent 70%), radial-gradient(20% 22% at 84% 22%, rgba(236, 72, 153, .32), transparent 70%); }
.stage--b { --glow: radial-gradient(28% 32% at 72% 30%, rgba(20, 184, 166, .48), transparent 70%), radial-gradient(26% 30% at 24% 72%, rgba(139, 92, 246, .52), transparent 70%), radial-gradient(18% 20% at 52% 52%, rgba(14, 165, 233, .25), transparent 70%); }
.stage--c { --glow: radial-gradient(26% 30% at 24% 30%, rgba(236, 72, 153, .44), transparent 70%), radial-gradient(26% 30% at 76% 34%, rgba(14, 165, 233, .44), transparent 70%), radial-gradient(24% 26% at 54% 84%, rgba(139, 92, 246, .52), transparent 70%); }
@keyframes drift { from { transform: translate3d(-4%, -3%, 0) rotate(-4deg); } to { transform: translate3d(4%, 3%, 0) rotate(6deg); } }

.fit { position: relative; width: 100%; height: calc(600px * var(--s, .5)); }
.fit__in {
  position: absolute; top: 0; left: 50%; width: 900px; height: 600px;
  transform: translateX(-50%) scale(var(--s, .5)); transform-origin: 50% 0;
  font-family: var(--sans); font-size: 12px; line-height: 1.4; letter-spacing: -.005em; text-transform: none;
  --u-bg: #ffffff; --u-bg2: #f4f5f9; --u-ink: #141726; --u-mut: #6b7086; --u-line: #e5e7ef; --u-wire: rgba(20, 23, 38, .3);
}
.win { position: absolute; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--u-bg); color: var(--u-ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); }
.win--dark { --u-bg: #0c0f1d; --u-bg2: #151a31; --u-ink: #e9ebf8; --u-mut: #8b91af; --u-line: #242a45; --u-wire: rgba(233, 235, 248, .28); }
.win__bar { flex: none; height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #eceef4; border-bottom: 1px solid var(--u-line); }
.win--dark .win__bar { background: #161a2f; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url { margin-inline: auto; min-width: 300px; height: 22px; padding: 0 12px; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--u-bg); border: 1px solid var(--u-line); color: var(--u-mut); font: 10.5px/1 var(--mono); }
.url svg { width: 9px; height: 9px; }
.ttl-l { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.ttl { font-size: 12.5px; font-weight: 600; }
.sub { font-size: 10.5px; color: var(--u-mut); }
.mono-u { font-family: var(--mono); font-size: 10px; }
.card-u { background: var(--u-bg); border: 1px solid var(--u-line); border-radius: 10px; padding: 12px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.pill--green { background: rgba(34, 197, 94, .14); color: #15803d; }
.pill--amber { background: rgba(245, 158, 11, .16); color: #b45309; }
.pill--pink { background: rgba(236, 72, 153, .14); color: #be185d; }
.pill--blue { background: rgba(91, 91, 246, .13); color: #4338ca; }
.pill--teal { background: rgba(20, 184, 166, .14); color: #0f766e; }
.pill--violet { background: rgba(139, 92, 246, .14); color: #6d28d9; }
.win--dark .pill--green { color: #4ade80; }
.win--dark .pill--pink { color: #f472b6; }
.win--dark .pill--violet { color: #c4b5fd; }
.win--dark .pill--teal { color: #5eead4; }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-style: normal; font-weight: 700; color: #fff; background: var(--g); border: 2px solid var(--u-bg); }
.avs { display: flex; }
.avs .av + .av { margin-left: -8px; }
.btn-u { height: 28px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; border: 1px solid var(--u-line); background: var(--u-bg); color: var(--u-ink); white-space: nowrap; }
.btn-u--grad { border: 0; color: #fff; background: linear-gradient(135deg, #5b5bf6, #8b5cf6); box-shadow: 0 6px 16px -6px rgba(91, 91, 246, .7); }
.btn-u--teal { border: 0; color: #fff; background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
.btn-u--ok { border: 0; color: #fff; background: linear-gradient(135deg, #22c55e, #14b8a6); }
.spark { display: block; width: 100%; height: 20px; overflow: visible; }
.spark .ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s ease; vector-effect: non-scaling-stroke; }
.bar { display: flex; height: 8px; border-radius: 99px; background: var(--u-bg2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--k); transform-origin: 0 50%; transition: transform 1s cubic-bezier(.2, .7, .2, 1) .15s; }
.toast-u { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: #111527; color: #fff; font-size: 11.5px; font-weight: 500; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.toast-u .ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22c55e, #14b8a6); font-size: 11px; }
.sw .b { display: none; }
.sw.on .a { display: none; }
.sw.on .b { display: inline-flex; }

/* Build states: parts of a screen not built yet show as a dashed wireframe */
.motion .stage .w { transition: background-color .5s, box-shadow .5s, outline-color .5s; }
.motion .stage .w > * { transition: opacity .5s ease .1s; }
.motion .stage .w:not(.on) { background: transparent !important; box-shadow: none !important; border-color: transparent !important; outline: 1px dashed var(--u-wire); outline-offset: -1px; }
.motion .stage .w:not(.on) > * { opacity: 0 !important; }
.motion .stage .w:not(.on) { color: transparent !important; }
.motion .stage .w:not(.on) .bar i { transform: scaleX(0); }
.motion .stage .w:not(.on) .spark .ln { stroke-dashoffset: 1; }
.motion .stage .w:not(.on) .seg { stroke-dasharray: 0 227 !important; }
.motion .stage .rec.w:not(.on)::before, .motion .stage .rec.w:not(.on)::after { display: none; }

/* Screen A: completions platform */
.a-body { flex: 1; display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 0; }
.a-side { background: #10142b; color: #c9cdf0; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.a-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; font-size: 12.5px; }
.a-logo { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(from 200deg, #5b5bf6, #ec4899, #f59e0b, #5b5bf6); }
.a-nav { display: grid; gap: 2px; }
.a-nav span { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; font-size: 11px; white-space: nowrap; }
.a-nav span i { width: 6px; height: 6px; border-radius: 50%; background: var(--k); flex: none; }
.a-nav span em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 8.5px; padding: 1px 5px; border-radius: 4px; background: rgba(91, 91, 246, .3); color: #c7d2fe; }
.a-nav .is-act { background: rgba(255, 255, 255, .09); color: #fff; }
.a-mig { margin-top: auto; padding: 10px; border-radius: 8px; background: linear-gradient(135deg, rgba(91, 91, 246, .4), rgba(236, 72, 153, .28)); color: #fff; display: grid; gap: 6px; font-size: 10.5px; }
.a-mig .bar { background: rgba(255, 255, 255, .15); height: 6px; }
.a-main { padding: 16px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; background: var(--u-bg2); min-width: 0; min-height: 0; }
.a-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a-head__r { display: flex; align-items: center; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { display: grid; gap: 4px; padding: 10px 12px; }
.kpi__n { font-size: 21px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi__row { display: flex; justify-content: space-between; align-items: center; }
.a-mid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; min-height: 0; }
.tt { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.legend { display: flex; gap: 10px; font-size: 10px; color: var(--u-mut); }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--k); margin-right: 4px; }
.areas { display: grid; gap: 10px; }
.area { display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; gap: 8px; align-items: center; font-size: 10.5px; }
.area b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.donut-w { display: flex; align-items: center; gap: 14px; }
.donut { width: 96px; height: 96px; flex: none; }
.donut .seg { fill: none; stroke-width: 12; transition: stroke-dasharray 1.1s cubic-bezier(.2, .7, .2, 1) .1s; }
.donut text { font-size: 17px; font-weight: 700; font-family: var(--sans); }
.dlist { display: grid; gap: 7px; font-size: 10.5px; }
.dlist span { display: flex; align-items: center; gap: 6px; }
.dlist i { width: 8px; height: 8px; border-radius: 2px; background: var(--k); }
.tr { display: grid; grid-template-columns: 50px minmax(0, 1.6fr) minmax(0, 1fr) 80px; gap: 10px; align-items: center; padding: 6px 2px; border-top: 1px solid var(--u-line); font-size: 11px; }
.tr.th { border-top: 0; color: var(--u-mut); font-size: 9px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; padding-top: 0; }
.tr > :last-child { justify-self: end; }

/* Phones */
.phone-m { position: absolute; width: 190px; height: 392px; padding: 7px; border-radius: 32px; background: #0a0c14; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.phone-m__scr { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #f4f5fa; color: #141726; display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 12px; }
.ph-notch { position: absolute; top: 8px; left: 50%; width: 56px; height: 16px; margin-left: -28px; border-radius: 10px; background: #0a0c14; }
.ph-status { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 600; padding: 0 8px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px 2px; font-size: 13px; }
.ph-card { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 2px 8px; align-items: center; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid #e5e7ef; border-left: 3px solid var(--k); font-size: 11px; }
.ph-card .mono-u { color: #6b7086; font-size: 9px; }
.ck { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; }
.ck .a { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9ccd8; display: block; }
.ck .b { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #22c55e, #14b8a6); color: #fff; font-size: 11px; align-items: center; justify-content: center; }
.ph-btn { margin-top: auto; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 11.5px; background: linear-gradient(135deg, #5b5bf6, #ec4899); }
.ph-dark { --u-wire: rgba(255, 255, 255, .3); background: linear-gradient(160deg, #0f172a, #1e1b4b 55%, #0f766e); color: #fff; align-items: center; text-align: center; }
.ph-dark .ph-status { align-self: stretch; }
.rec { position: relative; width: 84px; height: 84px; border-radius: 50%; margin: 22px auto 10px; background: radial-gradient(circle at 35% 30%, #fda4af, #ef4444 60%, #be123c); box-shadow: 0 10px 30px -6px rgba(239, 68, 68, .7); }
.rec::before, .rec::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: ring 2s ease-out infinite; }
.rec::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.ph-wave { display: flex; align-items: center; gap: 3px; height: 30px; width: 130px; }
.ph-wave i, .wave i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(180deg, #2dd4bf, #a78bfa); transform: scaleY(.35); animation: wv .9s ease-in-out infinite alternate; animation-delay: var(--d); animation-play-state: paused; }
.stage[data-phase="1"] .ph-wave i, .stage[data-phase="2"] .ph-wave i, .stage[data-phase="1"] .wave i, .stage[data-phase="2"] .wave i { animation-play-state: running; }
@keyframes wv { to { transform: scaleY(1); } }

/* Screen B: the visit note */
.b-body { flex: 1; display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.15fr); min-height: 0; background: var(--u-bg2); }
.b-pat { background: var(--u-bg); border-right: 1px solid var(--u-line); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.b-pat__who { display: flex; align-items: center; gap: 8px; }
.b-pat__av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #14b8a6, #8b5cf6); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; flex: none; }
.chips-u { display: flex; flex-wrap: wrap; gap: 5px; }
.vit { display: grid; gap: 6px; }
.vit > div { padding: 8px; border-radius: 8px; background: var(--u-bg2); display: grid; gap: 2px; }
.vit b { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.b-col { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.b-col .tt { margin-bottom: 0; }
.rec-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: #dc2626; font-family: var(--mono); }
.rec-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .2); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; padding: 0 8px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); }
.line-u { padding: 8px 10px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); font-size: 11px; display: grid; gap: 3px; }
.line-u .who { font-size: 8.5px; font-weight: 700; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--k); }
.soap-u { display: grid; gap: 6px; }
.soap-u > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); font-size: 11px; }
.soap-u .k { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 10px; background: var(--k); }
.soap-u .src { font-family: var(--mono); font-size: 8.5px; color: var(--u-mut); margin-left: 4px; }
.ai-card { padding: 10px; border-radius: 10px; background: linear-gradient(var(--u-bg), var(--u-bg)) padding-box, linear-gradient(135deg, #8b5cf6, #14b8a6) border-box; border: 1.5px solid transparent; display: grid; gap: 4px; font-size: 11px; }
.b-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Screen C: the day plan (dark) */
.c-body { flex: 1; display: grid; grid-template-columns: 52px minmax(0, 1fr); min-height: 0; }
.c-rail { background: #080b16; border-right: 1px solid var(--u-line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.c-rail i { width: 26px; height: 26px; border-radius: 8px; background: var(--k); opacity: .85; }
.c-rail i:first-child { opacity: 1; background: conic-gradient(from 180deg, #ec4899, #8b5cf6, #0ea5e9, #ec4899); }
.c-main { padding: 16px 18px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; min-width: 0; min-height: 0; }
.c-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.c-head .ttl-l { font-size: 19px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: 12px; padding: 12px; color: #fff; background: var(--k); display: grid; gap: 4px; }
.tile b { font-size: 24px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile .sub { color: rgba(255, 255, 255, .85); }
.tile .spark .ln { stroke: rgba(255, 255, 255, .9); }
.c-mid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; min-height: 0; }
.kb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kb > div { display: grid; gap: 6px; align-content: start; }
.kb h6 { margin: 0; font-size: 9px; font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--u-mut); }
.kc { padding: 8px 9px; border-radius: 9px; background: var(--u-bg2); border: 1px solid var(--u-line); font-size: 10.5px; display: grid; gap: 4px; }
.kc .tag { justify-self: start; font-size: 8.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; color: #0c0f1d; background: var(--k); }
.alerts { display: grid; gap: 7px; }
.al { display: flex; gap: 8px; align-items: flex-start; font-size: 10.5px; padding: 8px; border-radius: 9px; background: var(--u-bg2); }
.al i { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: var(--k); box-shadow: 0 0 0 3px color-mix(in srgb, var(--k) 25%, transparent); flex: none; }
.hours { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); font-family: var(--mono); font-size: 8.5px; color: var(--u-mut); margin-bottom: 6px; }
.track { position: relative; height: 40px; border-radius: 10px; background-color: var(--u-bg2); background-image: repeating-linear-gradient(90deg, var(--u-line) 0 1px, transparent 1px 10%); }
.blk-u { position: absolute; top: 5px; bottom: 5px; left: var(--x); width: var(--wd); border-radius: 7px; padding: 5px 7px; font-size: 9.5px; font-weight: 600; color: #fff; background: var(--k); overflow: hidden; white-space: nowrap; }
.now { position: absolute; top: -4px; bottom: -4px; left: 31%; width: 2px; background: #f43f5e; border-radius: 2px; }
.now::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; }
.gcal { position: absolute; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 3px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; color: #141726; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); font-size: 11.5px; }
.gcal__ic { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 9px; background: conic-gradient(#0ea5e9 0 25%, #22c55e 0 50%, #f59e0b 0 75%, #ef4444 0); }
.gcal .sub { color: #6b7086; }

/* 03 Ideas */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ideas { border-top: 1px solid var(--line); }
.idea {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 300px) 32px;
  gap: 20px; align-items: baseline; padding-block: 26px; border-bottom: 1px solid var(--line);
  transition: padding-left .3s cubic-bezier(.2,.7,.2,1);
}
.idea:hover { padding-left: 10px; }
.idea__n { color: var(--muted); }
.idea__t { font-size: clamp(22px, 2.4vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.idea__m { color: var(--muted); display: grid; gap: 4px; }
.idea__m .proof { color: var(--ink-2); }
.idea__a { font-size: 22px; font-weight: 300; justify-self: end; transition: transform .3s; }
.idea:hover .idea__a { transform: translateX(4px); color: var(--accent); }
.more { display: flex; justify-content: flex-end; padding-top: 22px; }

/* 04 Services */
.svc { display: grid; grid-template-columns: 60px minmax(0, 1.2fr) minmax(0, 1fr) 32px; gap: 20px; align-items: start; padding-block: 34px; border-bottom: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--line); }
.svc__n { color: var(--accent); padding-top: 14px; }
.svc__t { font-size: clamp(32px, 4.4vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.svc__d { color: var(--ink-2); padding-top: 10px; display: grid; gap: 10px; max-width: 46ch; }
.svc__d .mono { color: var(--muted); }
.svc__a { font-size: 30px; font-weight: 300; padding-top: 8px; justify-self: end; transition: transform .3s; }
.svc:hover .svc__a { transform: translateX(5px); color: var(--accent); }

/* 05 Demo: extraction simulation */
.demo-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sim { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border: 1px solid var(--line-2); }
.sim__doc { padding: clamp(18px, 2.4vw, 34px); border-right: 1px solid var(--line-2); background-color: var(--panel); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.paper { background: #fbfbf7; color: #191a22; border-radius: 2px; padding: 22px 22px 26px; font-size: 13px; line-height: 1.45; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); display: grid; gap: 14px; transform: rotate(-.8deg); }
.paper__top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.paper__brand { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.paper .mono { color: #5b5d68; font-size: 10px; }
.paper__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.paper__lines { display: grid; gap: 6px; border-top: 1px solid #d9d9d2; padding-top: 10px; }
.paper__lines div { display: flex; justify-content: space-between; gap: 10px; }
.paper__tot { font-weight: 600; border-top: 1px solid #d9d9d2; padding-top: 8px; }
.hit { border-radius: 2px; outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color .3s, background-color .3s; }
.hit.is-auto { outline-color: rgba(52, 68, 222, .55); }
.hit.is-check { outline-color: #c2410c; background: rgba(194, 65, 12, .08); }
.smudge { filter: blur(.55px); opacity: .75; }
.hand { font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 14px; color: #23409a; }
.sim__out { padding: clamp(18px, 2.4vw, 34px); display: grid; gap: 14px; align-content: start; }
.sim__h { display: flex; justify-content: space-between; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.fld { display: grid; grid-template-columns: minmax(0, 1fr) 90px 128px; gap: 12px; align-items: center; padding-block: 7px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fld__k { color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.fld__v { display: block; color: var(--ink); font-family: var(--sans); font-size: 15px; letter-spacing: -.01em; text-transform: none; margin-top: 2px; }
.fld__c { display: grid; gap: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fld__c i { display: block; height: 3px; background: var(--line); position: relative; }
.fld__c i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--c); background: var(--ink-2); }
.fld__s { justify-self: end; }
.fld.is-check .fld__c i::after { background: var(--warn); }
.fld.is-check .fld__s { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 60%, transparent); }
.thr { display: grid; gap: 8px; padding-top: 10px; }
.thr label { display: flex; justify-content: space-between; color: var(--ink-2); }
.thr output { color: var(--ink); font-variant-numeric: tabular-nums; }
.thr input { width: 100%; accent-color: var(--accent); }
.sim__sum { color: var(--muted); }
.sim__sum b { color: var(--ink); font-weight: 500; }
.next-demo { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }

/* 06 How a build runs */
.ladder { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.ladder__line { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform-origin: 0 50%; }
.step { padding: 22px 22px 26px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step__n { color: var(--accent); }
.step__t { font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step dl { display: grid; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.step dt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.step dd { font-size: 15px; }
.step dd.price { font-variant-numeric: tabular-nums; }
.ladder-note { margin-top: 26px; color: var(--muted); }
/* Monthly plans (pricing): four columns split by lines like the type tiles, each with its price and a step-style list. */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.plan { position: relative; display: grid; gap: 12px; align-content: start; padding: 24px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.plan::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: linear-gradient(90deg, var(--k), var(--k2)); }
.plan:hover { background: color-mix(in srgb, var(--k) 7%, transparent); }
.plan--best { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.plan__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.plan__price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.plan__price b { font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.plan__price span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.plan__for { color: var(--ink-2); font-size: 15.5px; }
.plan dl { display: grid; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.plan dt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan dd { font-size: 15px; }
.plans__pre { margin-top: 22px; max-width: 760px; color: var(--ink-2); font-size: 16px; }
.plans__pre + .ladder-note { margin-top: 14px; }
.plans--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.plans--5 .plan { padding-inline: 18px; }
.plans--5 .plan__price b { font-size: clamp(28px, 2.4vw, 36px); }
.plans__notes { margin-top: 14px; max-width: 760px; display: grid; gap: 8px; padding-left: 18px; list-style: disc; color: var(--ink-2); font-size: 15px; }
.plans__notes li::marker { color: var(--muted); }
.plans__notes + .ladder-note { margin-top: 16px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* 07 How we build */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.rule { padding: 26px 26px 30px 0; display: grid; gap: 14px; align-content: start; }
.rule + .rule { padding-left: 26px; border-left: 1px solid var(--line); }
.rule__fig { height: 120px; border: 1px solid var(--line); border-radius: 3px; position: relative; overflow: hidden; background-color: var(--panel); }
.rule__fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rule p { color: var(--ink-2); }

/* 08 Close */
.close { padding-bottom: clamp(60px, 8vw, 120px); }
.big { font-size: clamp(54px, 11.5vw, 200px); font-weight: 500; letter-spacing: -.062em; line-height: .88; }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.mask > span { display: block; }
.close .btns { margin-top: clamp(28px, 3vw, 44px); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 30px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.foot__say { font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; max-width: 16ch; }
.foot__say a { color: var(--accent); }
.foot h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.foot ul { display: grid; gap: 6px; font-size: 15px; }
.foot ul a:hover { color: var(--accent); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 34px; border-top: 1px solid var(--line); color: var(--muted); }

/* Blueprint grid overlay (Alt+G, and during the intro) */
.gridlay { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.gridlay__frame { height: 100%; }
.gridlay__in { height: 100%; margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; border-inline: 1px solid transparent; padding-inline: clamp(14px, 1.6vw, 28px); }
@media (max-width: 640px) { .gridlay__in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-inline: 0; border: 0; } .gridlay__in i:nth-child(n+5) { display: none; } }
.gridlay__in i { background: var(--grid); border-inline: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.grid-on .gridlay, .intro .gridlay { opacity: 1; }

/* Pointer: crosshair plus a square point that turns into a ring over anything clickable and
   squeezes while pressed (fine pointers only; the system cursor is hidden while it shows) */
.xh { position: fixed; inset: 0; z-index: 94; pointer-events: none; display: none; opacity: 0; transition: opacity .2s; }
.has-xh .xh { display: block; }
.has-xh, .has-xh * { cursor: none !important; }
.xh.is-on { opacity: 1; }
.xh__h, .xh__v { position: absolute; background: var(--line); }
.xh__h { left: 0; right: 0; height: 1px; top: 0; }
.xh__v { top: 0; bottom: 0; width: 1px; left: 0; }
.xh__pt { position: absolute; top: 0; left: 0; }
.xh__ring { position: absolute; top: -5px; left: -5px; width: 10px; height: 10px; background: var(--accent); border: .5px solid var(--ink); transition: transform .4s var(--e-out), border-radius .4s var(--e-out), background-color .4s, border-color .4s; }
.xh.is-hover .xh__ring { background: transparent; border-color: var(--accent); border-radius: 50%; transform: scale(4.2) rotate(45deg); }
.xh.is-down .xh__ring { transform: scale(.6); }
.xh__l { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xh.is-flip .xh__l { left: auto; right: 14px; }
.xh.is-hover .xh__l { top: -6px; left: 30px; right: auto; color: var(--accent); }
.xh.is-hover.is-flip .xh__l { left: auto; right: 30px; }

/* Command palette */
.pal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding: 12vh 16px 16px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.pal__box { width: min(560px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.pal__in { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.pal__in input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--ink); font: 400 16px var(--sans); outline: none; }
.pal__list { max-height: 52vh; overflow: auto; padding: 8px; }
.pal__grp { padding: 10px 10px 6px; color: var(--muted); }
.pal__item { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; text-align: left; font-size: 15px; }
.pal__item .mono { color: var(--muted); font-size: 10px; }
.pal__item[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.pal__item[aria-selected="true"] .mono { color: var(--bg); opacity: .7; }

/* The NorthStar icon, drawn as an outline then filled in. pathLength="1" on each path makes the
   dash run 0 to 1 whatever the path's real length; the star pops in last. */
.mark { display: block; height: clamp(84px, 15vw, 168px); width: auto; overflow: visible; }
.mark path { fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.mark .mark__s { fill: var(--accent); stroke: none; }

/* First visit in a session: the preloader draws the icon, counts to 100% and lifts off upward.
   Pure CSS so it runs before the scripts load; the head script adds .ldr-on. */
@property --ldr-n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.ldr { position: fixed; inset: 0; z-index: 93; display: none; grid-template-rows: auto 1fr auto; place-items: center; padding: 18px var(--side); background: var(--ink); color: var(--bg); clip-path: inset(0); animation: ldr-lift .9s var(--e-io) 1.2s forwards; }
.ldr-on .ldr { display: grid; }
.ldr__meta, .pt__meta { position: relative; width: 100%; display: flex; justify-content: space-between; gap: 16px; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.ldr .mark path { animation: plot 1.2s var(--e-io) both, ink .35s ease .85s both; }
.ldr .mark path + path { animation-delay: .18s, 1s; }
.ldr .mark .mark__s { transform-box: fill-box; transform-origin: 50% 50%; animation: pop .4s var(--e-out) .9s both; }
.ldr__n { font-variant-numeric: tabular-nums; counter-reset: n var(--ldr-n); animation: ldr-count 1.2s var(--e-io) both; }
.ldr__n::after { content: counter(n) "%"; }
@keyframes plot { from { stroke-dashoffset: 1; } }
@keyframes ink { from { fill-opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes ldr-count { to { --ldr-n: 100; } }
@keyframes ldr-lift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Page transition used by the menu links: the panel rises, the columns and guides draw,
   the icon is plotted inside a framed box, then it all lifts off the next page (site.js). */
.pt { position: fixed; inset: 0; z-index: 96; display: grid; grid-template-rows: auto 1fr auto; place-items: center; padding: 18px var(--side); background: var(--ink); color: var(--bg); visibility: hidden; clip-path: inset(100% 0 0 0); pointer-events: none; overflow: hidden; }
.arriving .pt { visibility: visible; clip-path: inset(0); }
.pt__cols { position: absolute; inset: 0; }
.pt__in { height: 100%; margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding-inline: clamp(14px, 1.6vw, 28px); }
.pt__in span { border-inline: 1px solid color-mix(in srgb, var(--bg) 9%, transparent); }
.pt__meta > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt__to { font-weight: 400; color: var(--bg); }
.pt__count { flex: none; font-variant-numeric: tabular-nums; }
.pt__stage { position: relative; }
.pt__g { position: absolute; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.pt__g--h { height: 1px; left: -100vw; right: -100vw; }
.pt__g--v { width: 1px; top: -100vh; bottom: -100vh; }
.pt__g:nth-child(1) { top: 0; }
.pt__g:nth-child(2) { bottom: 0; }
.pt__g:nth-child(3) { left: 0; }
.pt__g:nth-child(4) { right: 0; }
.pt__box { position: absolute; inset: -14px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.pt__box::before, .pt__box::after { content: ""; position: absolute; width: 9px; height: 9px; border: 0 solid var(--accent); }
.pt__box::before { top: -5px; left: -5px; border-top-width: 1px; border-left-width: 1px; }
.pt__box::after { bottom: -5px; right: -5px; border-bottom-width: 1px; border-right-width: 1px; }
.pt__label { position: absolute; bottom: 100%; left: -1px; padding-bottom: 6px; font-size: 9.5px; color: var(--accent); white-space: nowrap; }
@media (max-width: 640px) { .pt__in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-inline: 0; } .pt__in span:nth-child(n+5) { display: none; } }

/* Phone call bar: slides up from the foot of the screen after the first half-screen of scrolling and
   steps aside while a booking box, the closing call to action or the footer is in view (site.js). */
.cbar { display: none; }
@media (max-width: 700px) {
  .cbar { display: block; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 58; transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .5s var(--e-io), visibility 0s linear .5s; }
  .cbar.is-on { transform: none; visibility: visible; transition: transform .5s var(--e-io), visibility 0s; }
}
.cbar__in { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); }
.cbar__txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cbar__k { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.cbar__k i { flex: none; width: 6px; height: 6px; background: var(--accent); }
.cbar__what { overflow: hidden; font-size: 14.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.cbar__btn { flex: none; }

/* Narrow layouts */
@media (max-width: 1100px) {
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step { grid-template-columns: 110px minmax(0, 1fr); column-gap: 20px; }
  .step > :not(.step__n) { grid-column: 2; }
  .step__n { grid-row: 1 / span 4; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__say { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav + .tools { margin-left: auto; }
  .brand__tag, .hide-sm { display: none; }
  .doors, .rules, .demo-head, .sim { grid-template-columns: minmax(0, 1fr); }
  .door, .door + .door, .rule, .rule + .rule { padding: 26px 0; border-left: 0; }
  .door + .door, .rule + .rule { border-top: 1px solid var(--line); }
  .sim__doc { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .idea { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .idea__m { grid-column: 2; grid-row: 2; }
  .idea__a { grid-row: 1; grid-column: 3; }
  .svc { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .svc__d { grid-column: 2; grid-row: 2; padding-top: 0; }
  .svc__a { grid-row: 1; grid-column: 3; font-size: 24px; }
  .svc__n { padding-top: 8px; }
}
@media (max-width: 640px) {
  .rail { border-inline: 0; padding-inline: 0; }
  .metabar { flex-direction: column; gap: 4px; }
  .hero__title .ol + .ol { margin-left: .3em; }
  .manifesto .ol:nth-child(2) { margin-left: .5em; }
  .manifesto .ol:nth-child(3) { margin-left: 1em; }
  .fld { grid-template-columns: minmax(0, 1fr) 70px; }
  .fld__s { grid-column: 1 / -1; justify-self: start; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step > :not(.step__n) { grid-column: auto; }
  .step__n { grid-row: auto; }
  .head__in { gap: 10px; }
  .brand img { height: 20px; }
  #grid-btn { display: none; }
  .cta-lg { display: none; }
  .cta-xs { display: inline; }
  .stage { min-height: 0; padding-top: 44px; padding-bottom: 40px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
}

/* Pinned layout for the proof section (added by script on wide screens) */
.cases.is-pinned { grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: 0 clamp(24px, 3vw, 48px); align-items: stretch; }
.cases.is-pinned .case { display: contents; }
.cases.is-pinned .case__text, .cases.is-pinned .case__stage { grid-row: 1; transition: opacity .45s ease, visibility .45s; }
.cases.is-pinned .case__text { grid-column: 1; }
.cases.is-pinned .case__stage { grid-column: 2; height: min(calc(100vh - var(--head-h) - 120px), 660px); }
.cases.is-pinned .case:not(.is-active) .case__text,
.cases.is-pinned .case:not(.is-active) .case__stage { opacity: 0; visibility: hidden; }

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

/* Shared across pages */
.chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
body { margin: 0; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 100px; }
.nav a[aria-current="page"] { color: var(--accent); }

/* Service page: hero with a product screen */
.shero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: 26px clamp(48px, 6vw, 90px); }
.shero .hero__field { opacity: .7; }
.shero__copy { display: grid; gap: 18px; align-content: start; }
.crumb { display: flex; gap: 8px; color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.shero h1 { font-size: clamp(36px, 3.9vw, 64px); font-weight: 500; letter-spacing: -.048em; line-height: 1; text-wrap: balance; }
.shero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.shero__hook { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 44ch; }
.shero__not { font-size: 15px; color: var(--muted); max-width: 48ch; padding-left: 14px; border-left: 2px solid var(--line-2); }
.shero__not b { color: var(--ink-2); font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts div { padding: 12px 14px 12px 0; display: grid; gap: 4px; }
.facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.shero .stage { min-height: 0; }

/* Hero screen: search with sources */
.stage--h { --glow: radial-gradient(28% 32% at 22% 28%, rgba(91, 91, 246, .55), transparent 70%), radial-gradient(26% 30% at 78% 74%, rgba(20, 184, 166, .45), transparent 70%), radial-gradient(20% 22% at 82% 18%, rgba(236, 72, 153, .38), transparent 70%); }
.h-body { flex: 1; display: grid; grid-template-columns: 178px minmax(0, 1fr); min-height: 0; }
.h-side { background: var(--u-bg2); border-right: 1px solid var(--u-line); padding: 14px 12px; display: flex; flex-direction: column; gap: 16px; }
.h-side .a-brand { color: var(--u-ink); }
.h-folders { display: grid; gap: 2px; }
.h-folders span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; font-size: 11px; }
.h-folders i { width: 8px; height: 8px; border-radius: 3px; background: var(--k); flex: none; }
.h-folders b { margin-left: auto; font-weight: 500; color: var(--u-mut); font-size: 10px; font-variant-numeric: tabular-nums; }
.h-folders .is-act { background: var(--u-bg); box-shadow: 0 1px 3px rgba(20, 23, 38, .1); font-weight: 600; }
.h-recent { display: grid; gap: 7px; font-size: 10.5px; color: var(--u-mut); }
.h-main { padding: 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; min-height: 0; }
.h-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border-radius: 12px; border: 1.5px solid transparent; background: linear-gradient(var(--u-bg), var(--u-bg)) padding-box, linear-gradient(135deg, #5b5bf6, #14b8a6, #ec4899) border-box; font-size: 13.5px; }
.h-search svg { width: 16px; height: 16px; color: var(--u-mut); flex: none; }
.h-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 1.5px; height: 15px; background: #5b5bf6; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.h-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; min-height: 0; }
.h-ans { display: grid; gap: 10px; align-content: start; }
.h-text { font-size: 14px; line-height: 1.5; min-height: 63px; }
.h-cites { display: flex; flex-wrap: wrap; gap: 6px; }
.cite { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 3px; border-radius: 999px; background: color-mix(in srgb, var(--k) 13%, transparent); font-size: 10px; font-weight: 600; }
.cite b { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: #fff; font-size: 9px; }
.h-tbl .tr { grid-template-columns: 46px minmax(0, 1fr) 62px 96px; }
.h-src { display: grid; gap: 8px; align-content: start; }
.srcc { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); font-size: 11px; }
.srcc b { font-weight: 600; display: block; }
.srcc .bar { margin-top: 6px; height: 5px; }
.srcc--no { opacity: .55; }
.doc { width: 24px; height: 30px; border-radius: 4px; background: linear-gradient(160deg, var(--k), color-mix(in srgb, var(--k) 50%, #fff)); position: relative; }
.doc::after { content: ""; position: absolute; top: 0; right: 0; width: 8px; height: 8px; background: rgba(255, 255, 255, .6); border-bottom-left-radius: 3px; }
.h-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* What we build */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.type { display: grid; gap: 12px; align-content: start; padding: 22px 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.type:hover { background: color-mix(in srgb, var(--k) 7%, transparent); }
.glyph { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--k), var(--k2)); box-shadow: 0 10px 24px -12px var(--k); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.glyph svg { width: 20px; height: 20px; }
.type:hover .glyph, .ai5 a:hover .glyph { transform: rotate(-8deg) scale(1.06); }
.type h3 { font-size: 20px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.type p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.type .link { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.type:hover .link { color: var(--accent); }

/* Proof strip */
.pstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pfig { display: grid; gap: 14px; }
.pfig figcaption { display: grid; gap: 6px; }
.pfig figcaption .mono { color: var(--muted); }
.pfig figcaption b { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.pfig figcaption a { color: var(--accent); font-size: 15px; }
.pfig .phases { margin-top: 2px; }
.pnote { margin-top: 20px; color: var(--muted); }

/* Stack and why */
.stack-t { border-top: 1px solid var(--line-2); }
.stk { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; padding-block: 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.stk--h { padding-block: 12px; color: var(--muted); }
.stk h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.stk p { color: var(--ink-2); }
.stk .trade { color: var(--muted); }

/* AI inside */
.ai5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ai5 a { display: grid; gap: 12px; align-content: start; padding: 24px 20px 26px 0; }
.ai5 a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.ai5 h3 { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.ai5 p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.ai5 .link { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ai5 a:hover .link { color: var(--accent); }

/* Data and security */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.two__l { display: grid; gap: 18px; position: sticky; top: 120px; }
.spec { border-top: 1px solid var(--line-2); }
.spec > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px 14px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.spec .ok { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--ok), #14b8a6); margin-top: 2px; }
.spec dt { color: var(--muted); }
.spec dd { font-size: 17px; color: var(--ink); line-height: 1.45; }

/* FAQ */
.faqs { border-top: 1px solid var(--line-2); max-width: 1100px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i { transform: rotate(45deg); background: var(--ink); }
.faq[open] summary i::before, .faq[open] summary i::after { background: var(--bg); }
.faq p { max-width: 66ch; color: var(--ink-2); padding-bottom: 26px; font-size: 17px; }

/* Close: booking box and bio */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.bk__l { display: grid; gap: 22px; }
.bk__l .big { font-size: clamp(48px, 7.4vw, 128px); }
.book { border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); padding: 20px; display: grid; gap: 16px; position: relative; overflow: hidden; isolation: isolate; }
.book::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 90%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent); }
.book__h { display: flex; align-items: center; gap: 12px; }
.book__h .av { width: 38px; height: 38px; font-size: 11px; border: 0; }
.book__h b { display: block; font-weight: 500; }
.book__days, .book__slots { display: grid; gap: 8px; }
.book__days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.book__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book button { font: 500 14px/1.2 var(--sans); padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.book__days button { display: grid; gap: 2px; }
.book__days button span { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.book button:hover { border-color: var(--ink); }
.book button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.book button[aria-pressed="true"] span { color: var(--bg); opacity: .7; }
.book #book-cta { background: linear-gradient(135deg, #5b5bf6, #8b5cf6 55%, #ec4899); color: #fff; border: 0; padding: 14px; font-size: 15px; }
.book__note { color: var(--muted); min-height: 1.4em; }

@media (max-width: 1100px) {
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai5 a, .ai5 a + a { padding: 22px 18px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ai5 a:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .shero, .two, .bk, .pstrip { grid-template-columns: minmax(0, 1fr); }
  .two__l { position: static; }
  .stk { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stk--h { display: none; }
}
@media (max-width: 640px) {
  .types, .ai5 { grid-template-columns: minmax(0, 1fr); }
  .ai5 a:nth-child(even) { padding-left: 0; border-left: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .book__days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      }

/* Screens of any size: data-w and data-h on .fit set the drawing size (default 900 x 600) */
.fit { height: calc(var(--vh, 600) * 1px * var(--s, .5)); }
.fit__in { width: calc(var(--vw, 900) * 1px); height: calc(var(--vh, 600) * 1px); }

/* Use-case page */
.uhero { position: relative; isolation: isolate; padding-block: 26px clamp(40px, 5vw, 72px); display: grid; gap: 22px; }
.uhero h1 { font-size: clamp(44px, 6.6vw, 112px); font-weight: 500; letter-spacing: -.055em; line-height: .94; max-width: 15ch; text-wrap: balance; }
.uhero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.uhero__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding-top: 22px; border-top: 1px solid var(--line); }
.uhero__task { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.4; color: var(--ink); letter-spacing: -.015em; max-width: 40ch; }
.uhero__task span { color: var(--muted); }
.uhero__side { display: grid; gap: 18px; }
.tldr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel); }
.tldr > div { padding: 18px 18px 20px; display: grid; gap: 8px; align-content: start; position: relative; }
.tldr > div + div { border-left: 1px solid var(--line); }
.tldr > div::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--k); }
.tldr dt { color: var(--muted); }
.tldr dd { font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.uwrap { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 48px); }
.urail { position: sticky; top: 112px; align-self: start; padding-top: clamp(72px, 10vw, 150px); display: grid; gap: 4px; }
.urail a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 14px; color: var(--muted); transition: color .2s; }
.urail a span { font-family: var(--mono); font-size: 10.5px; }
.urail a.is-on { color: var(--ink); }
.urail a.is-on span { color: var(--accent); }
.urail .btn { margin-top: 16px; justify-self: start; }
.umain { min-width: 0; }
.feat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.feat__list { display: grid; }
.feat__list > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px 14px; padding-block: 18px; border-top: 1px solid var(--line); }
.feat__list i { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 11px; color: #fff; background: linear-gradient(135deg, var(--k), var(--k2)); }
.feat__list b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.feat__list p { color: var(--ink-2); font-size: 15.5px; }
.feat .stage { position: sticky; top: 112px; min-height: 0; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fnode { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 20px 24px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); margin-right: 34px; }
.fnode:last-child { margin-right: 0; }
.fnode::after { content: ""; position: absolute; top: 42px; right: -35px; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--k) 0 6px, transparent 6px 11px); background-size: 11px 2px; animation: flowx .7s linear infinite; }
.fnode:last-child::after { display: none; }
@keyframes flowx { to { background-position: 11px 0; } }
.fnode h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.fnode p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.fnode .chips-s { display: flex; flex-wrap: wrap; gap: 6px; }
.fnode .chips-s span { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--k) 16%, transparent); color: var(--ink); }
.fnode .mono.acc { color: var(--k); }
.ladder--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.est { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; padding: clamp(26px, 4vw, 56px); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px 48px; align-items: center; background: #14123a; }
.est::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(30% 40% at 20% 30%, rgba(91, 91, 246, .9), transparent 70%), radial-gradient(30% 40% at 80% 70%, rgba(236, 72, 153, .75), transparent 70%), radial-gradient(25% 30% at 60% 20%, rgba(20, 184, 166, .6), transparent 70%); animation: drift 20s ease-in-out infinite alternate; }
.est h2 { font-size: clamp(32px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.est p { color: rgba(255, 255, 255, .85); }
.est__q { display: grid; gap: 14px; }
.est__q .mono { color: rgba(255, 255, 255, .75); }
.est__ch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.est__ch button { font: 500 14px var(--sans); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.est__ch button[aria-pressed="true"] { background: #fff; color: #14123a; border-color: #fff; }
.est .btn--solid { background: #fff; color: #14123a; justify-self: start; }
.est__note { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.wins { margin-top: 26px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, #5b5bf6, #14b8a6, #ec4899) border-box; border: 1.5px solid transparent; display: grid; gap: 8px; }
.wins b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.wins p { color: var(--ink-2); }
.g2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.g2x2 > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px 16px; padding: 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.g2x2 .glyph { grid-row: span 2; }
.g2x2 b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.g2x2 p { color: var(--ink-2); font-size: 15.5px; }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: 18px; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, #5b5bf6, #ec4899, #f59e0b) border-box; border: 1.5px solid transparent; }
.pcard b { display: block; font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 10px; }
.pcard p { color: var(--ink-2); max-width: 60ch; }
.pcard .mono { color: var(--muted); }
.types--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Proof page */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel); }
.glance > div { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance > div:nth-child(3n) { border-right: 0; }
.glance > div:nth-last-child(-n+3) { border-bottom: 0; }
.glance dt { color: var(--muted); }
.glance dd { font-size: 17px; line-height: 1.4; }
.prose { max-width: 62ch; display: grid; gap: 18px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 500; }
.arch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; position: relative; }
.arch__col { display: grid; gap: 10px; align-content: start; position: relative; }
.arch__col > .mono { color: var(--muted); padding-bottom: 6px; }
.arch__col + .arch__col::before { content: ""; position: absolute; left: -34px; top: 70px; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 11px 2px; animation: flowx .7s linear infinite; }
.anode { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); }
.anode .glyph { width: 34px; height: 34px; border-radius: 10px; grid-row: span 2; }
.anode .glyph svg { width: 16px; height: 16px; }
.anode b { font-weight: 500; font-size: 15.5px; }
.anode span { font-size: 13px; color: var(--muted); }
.anode--ai { background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, #8b5cf6, #ec4899) border-box; border: 1.5px solid transparent; }
.mrows { display: grid; gap: clamp(48px, 7vw, 100px); }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.mrow:nth-child(even) .mrow__t { order: 2; }
.mrow__t { display: grid; gap: 14px; }
.mrow__t .mono { color: var(--accent); }
.mrow__t h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.mrow__t p { color: var(--ink-2); max-width: 44ch; }
.mshot { position: relative; isolation: isolate; border-radius: 16px; padding: clamp(14px, 2vw, 26px); background: var(--panel); overflow: hidden; }
.mshot::before { content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .7; background: radial-gradient(35% 40% at 25% 30%, var(--g1), transparent 70%), radial-gradient(35% 40% at 75% 75%, var(--g2), transparent 70%); }
.mshot .win { position: relative; inset: auto; }
.wbs { display: grid; grid-template-columns: 90px repeat(6, minmax(0, 1fr)); gap: 4px; font-size: 10px; }
.wbs span { padding: 6px 4px; }
.wbs .c { border-radius: 4px; color: #fff; font-weight: 600; text-align: center; background: var(--k); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.figs > div { padding: 24px 20px 26px 0; display: grid; gap: 8px; }
.figs > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.figs b { font-size: clamp(48px, 6vw, 96px); font-weight: 500; letter-spacing: -.06em; line-height: .9; background: linear-gradient(135deg, #8b8cff, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figs span { color: var(--ink-2); max-width: 26ch; }
.quote { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 16px; max-width: 60ch; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.quote figcaption { color: var(--muted); }

/* Booking page */
.bkp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: 26px 0; }
.bkp__l { display: grid; gap: 26px; position: sticky; top: 110px; }
.bkp__l h1 { font-size: clamp(48px, 6vw, 104px); font-weight: 500; letter-spacing: -.058em; line-height: .92; }
.bkp__l h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.covers { display: grid; border-top: 1px solid var(--line); }
.covers > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.covers dt { color: var(--muted); padding-top: 3px; }
.covers dd { color: var(--ink); font-size: 16.5px; }
.book--full { gap: 18px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fgrid .wide { grid-column: 1 / -1; }
.fl { display: grid; gap: 6px; }
.fl label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fl input, .fl select, .fl textarea { width: 100%; font: 400 15px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; transition: border-color .2s, box-shadow .2s; }
.fl textarea { min-height: 76px; resize: vertical; }
.fl select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.fl.is-bad input, .fl.is-bad select { border-color: #f43f5e; }
.fl .err { font-size: 13px; color: #f87171; min-height: 0; }
.est-chip { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.est-chip a { color: var(--accent); }
.done { display: grid; gap: 16px; }
.done__ok { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, #22c55e, #14b8a6); box-shadow: 0 12px 30px -10px rgba(34, 197, 94, .7); }
.done h2 { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.done ul { display: grid; gap: 8px; padding-left: 18px; list-style: disc; color: var(--ink-2); }
.done a { color: var(--accent); }
.bk-quote { padding-block: clamp(40px, 6vw, 80px); }

@media (max-width: 1100px) {
  .uwrap { grid-template-columns: minmax(0, 1fr); }
  .urail { display: none; }
  .flow, .arch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .fnode { margin-right: 0; }
  .fnode::after, .arch__col + .arch__col::before { display: none; }
  .tldr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tldr > div:nth-child(3) { border-left: 0; }
  .tldr > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .uhero__row, .feat, .est, .mrow, .bkp { grid-template-columns: minmax(0, 1fr); }
  .feat .stage { position: relative; top: auto; }
  .bkp__l { position: static; }
  .mrow:nth-child(even) .mrow__t { order: 0; }
  .ladder--3 { grid-template-columns: minmax(0, 1fr); }
  .types--3 { grid-template-columns: minmax(0, 1fr); }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .glance > div:nth-child(2n) { border-right: 0; }
  .glance > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .glance > div:nth-last-child(-n+2) { border-bottom: 0; }
  .pcard { grid-template-columns: minmax(0, 1fr); }
  .figs { grid-template-columns: minmax(0, 1fr); }
  .figs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .flow, .arch, .g2x2 { grid-template-columns: minmax(0, 1fr); }
  .tldr { grid-template-columns: minmax(0, 1fr); }
  .tldr > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .covers > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .wbs { grid-template-columns: 70px repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .fnode::after, .arch__col + .arch__col::before, .est::before, .stage::before, .wave i, .ph-wave i, .rec::before, .rec::after, .caret { animation: none !important; }
}

/* Screen D: support inbox */
.stage--d { --glow: radial-gradient(28% 32% at 26% 30%, rgba(14, 165, 233, .5), transparent 70%), radial-gradient(26% 30% at 76% 72%, rgba(236, 72, 153, .42), transparent 70%), radial-gradient(20% 22% at 72% 18%, rgba(245, 158, 11, .36), transparent 70%); }
.d-top { flex: none; display: flex; align-items: center; gap: 22px; padding: 10px 16px; border-bottom: 1px solid var(--u-line); }
.d-top .ttl { margin-right: auto; font-size: 14px; }
.d-stat { display: grid; gap: 1px; text-align: right; }
.d-stat b { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.d-body { flex: 1; display: grid; grid-template-columns: 330px minmax(0, 1fr); min-height: 0; background: var(--u-bg2); }
.d-list { border-right: 1px solid var(--u-line); background: var(--u-bg); display: grid; align-content: start; }
.tk { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 3px 10px; padding: 11px 14px; border-bottom: 1px solid var(--u-line); font-size: 11px; position: relative; }
.tk.is-act { background: color-mix(in srgb, #5b5bf6 8%, var(--u-bg)); }
.tk.is-act::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(#5b5bf6, #ec4899); }
.tk .av { grid-row: span 3; width: 28px; height: 28px; border: 0; }
.tk b { font-weight: 600; }
.tk time { color: var(--u-mut); font-size: 10px; }
.tk .sn { grid-column: 2 / -1; color: var(--u-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk .tg { grid-column: 2 / -1; display: flex; gap: 6px; align-items: center; min-height: 20px; }
.pri { width: 7px; height: 7px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 3px color-mix(in srgb, var(--k) 22%, transparent); }
.d-detail { padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.d-msg { padding: 12px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); font-size: 11.5px; display: grid; gap: 6px; }
.d-msg .who { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--u-mut); }
.d-draft p { font-size: 12px; line-height: 1.5; min-height: 72px; }
.d-act { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.d-esc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--u-bg); border: 1px dashed rgba(236, 72, 153, .5); font-size: 11px; }
.code { font-family: var(--mono); font-size: 10px; padding: 3px 7px; border-radius: 5px; background: #141726; color: #e9ebf8; }
.tr.adm { grid-template-columns: minmax(0, 1.4fr) 100px 50px 50px; }
.tog { display: inline-block; width: 28px; height: 16px; border-radius: 99px; background: #22c55e; position: relative; }
.tog::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.tog--off { background: #d1d5db; }
.tog--off::after { right: auto; left: 2px; }

/* Use-case concept screens (wave 1, 12 Nov 2026): v voice agent */
.stage--v { --glow: radial-gradient(28% 32% at 24% 30%, rgba(20, 184, 166, .5), transparent 70%), radial-gradient(26% 30% at 78% 70%, rgba(91, 91, 246, .48), transparent 70%), radial-gradient(20% 22% at 70% 18%, rgba(236, 72, 153, .32), transparent 70%); }
.v-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); }
.v-call, .v-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.v-who { display: flex; align-items: center; gap: 10px; }
.v-who .av { width: 32px; height: 32px; border: 0; }
.v-who > div { display: grid; gap: 2px; font-size: 12px; margin-right: auto; }
.v-who .pill b { font-weight: 600; font-variant-numeric: tabular-nums; }
.v-ln { padding: 10px 12px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); font-size: 11.5px; line-height: 1.45; display: grid; gap: 3px; }
.v-ln--ai { background: color-mix(in srgb, #14b8a6 8%, var(--u-bg)); border-color: color-mix(in srgb, #14b8a6 30%, var(--u-line)); }
.v-ln p { min-height: 17px; }
.v-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v-slots span { display: grid; gap: 2px; padding: 8px; border-radius: 8px; border: 1px solid var(--u-line); font-size: 11px; font-weight: 600; text-align: center; }
.v-slots i { font-style: normal; font-weight: 500; font-size: 10px; color: var(--u-mut); }
.v-slots .is-pick { border-color: #14b8a6; background: color-mix(in srgb, #14b8a6 12%, var(--u-bg)); }
.v-sum p { font-size: 12px; line-height: 1.5; min-height: 54px; }
.v-hand { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--u-bg); border: 1px dashed rgba(245, 158, 11, .55); font-size: 11px; }
/* as support assistant */
.stage--as { --glow: radial-gradient(28% 32% at 26% 30%, rgba(34, 197, 94, .44), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(14, 165, 233, .5), transparent 70%), radial-gradient(20% 22% at 70% 16%, rgba(139, 92, 246, .36), transparent 70%); }
.as-body { flex: 1; display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; min-height: 0; background: var(--u-bg2); }
.as-ans p { font-size: 12px; line-height: 1.5; min-height: 54px; }
.as-gaps { padding: 14px 14px 14px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.as-gap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; font-size: 11px; margin-bottom: 10px; }
.as-gap b { font-variant-numeric: tabular-nums; }
.as-gap .bar { grid-column: 1 / -1; height: 5px; }
/* ld lead qualification */
.stage--ld { --glow: radial-gradient(28% 32% at 24% 30%, rgba(245, 158, 11, .44), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(91, 91, 246, .5), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(236, 72, 153, .34), transparent 70%); }
.ld-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); }
.ld-list { background: var(--u-bg); border: 1px solid var(--u-line); border-radius: 10px; padding: 10px 12px; display: grid; align-content: start; align-self: start; min-width: 0; }
.ld-list .tr { grid-template-columns: minmax(0, 1fr) 54px 92px 74px; padding: 9px 2px; }
.ld-list .tr > span:first-child { display: grid; gap: 2px; min-width: 0; }
.ld-list .tr i { font-style: normal; }
.ld-list .tr.is-act { background: color-mix(in srgb, #f59e0b 9%, var(--u-bg)); border-radius: 6px; }
.ld-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ld-side .card-u { display: grid; gap: 10px; }
.ld-side .tt { margin-bottom: 0; }
.ld-facts { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 10px; font-size: 11px; }
.ld-why { display: grid; gap: 5px; font-size: 11px; }
.ld-why b { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: rgba(34, 197, 94, .16); color: #15803d; font-size: 11px; }
.ld-mail p { font-size: 12px; line-height: 1.5; min-height: 72px; }
/* pr proposals */
.stage--pr { --glow: radial-gradient(28% 32% at 24% 30%, rgba(139, 92, 246, .52), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(245, 158, 11, .4), transparent 70%), radial-gradient(20% 22% at 74% 16%, rgba(20, 184, 166, .34), transparent 70%); }
.pr-body { flex: 1; display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 0; background: var(--u-bg2); }
.pr-side { padding: 14px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--u-line); min-width: 0; }
.pr-side .card-u { display: grid; gap: 6px; margin-bottom: 4px; }
.pr-side .tt { margin-bottom: 0; }
.pr-client { font-size: 13px; }
.pr-brief { font-size: 11px; line-height: 1.45; color: var(--u-mut); }
.pr-h { margin-top: 4px; }
.pr-doc { margin: 14px; padding: 16px 18px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); display: grid; gap: 12px; align-content: start; align-self: start; min-width: 0; }
.pr-doc .tt { margin-bottom: 0; }
.pr-title { font-size: 14px; }
.pr-sec { display: grid; gap: 4px; }
.pr-sec p { font-size: 12px; line-height: 1.5; min-height: 54px; }
.pr-sec .tr { grid-template-columns: minmax(0, 1fr) 50px 150px; }
.pr-tot { font-weight: 650; }
.pr-foot { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.pr-foot .sw { margin-left: auto; }
/* k ask your data */
.stage--k { --glow: radial-gradient(28% 32% at 24% 30%, rgba(14, 165, 233, .5), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(139, 92, 246, .5), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(20, 184, 166, .34), transparent 70%); }
.k-body { flex: 1; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 16px; min-height: 0; background: var(--u-bg2); }
.k-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; align-items: start; min-height: 0; }
.k-ans { display: grid; gap: 10px; }
.k-ans .tt { margin-bottom: 0; }
.k-big { display: flex; align-items: baseline; gap: 10px; }
.k-big b { font-size: 40px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.k-big span { font-size: 12px; color: var(--u-mut); }
.k-line { font-size: 12px; line-height: 1.5; min-height: 36px; }
.k-bars { display: grid; gap: 8px; }
.k-bars > div { display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 10px; align-items: center; font-size: 11px; }
.k-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.k-side { display: grid; gap: 10px; min-width: 0; }
.k-sql { margin: 0; padding: 10px 12px; border-radius: 8px; background: #141726; color: #c7cbe6; font-family: var(--mono); font-size: 10px; line-height: 1.6; white-space: pre; overflow: hidden; }
.k-def { display: grid; gap: 3px; font-size: 11px; }
.stage--k .v-hand { flex-wrap: wrap; }
/* qg quality gate */
.stage--qg { --glow: radial-gradient(28% 32% at 24% 30%, rgba(236, 72, 153, .46), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(34, 197, 94, .42), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(91, 91, 246, .4), transparent 70%); }
.qg-mark { background: rgba(245, 158, 11, .28); color: inherit; border-radius: 3px; padding: 0 2px; }
.qg-rules { display: grid; gap: 6px; }
.qg-rules .tt { margin-bottom: 2px; }
.qg-r { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 11px; }
.qg-r b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--u-mut); }
.qg-i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; background: rgba(34, 197, 94, .16); color: #15803d; }
.qg-r.is-fail .qg-i { background: rgba(245, 158, 11, .2); color: #b45309; }
.qg-r.is-fail span:nth-child(2) { font-weight: 600; }
.qg-fix p { font-size: 12px; line-height: 1.5; min-height: 36px; }
/* m tools in Claude or ChatGPT */
.stage--m { --glow: radial-gradient(28% 32% at 24% 30%, rgba(139, 92, 246, .52), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(217, 70, 239, .4), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(20, 184, 166, .36), transparent 70%); }
.m-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); }
.m-chat, .m-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.m-you { justify-self: end; max-width: 78%; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: var(--u-bg); border: 1px solid var(--u-line); display: grid; gap: 3px; font-size: 12px; line-height: 1.45; }
.m-call { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.m-res .tr { grid-template-columns: 70px minmax(0, 1fr) 100px; }
.m-ans { gap: 8px; }
.m-ans p { font-size: 12px; line-height: 1.5; min-height: 36px; }
.m-confirm { display: flex; align-items: center; gap: 8px; }
.m-confirm .sw { margin-left: auto; }
.m-side .tt { margin-bottom: 4px; }
.m-perm, .m-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--u-line); font-family: var(--mono); font-size: 10px; }
.m-perm.is-off span:first-child { color: var(--u-mut); text-decoration: line-through; }
.m-row { justify-content: flex-start; }
.m-row time { color: var(--u-mut); }
/* au agent and MCP security audit (reuses the ld- layout) */
.stage--au { --glow: radial-gradient(28% 32% at 24% 30%, rgba(34, 197, 94, .42), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(91, 91, 246, .5), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(236, 72, 153, .34), transparent 70%); }
.au-body .ld-list .tr { grid-template-columns: minmax(0, 1fr) 120px 80px; }
.au-risks { gap: 8px; }
.au-r { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: 11px; line-height: 1.4; }
.au-r b { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(236, 72, 153, .14); color: #be185d; font-size: 10px; }
.au-test p { font-size: 12px; line-height: 1.5; min-height: 18px; }
.stage--au .v-hand { flex-wrap: wrap; }
/* Wave 2 concept screens (12 Nov 2026): ex document extraction */
.stage--ex { --glow: radial-gradient(28% 32% at 24% 30%, rgba(236, 72, 153, .46), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(244, 63, 94, .36), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(91, 91, 246, .4), transparent 70%); }
.ex-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; padding: 14px; min-height: 0; background: var(--u-bg2); }
.ex-paper { align-self: start; padding: 18px 20px; border-radius: 4px; background: #fff; color: #1f2333; box-shadow: 0 10px 30px -18px rgba(20, 23, 38, .5); display: grid; gap: 8px; font-size: 11px; }
.ex-ph { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .04em; }
.ex-sup { font-weight: 600; font-size: 12px; justify-self: start; }
.ex-ln { color: #6b7086; }
.ex-ph2 { display: flex; gap: 22px; color: #6b7086; }
.ex-ph2 i { font-style: normal; color: #1f2333; }
.ex-rows { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 8px 0; border-block: 1px solid #e6e8f0; }
.ex-tot { display: flex; justify-content: space-between; font-weight: 650; font-size: 12px; }
.ex-hl { padding: 0 3px; border-radius: 3px; outline: 1.5px solid rgba(34, 197, 94, .7); background: rgba(34, 197, 94, .1); }
.ex-hl--warn { outline-color: rgba(245, 158, 11, .85); background: rgba(245, 158, 11, .14); }
.ex-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ex-fields { display: grid; gap: 7px; }
.ex-fields .tt { margin-bottom: 0; }
.ex-f { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 3px 8px; align-items: center; font-size: 11px; }
.ex-f .bar { grid-column: 1 / -1; height: 4px; }
.ex-f.is-warn b { color: #b45309; }
.ex-done { display: flex; align-items: center; gap: 8px; }
.ex-done .sw { margin-left: auto; }
.stage--ex .v-hand { flex-wrap: wrap; }
/* iv invoices from voice notes (reuses pr-doc) */
.stage--iv { --glow: radial-gradient(28% 32% at 24% 30%, rgba(34, 197, 94, .44), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(20, 184, 166, .46), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(139, 92, 246, .36), transparent 70%); }
.iv-body { flex: 1; display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); align-items: start; }
.iv-col { display: grid; gap: 10px; min-width: 0; }
.iv-note { display: grid; gap: 8px; }
.iv-note .tt { margin-bottom: 0; }
.iv-note .wave { height: 34px; }
.iv-note p { font-size: 11.5px; line-height: 1.45; min-height: 50px; }
.iv-inv { margin: 0; gap: 6px; }
.iv-inv .tr { grid-template-columns: minmax(0, 1fr) 40px 70px; }
.iv-match { display: grid; gap: 8px; }
.iv-match .tt { margin-bottom: 0; }
.iv-m { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--u-line); font-size: 11px; }
.iv-m > span:first-child { display: grid; gap: 1px; }
.iv-m i { font-style: normal; }
/* rp weekly reports (reuses pr-body, pr-doc) */
.stage--rp { --glow: radial-gradient(28% 32% at 24% 30%, rgba(20, 184, 166, .46), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(245, 158, 11, .4), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(91, 91, 246, .4), transparent 70%); }
.rp-job { display: grid; gap: 4px; font-size: 11px; justify-items: start; }
.rp-job.is-act { border-color: #14b8a6; box-shadow: 0 0 0 1px #14b8a6; }
.rp-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rp-nums > div { display: grid; gap: 2px; padding: 10px; border-radius: 8px; background: var(--u-bg2); }
.rp-nums b { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.rp-up, .rp-dn { font-size: 10px; font-weight: 600; color: #15803d; }
.rp-dn { color: #b45309; }
.rp-body .pr-sec p { min-height: 72px; }
/* mt meeting notes (reuses pr-doc) */
.stage--mt { --glow: radial-gradient(28% 32% at 24% 30%, rgba(139, 92, 246, .5), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(14, 165, 233, .46), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(34, 197, 94, .34), transparent 70%); }
.mt-body { flex: 1; display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); align-items: start; }
.mt-tx { display: grid; gap: 8px; font-size: 11px; line-height: 1.45; }
.mt-tx .tt { margin-bottom: 0; }
.mt-tx b { display: block; font-size: 10px; color: var(--u-mut); }
.mt-notes { margin: 0; gap: 8px; }
.mt-notes .pr-sec p { min-height: 36px; }
.mt-a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 11px; padding-top: 6px; border-top: 1px solid var(--u-line); }
.mt-a .av { width: 22px; height: 22px; border: 0; }
.mt-side { display: grid; gap: 10px; min-width: 0; }
.mt-side .card-u { display: grid; gap: 8px; justify-items: start; }
.mt-side .card-u .tt { margin-bottom: 0; justify-self: stretch; }
.mt-mail p { font-size: 11.5px; line-height: 1.45; min-height: 68px; }
/* td tender reader */
.stage--td { --glow: radial-gradient(28% 32% at 24% 30%, rgba(244, 63, 94, .42), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(139, 92, 246, .5), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(14, 165, 233, .34), transparent 70%); }
.td-body { flex: 1; display: grid; grid-template-columns: 220px minmax(0, 1fr) 250px; gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); align-items: start; }
.td-col { display: grid; gap: 7px; }
.td-col .tt { margin-bottom: 2px; }
.td-r { display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; gap: 8px; align-items: center; padding-top: 6px; border-top: 1px solid var(--u-line); font-size: 11px; }
.td-r i { font-style: normal; text-align: right; }
.td-col2 { display: grid; gap: 10px; min-width: 0; }
.td-col2 .card-u { display: grid; gap: 8px; }
.td-col2 .tt { margin-bottom: 0; }
.td-sum p { font-size: 11.5px; line-height: 1.45; min-height: 50px; }
/* fl offline field inspection (two phones) */
.stage--fl { --glow: radial-gradient(28% 32% at 30% 34%, rgba(34, 197, 94, .46), transparent 70%), radial-gradient(26% 30% at 72% 66%, rgba(14, 165, 233, .5), transparent 70%), radial-gradient(20% 22% at 80% 18%, rgba(245, 158, 11, .32), transparent 70%); }
.fl-phone { border-radius: 34px; border: 6px solid #111527; }
.fl-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 6px; font-size: 11px; font-weight: 600; }
.fl-notch { width: 70px; height: 18px; border-radius: 99px; background: #111527; }
.fl-scr { flex: 1; display: grid; gap: 8px; align-content: start; padding: 8px 14px 14px; background: var(--u-bg2); }
.fl-h { display: grid; gap: 2px; padding: 4px 2px 6px; }
.fl-h b { font-size: 15px; }
.fl-i { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: center; padding: 10px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); font-size: 12px; }
.fl-i.is-warn { border-color: rgba(245, 158, 11, .6); }
.fl-i.is-warn .qg-i { background: rgba(245, 158, 11, .2); color: #b45309; }
.fl-ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fl-ph i { height: 54px; border-radius: 8px; background: linear-gradient(135deg, #94a3b8, #cbd5e1); }
.fl-ph .fl-add { display: grid; place-items: center; font-style: normal; font-size: 18px; color: var(--u-mut); background: var(--u-bg); border: 1px dashed var(--u-line); }
.fl-q { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; }
.fl-ai p { font-size: 11.5px; line-height: 1.45; min-height: 68px; }
.fl-sig { display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: var(--u-bg); border: 1px solid var(--u-line); color: var(--u-ink); }
.fl-sig svg { width: 140px; height: 34px; }
/* pt clickable prototype */
.stage--pt { --glow: radial-gradient(28% 32% at 24% 30%, rgba(91, 91, 246, .55), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(139, 92, 246, .48), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(245, 158, 11, .32), transparent 70%); }
.pt-body { flex: 1; position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 10px; padding: 26px 20px; min-height: 0; background: radial-gradient(circle, var(--u-line) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--u-bg2); }
.pt-frame { width: 200px; display: grid; gap: 6px; }
.pt-scr { position: relative; height: 330px; border-radius: 18px; border: 1px solid var(--u-line); background: var(--u-bg); padding: 16px 14px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; font-size: 11px; box-shadow: 0 10px 24px -16px rgba(20, 23, 38, .5); }
.pt-scr b { width: 100%; font-size: 14px; }
.pt-bar { width: 100%; height: 28px; border-radius: 8px; background: var(--u-bg2); }
.pt-chip { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--u-line); font-size: 10px; }
.pt-chip.is-on { background: #5b5bf6; border-color: transparent; color: #fff; }
.pt-slot { width: calc(33.33% - 6px); padding: 8px 0; border-radius: 8px; border: 1px solid var(--u-line); text-align: center; }
.pt-slot.is-on { border-color: #5b5bf6; color: #4338ca; font-weight: 600; }
.pt-in { width: 100%; padding: 8px 10px; border-radius: 8px; background: var(--u-bg2); }
.pt-ai { width: 100%; display: grid; gap: 4px; justify-items: start; padding: 8px 10px; border-radius: 8px; border: 1px dashed rgba(139, 92, 246, .6); font-size: 10.5px; }
.pt-btn { width: 100%; padding: 9px 0; border-radius: 8px; background: linear-gradient(135deg, #5b5bf6, #8b5cf6); color: #fff; font-weight: 600; text-align: center; }
.pt-ok { width: 100%; height: 70px; display: grid; place-items: center; font-size: 30px; color: #16a34a; }
.pt-hot { position: absolute; right: 24px; bottom: 54px; width: 24px; height: 24px; border-radius: 50%; background: rgba(91, 91, 246, .3); box-shadow: 0 0 0 7px rgba(91, 91, 246, .12); }
.pt-arrow { flex: none; width: 40px; margin-top: 170px; color: var(--u-mut); }
.pt-note { position: absolute; right: 22px; bottom: 18px; width: 230px; display: grid; gap: 4px; justify-items: start; padding: 10px 12px; border-radius: 6px; background: #fef3c7; color: #3f3a1f; font-size: 10.5px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .35); }
/* mv MVP admin (reuses the h- side menu) */
.stage--mv { --glow: radial-gradient(28% 32% at 24% 30%, rgba(14, 165, 233, .5), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(99, 102, 241, .5), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(34, 197, 94, .32), transparent 70%); }
.mv-main { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; background: var(--u-bg2); }
.mv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mv-kpis .card-u { display: grid; gap: 2px; }
.mv-kpis b { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.mv-list .tr { grid-template-columns: minmax(0, 1fr) 120px 80px; }
.mv-foot { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.mv-foot .sw { margin-left: auto; }
/* rb legacy rebuild */
.stage--rb { --glow: radial-gradient(28% 32% at 24% 30%, rgba(244, 63, 94, .44), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(245, 158, 11, .42), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(14, 165, 233, .36), transparent 70%); }
.rb-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; padding: 14px; min-height: 0; background: var(--u-bg2); align-items: start; }
.rb-list .tr { grid-template-columns: minmax(0, 1fr) 100px 110px; padding: 9px 2px; }
.rb-list .tr > :last-child { justify-self: stretch; }
.rb-list .tr.is-act { background: color-mix(in srgb, #0ea5e9 9%, var(--u-bg)); border-radius: 6px; }
.rb-list .bar { height: 6px; }
.rb-side { display: grid; gap: 10px; min-width: 0; }
.rb-side .card-u { display: grid; gap: 8px; }
.rb-side .tt { margin-bottom: 0; }
.rb-cmp { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 8px; align-items: center; font-size: 11px; }
.rb-sw b { font-size: 12px; }
.rb-sw .d-act { justify-content: flex-start; }
.urail .btn { display: inline-flex; padding: 0 16px; color: var(--bg); font-size: 14px; }
.feat .h2 { font-size: clamp(34px, 3.8vw, 62px); }
.fgrid { align-items: start; }

/* Launch pages: shared page header */
.phead { position: relative; isolation: isolate; padding-block: 26px clamp(36px, 5vw, 64px); display: grid; gap: 20px; }
.phead h1 { font-size: clamp(44px, 6.4vw, 108px); font-weight: 500; letter-spacing: -.056em; line-height: .94; max-width: 16ch; text-wrap: balance; }
.phead h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.phead .lead { max-width: 52ch; }
.phead__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.phead__row .chip { white-space: normal; line-height: 1.5; }
.count { display: inline-flex; align-items: baseline; gap: 10px; }
.count b { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -.05em; line-height: 1; background: linear-gradient(135deg, #8b8cff, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* Use-case hub */
.fbar { border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); margin-bottom: 22px; }
.fbar > summary { list-style: none; cursor: pointer; display: none; padding: 14px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fbar > summary::-webkit-details-marker { display: none; }
.fbar__in { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding: 16px; align-items: start; }
.fgrp { display: grid; gap: 8px; }
.fgrp > .mono { color: var(--muted); }
.fgrp--team { grid-column: 1 / -1; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchips button { font: 500 13.5px var(--sans); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.fchips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fsearch { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: var(--bg); }
.fsearch svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.fsearch input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--ink); font: 400 15px var(--sans); outline: none; }
.fmeta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); margin-bottom: 18px; }
.fmeta button { font: inherit; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; }
.ugrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ucard { display: grid; gap: 12px; align-content: start; padding: 20px 20px 22px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); position: relative; overflow: hidden; transition: border-color .25s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.ucard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--k), var(--k2)); }
.ucard:hover { border-color: var(--k); transform: translateY(-3px); }
.ucard__top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.ucard h3 { font-size: 21px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.ucard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ucard__tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.ucard__tags .pf { border-color: transparent; background: color-mix(in srgb, var(--k) 20%, transparent); color: var(--ink); }
.ucard__go { margin-top: auto; color: var(--muted); font-size: 14px; }
.ucard:hover .ucard__go { color: var(--accent); }
/* Automation library cards (12 Nov 2026): a small concept screen, the team, the title and what it replaces */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acard { display: grid; gap: 10px; align-content: start; padding: 16px 16px 20px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.acard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--k), var(--k2)); }
.acard:hover { border-color: var(--k); transform: translateY(-3px); }
.acard__mock { display: grid; gap: 5px; justify-items: start; margin-bottom: 4px; padding: 12px 14px; border-radius: 10px; background: var(--u-bg); color: var(--u-ink); border: 1px solid var(--u-line); font-size: 12px; box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .6); }
.acard__mock b { font-size: 12.5px; font-weight: 600; }
.acard__mock > span:not(.pill):not(.acard__bar) { color: var(--u-mut); font-size: 11.5px; }
.acard__mock .pill { margin-top: 3px; }
.acard__bar { display: flex; gap: 4px; margin-bottom: 3px; }
.acard__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--u-line); }
.acard__team { color: var(--muted); }
.acard h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.acard p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.acard p .mono { display: block; margin-bottom: 2px; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.acard .ucard__go { margin-top: 4px; }
.acard:hover .ucard__go { color: var(--accent); }
@media (max-width: 1100px) { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .agrid { grid-template-columns: 1fr; } }
.fcard { display: grid; gap: 14px; align-content: center; padding: 26px; border-radius: 14px; color: #fff; position: relative; overflow: hidden; isolation: isolate; background: #14123a; }
.fcard::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(35% 40% at 25% 30%, rgba(91, 91, 246, .9), transparent 70%), radial-gradient(35% 40% at 80% 75%, rgba(236, 72, 153, .75), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.fcard b { font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.fcard p { color: rgba(255, 255, 255, .85); }
.fcard .btn { background: #fff; color: #14123a; justify-self: start; }
.irow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.irow a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; }
.irow a:hover { border-color: var(--ink); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 14px; }

/* Pricing */
.types--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ptable .stk { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .9fr); }
.ptable .stk h3 { font-size: clamp(20px, 1.7vw, 26px); }
.ptable .range { font-size: 20px; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* How we build */
.types--3x2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ladder--time .step dl { grid-template-columns: auto; }

/* Build notes */
.latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: 18px; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, #5b5bf6, #14b8a6, #ec4899) border-box; border: 1.5px solid transparent; }
.latest__t { display: grid; gap: 14px; }
.latest__t .mono { color: var(--muted); }
.latest__t b { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
.latest__t p { color: var(--ink-2); }
.latest__t .btn { justify-self: start; }
.nlist { border-top: 1px solid var(--line); }
.nrow { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 280px) 24px; gap: 20px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); transition: padding-left .3s cubic-bezier(.2, .7, .2, 1); }
.nrow:hover { padding-left: 10px; }
.nrow__d { color: var(--muted); }
.nrow__t { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; }
.nrow__u { color: var(--muted); }
.nrow__a { font-weight: 300; font-size: 20px; justify-self: end; }
.nrow:hover .nrow__a { color: var(--accent); }
.article { max-width: 720px; margin-inline: auto; display: grid; gap: 22px; padding-block: 26px clamp(60px, 8vw, 110px); }
.article h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; text-wrap: balance; }
.byline { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-block: 1px solid var(--line); color: var(--muted); }
.byline .av { width: 36px; height: 36px; border: 0; font-size: 10px; }
.article h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-top: 18px; }
.article p { font-size: 18.5px; line-height: 1.65; color: var(--ink-2); }
.article p strong { color: var(--ink); font-weight: 500; }
.article figure { margin-inline: calc(-1 * clamp(0px, 6vw, 120px)); }
.article figcaption { color: var(--muted); margin-top: 10px; text-align: center; }
.sample { display: inline-flex; align-self: start; justify-self: start; }

/* Legal and 404 */
.legal-doc { max-width: 760px; display: grid; gap: 22px; padding-block: 26px clamp(60px, 8vw, 110px); }
.legal-doc h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.toc { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); counter-reset: toc; }
.toc a { color: var(--ink-2); font-size: 15.5px; }
.toc a:hover { color: var(--accent); }
.legal-doc section { display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.legal-doc h2 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.legal-doc p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.todo { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--warn); }
.nf { position: relative; isolation: isolate; display: grid; gap: 22px; justify-items: start; padding-block: clamp(40px, 8vw, 120px); min-height: 60vh; align-content: center; }
.nf__big { font-size: clamp(120px, 24vw, 360px); font-weight: 500; letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.nf h1 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.nf .fsearch { width: min(520px, 100%); }

@media (max-width: 1100px) {
  .ugrid, .types--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbar__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fbar > summary { display: block; }
  .fbar[open] > summary { border-bottom: 1px solid var(--line); }
  .latest { grid-template-columns: minmax(0, 1fr); }
  .nrow { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 14px; }
  .nrow__d, .nrow__u { grid-column: 1; }
  .nrow__a { grid-row: 1 / span 3; grid-column: 2; align-self: center; }
  .types--3x2 { grid-template-columns: minmax(0, 1fr); }
  .ptable .stk { grid-template-columns: minmax(0, 1fr); }
  .article figure { margin-inline: 0; }
}
@media (max-width: 640px) {
  .ugrid, .types--4 { grid-template-columns: minmax(0, 1fr); }
  .fbar__in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .fcard::before { animation: none !important; } }

/* Idea finder */
.phead--c { justify-items: center; text-align: center; }
.phead--c h1 { max-width: 14ch; }
.phead--c .lead { max-width: 58ch; }
.qz { position: relative; isolation: isolate; overflow: hidden; max-width: 860px; margin-inline: auto; display: grid; gap: 22px; padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); }
.qz::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 90%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, #ec4899 22%, transparent), transparent); }
.qz__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qz__back, .again { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.qz__back:hover:not(:disabled), .again:hover { color: var(--accent); }
.qz__back:disabled { opacity: .35; cursor: default; }
.qz__step { color: var(--muted); }
.qz__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.qz__bar i { height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; position: relative; }
.qz__bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #5b5bf6, #ec4899); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.qz__bar i.on::after { transform: scaleX(1); }
.qz__q { display: grid; gap: 22px; animation: qin .45s cubic-bezier(.2, .7, .2, 1) both; }
.qz__q.is-back { animation-name: qback; }
@keyframes qin { from { opacity: 0; transform: translateX(28px); } }
@keyframes qback { from { opacity: 0; transform: translateX(-28px); } }
.qz__q h2 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.qz__q p { color: var(--ink-2); margin-top: -10px; }
.qz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz__opts button { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 16px; text-align: left; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 500 16.5px/1.3 var(--sans); cursor: pointer; transition: border-color .2s, transform .2s, background-color .2s; }
.qz__opts button:hover { border-color: var(--ink); transform: translateY(-2px); }
.qz__opts button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.qz__opts kbd { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; border: 1px solid var(--line-2); font: 500 11px var(--mono); color: var(--muted); }
.qz__opts button[aria-pressed="true"] kbd { border-color: var(--accent); color: var(--accent); }
.qz__hint { color: var(--muted); text-align: center; }
.res__head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.res__ans { display: flex; flex-wrap: wrap; gap: 8px; }
.res__ans .chip { white-space: normal; }
.ucard__rank { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ucard__rank b { font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--k); }
.fitbar { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.fitbar i { display: block; height: 100%; width: var(--f); border-radius: inherit; background: linear-gradient(90deg, var(--k), var(--k2)); }
.ucard .why { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.res__book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(28px, 4vw, 72px); align-items: start; }
.res__say { display: grid; gap: 18px; align-content: start; }
.res__say .h2 { font-size: clamp(34px, 4vw, 64px); }
.res__sent { display: grid; gap: 8px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--ink-2); }
.res__sent li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.res__sent li span:first-child { color: var(--muted); }
#qz-again { margin-top: 24px; }

/* Build estimator */
.esti { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.esti__in { display: grid; gap: 22px; }
.eq { display: grid; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.eq__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.eq__h h2 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.03em; }
.eq__h .mono { color: var(--muted); }
.eq__d { color: var(--muted); font-size: 15px; margin-top: -6px; }
.chs { display: flex; flex-wrap: wrap; gap: 8px; }
.chs button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 15px var(--sans); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chs button:hover { border-color: var(--ink); }
.chs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.uclist { display: grid; gap: 6px; max-height: 336px; overflow: auto; padding-right: 4px; overscroll-behavior: contain; }
.uclist button { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; text-align: left; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 500 15px/1.3 var(--sans); cursor: pointer; transition: border-color .2s, background-color .2s; }
.uclist button:hover { border-color: var(--line-2); }
.uclist button .mono { flex: none; color: var(--muted); font-size: 10.5px; }
.uclist button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); }
.uclist .empty { padding: 18px; }
.esti__out { position: sticky; top: calc(var(--head-h) + 28px); }
.eout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(22px, 3vw, 40px); }
.eout__top { display: flex; justify-content: space-between; gap: 12px; color: rgba(255, 255, 255, .75); }
.eout__top span:last-child { text-align: right; color: #fff; }
.eout__w { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.eout__w b { font-size: clamp(54px, 6.4vw, 104px); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.eout__w > span { font-size: 22px; color: rgba(255, 255, 255, .8); }
.eout__p { font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.esplit { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.esplit i { display: block; height: 100%; transition: flex-grow .5s cubic-bezier(.2, .7, .2, 1); }
.esplit__b { background: #fff; }
.esplit__p { background: #f9a8d4; }
.esplit__v { background: #a5b4fc; }
.esplit__k { display: flex; flex-wrap: wrap; gap: 6px 16px; color: rgba(255, 255, 255, .8); }
.esplit__k li { display: flex; align-items: center; gap: 6px; }
.esplit__k i { width: 8px; height: 8px; border-radius: 50%; }
.eout__dl { display: grid; border-top: 1px solid rgba(255, 255, 255, .22); }
.eout__dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding-block: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.eout__dl dt { color: rgba(255, 255, 255, .7); padding-top: 3px; }
.eout__dl dd { font-size: 15px; color: rgba(255, 255, 255, .92); }
.eout__go { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; }
.esave { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.esave input { min-width: 0; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; font: 400 15px var(--sans); outline: none; }
.esave input::placeholder { color: rgba(255, 255, 255, .55); }
.esave input:focus { border-color: #fff; }
.esave button { height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: #fff; color: #14123a; font: 500 15px var(--sans); cursor: pointer; }
.esave__msg { grid-column: 1 / -1; color: rgba(255, 255, 255, .75); }
.hp { max-width: 760px; display: grid; gap: 16px; }
.hp p:first-child { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.hp a, .ilink { color: var(--accent); }

/* Demo page */
.xdemo { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--panel); }
.xdemo__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.xdemo__dots { display: flex; gap: 6px; }
.xdemo__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.xdemo__dots i:nth-child(2) { background: #febc2e; }
.xdemo__dots i:nth-child(3) { background: #28c840; }
.xdemo__tag { margin-left: auto; padding: 3px 8px; border-radius: 999px; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 50%, transparent); }
.xdemo__x { display: none; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; color: var(--ink); cursor: pointer; }
.xdemo__try { display: none; }
.xdemo__body { display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.xdemo .sim { border: 0; border-left: 1px solid var(--line-2); }
.samples { display: grid; gap: 12px; align-content: start; padding: 18px; }
.samples__list { display: grid; gap: 8px; }
.samples__list button { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; text-align: left; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.samples__list button:hover { border-color: var(--line-2); }
.samples__list button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.samples__list b { display: block; font-weight: 500; font-size: 14.5px; }
.samples__list .mono { color: var(--muted); font-size: 10px; }
.sample__th { width: 38px; height: 48px; padding: 7px 6px; display: grid; gap: 4px; align-content: start; border-radius: 3px; background: #fbfbf7; }
.sample__th i { height: 3px; border-radius: 1px; background: #c9cad2; }
.sample__th i:first-child { width: 70%; background: #5b5bf6; }
.sample__th i:nth-child(3) { width: 80%; }
.drop { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 14px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.drop svg { width: 22px; height: 22px; }
.drop b { color: var(--ink-2); font-weight: 500; }
.paper__h { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.paper__fine { font-size: 11.5px; color: #4a4c57; }
.xdemo .paper { position: relative; overflow: hidden; }
.xdemo .sim.is-run .paper:not([hidden])::after { content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 60px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(99, 114, 255, .28)); border-bottom: 2px solid #6372ff; animation: scan 1s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes scan { to { top: 100%; } }
.xdemo .sim.is-run .fld { animation: fldin .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.75s + var(--i) * .08s); }
@keyframes fldin { from { opacity: 0; transform: translateY(8px); } }
.otabs { justify-self: start; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.otabs button { padding: 6px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: 500 13px var(--sans); cursor: pointer; }
.otabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.json { max-height: 392px; overflow: auto; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink-2); font: 12.5px/1.65 var(--mono); white-space: pre; }
.json .k { color: var(--accent); }
.json .s { color: var(--ok); }
.json .w { color: var(--warn); }
#sim-run { justify-self: start; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs > div { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); }
.vs h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.vs ul { display: grid; gap: 12px; }
.vs li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 16.5px; }
.vs li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.vs .is-real { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 9%, var(--panel)); }
.vs .is-real li::before { border: 0; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Sample demos on the use-case pages (12 Nov 2026): the extraction demo's frame, with a played-out run */
.sdemo { margin-top: 40px; }
.sdemo .run { display: grid; gap: 12px; align-content: start; padding: 18px; border-left: 1px solid var(--line-2); min-width: 0; }
.run__in { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.run__in .mono, .rstep .mono { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.run__in b { font-size: 15px; font-weight: 500; }
.run__in p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.run__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rstep { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); }
.rstep p { font-size: 14.5px; line-height: 1.45; }
.rstep--ai { border-color: color-mix(in srgb, #8b5cf6 35%, var(--line)); background: color-mix(in srgb, #8b5cf6 8%, transparent); }
.rstep--ai .mono { color: #8b5cf6; }
.rstep--tool .mono { color: #14b8a6; }
.rstep--check .mono { color: #f59e0b; }
.rstep--in .mono { color: var(--ink-2); }
.run__out { display: grid; gap: 6px; justify-items: start; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, #22c55e 45%, var(--line)); background: color-mix(in srgb, #22c55e 8%, transparent); }
.run__out.is-person { border-color: color-mix(in srgb, #f59e0b 50%, var(--line)); background: color-mix(in srgb, #f59e0b 8%, transparent); }
.run__out p { font-size: 15px; line-height: 1.45; }
.run__out .mono { font-size: 10.5px; color: var(--muted); }
.run__ctl { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.run__ctl .thr { flex: 1 1 260px; max-width: 420px; }
.sdemo .run.is-run .rstep { animation: fldin .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.15s + var(--i) * .5s); }
.sdemo .run.is-run .run__out { animation: fldin .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.15s + var(--n, 3) * .5s); }
@media (max-width: 1100px) { .sdemo .run { border-left: 0; } }
@media (max-width: 640px) { .rstep { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .sdemo .run.is-run .rstep, .sdemo .run.is-run .run__out { animation: none; } }

/* Industry page */
.wcard { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 3.4vw, 52px); border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); }
.wcard::before { content: ""; position: absolute; inset: -40% auto auto -20%; width: 70%; height: 120%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, #f59e0b 16%, transparent), transparent); }
.wcard__copy { display: grid; gap: 16px; justify-items: start; }
.wcard h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.wcard p { color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.figs--card { border-top: 0; }
.figs--card b { font-size: clamp(40px, 4.4vw, 72px); }
.est__ch a, .est__on { font: 500 14px var(--sans); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; transition: background-color .2s, color .2s; }
.est__ch a:hover { background: #fff; color: #14123a; }
.est__on { background: #fff; color: #14123a; border-color: #fff; }

/* Cost guide */
.article--head { padding-bottom: clamp(20px, 3vw, 40px); }
.article .answer { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; color: var(--ink-2); padding: 18px 0 18px 18px; border-left: 3px solid var(--accent); }
.article .answer strong { color: var(--ink); }
.types--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tips { display: grid; border-top: 1px solid var(--line-2); counter-reset: tip; max-width: 1100px; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 64px minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.tips li::before { content: "0" counter(tip); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.tips b { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.tips span { color: var(--ink-2); font-size: 16.5px; }

@media (max-width: 1100px) {
  .types--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xdemo__body { grid-template-columns: minmax(0, 1fr); }
  .samples { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; border-bottom: 1px solid var(--line-2); }
  .samples > .mono { grid-column: 1 / -1; }
  .samples__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xdemo .sim { border-left: 0; }
}
@media (max-width: 900px) {
  .esti, .res__book, .wcard, .vs { grid-template-columns: minmax(0, 1fr); }
  .esti__out { position: static; }
  .types--5 { grid-template-columns: minmax(0, 1fr); }
  .types--5 .type { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .types--5 .type .glyph { grid-row: 1 / span 2; }
  .tips li { grid-template-columns: 40px minmax(0, 1fr); }
  .tips span { grid-column: 2; }
  .samples { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .xdemo:not(.is-full) .xdemo__body { display: none; }
  .xdemo:not(.is-full) .xdemo__try { display: grid; gap: 16px; justify-items: start; padding: 22px 18px; color: var(--ink-2); }
  .xdemo.is-full { position: fixed; inset: 0; z-index: 70; border: 0; border-radius: 0; overflow: auto; overscroll-behavior: contain; }
  .xdemo.is-full .xdemo__bar { position: sticky; top: 0; z-index: 2; background: var(--panel); padding-top: max(10px, env(safe-area-inset-top)); }
  .xdemo.is-full .xdemo__x { display: inline-flex; }
  .xdemo.is-full .xdemo__tag { margin-left: auto; }
  .xdemo .xdemo__bar > span.mono:not(.xdemo__tag) { display: none; }
  .samples__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .qz__opts { grid-template-columns: minmax(0, 1fr); }
  .qz__hint { display: none; }
  .res__sent li, .eout__dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .qz__q, .xdemo .sim.is-run .fld { animation: none; }
  .xdemo .sim.is-run .paper::after { display: none; }
}
