/* Layout concept: an open box. Dark "ink" bands where the logo's three squares lift out of the
   box and become the AI assistants; light "paper" bands built from square tiles like the logo's blocks. */
:root {
  /* colour tokens (light) */
  --paper: #F4F6FB;
  --surface: #FFFFFF;
  --surface-2: #ECF0F8;
  --text: #11163A;
  --muted: #565E85;
  --line: rgba(17, 22, 58, .11);
  --blue: #5A76BA;          /* brand blue (logo box) */
  --blue-ink: #3D569A;      /* blue for text on light */
  --mag: #BD5CA3;           /* brand magenta (logo blocks) */
  --mag-ink: #973E7F;
  --ink: #0C112B;           /* dark bands, always dark */
  --ink-2: #151C45;
  --ink-3: #1D2556;
  --on-ink: #EAEDFB;
  --on-ink-muted: #A9B1D8;
  --ink-line: rgba(234, 237, 251, .13);
  --ok: #2F9E6E;
  --warn: #D2961B;
  --bad: #D14560;
  --logo-blue: #5A76BA;
  --logo-mag: #BD5CA3;
  --shadow: 0 1px 2px rgba(17, 22, 58, .06), 0 18px 40px -18px rgba(17, 22, 58, .28);
  --shadow-lg: 0 2px 4px rgba(12, 17, 43, .08), 0 40px 80px -30px rgba(12, 17, 43, .45);

  /* type tokens */
  --f-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --fs-hero: clamp(2.7rem, 1.5rem + 4.6vw, 5.1rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.3vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 1.08rem + .6vw, 1.55rem);
  --fs-lead: clamp(1.06rem, .99rem + .35vw, 1.24rem);
  --fs-small: .875rem;

  /* shape */
  --r-box: 20px;
  --r-tile: 14px;
  --r-sm: 9px;
  --wrap: 1220px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #090C1E;
    --surface: #10153A;
    --surface-2: #161C46;
    --text: #E8EBF8;
    --muted: #A3ABD0;
    --line: rgba(232, 235, 248, .11);
    --blue: #8199D8;
    --blue-ink: #AFC0EE;
    --mag: #D47EBD;
    --mag-ink: #E9A9D7;
    --ink: #05071A;
    --ink-2: #0E1334;
    --ink-3: #161D49;
    --logo-blue: #FFFFFF;
    --logo-mag: #FFFFFF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #090C1E;
  --surface: #10153A;
  --surface-2: #161C46;
  --text: #E8EBF8;
  --muted: #A3ABD0;
  --line: rgba(232, 235, 248, .11);
  --blue: #8199D8;
  --blue-ink: #AFC0EE;
  --mag: #D47EBD;
  --mag-ink: #E9A9D7;
  --ink: #05071A;
  --ink-2: #0E1334;
  --ink-3: #161D49;
  --logo-blue: #FFFFFF;
  --logo-mag: #FFFFFF;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.62 var(--f-body);
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img, svg, video, iframe { max-width: 100%; }
a { color: var(--blue-ink); text-underline-offset: .2em; }
a:hover { color: var(--mag-ink); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.022em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

.band { padding-block: clamp(64px, 6vw + 32px, 128px); position: relative; }
.ink {
  --text: var(--on-ink); --muted: var(--on-ink-muted); --line: var(--ink-line);
  --surface: var(--ink-2); --surface-2: var(--ink-3);
  --blue-ink: #AFC0EE; --mag-ink: #EBA9D8;
  --logo-blue: #FFFFFF; --logo-mag: #FFFFFF;
  background: var(--ink); color: var(--on-ink);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mag-ink);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--mag); box-shadow: 13px -7px 0 -2px var(--blue); margin-right: 8px; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 60px); }
