/* ==========================================================================
   Xentrix v3 — site.css (motion edition)
   Warm paper page, ink typography, editorial serif accents, mono labels.
   Product screens stay dark like the real Xentrix Flow app. Motion is
   orchestrated in site.js (GSAP + Lenis); this file holds states and layout.
   ========================================================================== */

:root {
  --paper: #f6f4ee;
  --paper-2: #eeebe2;
  --white: #ffffff;
  --ink: #0f1117;

  --text: #0f1117;
  --text-dim: rgba(15, 17, 23, .66);
  --text-mute: rgba(15, 17, 23, .46);

  --line: rgba(15, 17, 23, .10);
  --line-strong: rgba(15, 17, 23, .22);

  --blue: #1b5fd6;
  --blue-2: #2a8bff;
  --violet: #6f4cff;
  --signal: #12a877;
  --amber: #c9791a;

  --surface: #ffffff;
  --surface-2: rgba(15, 17, 23, .03);
  --tag-bg: rgba(255, 255, 255, .5);
  --btn-bg: #0f1117;
  --btn-fg: #f6f4ee;
  --nav-bg: rgba(246, 244, 238, .84);

  --font-display: "Geologica", system-ui, sans-serif;
  --font-body: "Commissioner", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --font-serif: "Noto Serif Display", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 74px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Dark scope: product screens, footer — and the whole page while the
   product walkthrough is pinned (body.is-dark, animated in site.js) */
.dark, body.is-dark {
  --paper: #0b1220;
  --paper-2: #0f1728;
  --white: #131c30;
  --text: #f4f2ec;
  --text-dim: rgba(244, 242, 236, .66);
  --text-mute: rgba(244, 242, 236, .44);
  --line: rgba(244, 242, 236, .10);
  --line-strong: rgba(244, 242, 236, .22);
  --blue: #5aa8ff;
  --blue-2: #3b82f6;
  --signal: #2ee6a6;
  --amber: #ffb54a;
  --surface: rgba(244, 242, 236, .04);
  --surface-2: rgba(244, 242, 236, .03);
  --tag-bg: rgba(244, 242, 236, .04);
  --btn-bg: #f4f2ec;
  --btn-fg: #0f1117;
  --nav-bg: rgba(11, 18, 32, .82);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .8s var(--ease), color .8s var(--ease);
}
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor input, html.has-cursor select, html.has-cursor textarea { cursor: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(42, 139, 255, .25); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #f6f4ee;
  font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

/* paper grain */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: multiply;
}
body.is-dark .grain { mix-blend-mode: screen; opacity: .035; }

/* --------------------------------------------------------------------------
   Loader (first visit per session)
   -------------------------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 95; background: #f6f4ee; color: #0f1117; display: grid; place-items: center; }
.loader__in { display: grid; justify-items: center; gap: 22px; }
.loader__logo { width: 64px; height: 64px; }
.loader__word { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.loader__bar { width: 160px; height: 1px; background: rgba(15, 17, 23, .12); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: #0f1117; transform: scaleX(0); transform-origin: left; }
.loader__num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: rgba(15, 17, 23, .5); }

/* --------------------------------------------------------------------------
   Cursor (fine pointers only)
   -------------------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor__dot { width: 8px; height: 8px; background: var(--ink); margin: -4px 0 0 -4px; transform: none; transition: opacity .3s; }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; transform: none; border: 1px solid rgba(15, 17, 23, .45); transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), border-color .3s, background .3s, opacity .3s; }
body.is-dark .cursor__dot { background: #f4f2ec; }
body.is-dark .cursor__ring { border-color: rgba(244, 242, 236, .5); }
.cursor.is-active .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(42, 139, 255, .12); border-color: rgba(42, 139, 255, .6); }
.cursor.is-active .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim);
}
.eyebrow .idx { color: var(--blue); }
.eyebrow .dot { flex: none; margin-top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 2.4s infinite; }
.display {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(2.5rem, 5.2vw, 4.9rem);
  text-wrap: balance;
}
.display-2 {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.06;
  font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  text-wrap: balance;
}
.display em, .display-2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.005em; color: var(--blue);
}
.lead { font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.62; color: var(--text-dim); max-width: 58ch; }
.mono { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-mute); }

/* split-text masks (built by site.js) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .12em 0; margin: 0 -.04em -.12em 0; }
.w__i { display: inline-block; will-change: transform; }
.c { display: inline-block; overflow: hidden; vertical-align: bottom; }
.c__i { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s, opacity .3s;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-2), var(--violet)); opacity: 0; transition: opacity .35s; }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover { box-shadow: 0 16px 30px -14px rgba(15, 17, 23, .5); color: #fff; }
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue-2); background: rgba(42, 139, 255, .06); }
.btn[disabled] { opacity: .6; cursor: default; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, transform .5s var(--ease-out);
}
.nav.scrolled { background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--text-dim); transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--text); transition: right .35s var(--ease-out); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a, .lang button { background: none; border: 0; padding: 5px 10px; border-radius: 999px; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--text-mute); }
.lang a.is-active, .lang button.is-active { background: rgba(127, 127, 127, .16); color: var(--text); }
.lang button[disabled] { cursor: default; opacity: .55; }
.burger { display: none; }

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */
.sec { position: relative; padding: clamp(84px, 11vw, 150px) 0; transition: background-color .8s var(--ease); }
.sec--white { background: var(--white); }
.sec--line { border-top: 1px solid var(--line); }

.sec__head { position: relative; padding-left: 28px; max-width: 820px; display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec__head::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--blue), var(--violet));
  transform-origin: top; transform: scaleY(0); transition: transform 1.2s var(--ease-out) .2s;
}
.sec__head.in::before { transform: scaleY(1); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s, background-color .8s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 30px 50px -30px rgba(15, 17, 23, .28); }
.sec--white .card { background: var(--paper); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-dim); background: var(--tag-bg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(48px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px); min-height: 100svh; display: flex; align-items: center; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 17, 23, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 17, 23, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 66% 36%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 62% at 66% 36%, #000 0%, transparent 70%);
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__in > *, .product__in > *, .craft__in > *, .contact__in > * { min-width: 0; }
.hero__copy > * + * { margin-top: 26px; }
.hero__copy .display { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.hero__proof li { display: flex; align-items: center; gap: 9px; }
.hero__proof li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); }
.hero__scroll { position: absolute; left: var(--edge); bottom: 28px; z-index: 1; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); }
.hero__scroll i { display: block; width: 48px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: scrollhint 2.2s var(--ease) infinite; }

