/* ProSpace — главная. Каркас: витрина продуктов и кейсов на всю ширину.
   Правила: без мелкого капса, без кругов, без точек-разделителей. */

:root {
  --brand-violet: #581C87;
  --brand-lime: #D6F36B;
  --paper: #F1EFEA;
  --paper-2: #E8E5DD;
  --white: #FBFAF7;
  --ink: #0E0C12;
  --ink-2: #1A1720;
  --muted: #6E6A75;
  --line: rgba(14, 12, 18, .12);
  --line-inv: rgba(251, 250, 247, .14);
  --violet: #581C87;
  --violet-2: #7C3AED;
  --violet-3: #A78BFA;
  --lilac: #DDD2F4;
  --lime: #D6F36B;
  --lime-2: #C3E64A;
  --signal: #FF5B2E;

  --gutter: clamp(16px, 2vw, 32px);
  --gap: clamp(8px, .8vw, 14px);
  --radius: clamp(18px, 1.6vw, 28px);
  --r-ui: 12px;
  --row: clamp(300px, 21vw, 400px);
  --pad: clamp(18px, 1.6vw, 28px);

  --f-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }

/* ───────── header ───────── */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.hdr.is-solid {
  background: rgba(241, 239, 234, .8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.hdr.is-hidden { transform: translateY(-100%); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.logo svg { width: 26px; height: auto; color: var(--brand-violet); }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: var(--r-ui); font-size: 16px; transition: background .25s; }
.nav a:hover { background: rgba(14, 12, 18, .06); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-ui);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn:active { transform: scale(.97); }
.hdr__act { display: flex; gap: 8px; }
.hdr__mail {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 18px; font-weight: 500; letter-spacing: -.025em;
  white-space: nowrap;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .25s ease, text-decoration-color .25s ease;
}
.hdr__mail:hover { color: var(--violet); text-decoration-color: currentColor; }
body.menu-open .hdr__mail { display: none; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--violet); }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.burger { display: none; width: 48px; height: 48px; border-radius: var(--r-ui); background: var(--ink); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 27px; }
body.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column;
  overflow-y: auto; gap: clamp(12px, 2vh, 20px);
  padding: clamp(96px, 14svh, 144px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
body.menu-open .hdr { color: var(--white); background: transparent; backdrop-filter: none; }
body.menu-open .logo svg { color: var(--brand-lime); }
.menu > a { font-size: clamp(40px, 11vw, 72px); font-weight: 500; letter-spacing: -.031em; line-height: 1.08; }
.menu > a:last-child { margin-top: 12px; font-size: 22px; letter-spacing: -.01em; color: var(--lime); }

/* ───────── hero ───────── */

.hero {
  min-height: 100svh;
  padding: 120px var(--gutter) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(32px, 5vw, 72px);
}
.hero__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(48px, 8.6vw, 184px);
  line-height: .95;
  letter-spacing: -.043em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .ln > span { transform: none; }
.is-loaded .hero__title .ln:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .ln:nth-child(3) > span { transition-delay: .16s; }

.hero__pill {
  display: inline-block;
  vertical-align: middle;
  width: 1.34em; height: .78em;
  margin: 0 .06em .1em;
  border-radius: 99px;
  background: var(--brand-violet);
}

/* rotating tail of the headline: every variant sits in the same grid cell,
   so the cell is as wide as the longest one and nothing around it moves */
.hero__title .ln .rotator { display: inline-grid; color: var(--violet); }
.hero__title .ln .rotator--verb { color: var(--ink); }
.rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(55%);
  filter: blur(6px);
  transition: opacity .55s var(--ease), transform .8s var(--ease), filter .6s var(--ease);
  white-space: nowrap;
}
.rotator > span.is-on { opacity: 1; transform: none; filter: none; }
.rotator > span.is-off { opacity: 0; transform: translateY(-55%); filter: blur(6px); }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero__lead { margin: 0; max-width: 34em; font-size: clamp(18px, 1.4vw, 24px); line-height: 1.38; }
.hero__scroll { display: flex; align-items: center; align-self: center; justify-self: end; gap: 12px; color: var(--muted); font-size: 14px; white-space: nowrap; user-select: none; }
.hero__scroll svg { flex-shrink: 0; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__mouse rect { opacity: .5; }
.hero__wheel { stroke: var(--violet); stroke-width: 2.4; animation: scrollWheel 2.6s var(--ease) infinite; }
.hero__swipe { display: none; }
@keyframes scrollWheel {
  0%, 10% { transform: translateY(-1px); opacity: 0; }
  25% { opacity: 1; }
  65%, 100% { transform: translateY(8px); opacity: 0; }
}
@media (hover: none) {
  .hero__mouse { display: none; }
  .hero__swipe { display: block; }
}
.hero__title em { font-style: normal; color: var(--violet); }

/* ───────── scale marquee ───────── */

.ticker {
  display: flex;
  overflow: hidden;
  padding: clamp(28px, 3vw, 48px) 0;
  user-select: none;
}
.ticker__track { display: flex; flex-shrink: 0; gap: clamp(48px, 5vw, 96px); padding-right: clamp(48px, 5vw, 96px); animation: marquee 60s linear infinite; }
.ticker__track span {
  white-space: nowrap;
  font-size: clamp(36px, 4.6vw, 88px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}
.ticker__track span b { font-weight: 500; color: var(--violet); }

/* ───────── section heads ───────── */

.sec { padding: clamp(56px, 7vw, 120px) var(--gutter) 0; }
.sec__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: clamp(44px, 6.8vw, 128px);
  font-weight: 500;
  letter-spacing: -.043em;
  line-height: .92;
}

/* ───────── filters ───────── */

.filters {
  position: sticky;
  top: 80px;
  z-index: 20;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 var(--gap);
  padding: 5px;
  border-radius: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(241, 239, 234, .84);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 30px rgba(14, 12, 18, .07);
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  height: 42px; padding: 0 18px;
  border-radius: var(--r-ui);
  font-size: 16px;
  transition: background .25s, color .25s;
}
.chip:hover { background: rgba(14, 12, 18, .06); }
.chip.is-active { background: var(--ink); color: var(--white); }

/* ───────── bento ───────── */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: var(--row);
  grid-auto-flow: row;
  gap: var(--gap);
}

.tile {
  --bg: var(--white);
  --fg: var(--ink);
  --sub: var(--muted);
  --ln: var(--line);
  --acc: var(--violet);
  position: relative;
  grid-column: span var(--c, 4);
  grid-row: span var(--r, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
  cursor: none;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.tile.is-in { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
div.tile { cursor: default; }

.tile--ink    { --bg: var(--ink);    --fg: var(--white); --sub: rgba(251,250,247,.6); --ln: var(--line-inv); --acc: var(--lime); }
.tile--violet { --bg: var(--violet); --fg: var(--white); --sub: rgba(251,250,247,.7); --ln: var(--line-inv); --acc: var(--lime); }
.tile--lime   { --bg: var(--lime); }
.tile--lilac  { --bg: var(--lilac); }
.tile--paper  { --bg: var(--paper-2); }

.tile__top { position: relative; z-index: 2; }
.tile__body { position: relative; z-index: 2; max-width: 36em; }
.tile__title {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 500;
  letter-spacing: -.027em;
  line-height: 1.02;
}
.tile--big .tile__title { font-size: clamp(36px, 4vw, 76px); letter-spacing: -.039em; }
.tile__text {
  margin: 10px 0 0;
  color: var(--sub);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.38;
  max-width: 32em;
}

/* scale facts — the boast row */
.facts { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 2.4vw, 44px); }
.facts > div { max-width: 15em; }
.facts b {
  display: block;
  font-size: clamp(28px, 2.6vw, 48px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--acc);
}
.facts span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.3; color: var(--sub); }

.viz {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: transform 1.1s var(--ease);
}
.tile:hover .viz { transform: scale(1.025); }

/* label instead of a round cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 60;
  padding: 12px 18px;
  border-radius: var(--r-ui);
  background: var(--lime); color: var(--ink);
  font-size: 16px; font-weight: 500;
  pointer-events: none;
  transform: translate3d(-300px, -300px, 0);
  scale: 0;
  transition: scale .3s var(--ease);
}
.cursor.is-on { scale: 1; }

/* ───────── viz: OptiTrack ───────── */

.v-map { inset: 0; }
.tile[data-site="optitrack"] { container: optitrack / inline-size; }
.tile:hover .v-map { transform: none; }
@container optitrack (min-width: 1160px) {
  .map-network { transform: translate(-24px, -78px) scale(1.2); }
}
.v-map svg { width: 100%; height: 100%; }
.v-map .route { fill: none; stroke: rgba(251,250,247,.18); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.v-map .route--live { stroke: var(--lime); stroke-width: 1.6; stroke-opacity: .76; }
.map-network .route--live { stroke-dasharray: 4 7; stroke-opacity: .9; animation: mapRoute 5s linear infinite; }
@keyframes mapRoute { to { stroke-dashoffset: -44; } }
.v-map .node { fill: var(--ink); stroke: rgba(251,250,247,.5); stroke-width: 1.4; }
.v-map .node--hub { fill: var(--lime); stroke: none; }
.v-map .lbl { fill: rgba(251,250,247,.55); font: 500 13px var(--f-sans); }
.v-map .truck { fill: var(--lime); }

.ot-card {
  position: absolute; z-index: 2;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: min(320px, 34%);
  padding: 18px;
  border-radius: 18px;
  background: rgba(26, 23, 32, .86);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-inv);
  font-size: 14px;
}
.ot-card__h { color: rgba(251,250,247,.55); }
.ot-card__id { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 4px 0 14px; }
.ot-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ot-steps li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: rgba(251,250,247,.45); }
.ot-steps li.done { color: var(--white); }
.ot-steps li.now { color: var(--ink); background: var(--lime); font-weight: 500; }
.ot-cost { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: rgba(251,250,247,.55); }
.ot-cost b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--white); }
.ot-cost em { font-style: normal; color: var(--lime); font-weight: 500; }