.sec-head h2 { font-size: var(--fs-h2); font-weight: 700; }
.sec-head .lead { font-size: var(--fs-lead); color: var(--muted); max-width: 64ch; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.grad-text { background: linear-gradient(100deg, var(--blue) 0%, var(--mag) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ink .grad-text { background-image: linear-gradient(100deg, #9DB2F0 0%, #E79AD3 70%); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--mag); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -12px rgba(189, 92, 163, .7);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 30px -12px rgba(189, 92, 163, .85); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { --bg: transparent; --fg: var(--text); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--blue); box-shadow: none; }
.btn.blue { --bg: var(--blue); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -12px rgba(90,118,186,.8); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent);
  font: 500 .82rem/1.2 var(--f-body); color: var(--muted);
}
.pill b { color: var(--text); font-weight: 600; }
.pill .new { background: var(--mag); color: #fff; font: 700 .66rem/1 var(--f-mono); letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  color: var(--on-ink);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-head .bar { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.site-head.scrolled { background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--ink-line); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { height: 34px; width: auto; display: block; }
.site-head .brand svg { --logo-blue: #FFFFFF; --logo-mag: #FFFFFF; }
.logo-b { fill: var(--logo-blue); }
.logo-m { fill: var(--logo-mag); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--on-ink-muted); text-decoration: none; font: 500 .93rem/1 var(--f-body); padding: 10px 12px; border-radius: 9px; transition: color .2s, background-color .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .new-dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--mag); margin-left: 6px; vertical-align: 2px; }
.head-tools { display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--ink-line); color: var(--on-ink); background: transparent; font: 600 .8rem/1 var(--f-mono); cursor: pointer;
}
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--mag)); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
@media (max-width: 1060px) {
  .nav { position: fixed; inset: calc(74px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); background: var(--ink); border-bottom: 1px solid var(--ink-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; }
  .menu-btn { display: grid; }
  .head-tools { margin-left: auto; }
  .head-tools .btn { display: none; }
}
@media (min-width: 1061px) { .head-tools { margin-left: 8px; } }
@media (max-width: 480px) {
  .site-head .bar { gap: 10px; }
  .brand svg { height: 27px; }
  .lang { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -74px; padding-top: calc(74px + clamp(28px, 4vw, 64px)); padding-bottom: clamp(56px, 6vw, 104px); isolation: isolate; }
.hero .aurora { position: absolute; inset: -20% -10% auto; height: 140%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(90, 118, 186, .55), transparent 70%),
    radial-gradient(34% 44% at 82% 22%, rgba(189, 92, 163, .42), transparent 70%),
    radial-gradient(40% 40% at 60% 85%, rgba(90, 118, 186, .30), transparent 70%);
  filter: blur(10px); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero .grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 60% 40%, #000 0%, transparent 75%); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); } }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 .l2 { display: block; }
.hero .lead { font-size: var(--fs-lead); color: var(--on-ink-muted); max-width: 54ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ctas .btn.ghost { --fg: var(--on-ink); border-color: var(--ink-line); }
.hero .micro { font-size: var(--fs-small); color: var(--on-ink-muted); display: flex; align-items: center; gap: 8px; }
.hero .micro::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 158, 110, .2); }

/* hero visual: the logo's box + three blocks that lift out and become cards */
.hero-visual { position: relative; min-width: 0; }
.hv-stage { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 100 / 92; container-type: inline-size; }
.hv-box { position: absolute; left: 8cqi; top: 34cqi; width: 67.4cqi; height: 54cqi; border: 1.6cqi solid #6F8AD0; border-radius: 4.2cqi;
  background: linear-gradient(180deg, rgba(21, 28, 69, .92), rgba(12, 17, 43, .94)); box-shadow: 0 30px 80px -30px rgba(90, 118, 186, .7), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.hv-ui { position: absolute; inset: 0; display: grid; grid-template-columns: 13cqi 1fr; }
.hv-side { border-right: 1px solid var(--ink-line); padding: 3.4cqi 2.2cqi; display: grid; gap: 2.2cqi; align-content: start; }
.hv-side i { display: block; height: 1.6cqi; border-radius: 1cqi; background: rgba(234, 237, 251, .14); }
.hv-side i:first-child { background: rgba(189, 92, 163, .7); width: 70%; }
.hv-main { padding: 3.4cqi 3cqi; display: grid; gap: 1.9cqi; align-content: start; }
.hv-row { height: 3.1cqi; border-radius: .8cqi; background: linear-gradient(90deg, rgba(234,237,251,.08), rgba(234,237,251,.14), rgba(234,237,251,.08)); background-size: 200% 100%; animation: shimmer 2.6s linear infinite; }
.hv-row.h { background: rgba(129, 153, 216, .35); height: 3.4cqi; width: 46%; animation: none; }
.hv-row:nth-child(3) { animation-delay: .2s } .hv-row:nth-child(4) { animation-delay: .4s } .hv-row:nth-child(5) { animation-delay: .6s } .hv-row:nth-child(6) { animation-delay: .8s }
@keyframes shimmer { to { background-position: -200% 0; } }

.hv-card { position: absolute; border-radius: 3cqi; background: rgba(244, 246, 251, .97); color: #11163A; box-shadow: 0 30px 60px -24px rgba(5, 7, 26, .7), 0 0 0 1px rgba(255,255,255,.6) inset;
  padding: 3cqi 3.2cqi; font-size: 2.35cqi; line-height: 1.4; transform-origin: 0 0; }
.hv-card .hc-top { display: flex; align-items: center; gap: 1.6cqi; font: 700 2cqi/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #5A6283; margin-bottom: 2cqi; }
.hv-card .hc-top .sq { width: 2.2cqi; height: 2.2cqi; border-radius: .5cqi; background: #BD5CA3; }
.c-chat { left: 22cqi; top: 4cqi; width: 54cqi; }
.c-kpi { left: 59cqi; top: 41cqi; width: 41cqi; }
.c-mon { left: 0; top: 63cqi; width: 45cqi; }
.c-chat .q { justify-self: end; margin-left: auto; width: fit-content; max-width: 92%; background: #5A76BA; color: #fff; padding: 1.7cqi 2.4cqi; border-radius: 2.2cqi 2.2cqi .6cqi 2.2cqi; font-weight: 500; }
.c-chat .a { margin-top: 2cqi; display: grid; gap: 1.4cqi; }
.c-chat .a p { color: #3A4166; }
.c-chat table { width: 100%; border-collapse: collapse; font-size: 2.15cqi; font-variant-numeric: tabular-nums; }
.c-chat td { padding: .9cqi .4cqi; border-top: 1px solid rgba(17, 22, 58, .09); }
.c-chat td:last-child { text-align: right; color: #C03A5A; font-weight: 600; }
.c-chat .chips { display: flex; flex-wrap: wrap; gap: 1cqi; }
.c-chat .chips span { font-size: 1.85cqi; padding: .8cqi 1.6cqi; border-radius: 99px; border: 1px solid rgba(90, 118, 186, .35); color: #3D569A; background: rgba(90,118,186,.07); }
.typing { display: inline-flex; gap: .8cqi; padding: 1.2cqi 0; }
.typing i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; background: #8A93B8; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes blink { 0%, 100% { opacity: .25 } 50% { opacity: 1 } }
.c-kpi .big { font: 800 5.8cqi/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.c-kpi .delta { color: #2F9E6E; font-weight: 600; margin-top: 1cqi; }
.c-kpi svg { display: block; width: 100%; height: 9cqi; margin-top: 1.6cqi; overflow: visible; }
.c-mon .status { display: flex; align-items: center; gap: 1.4cqi; font-weight: 600; }
.c-mon .status::before { content: ""; width: 1.8cqi; height: 1.8cqi; border-radius: 50%; background: #2F9E6E; box-shadow: 0 0 0 .9cqi rgba(47,158,110,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 1.6cqi rgba(47,158,110,0); } }
.c-mon .meter { display: grid; grid-template-columns: repeat(16, 1fr); align-items: end; gap: .6cqi; height: 8cqi; margin-top: 1.8cqi; }
.c-mon .meter i { display: block; border-radius: .5cqi .5cqi 0 0; background: #8199D8; height: var(--h); animation: meter 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.17s); transform-origin: bottom; }
.c-mon .meter i.hi { background: #BD5CA3; }
@keyframes meter { 0% { transform: scaleY(.55); } 100% { transform: scaleY(1); } }
.c-mon .sub { color: #5A6283; margin-top: 1cqi; font-variant-numeric: tabular-nums; }

/* hero intro: the logo first, then the blocks grow into the cards (plays once; the rest state is the final layout) */
.intro .hv-card { animation: lift 1.15s cubic-bezier(.7, 0, .2, 1) both; animation-delay: var(--d, .5s); }
.intro .hv-card > * { animation: fadeUp .5s ease both; animation-delay: calc(var(--d, .5s) + .95s); }
.intro .hv-box { animation: openBox 1.1s cubic-bezier(.7, 0, .2, 1) both .45s; }
.intro .hv-ui { animation: fadeIn .6s ease both 1.25s; }
.intro .c-chat { --d: .55s; --sx: -3cqi; --sy: -4cqi; --s: 22.3cqi; }
.intro .c-kpi  { --d: .7s;  --sx: -17.5cqi; --sy: -12.8cqi; --s: 17cqi; }
.intro .c-mon  { --d: .62s; --sx: 0cqi; --sy: -39.3cqi; --s: 10.1cqi; }
@keyframes lift {
  0% { transform: translate(var(--sx), var(--sy)) scale(.4); clip-path: inset(0 calc(100% - var(--s)) calc(100% - var(--s)) 0 round 1.4cqi); background: #BD5CA3; box-shadow: none; }
  18% { transform: translate(var(--sx), var(--sy)) scale(1); clip-path: inset(0 calc(100% - var(--s)) calc(100% - var(--s)) 0 round 1.4cqi); background: #BD5CA3; box-shadow: none; }
  100% { transform: none; clip-path: inset(0 0 0 0 round 3cqi); background: rgba(244, 246, 251, .97); }
}
@keyframes openBox {
  0% { border-width: 5.3cqi; height: 67.4cqi; border-color: #5A76BA; transform: scale(.82); transform-origin: 30% 40%; background: transparent; }
  25% { border-width: 5.3cqi; height: 67.4cqi; transform: scale(1); background: transparent; }
  100% { border-width: 1.6cqi; height: 54cqi; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(1.2cqi); } to { opacity: 1; transform: none; } }
.float .c-chat { animation: bob 7s ease-in-out infinite; }
.float .c-kpi { animation: bob 6s ease-in-out infinite -2s; }
.float .c-mon { animation: bob 8s ease-in-out infinite -4s; }
@keyframes bob { 50% { transform: translateY(-1.1cqi); } }
.hv-note { position: absolute; right: 0; bottom: -2cqi; font: 500 1.7cqi/1 var(--f-mono); color: var(--on-ink-muted); letter-spacing: .06em; }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--ink-line); }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.stat { padding: 28px 22px; border-left: 1px solid var(--ink-line); display: grid; gap: 6px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 700 clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem)/1 var(--f-display); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { color: var(--on-ink-muted); font-size: .92rem; }
@media (max-width: 640px) { .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink-line); } .stat:first-child { border-top: 0; } }

/* ---------- AI team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.agent {
  position: relative; display: grid; gap: 14px; align-content: start; padding: 28px 26px 26px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, border-color .25s ease;
  text-decoration: none; color: var(--text);
}
.agent:hover { border-color: color-mix(in srgb, var(--blue) 50%, var(--line)); color: var(--text); }
.agent .mark { position: relative; width: 52px; height: 52px; }
.agent .mark::before { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 40px; border: 4px solid var(--blue); border-radius: 9px; }
.agent .mark::after { content: ""; position: absolute; left: 30px; top: 0; width: 18px; height: 18px; border-radius: 4px; background: var(--mag); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.agent:hover .mark::after { transform: translate(4px, -4px) rotate(8deg); }
.agent .mark svg { position: absolute; left: 10px; bottom: 10px; width: 20px; height: 20px; color: var(--blue); }
.agent .tag { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mag-ink); }
.agent h3 { font-size: var(--fs-h3); }
.agent p { color: var(--muted); }
.agent .more { margin-top: 4px; font-weight: 600; color: var(--blue-ink); display: inline-flex; gap: 6px; align-items: center; }
.agent .more::after { content: "\2192"; transition: transform .2s; }
.agent:hover .more::after { transform: translateX(4px); }
.agent.alt { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--on-ink); border-color: transparent; }
.agent.alt p { color: var(--on-ink-muted); }
.agent.alt .tag { color: #EBA9D8; }
.agent.alt .minis { display: flex; flex-wrap: wrap; gap: 8px; }
.agent.alt .minis span { font-size: .85rem; padding: 7px 11px; border-radius: 9px; background: rgba(255,255,255,.07); border: 1px solid var(--ink-line); }

/* question marquee */
.marquee { margin-top: clamp(40px, 5vw, 64px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .q { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .95rem; white-space: nowrap; }
.marquee .q::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--mag); }
.marquee .q:nth-child(3n)::before { background: var(--blue); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- demos ---------- */
.demo-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.demo-shell > * { min-width: 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1px solid var(--ink-line); color: var(--on-ink-muted); font: 600 .93rem/1 var(--f-body);
}
.tab .sq { width: 10px; height: 10px; border-radius: 3px; background: var(--on-ink-muted); opacity: .5; transition: background-color .2s, opacity .2s; }
.tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .25); }
.tab[aria-selected="true"] .sq { background: var(--mag); opacity: 1; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.frame {
  position: relative; border-radius: 22px; padding: 1.5px;
  background: conic-gradient(from var(--angle), rgba(90,118,186,.9), rgba(189,92,163,.9), rgba(90,118,186,.15), rgba(189,92,163,.9), rgba(90,118,186,.9));
  animation: spin 9s linear infinite; box-shadow: 0 50px 120px -40px rgba(90, 118, 186, .55);
}
@keyframes spin { to { --angle: 360deg; } }
.frame-in { border-radius: 21px; overflow: hidden; background: #0B0F27; }
.chrome { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #141A3D; border-bottom: 1px solid var(--ink-line); }
.chrome .dots { display: flex; gap: 7px; }
.chrome .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A4275; }
.chrome .dots i:first-child { background: #E26D6D; } .chrome .dots i:nth-child(2) { background: #E2B56D; } .chrome .dots i:nth-child(3) { background: #61C38B; }
.chrome .url { flex: 1; min-width: 0; text-align: center; font: 500 .8rem/1 var(--f-mono); color: var(--on-ink-muted); background: rgba(255,255,255,.05); border-radius: 8px; padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome a { color: var(--on-ink-muted); font-size: .8rem; text-decoration: none; white-space: nowrap; }
.chrome a:hover { color: #fff; }
.viewport { position: relative; aspect-ratio: 16 / 9.4; background: #F4F6FB; }
@media (max-width: 720px) { .viewport { aspect-ratio: 3 / 4; } }
.viewport { overflow: hidden; }
.viewport iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.poster { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 70% at 50% 40%, #1A2252, #0B0F27); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: .5; filter: saturate(.9); transition: transform .8s ease, opacity .3s; }
.poster:hover img { transform: scale(1.03); opacity: .58; }
.poster .play { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; color: #fff; max-width: 520px; }
.poster .play h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
.poster .play p { color: #C9CFEA; }
.poster .play .btn { margin-top: 6px; }
.poster .play .round { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: var(--mag); box-shadow: 0 0 0 10px rgba(189,92,163,.18), 0 20px 50px -10px rgba(189,92,163,.8); }
.poster .play .round svg { width: 30px; height: 30px; margin-left: 4px; }
.demo-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--on-ink-muted); font-size: var(--fs-small); }
.demo-meta .keys { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-meta .keys span { padding: 6px 10px; border: 1px solid var(--ink-line); border-radius: 8px; }

/* ---------- feature rows ---------- */
.rows { display: grid; gap: clamp(72px, 9vw, 140px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .row.flip .copy { order: 2; } }
.row .copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.row h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 700; }
.row .copy > p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 4px; background: color-mix(in srgb, var(--blue) 18%, transparent); box-shadow: inset 0 0 0 1.5px var(--blue); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.32em + 4px); width: 6px; height: 4px; border-left: 2px solid var(--blue-ink); border-bottom: 2px solid var(--blue-ink); transform: rotate(-45deg); }
.row .label { display: inline-flex; gap: 10px; align-items: center; font: 600 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mag-ink); }
.row .label i { font-style: normal; color: var(--muted); }
.row .copy .btn { justify-self: start; }

/* vignette = small animated product scene; complete at rest, replays when scrolled into view */
.vig { position: relative; border-radius: var(--r-box); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; font-size: .92rem; }
.vig-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); font: 600 .78rem/1 var(--f-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.vig-bar .sq { width: 10px; height: 10px; border-radius: 3px; background: var(--mag); }
.vig-bar .right { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; }
.vig-body { padding: 20px; display: grid; gap: 14px; }
.ex { position: absolute; right: 12px; bottom: 10px; font: 500 .68rem/1 var(--f-mono); color: var(--muted); opacity: .8; letter-spacing: .05em; }

/* chat vignette */
.v-chat .msg { max-width: 88%; padding: 12px 15px; border-radius: 14px; }
.v-chat .msg.user { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; font-weight: 500; }
.v-chat .msg.ai { justify-self: start; background: var(--surface-2); border-bottom-left-radius: 4px; display: grid; gap: 12px; max-width: 100%; width: 100%; }
.v-chat table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .88rem; }
.v-chat th { text-align: left; font: 600 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 6px; border-bottom: 1px solid var(--line); }
.v-chat td { padding: 7px 6px; border-bottom: 1px solid var(--line); }
.v-chat td.n { text-align: right; } .v-chat th.n { text-align: right; }
.v-chat td.neg { color: var(--bad); font-weight: 600; }
.bars { display: grid; gap: 7px; }
.bars div { display: grid; grid-template-columns: 112px 1fr 48px; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.bars b { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--mag)); width: var(--w); transform-origin: left; }
.bars em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions span { font-size: .8rem; padding: 6px 11px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--blue) 40%, transparent); color: var(--blue-ink); background: color-mix(in srgb, var(--blue) 8%, transparent); }
.playing .v-chat .msg.user, .v-chat.playing .msg.user { animation: pop .45s ease both .1s; }
.v-chat.playing .think { display: inline-flex; animation: hideAfter 1.3s steps(1) both .6s; }
.v-chat .think { display: none; gap: 5px; padding: 6px 2px; }
.v-chat .think i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.v-chat .think i:nth-child(2) { animation-delay: .15s } .v-chat .think i:nth-child(3) { animation-delay: .3s }
.v-chat.playing .msg.ai { animation: pop .5s ease both 1.9s; }
.v-chat.playing .msg.ai tr { animation: fadeIn .3s ease both; }
.v-chat.playing .msg.ai tr:nth-child(1) { animation-delay: 2.3s } .v-chat.playing .msg.ai tr:nth-child(2) { animation-delay: 2.45s } .v-chat.playing .msg.ai tr:nth-child(3) { animation-delay: 2.6s } .v-chat.playing .msg.ai tr:nth-child(4) { animation-delay: 2.75s }
.v-chat.playing .bars b { animation: barGrow .9s cubic-bezier(.2, .8, .2, 1) both 2.9s; }
.v-chat.playing .actions span { animation: pop .35s ease both 3.6s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hideAfter { 0% { visibility: visible; } 100% { visibility: hidden; height: 0; padding: 0; } }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* dashboard vignette */
.v-dash .prompt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: .9rem; }
.v-dash .prompt svg { width: 18px; height: 18px; color: var(--mag); flex: none; }
.v-dash .prompt .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--mag); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.widgets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.w { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); display: grid; gap: 6px; align-content: start; min-width: 0; }
.w .t { font: 600 .7rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.w .v { font: 700 1.6rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.w .d { font-size: .8rem; font-weight: 600; } .w .d.up { color: var(--ok); } .w .d.down { color: var(--bad); }
.w.k { grid-column: span 2; }
.w.line { grid-column: span 4; }
.w.gauge { grid-column: span 2; justify-items: center; }
.w.lead { grid-column: span 4; }
.w svg { width: 100%; display: block; overflow: visible; }
.w .spark path.l { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.w .spark path.f { fill: color-mix(in srgb, var(--blue) 16%, transparent); }
.w .spark circle { fill: var(--mag); }
.w .spark line { stroke: var(--line); }
.w .spark text { fill: var(--muted); font: 500 10px var(--f-mono); }
.gauge svg { max-width: 150px; }
.gauge .track { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.gauge .val { fill: none; stroke: url(#gGrad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 176 300; }
.gauge text { fill: var(--text); font: 700 22px var(--f-display); }
.gauge .cap { fill: var(--muted); font: 500 9px var(--f-mono); }
.lb { display: grid; gap: 7px; }
.lb div { display: grid; grid-template-columns: 22px minmax(0, 1fr) 70px; gap: 8px; align-items: center; font-size: .82rem; }
.lb div i { font-style: normal; font: 600 .75rem/1 var(--f-mono); color: var(--muted); }
.lb div span { position: relative; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lb div em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.lb div b { grid-column: 2 / 4; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--mag) 25%, transparent); position: relative; overflow: hidden; }
.lb div b::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--mag); border-radius: 3px; }
@media (max-width: 560px) { .w.k, .w.gauge { grid-column: span 3; } .w.line, .w.lead { grid-column: span 6; } }
.v-dash.playing .w { animation: pop .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.v-dash.playing .w:nth-child(1) { animation-delay: 1.4s } .v-dash.playing .w:nth-child(2) { animation-delay: 1.55s } .v-dash.playing .w:nth-child(3) { animation-delay: 1.7s } .v-dash.playing .w:nth-child(4) { animation-delay: 1.85s } .v-dash.playing .w:nth-child(5) { animation-delay: 2s }
.v-dash.playing .spark path.l { animation: draw 1.6s ease both 2s; }
.v-dash.playing .gauge .val { animation: gauge 1.4s cubic-bezier(.2, .8, .2, 1) both 2s; }
.v-dash.playing .lb b::after { animation: barGrow 1s ease both 2.2s; transform-origin: left; }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes gauge { from { stroke-dasharray: 0 300; } to { stroke-dasharray: 176 300; } }

/* monitor vignette */
.v-mon .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.v-mon .kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; min-width: 0; }
.v-mon .kpis span { font: 600 .66rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v-mon .kpis b { font: 700 1.15rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.v-mon .kpis b.warn { color: var(--warn); }
@media (max-width: 520px) { .v-mon .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v-mon .chart { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 6px; }
.v-mon .chart .t { display: flex; justify-content: space-between; font: 600 .7rem/1 var(--f-mono); letter-spacing: .05em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.v-mon svg { display: block; width: 100%; height: auto; overflow: visible; }
.v-mon .grid line { stroke: var(--line); }
.v-mon .ax { fill: var(--muted); font: 500 9px var(--f-mono); }
.v-mon .rt { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 900; }
.v-mon .rt-f { fill: color-mix(in srgb, var(--blue) 14%, transparent); }
.v-mon .thr { stroke: var(--bad); stroke-dasharray: 4 4; stroke-width: 1.2; }
.v-mon .spike { fill: var(--bad); }
.v-mon .spike-ring { fill: none; stroke: var(--bad); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 7%, var(--surface)); }
.alert .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--bad); color: #fff; font-weight: 800; }
.alert b { display: block; }
.alert small { color: var(--muted); font-family: var(--f-mono); font-size: .76rem; }
.why { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.why .who { font: 600 .7rem/1 var(--f-mono); color: var(--mag-ink); letter-spacing: .08em; text-transform: uppercase; }
.v-mon.playing .rt { animation: draw900 2s ease both .3s; }
.v-mon.playing .alert { animation: pop .45s ease both 2.2s; }
.v-mon.playing .why { animation: pop .5s ease both 3s; }
@keyframes draw900 { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }

/* report designer vignette */
.v-rep .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .v-rep .split { grid-template-columns: minmax(0, 1fr); } }
.bands { display: grid; gap: 6px; }
.bandrow { border: 1px dashed color-mix(in srgb, var(--blue) 45%, transparent); border-radius: 10px; padding: 8px; display: grid; gap: 6px; background: color-mix(in srgb, var(--blue) 5%, transparent); }
.bandrow > span { font: 600 .64rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.bandrow .fields { display: flex; flex-wrap: wrap; gap: 5px; }
.bandrow .fields em { font-style: normal; font: 500 .72rem/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.bandrow .fields em.m { border-color: color-mix(in srgb, var(--mag) 50%, transparent); color: var(--mag-ink); }
.sheet { background: #fff; color: #1B2040; border-radius: 6px; box-shadow: 0 10px 30px -12px rgba(12,17,43,.4), 0 0 0 1px rgba(17,22,58,.08); padding: 16px 16px 14px; font-size: .7rem; display: grid; gap: 8px; align-content: start; aspect-ratio: 210 / 270; position: relative; overflow: hidden; }
.sheet .sh-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.sheet .sh-top b { font: 800 1rem/1 var(--f-display); letter-spacing: -.02em; color: #3D569A; }
.sheet .sh-logo { display: flex; gap: 3px; align-items: end; }
.sheet .sh-logo i { width: 7px; height: 7px; background: #BD5CA3; border-radius: 1.5px; }
.sheet .sh-logo i:nth-child(2) { width: 11px; height: 11px; }
.sheet .sh-logo i:last-child { width: 14px; height: 14px; background: none; border: 2.5px solid #5A76BA; border-radius: 3px; }
.sheet .addr { color: #5A6283; line-height: 1.35; }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th { text-align: left; font-weight: 700; border-bottom: 1.5px solid #1B2040; padding: 3px 2px; font-size: .62rem; }
.sheet td { padding: 3px 2px; border-bottom: 1px solid #E3E6F0; }
.sheet .r { text-align: right; }
.sheet .tot { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: end; margin-top: auto; }
.qr { width: 48px; height: 48px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; }
.qr i { background: #1B2040; } .qr i.o { background: transparent; }
.sheet .sum { display: grid; gap: 2px; justify-items: end; }
.sheet .sum b { font: 800 .95rem/1 var(--f-display); }
.render-badge { position: absolute; right: 10px; top: 10px; font: 600 .62rem/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; background: #2F9E6E; color: #fff; }
.v-rep.playing .bandrow .fields em { animation: drop .45s cubic-bezier(.2,.9,.3,1.3) both; }
.v-rep.playing .bandrow:nth-child(1) em { animation-delay: .3s } .v-rep.playing .bandrow:nth-child(2) em { animation-delay: .6s } .v-rep.playing .bandrow:nth-child(3) em { animation-delay: .9s } .v-rep.playing .bandrow:nth-child(4) em { animation-delay: 1.2s } .v-rep.playing .bandrow:nth-child(5) em { animation-delay: 1.5s }
.v-rep.playing .sheet > * { animation: fadeIn .4s ease both 2s; }
.v-rep.playing .sheet tr { animation: fadeIn .3s ease both; }
.v-rep.playing .sheet tbody tr:nth-child(1) { animation-delay: 2.2s } .v-rep.playing .sheet tbody tr:nth-child(2) { animation-delay: 2.35s } .v-rep.playing .sheet tbody tr:nth-child(3) { animation-delay: 2.5s } .v-rep.playing .sheet tbody tr:nth-child(4) { animation-delay: 2.65s }
.v-rep.playing .render-badge { animation: pop .4s ease both 3s; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.9); } to { opacity: 1; transform: none; } }

/* developer vignette */
.v-dev { background: #0B1029; color: #D7DCF5; border-color: rgba(255,255,255,.08); }
.v-dev .vig-bar { background: #121838; color: #A9B1D8; border-color: rgba(255,255,255,.08); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.flow span { display: grid; gap: 6px; justify-items: center; text-align: center; font: 600 .66rem/1.2 var(--f-mono); color: #8F98C4; letter-spacing: .03em; }
.flow span i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #1B2250; color: #fff; font-style: normal; font-size: .8rem; border: 1px solid rgba(255,255,255,.1); }
.flow span.done i { background: #2F9E6E; border-color: transparent; }
.flow span.done { color: #D7DCF5; }
.ticket { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #121838; border: 1px solid rgba(255,255,255,.08); }
.ticket small { font: 600 .7rem/1 var(--f-mono); color: #E79AD3; letter-spacing: .06em; }
.diff { font: 500 .78rem/1.65 var(--f-mono); border-radius: 12px; background: #070A1D; border: 1px solid rgba(255,255,255,.07); padding: 10px 0; overflow-x: auto; }
.diff div { padding: 0 14px; white-space: pre; }
.diff .fn { color: #8F98C4; }
.diff .del { background: rgba(209, 69, 96, .16); color: #F2A3B3; }
.diff .add { background: rgba(47, 158, 110, .17); color: #9BE3C1; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks span { display: inline-flex; align-items: center; gap: 7px; font: 600 .74rem/1 var(--f-mono); padding: 7px 10px; border-radius: 8px; background: rgba(47, 158, 110, .14); color: #9BE3C1; }
.checks span.wait { background: rgba(255,255,255,.06); color: #A9B1D8; }
.v-dev.playing .flow span { animation: pop .35s ease both; }
.v-dev.playing .flow span:nth-child(1) { animation-delay: .2s } .v-dev.playing .flow span:nth-child(2) { animation-delay: .7s } .v-dev.playing .flow span:nth-child(3) { animation-delay: 1.2s } .v-dev.playing .flow span:nth-child(4) { animation-delay: 2.6s } .v-dev.playing .flow span:nth-child(5) { animation-delay: 3.2s }
.v-dev.playing .diff div { animation: fadeIn .25s ease both; }
.v-dev.playing .diff div:nth-child(1) { animation-delay: 1.3s } .v-dev.playing .diff div:nth-child(2) { animation-delay: 1.45s } .v-dev.playing .diff div:nth-child(3) { animation-delay: 1.6s } .v-dev.playing .diff div:nth-child(4) { animation-delay: 1.75s } .v-dev.playing .diff div:nth-child(5) { animation-delay: 1.9s } .v-dev.playing .diff div:nth-child(6) { animation-delay: 2.05s }
.v-dev.playing .checks span { animation: pop .35s ease both; }
.v-dev.playing .checks span:nth-child(1) { animation-delay: 2.5s } .v-dev.playing .checks span:nth-child(2) { animation-delay: 2.8s } .v-dev.playing .checks span:nth-child(3) { animation-delay: 3.3s }

/* ---------- platform ---------- */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.mod { display: grid; gap: 8px; padding: 18px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s; min-width: 0; }
.mod:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mag) 45%, var(--line)); }
.mod .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue-ink); }
.mod .ico svg { width: 20px; height: 20px; }
.mod b { font: 600 1.02rem/1.25 var(--f-display); }
.mod span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.tech { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- trust ---------- */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--r-box); overflow: hidden; }
.rule { background: var(--ink); padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.rule .n { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(189,92,163,.18); color: #EBA9D8; }
.rule .n svg { width: 18px; height: 18px; }
.rule h3 { font-size: 1.15rem; }
.rule p { color: var(--on-ink-muted); font-size: .95rem; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 22px 18px 20px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 .8rem/1 var(--f-mono); color: var(--mag-ink); }
.steps li b { font: 600 1.06rem/1.25 var(--f-display); }
.steps li span { color: var(--muted); font-size: .92rem; }
.quote { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: clamp(26px, 4vw, 48px); border-radius: var(--r-box); background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 12%, var(--surface)), color-mix(in srgb, var(--mag) 10%, var(--surface))); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font: 600 clamp(1.2rem, 1rem + .9vw, 1.7rem)/1.35 var(--f-display); letter-spacing: -.015em; }
.quote figcaption { color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.contact .side { display: grid; gap: 22px; align-content: start; }
.contact .side h2 { font-size: var(--fs-h2); }
.contact .side .lead { color: var(--on-ink-muted); font-size: var(--fs-lead); }
.cards { display: grid; gap: 12px; }
.ccard { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ink-line); background: rgba(255,255,255,.03); }
.ccard small { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #EBA9D8; }
.ccard a { color: #fff; text-decoration: none; }
.ccard .copy { justify-self: start; margin-top: 4px; font: 600 .76rem/1 var(--f-mono); color: var(--on-ink-muted); background: transparent; border: 1px solid var(--ink-line); border-radius: 7px; padding: 6px 9px; cursor: pointer; }
form.demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-box); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.ink form.demo { background: #F6F7FC; --text: #11163A; --muted: #565E85; --line: rgba(17,22,58,.12); color: #11163A; }
form.demo .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form.demo { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, fieldset legend { font: 600 .82rem/1.2 var(--f-body); color: var(--muted); }
.field input, .field textarea, .field select { font: 400 1rem/1.4 var(--f-body); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; width: 100%; min-width: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--mag) 35%, transparent); border-color: var(--mag); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks-in { display: flex; flex-wrap: wrap; gap: 8px; }
.checks-in label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .9rem; background: #fff; }
.checks-in input { accent-color: #BD5CA3; width: 16px; height: 16px; }
form.demo .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: rgba(47, 158, 110, .1); color: #1E6B4A; font-weight: 500; }
.fine { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-ink-muted); padding-block: 64px 32px; border-top: 1px solid var(--ink-line); }
.site-foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px; }
.site-foot .brand svg { height: 30px; --logo-blue: #FFFFFF; --logo-mag: #FFFFFF; }
.site-foot h4 { font: 600 .76rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--on-ink-muted); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot address { font-style: normal; line-height: 1.7; }
.site-foot .base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--ink-line); }
.social svg { width: 17px; height: 17px; }

/* mockup ribbon */
.mock-note { position: fixed; z-index: 70; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #11163A; color: #EAEDFB; font: 500 .78rem/1.3 var(--f-body); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); max-width: calc(100vw - 24px); }
.mock-note b { color: #EBA9D8; font-family: var(--f-mono); letter-spacing: .08em; font-size: .7rem; }
.mock-note button { background: transparent; border: 0; color: #A9B1D8; cursor: pointer; font-size: 1rem; padding: 2px 4px; }

/* ---------- sections built from the original site texts ---------- */
.band.alt { background: var(--surface-2); }
.band.slim { padding-block: clamp(44px, 4vw + 20px, 76px); }
.nav .nav-only { display: none; }
@media (max-width: 1060px) { .nav .nav-only { display: block; } }
.label { display: inline-flex; gap: 10px; align-items: center; font: 600 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mag-ink); }

/* solutions switcher */
.sol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 980px) { .sol { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
.sol-tabs { display: grid; gap: 8px; }
@media (max-width: 979px) { .sol-tabs { display: flex; overflow-x: auto; padding-bottom: 6px; } .sol-tab { flex: none; } .sol-tab small { display: none; } }
.sol-tab { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.sol-tab .i { width: 22px; height: 22px; color: var(--blue-ink); }
.sol-tab b { display: block; font: 600 1rem/1.2 var(--f-display); }
.sol-tab small { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.sol-tab:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.sol-tab[aria-selected="true"] { border-color: var(--mag); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mag) 18%, transparent); transform: translateX(4px); }
.sol-tab[aria-selected="true"] .i { color: var(--mag-ink); }
.sol-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: clamp(18px, 2.5vw, 28px); border-radius: var(--r-box); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: fadeUp2 .45s ease both; }
@keyframes fadeUp2 { from { transform: translateY(10px); } to { transform: none; } }
.sol-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.chrome.mini { padding: 8px 10px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.chrome.mini .dots i { width: 9px; height: 9px; }
.chrome.mini .url { font-size: .72rem; padding: 5px 8px; color: var(--muted); background: var(--surface); }
.sol-shot img { display: block; width: 100%; height: auto; }
.sol-copy { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sol-copy h3 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); }
.sol-copy p { color: var(--muted); }
.sol-copy .btn { justify-self: start; }

/* ERP modules */
.erp-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 28px; }
@media (min-width: 960px) { .erp-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; } }
.erp-copy .lead { color: var(--muted); font-size: var(--fs-lead); }
.erp-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.erp-benefits span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .94rem; }
.erp-benefits .i { color: var(--ok); }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.mod { font: inherit; color: var(--text); text-align: left; cursor: pointer; width: 100%; align-content: start; }
.mod .more { font-style: normal; font-weight: 600; font-size: .86rem; color: var(--blue-ink); margin-top: 2px; }
.mod .more::after { content: " \2192"; }
.mod:hover .more { color: var(--mag-ink); }

/* dialogs */
dialog.dlg { width: min(680px, calc(100vw - 32px)); max-height: min(82vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
dialog.dlg[open] { display: flex; flex-direction: column; animation: dlgIn .25s ease both; }
dialog.dlg::backdrop { background: rgba(8, 11, 30, .55); backdrop-filter: blur(4px); }
@keyframes dlgIn { from { transform: translateY(12px) scale(.98); } to { transform: none; } }
.dlg-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dlg-head h3 { font-size: 1.3rem; }
.dlg-head .ico, .svc .ico, .why-card .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue-ink); flex: none; }
.dlg-x { margin-left: auto; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.dlg-body { padding: 20px 22px 24px; overflow-y: auto; display: grid; gap: 12px; }
.dlg-body p { color: var(--muted); }
.dlg-body h4 { font: 600 1rem/1.3 var(--f-display); margin-top: 6px; }
.dlg-body .ticks { columns: 2 220px; column-gap: 24px; display: block; }
.dlg-body .ticks li { break-inside: avoid; margin-bottom: 8px; }

/* value for money */
.lic { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
@media (min-width: 960px) { .lic { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.lic-copy .lead { color: var(--on-ink-muted); font-size: var(--fs-lead); }
.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.lic-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .04); }
.lic-item .i { color: #8FE0B8; margin-top: 2px; }
.lic-item div { display: grid; gap: 4px; }
.lic-item b { color: #fff; font: 600 1rem/1.3 var(--f-display); }
.lic-item span { color: var(--on-ink-muted); font-size: .93rem; }

/* services */
.svcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.svc { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-box); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.svc:hover { border-color: color-mix(in srgb, var(--mag) 45%, var(--line)); transform: translateY(-3px); }
.svc h3 { font-size: 1.2rem; }
.svc p { color: var(--muted); font-size: .95rem; }
.svc .more { font-style: normal; font-weight: 600; font-size: .86rem; color: var(--blue-ink); }
.svc .more::after { content: " \2192"; }
.levels { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: .88rem; color: var(--text); }
.support { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-box); background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 10%, var(--surface)), color-mix(in srgb, var(--mag) 8%, var(--surface))); border: 1px solid var(--line); }
@media (min-width: 900px) { .support { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.support h3 { font-size: 1.35rem; margin-bottom: 10px; }
.support h4 { font: 600 1rem/1.2 var(--f-display); margin-bottom: 10px; }
.support p { color: var(--muted); }
.how { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 18px; }
.how-head { display: grid; gap: 10px; max-width: 760px; }
.how-head p { color: var(--muted); font-size: 1.05rem; }

/* why choose us */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.why-card { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r-box); background: var(--surface); border: 1px solid var(--line); }
.why-card h3 { font-size: 1.25rem; }
.why-card p { color: var(--muted); }

/* testimonials */
.testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.testi { margin: 0; display: grid; gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-box); background: rgba(255, 255, 255, .04); border: 1px solid var(--ink-line); }
.testi blockquote { margin: 0; font: 600 clamp(1.08rem, .98rem + .5vw, 1.35rem)/1.45 var(--f-display); letter-spacing: -.01em; color: #fff; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.testi b { display: block; color: #fff; }
.testi small { color: var(--on-ink-muted); }

/* who are we */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 860px; }
.about-copy { display: grid; gap: 14px; }
.about-copy .lead { font-size: var(--fs-lead); }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--text); }
.offices { display: grid; gap: 12px; }
.office { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.office img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.office div { display: grid; gap: 2px; font-size: .92rem; }
.office small { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mag-ink); }
.office span { color: var(--muted); }

/* careers */
.careers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 900px) { .careers { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.careers-copy { display: grid; gap: 16px; justify-items: start; }
.careers-copy h2 { font-size: var(--fs-h2); }
.careers-copy .lead { font-size: var(--fs-lead); }
.careers-copy p { color: var(--muted); max-width: 62ch; }
.careers-art { position: relative; aspect-ratio: 1 / .8; max-width: 380px; width: 100%; justify-self: center; }
.careers-art span { position: absolute; left: 16%; top: 34%; width: 66%; height: 60%; border: 14px solid var(--blue); border-radius: 22px; }
.careers-art i { position: absolute; border-radius: 6px; background: var(--mag); animation: bob 6s ease-in-out infinite; }
.careers-art i:nth-child(1) { left: 4%; top: 26%; width: 9%; aspect-ratio: 1; animation-delay: -1s; }
.careers-art i:nth-child(2) { left: 30%; top: 2%; width: 20%; aspect-ratio: 1; animation-delay: -3s; }
.careers-art i:nth-child(3) { left: 50%; top: 26%; width: 15%; aspect-ratio: 1; animation-delay: -5s; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: start; } }
.faq-tabs { display: grid; gap: 6px; }
@media (max-width: 959px) { .faq-tabs { display: flex; overflow-x: auto; padding-bottom: 6px; } .faq-tab { flex: none; } }
.faq-tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 .95rem/1.2 var(--f-body); cursor: pointer; text-align: left; }
.faq-tab span { font: 600 .74rem/1 var(--f-mono); color: var(--muted); padding: 4px 7px; border-radius: 7px; background: var(--surface-2); }
.faq-tab[aria-selected="true"] { border-color: var(--mag); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mag) 18%, transparent); }
.faq-panel { display: grid; gap: 8px; }
.qa { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.qa summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font: 600 1rem/1.4 var(--f-display); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--mag); border-bottom: 2px solid var(--mag); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa .ans { padding: 0 18px 16px; display: grid; gap: 10px; color: var(--muted); }

/* customer area */
.cust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
@media (min-width: 900px) { .cust { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.cust-copy { display: grid; gap: 10px; }
.cust-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.cust-copy .lead { color: var(--muted); }
.cust-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cust-l { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.cust-l .i { color: var(--blue-ink); width: 18px; height: 18px; }
.ccard span { color: var(--on-ink-muted); }
.site-foot .tagline { margin: 12px 0 10px; font: 600 .78rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #EBA9D8; }
.site-foot address { font-size: .9rem; }

/* ---------- ERP-first hero cards ---------- */
.hero .ai-link { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .04); }
.hero .ai-link .new { background: var(--mag); color: #fff; font: 700 .66rem/1 var(--f-mono); letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; }
.hero .ai-link .i { width: 16px; height: 16px; transition: transform .2s; }
.hero .ai-link:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .ai-link:hover .i { transform: translateX(3px); }
.c-chat.so table { margin-top: .4cqi; }
.c-chat.so td { color: #3A4166; }
.c-chat.so td:last-child { color: #11163A; font-weight: 600; }
.c-chat.so td.n { text-align: right; color: #5A6283; }
.so-head { display: flex; justify-content: space-between; align-items: center; gap: 2cqi; margin-bottom: 1cqi; }
.so-head b { font: 700 2.7cqi/1.2 var(--f-display); }
.st { font: 700 1.6cqi/1 var(--f-mono); padding: .9cqi 1.4cqi; border-radius: 99px; background: rgba(47, 158, 110, .14); color: #1E7A52; letter-spacing: .05em; text-transform: uppercase; }
.so-foot { display: flex; justify-content: space-between; align-items: baseline; margin: 1.6cqi 0 1.4cqi; color: #5A6283; }
.so-foot b { font: 800 3.4cqi/1 var(--f-display); color: #11163A; letter-spacing: -.02em; }
.c-chat.so .chips span.ok { border-color: rgba(47, 158, 110, .45); color: #1E7A52; background: rgba(47, 158, 110, .08); }
.c-mon.c-prod .sub { margin-top: .8cqi; }
.prog { height: 1.8cqi; border-radius: 1cqi; background: rgba(90, 118, 186, .16); overflow: hidden; margin-top: 1.6cqi; }
.prog i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #5A76BA, #BD5CA3); }
.intro .prog i { animation: barGrow 1.2s cubic-bezier(.2, .8, .2, 1) both 1.9s; transform-origin: left; }
.hv-ai { position: absolute; left: 44cqi; top: 84.5cqi; display: flex; align-items: center; gap: 1.2cqi; padding: 1.3cqi 2.2cqi 1.3cqi 1.6cqi; border-radius: 99px; background: rgba(12, 17, 43, .94); border: 1px solid rgba(189, 92, 163, .55); color: #EAEDFB; font: 500 2.05cqi/1.2 var(--f-body); box-shadow: 0 14px 30px -12px rgba(189, 92, 163, .55); white-space: nowrap; z-index: 2; }
.hv-ai .spark { width: 2.6cqi; height: 2.6cqi; color: #E79AD3; }
.hv-ai b { font: 700 1.55cqi/1 var(--f-mono); color: #E79AD3; letter-spacing: .1em; }
.intro .hv-ai { animation: fadeUp .5s ease both 2.5s; }
.hv-note { left: 0; right: auto; bottom: -4cqi; }

/* ---------- ERP section ---------- */
.erp-intro { margin-bottom: clamp(32px, 4vw, 52px); }
.erp-copy { display: grid; gap: 14px; }
.erp-copy .lead { color: var(--text); }
.erp-copy p { color: var(--muted); }
.erp-side { display: grid; gap: 14px; }
.erp-side .sol-shot { box-shadow: var(--shadow-lg); }
.mods-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.mods-head h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.mods-head p { color: var(--muted); }

/* ---------- AI section (supports the ERP) ---------- */
.ai-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: clamp(22px, 3vw, 34px); scrollbar-width: thin; }
.ai-tab { flex: 1 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ai-tab .i { color: var(--blue-ink); }
.ai-tab b { display: block; font: 600 .95rem/1.2 var(--f-display); white-space: nowrap; }
.ai-tab small { display: block; margin-top: 4px; font: 600 .66rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ai-tab:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.ai-tab[aria-selected="true"] { border-color: var(--mag); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mag) 18%, transparent); }
.ai-tab[aria-selected="true"] .i { color: var(--mag-ink); }
.ai-panel { animation: fadeUp2 .45s ease both; }
.ai-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.ai-more .label { margin-right: 6px; }
.ai-more .chip { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
#ai .marquee { margin-top: 26px; }
#ai .rules { margin-top: clamp(28px, 3vw, 40px); }

/* ---------- demo teaser (homepage) ---------- */
.demo-teaser { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .demo-teaser { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.dt-copy { display: grid; gap: 18px; justify-items: start; }
.dt-copy h2 { font-size: var(--fs-h2); }
.dt-copy .lead { color: var(--on-ink-muted); font-size: var(--fs-lead); }
.dt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dt-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dt-list .i { color: #EBA9D8; }
.dt-copy .micro { color: var(--on-ink-muted); font-size: var(--fs-small); }
.dt-visual { display: block; text-decoration: none; transition: transform .3s ease; }
.dt-visual:hover { transform: translateY(-4px); }
.dt-visual .frame-in { display: block; }
.dt-shot { position: relative; display: block; }
.dt-shot img { display: block; width: 100%; height: auto; }
.dt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--mag); color: #fff; box-shadow: 0 0 0 12px rgba(189, 92, 163, .2), 0 24px 50px -12px rgba(189, 92, 163, .8); transition: transform .25s ease; }
.dt-play .i { width: 34px; height: 34px; margin-left: 4px; }
.dt-visual:hover .dt-play, .dtile-shot:hover .dt-play { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- demos page ---------- */
.demos-page .site-head { background: var(--ink); box-shadow: 0 1px 0 var(--ink-line); }
.demos-page .site-head .bar { gap: 14px; }
.back-link { margin-left: auto; color: var(--on-ink-muted); text-decoration: none; font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; }
.back-link:hover { color: #fff; }
.back-link .i { width: 16px; height: 16px; transform: rotate(180deg); }
.back-link .bl-short { display: none; }
@media (max-width: 560px) { .back-link .bl-long { display: none; } .back-link .bl-short { display: inline; } .demos-page .site-head .book { display: none; } }
.demos-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(44px, 5vw, 80px); }
.demos-hero .sec-head { margin-bottom: 0; }
.demos-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; }
.demos-hero .lead { color: var(--on-ink-muted); font-size: var(--fs-lead); }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 22px; }
.dtile { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-box); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; min-width: 0; }
.dtile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dtile-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #0B0F27; }
.dtile-shot img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 495; object-fit: cover; object-position: top left; }
.dtile-body { display: grid; gap: 12px; padding: 22px 24px 24px; align-content: start; }
.dtile-body h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.dtile-body p { color: var(--muted); }
.dtile-body h3 { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.dtile-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.dtile-foot small { color: var(--muted); }
.demo-note { margin-top: 26px; color: var(--muted); font-size: var(--fs-small); }
.demo-ov { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: #0B0F27; }
.ov-bar { display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); background: #141A3D; color: #fff; border-bottom: 1px solid var(--ink-line); }
.ov-bar b { font: 600 .98rem/1.2 var(--f-display); margin-right: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ov-bar a { color: #C9CFEA; font-size: .86rem; text-decoration: none; white-space: nowrap; }
.ov-bar a:hover { color: #fff; }
.ov-stage { position: relative; flex: 1; overflow: hidden; background: #fff; }
.ov-stage iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .ov-bar a { display: none; } }

/* longer words in nl/fr/de: keep the hero text inside its column */
.hero-copy { grid-template-columns: minmax(0, 1fr); }
.hero h1 { overflow-wrap: break-word; }
html:not([lang="en"]) .hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.5vw, 4.1rem); }

/* ---------- language switch ---------- */
.langs { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px; border-radius: 10px; border: 1px solid var(--ink-line); }
.langs a { padding: 7px 7px; border-radius: 7px; color: var(--on-ink-muted); text-decoration: none; font: 600 .76rem/1 var(--f-mono); }
.langs a:hover { color: #fff; }
.langs a[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); }
@media (max-width: 560px) { .langs { display: none; } }
.langs-foot a[aria-current] { color: #fff; font-weight: 600; }

/* ---------- legal pages (privacy, cookies) ---------- */
.legal { max-width: 780px; display: grid; gap: 14px; }
.legal h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 10px; }
.legal h3 { font-size: 1.3rem; margin-top: 22px; scroll-margin-top: 90px; }
.legal h4 { font: 600 1.05rem/1.3 var(--f-display); margin-top: 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal .toc { padding: 18px 18px 18px 40px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.legal .toc a { font-weight: 600; }
.legal .updated { font: 500 .8rem/1 var(--f-mono); }

/* lift-in for headings and cards: transform only, content stays visible at rest */
.js .rise { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .rise.below { transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee .track .dup { display: none; }
  .frame { animation: none; }
}