/* product window (hero) — transforms are driven by site.js */
.stage { position: relative; perspective: 1800px; }
.win {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #131c30 0%, #0b1220 100%);
  border: 1px solid rgba(244, 242, 236, .12); border-radius: 18px;
  box-shadow: 0 50px 100px -40px rgba(15, 17, 23, .55), 0 0 0 1px rgba(15, 17, 23, .06), 0 40px 80px -30px rgba(42, 139, 255, .28);
  transform-style: preserve-3d;
}
html:not(.js) .win { transform: rotateY(-8deg) rotateX(4deg); }
.win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(244, 242, 236, .35), transparent); }
.win__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); }
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 242, 236, .14); }
.win__title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); white-space: nowrap; }
.chip--live { color: var(--signal); border-color: rgba(46, 230, 166, .35); background: rgba(46, 230, 166, .08); }
.chip--live i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 2s infinite; }
.win__body { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 4px; }
.kpi__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.kpi__val { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi__delta { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); }
.kpi__delta.up { color: var(--signal); }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 8px; background: var(--surface-2); }
.chart__head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-dim); margin-bottom: 6px; }
.chart svg { width: 100%; height: auto; }
.chart__grid line { stroke: rgba(244, 242, 236, .07); stroke-width: 1; }
.chart__axis text { font-family: var(--font-mono); font-size: 8.5px; fill: rgba(244, 242, 236, .35); }
.chart__area { fill: url(#areaFill); opacity: 0; transition: opacity 1.2s ease 1s; }
.chart__line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart__pt { fill: #0b1220; stroke: var(--blue); stroke-width: 2; opacity: 0; transition: opacity .6s ease 2.2s; }
.chart.in .chart__area, .chart.in .chart__pt { opacity: 1; }
.feed { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feed__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 12.5px; color: var(--text-dim); border-bottom: 1px solid var(--line); }
.feed__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 14px; font-size: 12.5px; border-top: 1px solid var(--line); }
.feed__list li:first-child { border-top: 0; }
.feed__list li.is-new { animation: slideIn .6s var(--ease-out); }
.feed__id { font-family: var(--font-mono); color: var(--text-mute); }
.feed__items { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.feed__items small { color: var(--text-mute); margin-left: 8px; font-size: 11px; }
.feed__total { font-variant-numeric: tabular-nums; color: var(--text-dim); }
.st { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1px solid; white-space: nowrap; }
.st--new { color: var(--blue); border-color: rgba(90, 168, 255, .35); }
.st--prep { color: var(--amber); border-color: rgba(255, 181, 74, .35); }
.st--ready { color: var(--signal); border-color: rgba(46, 230, 166, .35); }
.st--done { color: var(--text-mute); border-color: var(--line); }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(15, 17, 23, .1); color: #0f1117;
  box-shadow: 0 30px 60px -22px rgba(15, 17, 23, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px;
}
.float b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(15, 17, 23, .6); }
.float span { display: block; white-space: nowrap; }
.float--mydata { left: -56px; top: 56%; }
.float--kds { right: -30px; bottom: -16px; }
.float .ok { width: 28px; height: 28px; border-radius: 50%; flex: none; background: rgba(18, 168, 119, .14); color: #12a877; display: grid; place-items: center; font-size: 13px; }
.float time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: #c9791a; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { padding: 32px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background-color .8s var(--ease); }
.marquee__label { text-align: center; margin-bottom: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
html.js .marquee__track { animation: none; }
.marquee__set { display: flex; align-items: center; }
.marquee__set span { position: relative; padding: 0 36px; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; color: var(--text-mute); transition: color .3s; }
.marquee__set span:hover { color: var(--text); }
.marquee__set span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); opacity: .7; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Services — horizontal scroll (pinned on desktop)
   -------------------------------------------------------------------------- */
.services { padding: 0; }
.services__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5vh, 44px); padding: clamp(72px, 9vh, 110px) 0 clamp(36px, 5vh, 72px); overflow: hidden; }
.services__head { padding-left: var(--edge); padding-right: var(--gutter); }
.services__head .sec__head { margin-bottom: 0; }
.services__head .lead { max-width: 62ch; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.services__track { display: flex; gap: 18px; padding-left: var(--edge); padding-right: var(--gutter); will-change: transform; }
.svc { position: relative; overflow: hidden; flex: 0 0 clamp(300px, 29vw, 400px); padding: 0 26px 24px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; }
/* --- service vignettes: tiny live scenes in the app's dark UI --- */
.vig { position: relative; height: clamp(168px, 24vh, 230px); margin: 0 -26px 4px; overflow: hidden; background: linear-gradient(180deg, #121a2c, #0b1220); color: #f4f2ec; font-size: 11px; line-height: 1.3; order: -1; }
.vig::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -1px 0 rgba(244, 242, 236, .08); }
.vig em { font-style: normal; font-variant-numeric: tabular-nums; }
.vig__orders span, .vig__eta, .vig__receipt, .vig__status, .vig__bars em, .vig__sync, .vig__code { font-family: var(--font-mono); }
/* 01 POS */
.vig--pos { display: grid; grid-template-columns: 1.05fr 1fr; gap: 10px; padding: 14px; }
.vig__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vig__tiles i { font-style: normal; display: grid; place-items: center; border-radius: 8px; background: var(--c); font-weight: 600; font-size: 11px; color: #fff; animation: vigTap 8s var(--d, 99s) infinite; }
.vig__cart { display: grid; align-content: start; gap: 4px; padding: 9px 10px; border-radius: 9px; background: rgba(244, 242, 236, .05); border: 1px solid rgba(244, 242, 236, .1); }
.vig__cart b { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 242, 236, .55); font-family: var(--font-mono); margin-bottom: 2px; }
.vig__cart span { display: flex; justify-content: space-between; color: rgba(244, 242, 236, .85); animation: vigIn 8s var(--d, 0s) infinite; }
.vig__cart strong { display: flex; justify-content: space-between; margin-top: 4px; padding-top: 5px; border-top: 1px solid rgba(244, 242, 236, .12); font-weight: 600; }
.vig__cart strong em { color: #2ee6a6; }
.vig__cart u { margin-top: auto; text-decoration: none; text-align: center; padding: 6px; border-radius: 6px; background: #3b82f6; font-weight: 600; font-size: 10.5px; }
/* 02 delivery */
.vig--delivery { background-image: linear-gradient(rgba(244, 242, 236, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 242, 236, .055) 1px, transparent 1px), linear-gradient(180deg, #121a2c, #0b1220); background-size: 26px 26px, 26px 26px, 100% 100%; }
.vig__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.vig__route .bg { fill: none; stroke: rgba(244, 242, 236, .14); stroke-width: 2; }
.vig__route .fg { fill: none; stroke: #3b82f6; stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; animation: vigDash 1.6s linear infinite; }
.vig__route .pin { fill: #0b1220; stroke: #3b82f6; stroke-width: 2; }
.vig__route .pin--end { stroke: #2ee6a6; }
.vig__route .rider circle { fill: rgba(59, 130, 246, .25); }
.vig__route .rider .in { fill: #fff; }
.vig__orders { position: absolute; left: 12px; top: 12px; display: grid; gap: 5px; }
.vig__orders span { font-size: 9.5px; padding: 4px 8px; border-radius: 6px; background: rgba(11, 18, 32, .86); border: 1px solid rgba(244, 242, 236, .16); animation: vigIn 8s var(--d, 0s) infinite; }
.vig__eta { position: absolute; right: 12px; bottom: 12px; font-size: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(46, 230, 166, .12); border: 1px solid rgba(46, 230, 166, .35); color: #2ee6a6; }
.vig__eta b { font-weight: 500; color: rgba(46, 230, 166, .7); margin-right: 4px; }
/* 03 AADE */
.vig--aade { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; padding: 14px; align-items: start; }
.vig__receipt { background: #f6f4ee; color: #0f1117; font-size: 8.5px; padding: 9px 10px 12px; display: grid; gap: 3px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 95% 100%, 90% calc(100% - 5px), 85% 100%, 80% calc(100% - 5px), 75% 100%, 70% calc(100% - 5px), 65% 100%, 60% calc(100% - 5px), 55% 100%, 50% calc(100% - 5px), 45% 100%, 40% calc(100% - 5px), 35% 100%, 30% calc(100% - 5px), 25% 100%, 20% calc(100% - 5px), 15% 100%, 10% calc(100% - 5px), 5% 100%, 0 calc(100% - 5px)); }
.vig__receipt b { font-size: 8px; letter-spacing: .06em; text-align: center; margin-bottom: 2px; }
.vig__receipt span, .vig__receipt strong { display: flex; justify-content: space-between; }
.vig__receipt strong { border-top: 1px dashed rgba(15, 17, 23, .3); padding-top: 3px; margin-top: 2px; }
.vig__qr { display: block; width: 34px; height: 34px; margin: 5px auto 2px; background: radial-gradient(#0f1117 46%, transparent 48%) 0 0 / 5px 5px; box-shadow: inset 0 0 0 3px #f6f4ee, inset 0 0 0 4px #0f1117; }
.vig__receipt small { text-align: center; font-size: 7.5px; color: rgba(15, 17, 23, .6); }
.vig__status { position: relative; display: grid; align-content: start; gap: 8px; padding-top: 4px; }
.vig__status > span { grid-area: 1 / 1; font-size: 10px; padding: 7px 9px; border-radius: 7px; border: 1px solid rgba(244, 242, 236, .14); background: rgba(244, 242, 236, .05); animation: vigCycle 7.2s infinite; }
.vig__status .s2 { animation-delay: 2.4s; }
.vig__status .s3 { animation-delay: 4.8s; color: #2ee6a6; border-color: rgba(46, 230, 166, .35); background: rgba(46, 230, 166, .1); }
.vig__pay { grid-area: 2 / 1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.vig__pay i { font-style: normal; font-size: 9.5px; padding: 4px 7px; border-radius: 5px; border: 1px solid rgba(244, 242, 236, .14); color: rgba(244, 242, 236, .75); }
/* 04 stock */
.vig--stock { display: grid; align-content: space-between; padding: 14px 16px 12px; }
.vig__bars { display: grid; gap: 8px; }
.vig__bars > div { display: grid; grid-template-columns: 58px 1fr 48px; align-items: center; gap: 8px; }
.vig__bars span { color: rgba(244, 242, 236, .8); }
.vig__bars i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #3b82f6, #7c5cff); width: var(--w); animation: vigBar 8s infinite; box-shadow: 0 0 0 1px rgba(244, 242, 236, .04); }
.vig__bars em { font-size: 9.5px; text-align: right; color: rgba(244, 242, 236, .6); }
.vig__bars .low i { background: linear-gradient(90deg, #ffb54a, #ff7a45); }
.vig__bars .low em { color: #ffb54a; }
.vig__recipe { display: grid; gap: 2px; padding-top: 9px; border-top: 1px solid rgba(244, 242, 236, .1); }
.vig__recipe b { font-size: 10px; }
.vig__recipe span { font-size: 9.5px; color: rgba(244, 242, 236, .6); font-family: var(--font-mono); }
/* 05 chains */
.vig--chains svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vig--chains .links line { stroke: rgba(244, 242, 236, .16); stroke-width: 1.5; }
.vig--chains .pulses circle { fill: #3b82f6; }
.vig--chains .nodes circle { fill: #131c30; stroke: rgba(244, 242, 236, .3); stroke-width: 1.5; }
.vig--chains .nodes text, .vig--chains .hubt { font-family: var(--font-mono); font-size: 10px; fill: #f4f2ec; text-anchor: middle; }
.vig--chains .hub { fill: #3b82f6; }
.vig--chains .hubt { font-weight: 600; font-size: 10.5px; }
.vig__sync { position: absolute; right: 12px; bottom: 10px; font-size: 9.5px; color: #2ee6a6; padding: 4px 8px; border-radius: 6px; background: rgba(46, 230, 166, .1); border: 1px solid rgba(46, 230, 166, .3); }
/* 06 code */
.vig--code { padding: 16px 18px; display: grid; align-content: center; }
.vig__code { display: grid; gap: 7px; font-size: 10.5px; color: rgba(244, 242, 236, .85); }
.vig__code span { display: block; white-space: nowrap; overflow: hidden; width: 100%; animation: vigType 9s steps(34) var(--d, 0s) infinite; }
.vig__code .k { color: #c084fc; font-style: normal; }
.vig__code .f { color: #5aa8ff; font-style: normal; }
.vig__code .s { color: #2ee6a6; font-style: normal; }
.vig__code .ok { color: #2ee6a6; margin-top: 4px; padding-top: 7px; border-top: 1px solid rgba(244, 242, 236, .1); }
@keyframes vigIn { 0%, 3% { opacity: 0; transform: translateY(6px); } 10%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(6px); } }
@keyframes vigTap { 0%, 2% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 5% { transform: scale(.93); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); } 9%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes vigDash { to { stroke-dashoffset: -13; } }
@keyframes vigCycle { 0% { opacity: 0; transform: translateY(4px); } 5%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes vigBar { 0% { width: calc(var(--w) + 18%); } 45%, 100% { width: var(--w); } }
@keyframes vigType { 0% { width: 0; } 14%, 90% { width: 100%; } 100% { width: 0; } }
@media (prefers-reduced-motion: reduce) { .vig__status .s1, .vig__status .s2 { display: none; } }
.svc__top { padding-top: 18px; }
.svc--cta { padding-top: 26px; }
.svc::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.svc:hover::after { transform: scaleX(1); }
.svc__top { display: flex; justify-content: space-between; align-items: center; }
.svc__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-mute); }
.svc__icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); background: var(--tag-bg); }
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.12; }
.svc p { color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.svc--cta { background: var(--ink); color: #f4f2ec; border-color: transparent; }
.svc--cta p { color: rgba(244, 242, 236, .66); }
.svc--cta .svc__num { color: rgba(244, 242, 236, .5); }
.svc--cta .btn--primary { background: #f4f2ec; color: #0f1117; justify-self: start; align-self: end; }
.services__hint { padding-left: var(--edge); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); display: flex; align-items: center; gap: 12px; }
.services__hint i { width: 40px; height: 1px; background: var(--line-strong); }

/* --------------------------------------------------------------------------
   Product walkthrough (pinned on desktop, scroll drives the screens)
   -------------------------------------------------------------------------- */
.product { padding: 0; }
.product__pin { min-height: 100vh; display: flex; align-items: center; padding: clamp(72px, 9vh, 110px) 0 clamp(40px, 5vh, 72px); }
.product__in { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.product .sec__head { margin-bottom: 26px; }
.steps-list { display: grid; border-top: 1px solid var(--line); }
.steps-list li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0 14px 14px; border-bottom: 1px solid var(--line); opacity: .42; transition: opacity .5s var(--ease); cursor: pointer; }
.steps-list li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--blue), var(--violet)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out); }
.steps-list li.is-active { opacity: 1; }
.steps-list li.is-active::before { transform: scaleY(1); }
.steps-list .n { font-family: var(--font-mono); font-size: 11px; color: var(--blue); padding-top: 4px; }
.steps-list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; margin-bottom: 3px; }
.steps-list p { font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.product__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.product__stage { position: relative; perspective: 1800px; }
.screens { display: grid; gap: 14px; }
.screens__frame { position: relative; overflow: hidden; border-radius: 18px; background: #0b1220; border: 1px solid rgba(244, 242, 236, .12); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); transform-style: preserve-3d; }
.screens__view { position: relative; aspect-ratio: 16 / 10; background: #0b1220; overflow: hidden; }
.screens__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; will-change: transform, opacity; }
html:not(.js) .screens__view img:first-child { opacity: 1; }
.screens__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.screens__tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-dim); transition: background .3s, color .3s, border-color .3s; }
.screens__tabs button:hover { border-color: var(--line-strong); color: var(--text); }
.screens__tabs button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.product__more { padding: 0 0 clamp(64px, 8vw, 120px); }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; border-top: 1px solid var(--line); }
.spec li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.spec b { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.spec span { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }


/* compact the pinned walkthrough on short viewports so everything stays visible */
@media (min-width: 1025px) and (max-height: 860px) {
  .product .sec__head { gap: 12px; margin-bottom: 16px; }
  .product .lead { display: none; }
  .steps-list li { padding: 10px 0 10px 14px; }
  .steps-list p { font-size: 13px; }
  .product__cta { margin-top: 18px; }
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */
.clients__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.clients__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 13vw, 11rem); letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.clients__num small { font-size: .5em; color: var(--blue); letter-spacing: -.02em; }
.clients__top .sec__head { margin-bottom: 0; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.logos span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; color: var(--text); transition: color .3s; }
.logos span:hover { color: var(--blue); }
.logos .more { font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--text-mute); margin-left: auto; }
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { position: relative; overflow: hidden; padding: 28px; min-height: 300px; display: grid; gap: 14px; align-content: start; }
.case__sector { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.case h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; }
.case p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.case .tags { margin-top: auto; padding-top: 6px; }

/* --------------------------------------------------------------------------
   Craft / company — the orb
   -------------------------------------------------------------------------- */
.craft { overflow: hidden; }
.craft__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.craft .sec__head { margin-bottom: 0; }
.principles { display: grid; margin-top: 34px; border-top: 1px solid var(--line); }
.principles li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.principles .n { font-family: var(--font-mono); font-size: 11px; color: var(--blue); padding-top: 5px; }
.principles b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; margin-bottom: 4px; letter-spacing: -.01em; }
.principles span { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.craft__orb { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.craft__orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-chip {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(15, 17, 23, .1); color: #0f1117;
  box-shadow: 0 30px 60px -24px rgba(15, 17, 23, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); will-change: transform;
}
.orb-chip b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.orb-chip span { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(15, 17, 23, .55); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-top: 36px; }
.steps__line { position: absolute; left: 0; right: 0; top: 8px; width: 100%; height: 2px; overflow: visible; }
.steps__line path { fill: none; stroke: var(--blue); stroke-width: 2; }
.steps__line .bg { stroke: var(--line-strong); }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step::before { content: ""; position: absolute; top: -28px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--text); transform: translateY(-50%) scale(0); transition: transform .5s var(--ease-out); }
.step.in::before { transform: translateY(-50%) scale(1); }
.step:first-child::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(27, 95, 214, .15); }
.step__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-mute); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.02em; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.step__dur { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--blue); }
.callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.callout { padding: 22px 24px; border-radius: var(--r); display: flex; gap: 14px; align-items: flex-start; }
.callout svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.callout b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; letter-spacing: -.01em; }
.callout span { font-size: 14px; color: var(--text-dim); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -12%; bottom: -30%; width: 50vw; height: 50vw; max-width: 800px; max-height: 800px; pointer-events: none; background: radial-gradient(closest-side, rgba(42, 139, 255, .12), transparent 70%); }
.contact__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact .sec__head { margin-bottom: 0; }
.contact__details { display: grid; margin-top: 34px; border-top: 1px solid var(--line); }
.contact__details li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact__details .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); padding-top: 4px; }
.contact__details a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.contact__details a:hover { border-color: var(--blue); color: var(--blue); }
.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 22px; box-shadow: 0 50px 100px -50px rgba(15, 17, 23, .35); }
.form__fields { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; position: relative; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); transition: color .3s; }
.field:focus-within label { color: var(--blue); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0; font: inherit; font-size: 16px; color: var(--text); outline: 0; -webkit-appearance: none; appearance: none; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--blue), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field input::placeholder, .field textarea::placeholder { color: rgba(127, 127, 127, .5); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { padding-right: 26px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.check input { margin-top: 4px; accent-color: var(--blue); width: 15px; height: 15px; }
.check a { border-bottom: 1px solid var(--line-strong); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__err { font-size: 14px; color: #b3261e; }
.form__ok { padding: 32px 8px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.form__ok .ok { width: 48px; height: 48px; border-radius: 50%; background: rgba(18, 168, 119, .14); color: var(--signal); display: grid; place-items: center; font-size: 20px; margin-bottom: 6px; }
.form__ok b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.form__ok p { color: var(--text-dim); font-size: 15px; max-width: 40ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 40px 0 32px; background: #0b0c11; overflow: hidden; }
.footer__big { overflow: hidden; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__big span { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 19vw, 300px); letter-spacing: -.06em; line-height: .92; padding-bottom: .04em; color: transparent; -webkit-text-stroke: 1px rgba(244, 242, 236, .28); transition: color .6s, -webkit-text-stroke-color .6s; }
.footer__big:hover span { color: rgba(244, 242, 236, .9); -webkit-text-stroke-color: transparent; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--text-dim); max-width: 34ch; line-height: 1.55; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--text-dim); transition: color .25s; }
.footer ul a:hover { color: var(--text); }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--text-mute); }


/* --------------------------------------------------------------------------
   Legal / document pages
   -------------------------------------------------------------------------- */
.doc-page .nav { background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.doc { padding: calc(var(--nav-h) + clamp(44px, 6vw, 80px)) 0 clamp(64px, 9vw, 120px); }
.doc__in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc__side { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 9px; }
.doc__side h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
.doc__side a { font-size: 14px; color: var(--text-dim); line-height: 1.4; padding: 3px 0 3px 12px; border-left: 2px solid var(--line); transition: color .25s, border-color .25s; }
.doc__side a:hover { color: var(--text); border-left-color: var(--blue); }
.doc__head { display: grid; gap: 14px; padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-mute); }
.doc__body { max-width: 76ch; }
.doc__body section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.doc__body section:last-of-type { border-bottom: 0; }
.doc__body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 12px; }
.doc__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; margin: 20px 0 8px; }
.doc__body p { color: var(--text-dim); margin-bottom: 12px; line-height: 1.7; }
.doc__body p:last-child { margin-bottom: 0; }
.doc__body ul { display: grid; gap: 8px; margin: 12px 0; }
.doc__body li { position: relative; padding-left: 20px; color: var(--text-dim); line-height: 1.6; }
.doc__body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.doc__body strong { color: var(--text); font-weight: 600; }
.doc__body a:not(.btn) { color: var(--blue); border-bottom: 1px solid rgba(27, 95, 214, .35); }
.doc__body a:not(.btn):hover { border-bottom-color: var(--blue); }
.doc__body dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 14px 0; }
.doc__body dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); padding-top: 4px; }
.doc__body dd { margin: 0; color: var(--text-dim); }
.doc__note { padding: 18px 20px; border-radius: var(--r); border: 1px solid rgba(201, 121, 26, .3); background: rgba(201, 121, 26, .07); font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin: 16px 0; }
.doc__note b { color: var(--text); }
.doc__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 14.5px; color: var(--text-dim); transition: color .25s; }
.doc__back:hover { color: var(--text); }
@media (max-width: 900px) { .doc__in { grid-template-columns: 1fr; } .doc__side { position: static; } }


/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.nf { min-height: 76vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) 0 clamp(64px, 9vw, 110px); }
.nf__in { display: grid; gap: 18px; justify-items: center; max-width: 58ch; margin-inline: auto; }
.nf__code {
  font-family: var(--font-display); font-weight: 700; line-height: .88; letter-spacing: -.06em;
  font-size: clamp(5.5rem, 19vw, 13rem);
  background: linear-gradient(120deg, var(--ink) 20%, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf .lead { text-align: center; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.nf__alt { margin-top: 12px; font-size: 14px; color: var(--text-mute); }
.nf__alt a { color: var(--blue); border-bottom: 1px solid rgba(27, 95, 214, .35); }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, .5); } 70% { box-shadow: 0 0 0 9px rgba(46, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes scrollhint { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero__in, .product__in, .craft__in, .contact__in { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .services { padding: clamp(84px, 11vw, 150px) 0; }
  .services__pin { min-height: auto; padding: 0; overflow: visible; }
  .services__track { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 var(--gutter); }
  .svc { min-height: 0; }
  .services__hint { display: none; }
  .product { padding: clamp(84px, 11vw, 150px) 0 0; }
  .product__pin { min-height: auto; padding: 0; }
  .product__more { padding-top: clamp(40px, 6vw, 64px); }
  .spec { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; padding-top: 0; }
  .steps__line, .step::before { display: none; }
  .clients__grid { grid-template-columns: 1fr; }
  .clients__top { grid-template-columns: 1fr; align-items: start; }
  .case { min-height: 0; }
  .callouts { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .logos .more { margin-left: 0; flex-basis: 100%; }
  .craft__orb { width: min(100%, 420px); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .lang { display: none; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; }
  .burger span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 0 auto; transition: transform .3s, opacity .3s; }
  .nav.open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav.open { background: var(--paper); border-bottom-color: var(--line); }
  .nav.open .nav__links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 0 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a { padding: 14px var(--gutter); font-size: 20px; font-family: var(--font-display); font-weight: 500; color: var(--text); }
  .nav.open .nav__links a::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn { display: none; }
  .services__track { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { display: none; }
  .feed__list li:nth-child(n+4) { display: none; }
  .float { display: none; }
  .feed__head .mono { display: none; }
  .screens__frame .win__bar .chip { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .contact__details li { grid-template-columns: 1fr; gap: 6px; }
  .logos { gap: 12px 28px; }
  .orb-chip { padding: 9px 12px; }
  .orb-chip b { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sec__head::before { transform: none; }
  .chart__area, .chart__pt { opacity: 1; }
  .step::before { transform: translateY(-50%) scale(1); }
  .steps-list li { opacity: 1; }
  .screens__view img:first-child { opacity: 1; }
}
