/* SkorpionHealth website — rebuilt to the owner's reference (the "Projexion" project-management site video, 2026-11-11): deep navy night,
   a floating header bar, streams of light converging on the product, glass bento cards fading to silver, a glowing ring, framed closing
   call and a footer card. SkorpionHealth's own colours carry the light: the logo's cyan and electric purple #A100FF. Geist. */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0a0917;
  --bg-2: #0e0d1f;
  --card: #12112a;
  --card-2: #17163a;
  --line: rgba(236, 234, 255, 0.08);
  --line-2: rgba(236, 234, 255, 0.14);
  --text: #ecebf4;
  --title: #d9d8e6;
  --text-2: #a7a5bd;
  --text-3: #77758f;
  --cyan: #22c7d9;          /* the logo's cyan, lifted for the night */
  --teal: #2bd6b0;
  --purple: #a100ff;
  --purple-2: #b45cff;
  --violet: #6f6bff;
  --silver-1: #f4f3fa;
  --silver-2: #bdbbcf;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --edge: 20px;
}
@media (min-width: 768px) { :root { --edge: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgba(161, 0, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--silver-1); color: #0a0917; padding: 8px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }

/* ── buttons: the reference's silver buttons, with a soft brand glow ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 28px; border-radius: 10px;
  font: 600 16px/1 "Geist", system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; position: relative;
  transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease), background-color 200ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-silver {
  color: #121126; background: linear-gradient(180deg, var(--silver-1) 0%, #d9d8e6 45%, var(--silver-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 30px rgba(120, 90, 255, 0.28);
}
.btn-silver:hover { filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.35), 0 14px 40px rgba(161, 0, 255, 0.4); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-lg { height: 54px; padding: 0 36px; font-size: 17px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link { color: var(--cyan); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: #7fe6f0; }

/* ── the floating header bar ── */
.site-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.bar {
  pointer-events: auto; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 12px 0 22px; border-radius: 14px;
  background: rgba(14, 13, 31, 0.86); border: 1px solid var(--line);
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.site-header.scrolled .bar { background: rgba(12, 11, 28, 0.95); border-color: var(--line-2); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); }
.brand { flex: none; display: flex; align-items: center; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px; border: 0; background: none; cursor: pointer;
  color: #d6d5e2; font: 500 15.5px/20px "Geist", system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav-links > a:hover, .nav-item > button:hover, .nav-item.open > button { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-links > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line); }
.nav-item { position: relative; }
.nav-item > button .icon { width: 14px; height: 14px; transition: transform 200ms var(--ease); }
.nav-item:hover > button .icon, .nav-item.open > button .icon { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 560px; padding: 10px; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #100f24; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .menu, .nav-item:focus-within .menu, .nav-item.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); transition: background-color 160ms var(--ease); }
.menu a:hover { background: rgba(255, 255, 255, 0.05); }
.menu a .tile { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(34, 199, 217, 0.12); color: var(--cyan); }
.menu a.p .tile { background: rgba(161, 0, 255, 0.16); color: var(--purple-2); }
.menu a strong { display: block; font-size: 15.5px; font-weight: 600; }
.menu a small { display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.35; }
.menu a.all { grid-column: 1 / -1; grid-template-columns: 1fr auto; padding: 12px 14px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--text-2); font-size: 14.5px; }
.nav-cta { flex: none; display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { height: 42px; padding: 0 20px; font-size: 15px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-links > a.mobile-cta { display: none; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .bar { justify-content: space-between; }
  .nav-links {
    display: none; position: absolute; left: var(--edge); right: var(--edge); top: 76px; flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 12px; border-radius: 16px; background: rgba(14, 13, 31, 0.97); border: 1px solid var(--line-2); max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-item > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 17px; }
  .menu { position: static; width: auto; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 4px 0 8px; }
  .nav-item.open .menu { display: grid; transform: none; }
  .nav-item:hover .menu { transform: none; }
  .nav-links > a.mobile-cta { display: inline-flex; justify-content: center; margin-top: 10px; color: #121126; }
}

/* ── hero ── */
.hero { position: relative; text-align: center; padding-top: 120px; overflow: hidden; }
.hero-streams { position: absolute; left: 0; right: 0; top: 0; height: 640px; width: 100%; pointer-events: none; }
.hero-inner { position: relative; padding-top: 220px; }
.hero h1, .title {
  font-weight: 500; letter-spacing: -0.03em; color: var(--title);
  background: linear-gradient(180deg, #ffffff 0%, #d5d3e3 55%, #a9a7bf 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.08; max-width: 1040px; margin: 0 auto; }
.hero .lead { max-width: 640px; margin: 24px auto 0; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.hero .actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.drop { position: relative; width: 2px; height: 120px; margin: 40px auto 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55)); }
.drop::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.7); }
.drop i { display: none; position: absolute; left: -1px; top: -26px; width: 4px; height: 26px; border-radius: 2px; background: linear-gradient(180deg, transparent, #fff); }
.preview-wrap { position: relative; margin: 24px auto 0; max-width: 1080px; }
.preview-wrap::before { content: ""; position: absolute; inset: -80px -120px 20% -120px; background: radial-gradient(50% 55% at 30% 45%, rgba(43, 214, 176, 0.18), transparent 70%), radial-gradient(50% 60% at 72% 45%, rgba(161, 0, 255, 0.28), transparent 70%); pointer-events: none; }
@media (max-width: 767px) { .hero-inner { padding-top: 150px; } .hero .lead { font-size: 17px; } .drop { height: 72px; } }

/* the product preview (illustrative: skeleton labels, no invented figures) */
.app {
  position: relative; display: grid; grid-template-columns: 210px 1fr; border-radius: 18px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, #131230, #0d0c21); border: 1px solid var(--line-2); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.app-side { padding: 18px 14px; border-right: 1px solid var(--line); background: rgba(10, 9, 24, 0.5); }
.app-side img { width: 120px; margin: 2px 6px 22px; }
.app-side li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; color: var(--text-3); font-size: 14px; }
.app-side li.on { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.app-side li .icon { width: 16px; height: 16px; }
.app-main { padding: 18px; display: grid; grid-template-columns: 1fr 1.45fr; grid-template-rows: auto auto; gap: 14px; }
.panel { border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); padding: 16px; min-height: 150px; position: relative; overflow: hidden; }
.sk { display: block; height: 8px; border-radius: 4px; background: rgba(236, 234, 255, 0.12); }
.sk.w30 { width: 30%; } .sk.w40 { width: 40%; } .sk.w50 { width: 50%; } .sk.w60 { width: 60%; } .sk.w20 { width: 20%; }
.panel .sk + .sk { margin-top: 10px; }
.hbars { margin-top: 18px; display: grid; gap: 12px; }
.hbars div { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.hbars b { display: block; height: 18px; border-radius: 5px; background: rgba(236, 234, 255, 0.08); transform-origin: left; }
.hbars b.hi { background: linear-gradient(90deg, rgba(43, 214, 176, 0.25), #2bd6b0); box-shadow: 0 0 20px rgba(43, 214, 176, 0.35); }
.chart { margin-top: 12px; width: 100%; height: 120px; }
.vbars { margin-top: 16px; height: 110px; display: flex; align-items: flex-end; gap: 6px; }
.vbars b { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(236, 234, 255, 0.16), rgba(236, 234, 255, 0.04)); transform-origin: bottom; }
.vbars b.hi { background: linear-gradient(180deg, #6f6bff, rgba(111, 107, 255, 0.25)); box-shadow: 0 0 22px rgba(111, 107, 255, 0.45); }
.donut-row { margin-top: 14px; display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
.legend li { display: grid; grid-template-columns: 10px 1fr 34px; gap: 10px; align-items: center; height: 18px; }
.legend li i { width: 8px; height: 8px; border-radius: 50%; }
.legend li em { font-style: normal; font-size: 12px; color: var(--text-3); font-family: var(--mono); text-align: right; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } .app-side { display: none; } .app-main { grid-template-columns: 1fr; } }

/* ── sections ── */
.section { position: relative; padding: 128px 0 0; }
.section:last-of-type { padding-bottom: 140px; }
.section.tight { padding-top: 110px; }
.head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.head .title, .head h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; }
.head p { margin: 22px auto 0; max-width: 640px; font-size: 18.5px; line-height: 1.65; color: var(--text-2); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.badge-mark { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #1b1a3e, #100f26); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(161, 0, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.badge-mark img { width: 44px; border-radius: 10px; }
@media (max-width: 767px) { .section { padding-top: 96px; } .section:last-of-type { padding-bottom: 96px; } .head { margin-bottom: 44px; } .head p { font-size: 17px; } }

/* reveal on scroll */
[data-reveal], .words { opacity: 0; transform: translateY(12px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
[data-reveal].in, .words.in { opacity: 1; transform: none; }

/* "What is SkorpionHealth?" — the three-item panel and its visual */
.what { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .what { grid-template-columns: 1fr; } }
.acc { display: grid; gap: 14px; }
.acc button {
  width: 100%; text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; background: rgba(255, 255, 255, 0.015);
  color: var(--text-2); font: inherit; position: relative; overflow: hidden; transition: background 400ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}
.acc button h3 { font-size: 24px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.acc button p { max-height: 0; opacity: 0; margin-top: 0; font-size: 17px; line-height: 1.6; transition: max-height 500ms var(--ease), opacity 400ms var(--ease), margin 400ms var(--ease); }
.acc button.on { color: #fff; border-color: rgba(43, 214, 176, 0.35); background: linear-gradient(100deg, #1fb48e 0%, #1a8f86 22%, #2a3b74 58%, rgba(23, 22, 58, 0.8) 100%); }
.acc button.on p { max-height: 160px; opacity: 1; margin-top: 14px; color: rgba(255, 255, 255, 0.86); }
.acc button .prog { display: none; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; background: rgba(255, 255, 255, 0.7); }
.what-visual { position: relative; min-height: 380px; }
.wv { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 500ms var(--ease), transform 500ms var(--ease); pointer-events: none; }
.wv.on { opacity: 1; transform: none; pointer-events: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); }
.table th { text-align: left; font-weight: 500; color: var(--text-3); padding: 12px 14px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line); }
.table td { padding: 12px 14px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.table td.mono { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.table tr:last-child td { border-bottom: 0; }
.st { display: inline-flex; align-items: center; gap: 6px; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #77758f); }
.callout {
  position: absolute; right: -8px; top: 42%; width: 290px; padding: 20px 22px; border-radius: 12px; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.4;
  background: linear-gradient(135deg, #5b5bff, #3f45d9); box-shadow: 0 20px 50px rgba(63, 69, 217, 0.45); border: 1px solid rgba(255, 255, 255, 0.18);
}
.callout .ok { position: absolute; right: -12px; top: -12px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #072a22; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--bg); }
.callout .ok .icon { width: 16px; height: 16px; stroke-width: 3; }
.mini-bars { position: absolute; left: 12%; right: 10%; bottom: 0; height: 150px; display: flex; align-items: flex-end; gap: 8px; padding: 14px; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #121130, rgba(18, 17, 48, 0)); border: 1px solid var(--line); border-bottom: 0; }
.mini-bars b { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(236, 234, 255, 0.18), rgba(236, 234, 255, 0.02)); }
.mini-bars b.hi { background: linear-gradient(180deg, #2bd6b0, rgba(43, 214, 176, 0.05)); box-shadow: 0 0 24px rgba(43, 214, 176, 0.4); }
@media (max-width: 960px) { .what-visual { min-height: 420px; } .callout { right: 8px; } }

/* glass bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cell {
  grid-column: span 3; position: relative; min-height: 300px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(201, 199, 226, 0.06) 45%, rgba(201, 199, 226, 0.20) 100%), #100f26;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.cell:hover { border-color: rgba(180, 92, 255, 0.55); }
.cell.w4 { grid-column: span 4; } .cell.w5 { grid-column: span 5; } .cell.w6 { grid-column: span 6; } .cell.w7 { grid-column: span 7; } .cell.w8 { grid-column: span 8; }
.cell h3 { position: relative; z-index: 1; text-align: center; font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.cell p { position: relative; z-index: 1; text-align: center; margin-top: 6px; font-size: 15px; line-height: 1.5; color: #c9c7dc; }
.art { position: absolute; left: 0; right: 0; top: 0; bottom: 96px; display: flex; align-items: center; justify-content: center; padding: 22px; }
@media (max-width: 1024px) { .cell, .cell.w4, .cell.w5 { grid-column: span 6; } .cell.w6, .cell.w7, .cell.w8 { grid-column: span 12; } }
@media (max-width: 640px) { .cell, .cell.w4, .cell.w5, .cell.w6, .cell.w7, .cell.w8 { grid-column: span 12; } }
/* the little worlds inside the cards */
.a-device { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.a-device .core { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(180deg, #2a2960, #16153a); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--cyan); box-shadow: 0 0 30px rgba(34, 199, 217, 0.35); }
.a-device .core .icon { width: 30px; height: 30px; }
.a-device .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 199, 217, 0.4); }
.a-device .ring:nth-child(2) { transform: scale(0.78); border-color: rgba(34, 199, 217, 0.25); }
.a-device .ring:nth-child(3) { transform: scale(1.22); border-color: rgba(34, 199, 217, 0.14); }
.a-rows { width: 100%; display: grid; gap: 8px; }
.a-rows div { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.a-rows div.on { background: rgba(255, 255, 255, 0.08); color: #fff; flex-direction: column; align-items: stretch; justify-content: center; height: 52px; gap: 8px; }
.a-rows div.on span { display: flex; justify-content: space-between; }
.a-rows div.on i { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.a-rows div.on i::after { content: ""; display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0.72); background: linear-gradient(90deg, var(--teal), var(--cyan)); }
.a-rows em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.a-token { width: 90%; max-width: 300px; border-radius: 12px; padding: 14px; background: #0b0a1d; border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); }
.a-token .now { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 8px; background: linear-gradient(135deg, rgba(161, 0, 255, 0.35), rgba(111, 107, 255, 0.2)); }
.a-token .now b { font: 700 30px/1 var(--mono); color: #fff; }
.a-token .now span { font-size: 13px; color: #e6dcff; text-align: right; }
.a-token .next { margin-top: 8px; display: flex; gap: 6px; }
.a-token .next span { flex: 1; text-align: center; padding: 8px 0; border-radius: 6px; background: rgba(255, 255, 255, 0.05); font: 600 13px/1 var(--mono); color: var(--text-2); }
.a-rx { width: 92%; max-width: 330px; display: grid; gap: 10px; }
.a-rx div { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.a-rx strong { font-size: 14px; color: #fff; font-weight: 600; }
.a-rx small { display: block; font-size: 12.5px; color: var(--text-3); }
.a-rx code { font: 600 13px/1 var(--mono); color: var(--cyan); background: rgba(34, 199, 217, 0.1); padding: 6px 8px; border-radius: 6px; }
.a-ot { position: relative; width: 100%; height: 140px; border-radius: 10px; background-image: radial-gradient(circle, rgba(236, 234, 255, 0.14) 1px, transparent 1.5px); background-size: 26px 26px; }
.a-ot span { position: absolute; height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); display: flex; align-items: center; padding: 0 10px 0 4px; gap: 8px; white-space: nowrap; }
.a-ot span::before { content: ""; width: 34px; height: 16px; border-radius: 4px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.a-doc { position: relative; width: 108px; height: 132px; border-radius: 10px; background: linear-gradient(180deg, #f1f0f7, #c9c7da); padding: 16px 14px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.a-doc i { display: block; height: 6px; border-radius: 3px; background: rgba(18, 17, 38, 0.18); margin-bottom: 9px; }
.a-doc i:nth-child(odd) { width: 70%; }
.a-doc::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--cyan); top: 40%; box-shadow: 0 0 12px 3px rgba(34, 199, 217, 0.6); }
.a-donut { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; width: 92%; max-width: 300px; }
.a-donut ul { display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.a-donut li { display: flex; align-items: center; gap: 8px; }
.a-donut li i { width: 8px; height: 8px; border-radius: 50%; }
.a-sync { display: flex; align-items: center; gap: 18px; }
.a-sync .node { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(180deg, #23224f, #131232); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--text); }
.a-sync .node.srv { color: var(--purple-2); box-shadow: 0 0 30px rgba(161, 0, 255, 0.35); }
.a-sync .wire { position: relative; width: 90px; height: 2px; background: rgba(236, 234, 255, 0.12); overflow: hidden; }
.a-sync .wire::after { content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 100%; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.a-shield { width: 92px; height: 104px; color: var(--violet); filter: drop-shadow(0 0 22px rgba(111, 107, 255, 0.55)); }
.a-stock { width: 92%; max-width: 330px; display: grid; gap: 8px; }
.a-stock div { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.a-stock div b { font-weight: 600; color: #fff; }
.a-stock em { font-style: normal; font: 600 12px/1.6 var(--mono); padding: 0 8px; border-radius: 6px; }
.a-stock em.warn { color: #ffcf8a; background: rgba(255, 170, 60, 0.12); } .a-stock em.ok { color: #8ff0d3; background: rgba(43, 214, 176, 0.12); }


.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 960px) { .diff { grid-template-columns: 1fr; } }

/* impact */
.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .impact { grid-template-columns: 1fr; } }
.icard { border-radius: 16px; padding: 30px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); }
.icard .ic { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(34, 199, 217, 0.12); color: var(--cyan); }
.icard.p .ic { background: rgba(161, 0, 255, 0.16); color: var(--purple-2); }
.icard.v .ic { background: rgba(111, 107, 255, 0.16); color: #9d9aff; }
.icard h3 { margin-top: 22px; font-size: 21px; font-weight: 600; color: #fff; }
.icard p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }


/* page hero (inner pages) */
.page-hero { position: relative; text-align: center; padding: 200px 0 40px; overflow: hidden; }
.page-hero .hero-streams { height: 520px; opacity: 0.85; }
.page-hero .inner { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.08; max-width: 900px; margin: 0 auto; }
.page-hero .lead { max-width: 680px; margin: 22px auto 0; font-size: 19px; color: var(--text-2); }
.page-hero .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.flow { margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.flow span { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #e6e5f2; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.flow i { font-style: normal; color: var(--cyan); }
@media (max-width: 767px) { .page-hero { padding-top: 150px; } .page-hero .lead { font-size: 17px; } }

/* feature groups on product pages */
.groups { display: grid; gap: 72px; }
.group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.group-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; color: var(--title); }
.group-head p { max-width: 460px; font-size: 16.5px; color: var(--text-2); }
@media (max-width: 767px) { .group-head { flex-direction: column; align-items: flex-start; } }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
.fcard { border-radius: 16px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); transition: border-color 250ms var(--ease), transform 250ms var(--ease), background 250ms var(--ease); }
.fcard:hover { border-color: rgba(34, 199, 217, 0.35); transform: translateY(-3px); background: linear-gradient(180deg, rgba(34, 199, 217, 0.06), rgba(255, 255, 255, 0.01)); }
.fcard .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(34, 199, 217, 0.12); color: var(--cyan); }
.fcard.p .ic { background: rgba(161, 0, 255, 0.16); color: var(--purple-2); }
.fcard.v .ic { background: rgba(111, 107, 255, 0.16); color: #9d9aff; }
.fcard h3 { margin-top: 18px; font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.fcard p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); }

/* product cards (home + solutions) */
.pcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .pcards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pcards { grid-template-columns: 1fr; } }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 16px; padding: 24px; text-decoration: none; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005)); overflow: hidden; transition: transform 300ms var(--ease), border-color 300ms var(--ease); }
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent, var(--cyan)); box-shadow: 0 0 18px var(--accent, var(--cyan)); }
.pcard:hover { transform: translateY(-4px); border-color: var(--accent, var(--cyan)); }
.pcard .num { font: 600 13px/1 var(--mono); color: var(--accent, var(--cyan)); }
.pcard h3 { margin-top: 18px; font-size: 24px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.pcard p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.pcard .go { margin-top: auto; padding-top: 20px; font-size: 15px; font-weight: 600; color: var(--accent, var(--cyan)); display: inline-flex; align-items: center; gap: 6px; }
.pcard.aio { background: linear-gradient(160deg, rgba(161, 0, 255, 0.4), rgba(111, 107, 255, 0.18) 60%, rgba(18, 17, 48, 0.4)); }

/* solutions */
.sol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .sol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sol { grid-template-columns: 1fr; } }
.scard { border-radius: 16px; padding: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); display: flex; flex-direction: column; }
.scard .ic { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(161, 0, 255, 0.16); color: var(--purple-2); }
.scard.c .ic { background: rgba(34, 199, 217, 0.12); color: var(--cyan); }
.scard h3 { margin-top: 20px; font-size: 21px; font-weight: 600; color: #fff; }
.scard p { margin-top: 10px; font-size: 16.5px; color: var(--text-2); }
.scard ul { margin-top: 16px; display: grid; gap: 8px; }
.scard li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15.5px; color: #cfcde0; }
.scard li .icon { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.scard .fit { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--text-3); }
.scard .fit a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: #fff; font-weight: 600; background: rgba(255, 255, 255, 0.04); }
.scard .fit a:hover { border-color: var(--cyan); }

/* about */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 19px; line-height: 1.75; color: var(--text-2); }
.prose p + p { margin-top: 20px; }
.prose strong { color: #fff; font-weight: 600; }

/* forms */
.form-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; gap: 40px; } }
.form-side h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.form-side p { margin-top: 18px; font-size: 18px; color: var(--text-2); }
.form-side ul { margin-top: 28px; display: grid; gap: 14px; }
.form-side li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 17px; color: #dedcec; }
.form-side li .icon { color: var(--cyan); margin-top: 3px; }
.form-side .mail { margin-top: 32px; font-size: 16.5px; color: var(--text-2); }
.form-side .mail a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--purple-2); }
.form-card { border-radius: 20px; padding: 36px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #151436, #0f0e27); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
@media (max-width: 640px) { .form-card { padding: 24px; } }
.form-card h3 { font-size: 26px; font-weight: 600; color: #fff; }
.form-card form > p { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.fields { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #e3e2ee; }
.field label .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: #fff;
  font: 400 16px/22px "Geist", system-ui, sans-serif; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field select option { color: #111; }
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(34, 199, 217, 0.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b81; }
.field-error { display: none; margin-top: 6px; font-size: 14px; color: #ff8a9b; }
.field.invalid .field-error { display: block; }
.form-card .btn { width: 100%; margin-top: 24px; }
.form-status { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.form-status.error { display: block; background: rgba(255, 90, 110, 0.12); color: #ffb3bd; border: 1px solid rgba(255, 90, 110, 0.3); }
.form-done { text-align: center; padding: 40px 0; }
.form-done .ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: rgba(43, 214, 176, 0.15); color: var(--teal); }
.form-done .ok .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.form-done h3 { margin-top: 20px; }
.form-done h3:focus { outline: none; }
.form-done p { margin-top: 8px; color: var(--text-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* footer card */
.site-footer { position: relative; z-index: 2; padding: 96px 0 28px; }
.has-final .site-footer { margin-top: -170px; padding-top: 0; }
.foot-card { position: relative; border-radius: 20px; padding: 48px 44px 28px; background: #0d0c20; border: 1px solid var(--line); overflow: hidden; }
.foot-card::before, .foot-card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; }
.foot-card::before { left: 0; background: linear-gradient(180deg, transparent, var(--teal), transparent); box-shadow: 0 0 40px 8px rgba(43, 214, 176, 0.35); }
.foot-card::after { right: 0; background: linear-gradient(180deg, transparent, var(--violet), transparent); box-shadow: 0 0 40px 8px rgba(111, 107, 255, 0.4); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-card { padding: 36px 24px 24px; } }
.foot-brand img { width: 160px; }
.foot-brand p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--text-3); max-width: 260px; }
.site-footer h2 { font: 600 12.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.site-footer ul { margin-top: 16px; display: grid; gap: 12px; }
.site-footer a { font-size: 15px; color: #d9d8e6; text-decoration: none; transition: color 160ms var(--ease); }
.site-footer a:hover { color: var(--cyan); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }


/* products strip under the preview (where the reference shows its partners) */
.strip { margin-top: 80px; text-align: center; }
.strip p { font: 600 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.strip ul { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; }
.strip a { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: rgba(236, 234, 255, 0.5); text-decoration: none; transition: color 200ms var(--ease); }
.strip a .icon { width: 24px; height: 24px; }
.strip a:hover { color: #fff; }
.legend li i, .a-donut li i { background: var(--c, rgba(236, 234, 255, 0.2)); }
.dot-teal { --c: #2bd6b0; }


/* ── the patient journey (replaces the ring) ── */
.journey { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; text-align: center; }
.journey::before { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 37px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--cyan), var(--violet), var(--purple)); opacity: 0.4; }
.journey li { position: relative; z-index: 1; }
.journey .node { width: 76px; height: 76px; margin: 0 auto; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: var(--cyan); background: linear-gradient(180deg, #24234f, #131232); border: 1px solid var(--line-2); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.journey li:nth-child(even) .node { color: var(--purple-2); }
.journey .node .icon { width: 30px; height: 30px; }
.journey h3 { margin-top: 20px; font-size: 19px; font-weight: 600; color: #fff; }
.journey p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.chips { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { padding: 12px 22px; border-radius: 999px; font-size: 16px; font-weight: 500; color: #e9e8f3; background: linear-gradient(180deg, #24233f, #16152c); border: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .journey::before { left: 37px; right: auto; top: 38px; bottom: 38px; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--cyan), var(--violet), var(--purple)); }
  .journey li { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; align-items: center; }
  .journey .node { grid-row: 1 / 3; margin: 0; }
  .journey h3 { margin-top: 0; align-self: end; }
  .journey p { margin-top: 2px; align-self: start; }
  .chips { margin-top: 44px; gap: 8px; }
  .chips li { padding: 10px 16px; font-size: 14.5px; }
}

/* ── footer: a full-width band, edge to edge ── */
.site-footer { padding: 96px 0 0; }
.has-final .site-footer { margin-top: -60px; padding-top: 0; }
.site-footer > .container { max-width: none; padding: 0; }
.foot-card { border-radius: 0; border-width: 1px 0 0; padding: 64px clamp(20px, 6vw, 96px) 28px; }
.foot-grid, .foot-bottom { max-width: 1600px; margin-left: auto; margin-right: auto; }
@media (max-width: 520px) { .foot-card { padding: 44px 20px 24px; } }

/* ── small screens ── */
@media (max-width: 640px) {
  .hero-streams { height: 460px; }
  .page-hero .hero-streams { height: 380px; }
  .strip a { font-size: 18px; }
  .strip ul { gap: 14px 28px; }
  .callout { width: 230px; font-size: 15px; padding: 16px 18px; }
  .table { font-size: 12.5px; }
  .table th, .table td { padding: 10px; }
  .acc button { padding: 20px; }
  .acc button h3 { font-size: 20px; }
  .btn-lg { height: 50px; padding: 0 28px; }
  .group-head h2 { font-size: 26px; }
  .cell { min-height: 0; padding: 20px; }
  .art { position: static; min-height: 170px; padding: 4px 0 20px; }
  .what-visual { min-height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  [data-reveal], .words { opacity: 1 !important; transform: none !important; }
}

/* ══ round 8 ══ */
.site-header.scrolled .bar { background: #0d0c1e; }

/* the light streams: fibres painted once on a canvas; short streaks of light ride them (transform + opacity only) */
.streams { overflow: hidden; }
.streams[data-dir="up"] { transform: scaleY(-1); }
.streams canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.comet { position: absolute; left: 0; top: 0; border-radius: 2px; transform-origin: 100% 50%; opacity: 0; pointer-events: none; }

/* small looping details: all on transform / opacity, paused while off screen */
@keyframes drip { from { transform: translate3d(0, 0, 0); opacity: 0; } 20% { opacity: 1; } to { transform: translate3d(0, 146px, 0); opacity: 0; } }
@keyframes ping { from { transform: scale(0.55); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes fillbar { from { transform: scaleX(0.18); } to { transform: scaleX(0.86); } }
@keyframes scan { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 105px, 0); } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slide-x { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, 0, 0); } }
@keyframes slide-y { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 100%, 0); } }
.drop i { display: block; animation: drip 2.4s var(--ease) infinite; }
.a-device .ring { animation: ping 3s var(--ease) infinite; }
.a-device .ring:nth-child(2) { animation-delay: 1s; }
.a-device .ring:nth-child(3) { animation-delay: 2s; }
.a-rows div.on i::after { animation: fillbar 3.5s var(--ease) infinite alternate; }
.a-doc::after { top: 8%; animation: scan 2.8s ease-in-out infinite alternate; }
.acc button .prog { display: block; animation: prog var(--cycle, 6.5s) linear forwards; }
.journey .pulse { position: absolute; left: 8.33%; right: 8.33%; top: 28px; height: 20px; overflow: hidden; pointer-events: none; }
.journey .pulse i { position: absolute; left: 0; right: 0; top: 10px; height: 0; animation: slide-x 5s linear infinite; }
.journey .pulse i::after { content: ""; position: absolute; left: 0; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(34, 199, 217, 0.9); }
@media (max-width: 860px) {
  .journey .pulse { left: 28px; right: auto; top: 38px; bottom: 38px; width: 20px; height: auto; }
  .journey .pulse i { left: 10px; right: auto; top: 0; bottom: 0; width: 0; height: auto; animation-name: slide-y; }
  .journey .pulse i::after { left: -4px; top: 0; }
}
.app[data-tilt] { transform-origin: 50% 0; }
@supports (animation-timeline: view()) {
  .app[data-tilt] { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  @keyframes tilt { from { transform: perspective(1400px) rotateX(20deg) scale(0.92); } to { transform: perspective(1400px) rotateX(0deg) scale(1); } }
}
[data-anim].off, [data-anim].off *, [data-anim].off *::before, [data-anim].off *::after { animation-play-state: paused !important; }

/* ── what makes it different: the building and the optional online side ── */
.arch { display: grid; grid-template-columns: minmax(0, 1.45fr) 130px minmax(0, 1fr); align-items: stretch; }
.zone { position: relative; border-radius: 22px; padding: 30px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); }
.zone.inside { background: radial-gradient(90% 70% at 50% 0%, rgba(111, 107, 255, 0.24), rgba(111, 107, 255, 0) 70%), linear-gradient(180deg, #15143a, #0e0d24); }
.zone-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.zone-top h3 { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.tagp { font: 600 12.5px/1 var(--mono); padding: 8px 12px; border-radius: 999px; color: #8ff0d3; background: rgba(43, 214, 176, 0.12); border: 1px solid rgba(43, 214, 176, 0.28); }
.tagp.opt { color: #dcc0ff; background: rgba(161, 0, 255, 0.14); border-color: rgba(180, 92, 255, 0.35); }
.srv { margin: 36px auto 0; width: max-content; max-width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 16px; background: linear-gradient(180deg, #2c2b6c, #1b1a48); border: 1px solid rgba(255, 255, 255, 0.2); }
.srv .icon { width: 28px; height: 28px; color: var(--cyan); }
.srv strong { display: block; font-size: 17px; font-weight: 600; color: #fff; }
.srv small { display: block; font-size: 14px; color: var(--text-2); }
.desks { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.desks::before { content: ""; position: absolute; left: calc(12.5% - 4px); right: calc(12.5% - 4px); top: -28px; height: 1px; background: rgba(34, 199, 217, 0.5); }
.desks::after { content: ""; position: absolute; left: 50%; top: -56px; width: 1px; height: 28px; background: rgba(34, 199, 217, 0.5); }
.desk { position: relative; text-align: center; padding: 18px 8px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); }
.desk::before { content: ""; position: absolute; left: 50%; top: -29px; width: 1px; height: 28px; background: rgba(34, 199, 217, 0.5); }
.desk .icon { width: 24px; height: 24px; margin: 0 auto; color: #fff; }
.desk b { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: #fff; }
.desk small { display: block; margin-top: 2px; font-size: 13px; color: var(--teal); }
.zone .note { margin-top: 26px; text-align: center; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.link-col { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.link-col::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(180, 92, 255, 0.65); }
.link-col .dot { position: absolute; left: 0; right: 0; top: 50%; height: 0; animation: slide-x 3.2s linear infinite; }
.link-col .dot::after { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(180, 92, 255, 0.9); }
.link-col .lock { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #16153a; border: 1px solid rgba(180, 92, 255, 0.55); color: var(--purple-2); }
.link-col small { position: absolute; left: 0; right: 0; top: calc(50% + 34px); text-align: center; font: 600 11.5px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.online { margin-top: 22px; }
.online li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.online li:first-child { border-top: 0; }
.online .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(161, 0, 255, 0.16); color: var(--purple-2); }
.online h4 { font-size: 17px; font-weight: 600; color: #fff; }
.online p { margin-top: 3px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 960px) {
  .arch { grid-template-columns: 1fr; }
  .link-col { height: 96px; }
  .link-col::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed rgba(180, 92, 255, 0.65); }
  .link-col .dot { display: none; }
  .link-col small { left: calc(50% + 36px); right: auto; top: 50%; transform: translateY(-50%); text-align: left; }
}
@media (max-width: 560px) {
  .zone { padding: 22px 18px; }
  .desks { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .desks::before, .desks::after, .desk::before { display: none; }
  .srv { width: 100%; }
}

/* ── the closing call: open, on the page itself, with the streams rising behind it ── */
.final { position: relative; margin-top: 128px; padding: 150px 0 130px; text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 55% at 50% 42%, rgba(111, 107, 255, 0.2), rgba(111, 107, 255, 0) 72%), radial-gradient(30% 40% at 30% 60%, rgba(43, 214, 176, 0.07), rgba(43, 214, 176, 0) 70%), radial-gradient(30% 40% at 72% 58%, rgba(161, 0, 255, 0.1), rgba(161, 0, 255, 0) 70%); pointer-events: none; }
.final-streams { position: absolute; left: 0; right: 0; top: 0; bottom: 0; opacity: 0.6; pointer-events: none; }
.final-streams::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 9, 23, 0) 34%); }
.final .container { position: relative; z-index: 1; }
.final h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.06; max-width: 900px; margin: 0 auto; }
.final p { margin: 22px auto 0; max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.final .actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.assure { margin: 44px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; color: #cfcde0; }
.assure .icon { width: 18px; height: 18px; color: var(--teal); }
@media (max-width: 640px) { .final { margin-top: 96px; padding: 100px 0 90px; } .final p { font-size: 17px; } .assure { gap: 10px 20px; } }

/* ── footer: part of the page, no panel of its own ── */
.site-footer { padding: 96px 0 0; }
.has-final .site-footer { margin-top: 0; padding-top: 0; }
.foot-card { background: transparent; border: 0; overflow: visible; }
.foot-card::before { left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, rgba(236, 234, 255, 0), rgba(236, 234, 255, 0.16), rgba(236, 234, 255, 0)); box-shadow: none; }
.foot-card::after { display: none; }

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

/* ══ round 9: capabilities by department (tabs) ══ */
.caps-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.caps-tabs button { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border: 0; border-radius: 11px; background: none; cursor: pointer; color: var(--text-2); font: 600 15.5px/1 "Geist", system-ui, sans-serif; white-space: nowrap; transition: color 180ms var(--ease), background-color 180ms var(--ease); }
.caps-tabs button .icon { width: 18px; height: 18px; }
.caps-tabs button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.caps-tabs button.on { color: #121126; background: linear-gradient(180deg, var(--silver-1), #d9d8e6 45%, var(--silver-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 18px rgba(120, 90, 255, 0.25); }
.cap-panel { display: none; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.5fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); }
.cap-panel.on { display: grid; animation: cap-in 380ms var(--ease) both; }
@keyframes cap-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.cap-side { display: flex; flex-direction: column; padding: 36px; border-right: 1px solid var(--line); background: radial-gradient(100% 60% at 30% 0%, rgba(111, 107, 255, 0.22), rgba(111, 107, 255, 0) 70%), linear-gradient(180deg, #15143a, #0e0d24); }
.cap-side .who { font: 600 12.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.cap-side h3 { margin-top: 16px; font-size: 30px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.cap-side > p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.cap-art { margin: 28px 0; display: flex; align-items: center; justify-content: center; min-height: 170px; padding: 22px; border-radius: 16px; background: rgba(10, 9, 24, 0.55); border: 1px solid var(--line); }
.cap-side .link { margin-top: auto; }
.cap-list { display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; }
.cap-list li { padding: 28px 30px; border-top: 1px solid var(--line); }
.cap-list li:nth-child(-n+2) { border-top: 0; }
.cap-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.cap-list .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(34, 199, 217, 0.12); color: var(--cyan); }
.cap-list li:nth-child(3n+2) .ic { background: rgba(161, 0, 255, 0.16); color: var(--purple-2); }
.cap-list li:nth-child(3n) .ic { background: rgba(111, 107, 255, 0.16); color: #9d9aff; }
.cap-list h4 { margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.cap-list p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 960px) {
  .cap-panel { grid-template-columns: 1fr; }
  .cap-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px; }
  .cap-side .link { margin-top: 0; }
  .cap-list li { padding: 24px; }
}
@media (max-width: 600px) {
  .caps-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .caps-tabs button { justify-content: center; padding: 0 10px; font-size: 14.5px; }
  .cap-side h3 { font-size: 25px; }
  .cap-list { grid-template-columns: 1fr; }
  .cap-list li, .cap-list li:nth-child(-n+2) { border-top: 1px solid var(--line); border-right: 0; }
  .cap-list li:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .cap-panel.on { animation: none !important; } }

/* the form sits on the page itself: a faint glass panel, no solid fill */
.form-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); box-shadow: none; }
.field input, .field select, .field textarea { background: #1d1c3d; }
.field input:focus, .field select:focus, .field textarea:focus { background: #222148; }
/* on the form pages the streams run the whole height of the page, behind the heading and the form */
main { position: relative; }
.form-streams { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.field select option { background: #14132e; color: #fff; }

/* ══ round 10: nothing animates continuously; motion comes in short bursts with rests (see site.js) ══ */
.drop i { display: none; animation: none; }
.acc button .prog { display: none; animation: none; }
.app[data-tilt] { animation: none; }
@keyframes fillbar-once { from { transform: scaleX(0.12); } to { transform: scaleX(0.72); } }
.a-rows div.on i::after { animation: fillbar-once 1.4s var(--ease) both; }
.journey .pulse i { animation: none; opacity: 0; }
.journey .pulse i.go { opacity: 1; animation: slide-x 2.2s linear; }
@media (max-width: 860px) { .journey .pulse i.go { animation-name: slide-y; } }
.link-col .dot { animation: none; opacity: 0; }
.link-col .dot.go { opacity: 1; animation: slide-x 1.5s linear; }
.form-streams { opacity: 0.8; }

/* ══ round 11: no CSS opacity on the stream boxes (it forced the whole box to be re-blended every frame); dimming is painted in ══ */
.final-streams, .form-streams { opacity: 1; }
.page-hero .hero-streams { opacity: 1; }
.final-streams::after { display: none; }
.streams[data-dir="up"] { transform: none; }
.final::before { display: none; }

/* Contact us: the streams stay in the heading area and fade out above the form; the form is a solid panel */
.form-card.solid { background: linear-gradient(180deg, #151436, #0f0e27); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