/* ───────── viz: DocWyse ───────── */

.v-doc { right: var(--pad); top: var(--pad); width: 54%; display: grid; gap: 8px; }
.v-doc .bub { padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: var(--white); font-size: 14px; line-height: 1.3; max-width: 90%; box-shadow: 0 6px 20px rgba(88,28,135,.08); }
.v-doc .bub b { display: block; font-size: 12px; font-weight: 500; color: var(--violet); margin-bottom: 2px; }
.v-doc .bub--pt { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--violet); color: var(--white); }
.v-doc .bub--pt b { color: var(--lime); }
.v-doc .field { padding: 10px 13px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 14px; min-height: 58px; }
.v-doc .field b { display: block; font-size: 12px; font-weight: 500; color: var(--lime); margin-bottom: 2px; }
.v-doc .typed::after { content: "▍"; color: var(--lime); animation: blink 1s steps(1) infinite; }

/* ───────── viz: Panelyx ───────── */

.v-tri { right: 7%; top: 10%; width: 40%; aspect-ratio: 1; }
.v-tri svg { width: 100%; height: 100%; overflow: visible; }
.v-tri .cup { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.v-tri .cup--odd { fill: var(--ink); animation: bob 2.6s var(--ease) infinite; }
.v-tri text { font: 600 16px var(--f-sans); text-anchor: middle; dominant-baseline: central; }
.v-tri .tri-ln { fill: none; stroke: var(--ink); stroke-dasharray: 3 5; opacity: .4; }

/* ───────── DocWyse and Panelyx: soft, minimal widgets ───────── */

.tile--doc { --bg: #E4DAF5; }
.tile--per { --bg: var(--white); }
.tile--doc, .tile--per { gap: 20px; border-radius: clamp(24px, 2vw, 36px); }
.tile--doc .tile__text, .tile--per .tile__text { max-width: 29em; margin-top: 8px; font-size: clamp(14px, 1vw, 17px); }
.product-widget {
  --widget-surface: rgba(251,250,247,.82);
  --widget-radius: 28px;
  --widget-accent: var(--violet);
  --widget-grid: rgba(14,12,18,.10);
  width: min(100%, 340px); margin: auto; pointer-events: none;
}
.doc-widget { display: grid; width: min(100%, 440px); min-height: 164px; align-items: center; }
.doc-chat, .doc-note { grid-area: 1 / 1; }
.doc-chat { display: grid; padding: 4px 0; }
.doc-chat__exchange { grid-area: 1 / 1; display: grid; gap: 10px; }
.doc-chat__exchange--second { opacity: 0; }
.doc-chat__bubble { max-width: 92%; padding: 14px 20px; border-radius: 26px; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.35; }
.doc-chat__bubble > span { display: block; margin-bottom: 4px; font-size: 12px; opacity: .6; }
.doc-chat__bubble--doctor { justify-self: start; background: var(--widget-surface); border-bottom-left-radius: 8px; }
.doc-chat__bubble--patient { justify-self: end; background: var(--widget-accent); color: var(--white); border-bottom-right-radius: 8px; }
.doc-note { padding: 18px 22px; border-radius: var(--widget-radius); background: var(--widget-surface); opacity: 0; transform: translateY(10px) scale(.96); }
.doc-note__heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.doc-note__heading > b { font-size: clamp(15px, 1.2vw, 19px); font-weight: 500; }
.doc-note__check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 12px; background: #D9C7EE; color: var(--widget-accent); }
.doc-note__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: clamp(13px, 1vw, 16px); }
.doc-note__row > span { color: var(--muted); }
.doc-note__row > b { font-weight: 400; }
.tile--doc.is-in .doc-chat__exchange--first { animation: docFirst 14s var(--ease) infinite; }
.tile--doc.is-in .doc-chat__exchange--second { animation: docSecond 14s var(--ease) infinite; }
.tile--doc.is-in .doc-chat__exchange--first .doc-chat__bubble--patient { animation: docReply 14s var(--ease) infinite; }
.tile--doc.is-in .doc-chat__exchange--second .doc-chat__bubble--patient { animation: docFollowup 14s var(--ease) infinite; }
.tile--doc.is-in .doc-note { animation: docReady 14s var(--ease) infinite; }
@keyframes docFirst { 0% { opacity: 0; transform: translateY(8px); } 4%, 29% { opacity: 1; transform: none; } 35%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes docSecond { 0%, 32% { opacity: 0; transform: translateY(8px); } 38%, 61% { opacity: 1; transform: none; } 67%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes docReply { 0%, 8% { opacity: 0; transform: translateY(8px); } 15%, 100% { opacity: 1; transform: none; } }
@keyframes docFollowup { 0%, 41% { opacity: 0; transform: translateY(8px); } 48%, 100% { opacity: 1; transform: none; } }
@keyframes docReady { 0%, 64% { opacity: 0; transform: translateY(10px) scale(.96); } 72%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  .doc-chat { visibility: hidden; }
  .doc-note { opacity: 1; transform: none; }
}
.tile--per { gap: 12px; }
.sensory-radar { width: 100%; flex: 1; min-height: 0; display: grid; place-items: center; }
.sensory-radar svg { width: 100%; height: 100%; min-height: 0; max-height: 260px; overflow: visible; }
.sensory-radar__grid { stroke: var(--widget-grid); stroke-width: 1; stroke-linejoin: round; }
.sensory-radar__axes { stroke: var(--widget-grid); stroke-width: 1; }
.sensory-radar__profile { fill: rgba(88,28,135,.16); stroke: var(--widget-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sensory-radar__labels { fill: var(--ink); font: 400 13px var(--f-sans); }

/* ───────── CabWise: one transparent transport expense ───────── */
.tile--cab { --bg: #E1F498; gap: 18px; }
.tile--cab .tile__text { max-width: 25em; }
.cab-widget { width: 100%; margin: auto 0; padding: 17px 19px; border-radius: 24px; background: rgba(251,250,247,.82); }
.cab-widget__heading, .cab-widget__footer { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.cab-widget__heading > span:last-child { opacity: .6; font-size: 10px; }
.cab-widget__fare { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 15px 0; }
.cab-widget__fare b { font-size: clamp(32px, 3vw, 52px); letter-spacing: -.045em; font-weight: 500; line-height: 1; }
.cab-widget__fare b > span { font-size: .65em; margin-left: .15em; }
.cab-widget__check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 12px; background: var(--lime); color: var(--ink); font-size: 20px; }
.cab-widget__footer { font-size: 11px; }
.cab-widget__footer > span:last-child { color: var(--violet); }
@media (max-width: 720px) { .tile--cab.tile { min-height: 340px; } }

/* ───────── HarmonyAI: a question, a reason, a source ───────── */
.tile--harmony { --bg: var(--ink); --sub: rgba(251,250,247,.6); gap: 26px; }
.harmony-widget { flex: 1; min-height: 210px; display: flex; flex-direction: column; justify-content: center; gap: 24px; margin: 12px 0; }
.harmony-widget__question { align-self: flex-end; width: fit-content; max-width: 100%; padding: 15px 22px; background: var(--lilac); color: var(--ink); border-radius: 24px 24px 8px 24px; font-size: clamp(15px, 1.35vw, 22px); line-height: 1.25; }
.harmony-widget__response { display: grid; grid-template-columns: 1fr 1.2fr; align-items: end; gap: 22px; }
.harmony-widget__response b { display: block; font-size: clamp(36px, 4.5vw, 76px); line-height: 1; font-weight: 500; letter-spacing: -.055em; color: var(--lime); }
.harmony-widget__response div > span { display: block; margin-top: 12px; color: rgba(251,250,247,.65); font-size: clamp(14px, 1.2vw, 19px); line-height: 1.35; }
.harmony-widget__response svg { width: 100%; height: auto; min-width: 0; margin-bottom: 4px; overflow: visible; }
.harmony-widget__plan { stroke: rgba(251,250,247,.25); stroke-width: 2; stroke-dasharray: 4 6; }
.harmony-widget__area { fill: rgba(214,243,107,.1); }
.harmony-widget__line { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 350; stroke-dashoffset: 350; }
.harmony-widget__source { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-inv); color: rgba(251,250,247,.45); font-size: 11px; }
.harmony-widget__source > span:last-child { color: var(--lilac); }
.tile--harmony.is-in .harmony-widget__line { animation: harmonyLine 1.8s var(--ease) both; }
@keyframes harmonyLine { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .harmony-widget__line { stroke-dashoffset: 0; } }

/* ───────── viz: forecast chart ───────── */

.v-fc { right: 0; bottom: 0; width: 62%; height: 84%; }
.v-fc svg { width: 100%; height: 100%; }
.v-fc .grid-ln { stroke: var(--line); }
.v-fc .act { fill: none; stroke: var(--ink); stroke-width: 2; }
.v-fc .fc { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 5 5; }
.v-fc .band { fill: rgba(124,58,237,.14); }
.v-fc .now { stroke: var(--ink); stroke-dasharray: 2 4; }
.v-fc text { font: 500 12px var(--f-sans); fill: var(--muted); }
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.2s var(--ease); }
.is-in .draw { stroke-dashoffset: 0; }

/* ───────── viz: device ───────── */

.v-dev { right: var(--pad); top: var(--pad); width: 46%; }
.dev-scale { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.dev-scale b { font-size: clamp(36px, 3.2vw, 60px); font-weight: 500; letter-spacing: -.039em; line-height: 1; }
.dev-scale span { color: rgba(251,250,247,.6); font-size: 18px; }
.v-dev svg { width: 100%; height: 44px; margin-top: 8px; }
.v-dev .spark { fill: none; stroke: var(--lime); stroke-width: 1.6; }
.v-dev .spark-fill { fill: url(#sparkGrad); }
.dev-live { text-align: right; color: rgba(251,250,247,.6); margin-top: 6px; font-size: 13px; }

/* ───────── InquiryTrack: an order reaches ERP ───────── */
.tile--inquiry { --bg: var(--white); gap: 18px; }
.inquiry-widget { width: min(100%, 290px); margin: auto 0; align-self: center; }
.inquiry-widget__flow { display: grid; grid-template-columns: 62px 1fr 64px; align-items: center; gap: 15px; }
.inquiry-widget__order { display: grid; align-content: center; gap: 7px; width: 62px; height: 72px; padding: 16px 13px; background: var(--lilac); border-radius: 15px; transform: rotate(-5deg); }
.inquiry-widget__order i { height: 4px; background: var(--violet); border-radius: 3px; opacity: .55; }
.inquiry-widget__order i:last-child { width: 65%; }
.inquiry-widget__connector { height: 0; border-top: 2px dashed var(--violet-3); position: relative; }
.inquiry-widget__connector > span { position: absolute; right: -3px; top: -17px; font-size: 25px; color: var(--violet); background: var(--white); line-height: 1; padding-left: 3px; }
.inquiry-widget__erp { width: 64px; height: 64px; position: relative; display: grid; place-items: center; background: var(--violet); color: var(--white); border-radius: 21px; font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.inquiry-widget__erp > span { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 9px; background: var(--lime); color: var(--ink); font-size: 13px; }
.inquiry-widget__caption { font-size: 13px; color: var(--violet); text-align: center; margin-top: 18px; }
.tile--inquiry.is-in .inquiry-widget__erp > span { animation: inquiryReceived .65s .5s var(--ease) both; }
@keyframes inquiryReceived { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

/* ───────── viz: stat tile ───────── */

.stat__num { display: flex; align-items: flex-start; font-size: clamp(96px, 10vw, 200px); font-weight: 500; white-space: nowrap; letter-spacing: -.055em; line-height: .8; }
.stat__num sup { display: block; font-size: .75em; line-height: .8; color: var(--lime); letter-spacing: 0; margin-left: .08em; transform: translateY(-.17em); }

/* ───────── viz: services portal ───────── */

.v-apps { right: var(--pad); top: var(--pad); display: grid; grid-template-columns: repeat(3, 46px); gap: 6px; }
.v-apps span { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.v-apps span svg { width: 20px; height: 20px; stroke: var(--lime); fill: none; stroke-width: 1.6; }
.v-apps span:nth-child(2n) { background: var(--white); }
.v-apps span:nth-child(2n) svg { stroke: var(--ink); }
.tile:hover .v-apps span:nth-child(odd) { transform: translateY(-4px); }
.tile:hover .v-apps span:nth-child(even) { transform: translateY(4px); }

/* ───────── employee portal: one place to find a service ───────── */
.tile--portal { --bg: var(--lilac); gap: 20px; }
.portal-widget { width: 100%; display: grid; gap: 10px; margin: auto 0; }
.portal-widget__search { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 22px; background: var(--white); font-size: clamp(13px, 1.2vw, 18px); color: var(--muted); }
.portal-widget__search svg { width: 21px; height: 21px; flex-shrink: 0; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; }
.portal-widget__services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.portal-widget__services > span { padding: 11px 5px; border-radius: 14px; background: rgba(251,250,247,.55); font-size: clamp(11px, 1vw, 16px); text-align: center; }
.portal-widget__services > span.is-selected { background: var(--violet); color: var(--white); }
.tile--portal.is-in .portal-widget__services { animation: portalServices .7s .2s var(--ease) both; }
@keyframes portalServices { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ───────── viz: promo gantt ───────── */

.v-gantt { left: var(--pad); right: var(--pad); top: 26%; }
.g-head, .g-row { display: grid; grid-template-columns: 140px repeat(12, 1fr); align-items: center; }
.g-head { color: var(--muted); font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.g-row { height: clamp(34px, 2.7vw, 46px); border-bottom: 1px solid var(--line); font-size: 14px; }
.g-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.g-bar {
  grid-row: 1; height: 64%;
  border-radius: 8px;
  display: flex; align-items: center; padding: 0 10px;
  font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden;
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease);
}
.is-in .g-bar { transform: none; }
.g-bar.b1 { background: var(--violet); color: var(--white); }
.g-bar.b2 { background: var(--lime); }
.g-bar.b3 { background: var(--ink); color: var(--white); }
.g-bar.b4 { background: var(--lilac); }

/* RevoScope is a flagship product. */
.tile--revo { --bg: var(--violet); --fg: var(--white); --sub: rgba(251,250,247,.7); --ln: var(--line-inv); --acc: var(--lime); }
.tile--revo .g-head { color: rgba(251,250,247,.5); border-color: var(--line-inv); }
.tile--revo .g-row { border-color: var(--line-inv); }
.tile--revo .g-bar.b1 { background: var(--lilac); color: var(--ink); }
.tile--revo .g-bar.b2 { background: var(--lime); color: var(--ink); }
.tile--revo .g-bar.b3 { background: rgba(251,250,247,.16); color: var(--white); }
.tile--revo .g-bar.b4 { background: var(--white); color: var(--violet); }

/* ───────── Assortora: planned assortment vs the shelf ───────── */
.tile--assort { --bg: var(--lilac); display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: auto 1fr; gap: 20px; }
.tile--assort .tile__top { grid-column: 1; grid-row: 1; }
.tile--assort .tile__body { grid-column: 1; grid-row: 2; align-self: end; }
.assort-widget { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; gap: 18px; min-width: 0; }
.assort-widget__row > span { display: block; font-size: 12px; color: rgba(14,12,18,.6); margin-bottom: 9px; }
.assort-widget__shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.assort-widget__shelf i { display: block; height: clamp(24px, 2.2vw, 42px); border-radius: 8px; background: var(--violet); }
.assort-widget__shelf i:nth-child(3n) { background: #A78BFA; }
.assort-widget__shelf i.is-missing { background: transparent; border: 2px dashed #C46C4F; }
.assort-widget__result { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.assort-widget__result > span { padding: 8px 11px; border-radius: 12px; background: rgba(251,250,247,.65); color: var(--violet); font-size: 17px; font-weight: 500; white-space: nowrap; }
.assort-widget__result b { font-weight: 400; font-size: 12px; color: rgba(14,12,18,.6); text-align: right; }
.bento--products .tile--assort { grid-template-rows: auto 1fr auto; }
.bento--products .tile--assort .tile__top { grid-column: 1 / -1; grid-row: 1; }
.bento--products .tile--assort .assort-widget { grid-column: 1 / -1; grid-row: 2; }
.bento--products .tile--assort .tile__body { grid-column: 1 / -1; grid-row: 3; }
.bento--products .assort-widget__shelf i { height: clamp(36px, 4vw, 74px); }
@media (min-width: 721px) and (max-width: 1180px) {
  .bento--products .tile--assort { grid-template-rows: auto 1fr; }
  .bento--products .tile--assort .tile__top { grid-column: 1; grid-row: 1; }
  .bento--products .tile--assort .assort-widget { grid-column: 2; grid-row: 1 / 3; }
  .bento--products .tile--assort .tile__body { grid-column: 1; grid-row: 2; }
  .bento--products .assort-widget__shelf i { height: 32px; }
}
@media (max-width: 720px) {
  .tile--assort { grid-template-rows: auto 1fr auto; }
  .tile--assort .tile__top { grid-column: 1 / -1; grid-row: 1; }
  .tile--assort .assort-widget { grid-column: 1 / -1; grid-row: 2; }
  .tile--assort .tile__body { grid-column: 1 / -1; grid-row: 3; }
  .assort-widget__shelf i { height: 40px; }
}

/* ───────── viz: recommended order ───────── */

.v-reco { left: var(--pad); right: var(--pad); top: var(--pad); font-size: 14px; }
.r-row { display: grid; grid-template-columns: 1.2fr 1fr 48px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.r-row.h { color: var(--muted); font-size: 13px; padding-top: 0; }
.r-bar { height: 10px; border-radius: 3px; background: var(--paper-2); position: relative; overflow: hidden; }
.r-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--violet); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.is-in .r-bar i { transform: none; }
.r-bar i + i { left: var(--w); width: var(--w2); background: var(--lime-2); }
.r-row b { font-weight: 500; text-align: right; }

/* ───────── viz: BOM ───────── */

.v-bom { left: var(--pad); right: var(--pad); top: var(--pad); display: grid; gap: 10px; font-size: 14px; }
.bom-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; color: rgba(251,250,247,.65); }
.bom-bar { display: flex; height: 24px; border-radius: 6px; overflow: hidden; gap: 2px; }
.bom-bar i { display: block; height: 100%; width: var(--w); }
.bom-bar i:nth-child(1) { background: var(--violet-3); }
.bom-bar i:nth-child(2) { background: rgba(251,250,247,.75); }
.bom-bar i:nth-child(3) { background: rgba(251,250,247,.3); }
.bom-bar i:nth-child(4) { background: var(--lime); }
.bom-switch { display: flex; align-items: center; gap: 10px; color: rgba(251,250,247,.7); margin-top: 4px; }
.bom-switch .sw { width: 38px; height: 22px; border-radius: 6px; background: var(--lime); position: relative; }
.bom-switch .sw::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 4px; background: var(--ink); }
.bom-switch b { color: var(--lime); font-weight: 500; margin-left: auto; font-size: 18px; }

/* ───────── viz: phone ───────── */

.v-phone {
  right: 8%; top: 12%;
  width: clamp(140px, 11vw, 196px); aspect-ratio: 9 / 17;
  border-radius: 26px;
  background: var(--ink);
  padding: 8px;
  box-shadow: 0 30px 60px rgba(14,12,18,.35);
  transform: rotate(8deg);
}
.tile:hover .v-phone { transform: rotate(3deg) translateY(-6px); }
.ph { height: 100%; border-radius: 20px; background: var(--white); color: var(--ink); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.ph__h { color: var(--muted); display: flex; justify-content: space-between; }
.ph__gate { font-size: clamp(22px, 2vw, 32px); font-weight: 500; letter-spacing: -.031em; line-height: 1; margin-top: 4px; }
.ph__row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line); }
.ph__btn { margin-top: auto; height: 32px; border-radius: 10px; background: var(--violet); color: var(--white); display: grid; place-items: center; font-weight: 500; }
.ph__prog { height: 5px; border-radius: 2px; background: var(--paper-2); overflow: hidden; }
.ph__prog i { display: block; height: 100%; width: 64%; background: var(--lime-2); animation: load 4s var(--ease) infinite; }

/* ───────── viz: hub ───────── */

.v-hub { right: 0; top: 0; bottom: 0; width: 64%; }
.v-hub svg { width: 100%; height: 100%; }
.v-hub .wire { fill: none; stroke: var(--line); stroke-width: 1.4; }
.v-hub .pulse { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-dasharray: 14 300; animation: flow 3.2s linear infinite; }
.v-hub .box { fill: var(--white); }
.v-hub .box--hub { fill: var(--ink); }
.v-hub .box--gov { fill: var(--violet); }
.v-hub text { font: 500 14px var(--f-sans); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.v-hub .t-inv { fill: var(--white); }

/* ───────── editorial cards: one flat visual language ───────── */
.journal-style-link { display: inline-block; margin-top: 20px; color: var(--violet); font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.tile--art { --bg: var(--white); display: grid; grid-template-rows: minmax(0, .8fr) minmax(0, 1fr); gap: 18px; }
.art-ill { min-height: 0; width: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #EEEAF4; }
.art-ill .article-viz, .ill .article-viz { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.art-ill, .ill:has(.article-viz) { background: #EEEAF4; transition: background-color .3s ease; }
.tile--art:hover .art-ill, .rn:hover .ill:has(.article-viz) { background: #E7DFF1; }
.tile--art .tile__body { min-width: 0; max-width: none; display: flex; flex-direction: column; }
.tile--art .tile__title { font-size: clamp(22px, 1.8vw, 30px); }
.art-lede { display: block; margin-top: 10px; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.35; color: var(--muted); }
.art-time { display: block; margin-top: auto; padding-top: 8px; font-size: 15px; color: var(--violet); }
@media (max-width: 720px) {
  .tile.tile--art { min-height: 360px; grid-template-rows: 150px auto; gap: 20px; }
  .tile--art .art-time { margin-top: 8px; padding-top: 0; }
}

/* ───────── integrations tile ───────── */

.sys { display: flex; flex-wrap: wrap; gap: .1em .4em; font-size: clamp(30px, 3vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.sys span:nth-child(odd) { color: var(--lime); }

/* ───────── index (case list) ───────── */

.ix { display: grid; gap: clamp(48px, 5vw, 88px); padding: clamp(16px, 2vw, 32px) 0; }
.ix-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: var(--gap); align-items: start; }
.ix-head { position: sticky; top: 96px; padding-top: 14px; }
.ix-head b { display: block; font-size: clamp(30px, 3vw, 54px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.ix-head span { display: block; margin-top: 10px; font-size: 17px; color: var(--muted); }
.ix-list { display: grid; gap: 4px; }
.ix-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18em) 44px;
  gap: 20px;
  align-items: center;
  padding: clamp(16px, 1.4vw, 22px) clamp(16px, 1.4vw, 24px);
  border-radius: 16px;
  background: var(--white);
  transition: background-color .25s ease, color .25s ease;
}
.ix-row:hover { background: var(--ink); color: var(--white); }
.ix-title { font-size: clamp(19px, 1.6vw, 27px); font-weight: 500; letter-spacing: -.02em; line-height: 1.18; transition: transform .45s var(--ease); }
.ix-row:hover .ix-title { transform: translateX(6px); }
.ix-meta { font-size: 16px; line-height: 1.3; color: var(--muted); transition: color .25s ease; }
.ix-row:hover .ix-meta { color: rgba(251, 250, 247, .6); }
.ix-go { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; background: var(--paper); transition: background-color .25s ease, color .25s ease; }
.ix-row:hover .ix-go { background: var(--lime); color: var(--ink); }

.ix-peek {
  position: fixed; left: 0; top: 0; z-index: 45;
  width: 320px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--lime);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  scale: .92;
  transition: opacity .25s ease, scale .35s var(--ease);
  box-shadow: 0 24px 60px rgba(14, 12, 18, .22);
}
.ix-peek.is-on { opacity: 1; scale: 1; }
.ix-peek__k { font-size: 15px; color: rgba(14, 12, 18, .6); }
.ix-peek__t { margin-top: 6px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }

/* ───────── services ───────── */

.svc { list-style: none; margin: 0; padding: 0; }
.svc > li { border-bottom: 1px solid var(--line); }
.svc > li:last-child { border-bottom: 0; }
.svc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 30px) 0;
  text-align: left;
}
.svc__name { font-size: clamp(36px, 5.6vw, 108px); font-weight: 500; letter-spacing: -.043em; line-height: .95; transition: color .35s, transform .6s var(--ease); }
.svc__plus { width: 56px; height: 56px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: transform .5s var(--ease), background .3s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; margin: -.75px 0 0 -9px; background: currentColor; }
.svc__plus::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.svc__btn:hover .svc__name { color: var(--violet); transform: translateX(12px); }
.svc > li.is-open .svc__plus { background: var(--lime); box-shadow: none; }
.svc > li.is-open .svc__plus::after { transform: rotate(0deg); }
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc > li.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; }
.svc__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(20px, 3vw, 56px); padding: 0 0 clamp(28px, 3vw, 48px); }
.svc__grid p { margin: 0; font-size: clamp(18px, 1.4vw, 24px); line-height: 1.35; letter-spacing: -.015em; }
.svc__grid .facts { align-content: start; }
.svc__links { align-content: start; display: grid; gap: 6px; }
.svc__links a { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r-ui); background: var(--white); font-size: 17px; transition: background .25s, color .25s; }
.svc__links a:hover { background: var(--ink); color: var(--white); }

/* ───────── scale ───────── */

.scale {
  margin-top: clamp(56px, 7vw, 120px);
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 7vw, 120px) var(--gutter);
}
.scale__title { margin: 0 0 clamp(36px, 5vw, 80px); font-size: clamp(38px, 5.6vw, 108px); font-weight: 500; letter-spacing: -.043em; line-height: .95; max-width: 15em; }
.scale__title em { font-style: normal; color: var(--lime); }
.scale__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.scale__cell { padding: clamp(22px, 2vw, 36px); border-radius: var(--radius); background: var(--ink-2); min-height: clamp(200px, 16vw, 300px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.scale__cell b { font-size: clamp(56px, 6vw, 116px); font-weight: 500; letter-spacing: -.047em; line-height: .85; color: var(--lime); }
.scale__cell p { margin: 0; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.3; color: rgba(251,250,247,.75); max-width: 20em; }
.scale__cell:nth-child(3n+2) { background: var(--violet); }
.scale__cell:nth-child(3n+2) b { color: var(--white); }

/* ───────── contact + footer ───────── */

.contact {
  padding: clamp(80px, 10vw, 180px) var(--gutter) clamp(56px, 6vw, 100px);
  background: var(--violet);
  color: var(--white);
}
.contact__title { margin: 0; font-size: clamp(52px, 9.4vw, 190px); font-weight: 500; letter-spacing: -.047em; line-height: .88; }
.contact__title em { font-style: normal; color: var(--lime); }
.contact__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(40px, 5vw, 80px); }
.mail {
  font-size: clamp(30px, 4.4vw, 84px);
  font-weight: 500; letter-spacing: -.035em; line-height: 1;
  border-bottom: 3px solid var(--lime);
  padding-bottom: 6px;
  transition: color .3s;
}
.mail:hover { color: var(--lime); }
.copied-note { font-size: 18px; color: var(--lime); opacity: 0; transition: opacity .3s; }
.copied-note.is-on { opacity: 1; }
.btn--lime { background: var(--lime); color: var(--ink); height: 64px; padding: 0 30px; font-size: 19px; border-radius: 16px; }
.btn--lime:hover { background: var(--white); }

.ftr {
  margin-top: clamp(72px, 8vw, 150px);
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 6vw, 110px) var(--gutter) 0;
}

/* giant e-mail */
.ftr__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(32px, 4vw, 64px); border-bottom: 1px solid var(--line-inv); }
.ftr__mail {
  display: inline-flex; align-items: center; gap: .25em;
  font-size: clamp(40px, 7.4vw, 150px);
  font-weight: 500; letter-spacing: -.04em; line-height: .95;
  white-space: nowrap;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 3px no-repeat;
  transition: background-size .6s var(--ease), color .3s ease;
}
.ftr__mail i { font-style: normal; color: var(--lime); display: inline-block; transition: transform .5s var(--ease); }
.ftr__mail:hover { background-size: 100% 3px; }
.ftr__mail:focus-visible { background-size: 100% 3px; }
.ftr__up {
  flex-shrink: 0;
  width: clamp(56px, 4.6vw, 80px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--ink-2);
  font-size: clamp(22px, 1.8vw, 30px);
  transition: background-color .25s ease, color .25s ease, transform .4s var(--ease);
}
.ftr__up:hover { background: var(--lime); color: var(--ink); transform: translateY(-4px); }

/* directory */
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3vw, 56px);
  padding: clamp(32px, 4vw, 64px) 0;
}
.ftr__prods { display: grid; }
.ftr__prod {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-inv);
  transition: color .25s ease, padding .45s var(--ease);
}
.ftr__prod:first-child { padding-top: 0; }
.ftr__prod:last-child { border-bottom: 0; }
.ftr__prods + .ftr__links { padding-left: clamp(24px, 3vw, 56px); }
.ftr__prod b { font-size: clamp(24px, 2.2vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.ftr__prod span { font-size: 16px; color: rgba(251, 250, 247, .5); text-align: right; transition: color .25s ease; }
.ftr__prod:hover { color: var(--lime); padding-left: 10px; }
.ftr__prod:hover span { color: rgba(214, 243, 107, .7); }
.ftr__prod.is-here b { color: var(--lime); }
.ftr__links { display: grid; gap: 10px; align-content: start; }
.ftr__links a { font-size: clamp(17px, 1.3vw, 21px); color: rgba(251, 250, 247, .72); transition: color .25s ease; }
.ftr__links a:hover { color: var(--white); }
.ftr__live { display: grid; gap: 10px; align-content: start; }
.ftr__live b { font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.ftr__live > span { font-size: 16px; color: rgba(251, 250, 247, .55); }
.ftr__live a { justify-self: start; margin-top: 8px; padding: 12px 18px; border-radius: 12px; background: var(--lime); color: var(--ink); font-weight: 500; transition: background-color .25s ease; }
.ftr__live a:hover { background: var(--white); }
.ftr__signature { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ftr__signature b { font-size: clamp(24px, 2.2vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.ftr__signature .ftr__accent { color: var(--lime); }
.ftr__signature > span { max-width: 20em; font-size: 16px; line-height: 1.5; color: rgba(251, 250, 247, .55); }

.ftr__legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  padding: 20px 150px 20px 0;
  border-top: 1px solid var(--line-inv);
  font-size: 15px; color: rgba(251, 250, 247, .5);
}
.ftr__legal .logo { color: var(--white); font-size: 18px; margin-right: auto; }
.ftr__legal .logo svg { color: var(--lime); }
.ftr__legal a:hover { color: var(--white); }
.ftr__documents { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-size: 13px; line-height: 1.5; }
.ftr__documents a, .ftr__documents button { color: rgba(251,250,247,.6); }
.ftr__documents button { font: inherit; text-align: left; }
.ftr__documents button:hover { color: var(--white); }
.ftr__documents a:focus-visible, .ftr__documents button:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.cookie-notice { position: fixed; z-index: 200; bottom: 20px; left: 20px; width: min(540px, calc(100% - 40px)); padding: 24px; border-radius: 22px; background: var(--ink); color: var(--white); border: 1px solid rgba(251,250,247,.15); box-shadow: 0 12px 48px rgba(14,12,18,.22); max-height: 50dvh; overflow-y: auto; }
.cookie-notice[hidden], [data-cookie-settings][hidden] { display: none; }
.cookie-notice h2 { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.cookie-notice p { margin: 14px 0; font-size: 15px; line-height: 1.5; color: rgba(251,250,247,.75); }
.cookie-notice p a { color: var(--lilac); }
.cookie-notice__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.cookie-notice__actions button { min-height: 44px; padding: 11px 8px; border-radius: 12px; font-size: 15px; background: rgba(251,250,247,.12); color: var(--white); }
.cookie-notice__actions button:hover { background: var(--lilac); color: var(--ink); }
.cookie-notice a:focus-visible, .cookie-notice button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
@media (max-width: 720px) {
  .cookie-notice { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; }
  .cookie-notice-visible .agent-fab, .cookie-notice-visible .agent-hint { visibility: hidden; }
  .ftr__documents { gap: 12px 20px; }
}

/* ───────── section pages ───────── */
.nav a.is-active { background: var(--ink); color: var(--white); }
.nav-product {
  display: inline-block;
  vertical-align: middle;
  margin-inline-start: 4px;
  padding-inline-start: 9px;
  border-inline-start: 1px solid rgba(251, 250, 247, .28);
  color: var(--lime);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: normal;
}
.menu .nav-product { margin-inline-start: 0; font-size: 16px; }
.page-head { padding: clamp(130px, 12vw, 200px) var(--gutter) 0; }
.page-head__t { margin: 0; max-width: 14em; font-size: clamp(52px, 8.4vw, 168px); font-weight: 500; letter-spacing: -.043em; line-height: .95; }
.page-head__lead { margin: clamp(20px, 2.4vw, 36px) 0 0; max-width: 32em; font-size: clamp(19px, 1.6vw, 28px); line-height: 1.35; color: var(--muted); }
.sec--tight { padding-top: clamp(40px, 4vw, 72px); }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cards4--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card4 { display: flex; flex-direction: column; gap: 14px; min-height: clamp(220px, 17vw, 300px); padding: var(--pad); border-radius: var(--radius); background: var(--white); }
.card4 b { font-size: clamp(32px, 3vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: .95; color: var(--violet); }
.card4 h3 { margin: auto 0 0; font-size: clamp(20px, 1.5vw, 26px); font-weight: 500; letter-spacing: -.02em; }
.card4 p { margin: 0; font-size: 16px; line-height: 1.4; color: var(--muted); }
.card4 b + p { margin-top: auto; }
.card4--lime { background: var(--lime); }
.card4--lime b { color: var(--ink); }
.card4--lime p { color: rgba(14, 12, 18, .7); }
.card4--ink { background: var(--ink); color: var(--white); }
.card4--ink b { color: var(--lime); }
.card4--ink p { color: rgba(251, 250, 247, .6); }
.page-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 48px); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.contact-documents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 20px var(--gutter) 0; }
.contact-documents a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 18px; background: var(--white); font-size: 16px; line-height: 1.4; transition: background .2s; }
.contact-documents .link-arrow { color: var(--violet); font-size: 24px; flex-shrink: 0; }
.contact-documents a:hover { background: var(--lilac); }
.contact-documents a:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
@media (max-width: 1100px) { .contact-documents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .contact-documents { grid-template-columns: 1fr; } }
.cbox { display: flex; flex-direction: column; gap: 12px; min-height: clamp(220px, 16vw, 300px); padding: var(--pad); border-radius: var(--radius); background: var(--white); text-align: left; font: inherit; color: inherit; transition: transform .5s var(--ease); }
.cbox span { font-size: 16px; color: var(--muted); }
.cbox b { margin-top: auto; font-size: clamp(30px, 3.4vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .cbox b { font-size: 8vw; }
  .scale__title { overflow-wrap: anywhere; }
}
.cbox em { font-style: normal; font-size: 17px; color: var(--muted); }
.cbox--lime { background: var(--lime); }
.cbox--lime span, .cbox--lime em { color: rgba(14, 12, 18, .65); }
.cbox--ink { background: var(--ink); color: var(--white); cursor: pointer; }
.cbox--ink span, .cbox--ink em { color: rgba(251, 250, 247, .6); }
.cbox--address { cursor: default; }
.cbox--address address { margin-top: auto; font-style: normal; font-size: clamp(22px, 2.2vw, 40px); line-height: 1.3; letter-spacing: -.025em; }
a.cbox:hover, button.cbox:hover { transform: translateY(-4px); }
.link { font: inherit; color: var(--violet); box-shadow: inset 0 -1px 0 currentColor; }

/* ───────── reveal ───────── */

.rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ───────── keyframes ───────── */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes flow { from { stroke-dashoffset: 314; } to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes blinkSoft { 50% { opacity: .35; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes load { from { width: 8%; } to { width: 100%; } }

/* ───────── responsive ───────── */

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr .btn--ink { display: none; }
  .hdr__act { margin-left: auto; }
  .hdr { gap: 12px; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); --row: clamp(300px, 38vw, 380px); }
  .tile { grid-column: span var(--ct, 3); grid-row: span var(--rt, 1); }
  .svc__grid { grid-template-columns: 1fr 1fr; }
  .svc__grid p { grid-column: 1 / -1; }
  .scale__grid { grid-template-columns: 1fr 1fr; }
  .scale__cell:nth-child(3n+2) { background: var(--ink-2); }
  .scale__cell:nth-child(3n+2) b { color: var(--lime); }
  .scale__cell:nth-child(4n+2), .scale__cell:nth-child(4n+3) { background: var(--violet); }
  .scale__cell:nth-child(4n+2) b, .scale__cell:nth-child(4n+3) b { color: var(--white); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__prods { grid-column: 1 / -1; }
  .ftr__prods + .ftr__links { padding-left: 0; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .nav a.is-active { background: none; color: inherit; }
  .ix-group { grid-template-columns: 1fr; }
  .ix-head { position: static; }
}

@media (max-width: 720px) {
  .hdr { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 2px 12px; padding: 10px var(--gutter); }
  .hdr > .logo, .hdr > .crumb { grid-column: 1; grid-row: 1; }
  .hdr__act { grid-column: 1; grid-row: 2; margin-left: 0; }
  .hdr__mail { padding: 2px 0; font-size: 14px; line-height: 1.4; gap: 6px; }
  .hdr .burger { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .cards4, .cards4--3, .contact-grid { grid-template-columns: 1fr; }
  .tile--doc, .tile--per { gap: 28px; }
  .tile--doc.tile, .tile--per.tile { min-height: 360px; }
  .product-widget { width: min(100%, 340px); margin: auto; }
  .doc-widget.product-widget { width: 100%; }
  .doc-chat__bubble { font-size: 15px; }
  .doc-widget { min-height: 180px; }
  .tile--per.tile { min-height: 440px; gap: 16px; }
  .sensory-radar.product-widget { width: 100%; height: 260px; flex: 0 0 260px; margin: auto; }
  .hdr-ask { display: none; }
  .filters { top: 76px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
  .tile[data-tall] { min-height: 560px; }
  .tile .b-full { max-width: 100% !important; }
  .ot-card { width: auto; left: var(--pad); right: var(--pad); top: auto; bottom: 170px; transform: none; }
  .v-map { bottom: 40%; }
  .v-doc { width: 58%; }
  .v-fc { width: 100%; top: 150px; bottom: auto; height: 42%; }
  .v-hub { width: 100%; top: 120px; bottom: auto; height: 46%; }
  .v-gantt { top: 170px; }
  .g-head, .g-row { grid-template-columns: 96px repeat(12, 1fr); }
  .g-head span:not(:first-child) { font-size: 10px; }
  .scale__grid { grid-template-columns: 1fr; }
  .scale__cell:nth-child(n) { background: var(--ink-2); }
  .scale__cell:nth-child(n) b { color: var(--lime); }
  .scale__cell:nth-child(odd) { background: var(--violet); }
  .scale__cell:nth-child(odd) b { color: var(--white); }
  .svc__grid { grid-template-columns: 1fr; }
  .svc__plus { width: 44px; height: 44px; }
  .ix-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 12px; }
  .ix-meta { grid-column: 1; grid-row: 2; font-size: 15px; }
  .ix-go { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .ix-peek { display: none; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__legal { padding: 20px 0 88px; }
  .ftr__mail { font-size: clamp(30px, 9vw, 44px); }
  .hero__foot { grid-template-columns: 1fr; }
  .cursor { display: none; }
  .tile { cursor: pointer; }
}

@media (hover: none) {
  .cursor { display: none; }
  .tile { cursor: pointer; }
}

/* Shared link arrow: right at rest, up-right on hover or keyboard focus. */
@font-face {
  font-family: "Onest Link Arrow";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-arrow.woff2") format("woff2");
  unicode-range: U+2192;
}
.link-arrow {
  display: inline-block;
  flex-shrink: 0;
  font-family: "Onest Link Arrow", var(--f-sans);
  font-style: normal;
  line-height: 1;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
@media (hover: hover) {
  :is(a, button):hover .link-arrow { transform: rotate(-45deg); }
}
:is(a, button):focus-visible .link-arrow { transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile, .rv { opacity: 1; transform: none; }
  .hero__title .ln > span { transform: none; }
  .draw { stroke-dashoffset: 0; }
  .g-bar, .r-bar i { transform: none; }
}

/* Optical alignment: large glyph bearings should not indent headings
   relative to the body copy. Individual translate preserves reveal transforms. */
:where(main h1, main h2, main h3) { translate: -.045em 0; }

/* Company document links on Contacts. */
.contact-documents { gap: var(--gap); margin-top: var(--gap); }
.contact-documents a { display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:16px;min-height:clamp(210px,16vw,280px);padding:clamp(24px,2vw,36px);border-radius:var(--radius); }
.contact-document__title { font-size:clamp(22px,1.7vw,30px);font-weight:500;letter-spacing:-.025em;line-height:1.15;overflow-wrap:anywhere; }
.contact-document__description { max-width:22em;font-size:17px;line-height:1.4;color:var(--muted); }
.contact-document__open { display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;align-self:flex-end;margin-top:auto;background:var(--paper);transition:background .2s; }
.contact-documents a:hover .contact-document__open { background:var(--white); }
.contact-documents .link-arrow { font-size:25px; }
@media(max-width:1100px) { .contact-documents a { min-height:210px; } }
@media(max-width:600px) { .contact-documents a { min-height:190px;gap:14px; }.contact-document__title { font-size:26px; } }
@media(max-width:380px) { .contact-document__title { font-size:22px; } }
.menu > * { flex-shrink: 0; }

/* Product identity above the headline on product detail pages. */
.product-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(14px, 1.4vw, 24px);
}
.product-badge {
  display: inline-block;
  width: fit-content;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font: 500 clamp(16px, 1.2vw, 20px)/1.25 var(--f-sans);
}
.product-trail__back {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  color: #595660;
  font: 400 clamp(15px, 1vw, 17px)/1.3 var(--f-sans);
  text-decoration: none;
  white-space: nowrap;
}
.product-trail__back:is(:hover, :focus-visible) { color: var(--ink); }
.product-trail__back:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.product-badge-status { margin-inline-start: 12px; color: var(--muted); }
@media (scripting: none) {
  .tile, .rv, .hero__title .ln > span { opacity: 1; transform: none; }
  .svc__panel { grid-template-rows: 1fr; }
  .burger { display: none; }
  .tile, .tile a { cursor: pointer; }
}
@media (scripting: none) and (max-width: 1180px) {
  .menu { position: static; clip-path: none; flex-flow: row wrap; gap: 12px 18px; padding: 90px var(--gutter) 18px; }
  .menu > a, .menu > a:last-child { margin: 0; font-size: 16px; }
}
main section h1.product-heading {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(36px, 4.8vw, 90px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
}
