/* ==========================================================================
   iAssets landing — tokens
   Night-blue "digital twin" stage, bright clinical sections, status colours
   ========================================================================== */
:root {
  /* deep hospital blues */
  --navy-950: #061430;
  --navy-900: #071737;
  --navy-800: #0A1F4D;
  --navy-700: #0F2C66;
  --navy-600: #173C85;

  /* brand */
  --blue: #1F64CA;
  --blue-bright: #3D8BFF;
  --sky: #7FB2FF;
  --ice: #DCE8FF;

  /* status + module tones */
  --c-blue: #3D8BFF;
  --c-teal: #14B8A6;
  --c-mint: #5EEAD4;
  --c-amber: #F59E0B;
  --c-rose: #F43F5E;
  --c-violet: #8B5CF6;
  --c-cyan: #06B6D4;
  --c-indigo: #6366F1;
  --c-emerald: #10B981;
  --ok: #2DD4BF;
  --due: #FBBF24;
  --down: #F43F5E;

  /* light surfaces */
  --paper: #F4F7FE;
  --surface: #FFFFFF;
  --ink: #0A1F4D;
  --ink-2: #4B5B7C;
  --line: rgba(10, 31, 77, .10);

  --grad-brand: linear-gradient(120deg, #1F64CA 0%, #3D8BFF 50%, #2DD4BF 100%);
  --grad-night: linear-gradient(160deg, #0F2C66 0%, #0A1F4D 55%, #071737 100%);

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: 1.1875rem;
  --t-lg: 1.5rem;
  --t-xl: clamp(1.875rem, 1.2rem + 2.4vw, 2.875rem);
  --t-2xl: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --shadow: 0 1px 2px rgba(10, 31, 77, .06), 0 18px 40px -18px rgba(10, 31, 77, .28);
  --shadow-lg: 0 2px 4px rgba(10, 31, 77, .05), 0 34px 70px -28px rgba(10, 31, 77, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 78%; font-weight: 650; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); font-stretch: 88%; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--blue-bright); color: #fff; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s);
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.logo-white { filter: brightness(0) invert(1); }

/* small sentence-case section marker with brand gradient text */
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-weight: 600; font-size: var(--t-sm);
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow--light { background: linear-gradient(90deg, var(--sky), var(--c-mint)); -webkit-background-clip: text; background-clip: text; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 var(--t-sm)/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, translate .2s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn--lg { height: 54px; padding: 0 28px; font-size: var(--t-base); }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, #2D74E6, #1F64CA 60%, #1A56B4);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(61, 139, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(61, 139, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); translate: 0 -1px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass {
  background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--outline { background: var(--surface); color: var(--ink); border-color: rgba(10, 31, 77, .18); }
.btn--outline:hover { border-color: var(--blue-bright); color: var(--blue); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--ice); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(244, 247, 254, .78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 70px; display: flex; align-items: center; gap: 32px;
}
.nav__logo { height: 34px; width: auto; transition: filter .3s; }
.nav__links { display: flex; gap: 28px; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; background: none;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0 11px; cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, background-color .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; gap: 4px; border-top: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 12px; }

/* over the night stage */
.nav.is-dark { background: rgba(7, 23, 55, .35); border-bottom-color: rgba(127, 178, 255, .12); }
.nav.is-dark .nav__logo { filter: brightness(0) invert(1); }
.nav.is-dark .nav__links a { color: rgba(220, 232, 255, .72); }
.nav.is-dark .nav__links a:hover { color: #fff; }
.nav.is-dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.nav.is-dark .btn--ghost:hover { border-color: #fff; }
.nav.is-dark .nav__toggle span { background: #fff; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; margin-inline-start: 4px; }
  .nav__lang { margin-inline-start: auto; }
}

/* ==========================================================================
   3D stage: sticky canvas under hero + story (night blue)
   ========================================================================== */
.stage-wrap { position: relative; background: var(--navy-800); color: #fff; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 23, 55, .92) 0%, rgba(7, 23, 55, .6) 28%, transparent 52%),
    linear-gradient(0deg, rgba(7, 23, 55, .55) 0%, transparent 18%);
}
.stage__fallback { display: none; }
.no-webgl .stage__fallback {
  display: block; position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 72% 50%, rgba(61, 139, 255, .45), transparent 70%),
    radial-gradient(40% 40% at 85% 80%, rgba(45, 212, 191, .25), transparent 70%),
    var(--grad-night);
}

.hero, .story { position: relative; z-index: 2; }
.hero { margin-top: -100vh; margin-top: -100svh; }

.hero {
  min-height: 100vh; min-height: 100svh;
  max-width: var(--wrap); margin-inline: auto;
  padding: 120px var(--gutter) 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__copy { max-width: 580px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 7px 14px; padding-inline-start: 10px; border-radius: 999px;
  background: rgba(127, 178, 255, .1); border: 1px solid rgba(127, 178, 255, .25);
  color: var(--ice); font-size: var(--t-sm); font-weight: 500;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.badge__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok);
  animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

.hero__title {
  font-size: var(--t-2xl); font-stretch: 75%; font-weight: 660; letter-spacing: -.03em; line-height: .97;
  background: linear-gradient(180deg, #FFFFFF 30%, #B9D3FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero__lede { margin-top: 22px; font-size: var(--t-md); color: rgba(220, 232, 255, .78); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 34px; color: rgba(220, 232, 255, .65); font-size: var(--t-sm);
}
.hero__facts li { display: flex; align-items: baseline; gap: 6px; }
.hero__facts b { color: #fff; font-size: 1.5rem; font-stretch: 78%; font-weight: 650; }
.hero__scroll {
  position: absolute; bottom: 28px; inset-inline-start: var(--gutter);
  font-size: var(--t-sm); color: rgba(220, 232, 255, .6); display: flex; align-items: center; gap: 12px;
}
.hero__scroll::before {
  content: ""; width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(220, 232, 255, .4);
  background: radial-gradient(circle at 50% 30%, #fff 2.5px, transparent 3.5px) no-repeat;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 8px; } }

/* floating product glimpses */
.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r-m);
  background: linear-gradient(160deg, rgba(23, 60, 133, .62), rgba(10, 31, 77, .55));
  border: 1px solid rgba(127, 178, 255, .25);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font-size: var(--t-sm);
  animation: bob 7s ease-in-out infinite;
}
.float strong { display: block; font-weight: 600; }
.float span { color: rgba(220, 232, 255, .7); }
.float--ppm { top: 19%; inset-inline-end: var(--gutter); }
.float--wo { bottom: 16%; inset-inline-end: calc(var(--gutter) + 40px); flex-direction: column; align-items: stretch; gap: 6px; min-width: 230px; animation-delay: -2.5s; }
.float--live { bottom: 30%; inset-inline-start: 50%; padding: 10px 16px; border-radius: 999px; gap: 10px; animation-delay: -4.5s; }
.float--live span { color: var(--ice); }
.float--live b { color: #fff; }
.float__row { display: flex; align-items: baseline; gap: 10px; }
.float__row b { font-size: 1.75rem; font-stretch: 78%; font-weight: 650; line-height: 1; }
.float__row em { font-style: normal; color: var(--c-mint); font-size: .8125rem; }
.spark { width: 100%; height: 32px; }
.spark path { fill: none; stroke: var(--c-mint); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(94, 234, 212, .6)); }
.ring {
  --v: 50;
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c-mint) calc(var(--v) * 1%), rgba(255, 255, 255, .12) 0);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%);
  position: relative;
}
.float--ppm .ring + div { position: relative; }
.float--ppm { padding-inline-start: 14px; }
.float--ppm .ring span { display: none; }
.float--ppm::before {
  content: "96%"; position: absolute; inset-inline-start: 14px; top: 50%; width: 54px; translate: 0 -50%;
  text-align: center; font-weight: 700; font-size: .8125rem; color: #fff;
}
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); flex: none; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1100px) { .float { display: none; } }

/* story copy over the model */
.story { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); }
.story__step {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 460px;
}
.story__step > * { position: relative; }
.story__n {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: var(--t-sm); margin-bottom: 20px;
  box-shadow: 0 8px 24px -6px rgba(61, 139, 255, .7);
}
.story h2 { font-size: var(--t-xl); color: #fff; }
.story p { margin-top: 16px; color: rgba(220, 232, 255, .78); font-size: var(--t-md); }
.story__step:last-child { min-height: 110vh; }

.legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: #fff; }
.legend li { display: flex; align-items: center; gap: 12px; font-weight: 500; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ok); }
.dot--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot--due { background: var(--due); box-shadow: 0 0 10px var(--due); }
.dot--down { background: var(--down); box-shadow: 0 0 10px var(--down); }

/* HTML tags anchored to 3D points */
.tag {
  position: absolute; left: 0; top: 0; z-index: 3;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: var(--r-m); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55);
  padding: 12px 14px; font-size: var(--t-sm); min-width: 230px;
  opacity: 0; transform: translate(-50%, calc(-100% - 18px));
  transition: opacity .25s;
  will-change: transform;
}
.tag.is-on { opacity: 1; }
.tag::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px;
  background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px;
}
.tag__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tag dl { margin: 0; display: grid; gap: 4px; }
.tag dl div { display: flex; justify-content: space-between; gap: 16px; }
.tag dt { color: var(--ink-2); }
.tag dd { margin: 0; font-weight: 600; white-space: nowrap; }
.tag--wo { min-width: 0; max-width: 250px; background: linear-gradient(135deg, #2D74E6, #1F64CA); color: #fff; }
.tag--wo .tag__kicker { color: rgba(255, 255, 255, .75); }
.tag__kicker { display: block; margin-bottom: 2px; }

@media (max-width: 760px) {
  .stage::after { background: linear-gradient(180deg, rgba(7, 23, 55, .85) 0%, transparent 25%, transparent 60%, rgba(7, 23, 55, .7) 100%); }
  .hero { justify-content: flex-start; padding-top: 104px; }
  .hero__scroll { display: none; }
  .story__step { justify-content: flex-end; padding-bottom: 8vh; max-width: none; }
  .story__step h2, .story__step p, .story__step .legend {
    background: rgba(10, 31, 77, .78);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .story__step h2 { padding: 18px 18px 0; border-radius: var(--r-m) var(--r-m) 0 0; }
  .story__step p, .story__step .legend { margin-top: 0; padding: 12px 18px 18px; }
  .story__step .legend + p { padding-top: 0; }
  .story__step p:last-child { border-radius: 0 0 var(--r-m) var(--r-m); }
  .tag { min-width: 190px; font-size: .8125rem; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section:not(.hero):not(.trust) { padding: clamp(48px, 6.5vw, 84px) 0; }
.section-head { max-width: 660px; margin-bottom: clamp(26px, 3.5vw, 42px); }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: var(--t-md); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- trust strip ---------- */
.trust { background: var(--surface); padding: 22px 0 36px; border-bottom: 1px solid var(--line); }
.trust__label { text-align: center; color: var(--ink-2); font-size: var(--t-sm); margin-bottom: 12px; padding: 0 var(--gutter); }
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 96px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 84px; width: auto; max-width: 240px; object-fit: contain; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
.marquee li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 32px 48px; padding: 0 var(--gutter); }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .float, .badge__dot::after, .hero__scroll::before { animation: none; }
}

/* ---------- lifecycle ---------- */
.lifecycle {
  position: relative; z-index: 2;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(61, 139, 255, .10), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(45, 212, 191, .10), transparent 70%),
    var(--paper);
}
@property --ring { syntax: "<number>"; inherits: false; initial-value: 0; }

.lc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.lc-head .section-head { margin-bottom: 0; }
.lc-play {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid rgba(10, 31, 77, .14); background: var(--surface); color: var(--ink);
  font: 600 var(--t-sm)/1 var(--font); cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s;
}
.lc-play:hover { border-color: var(--blue-bright); }
.lc-play svg { width: 18px; height: 18px; fill: var(--blue); }
.lc-play[aria-pressed="true"] .lc-play__play, .lc-play[aria-pressed="false"] .lc-play__pause { display: none; }

.lc-board {
  --tone: var(--c-blue);
  position: relative; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lc-board::before {
  /* soft wash in the active state's colour */
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 90%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tone) 16%, transparent), transparent 65%);
  transition: background .6s; pointer-events: none;
}

.lc { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; margin-bottom: clamp(24px, 3vw, 36px); }
.lc::before { content: ""; position: absolute; left: 7%; right: 7%; top: 27px; height: 4px; border-radius: 4px; background: rgba(10, 31, 77, .07); }
.lc__fill {
  position: absolute; top: 27px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #3D8BFF, #6366F1, #8B5CF6, #06B6D4, #F59E0B, #14B8A6, #10B981);
  background-size: var(--track, 100%) 100%;
  box-shadow: 0 0 14px color-mix(in srgb, var(--tone) 60%, transparent);
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}
.lc__btn {
  --c: var(--c-blue);
  position: relative; background: none; border: 0; padding: 0 2px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font: 500 var(--t-sm)/1.25 var(--font); color: var(--ink-2); text-align: center;
}
.lc__btn i {
  position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid rgba(10, 31, 77, .12); color: var(--ink-2);
  box-shadow: var(--shadow);
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s, scale .3s;
}
.lc__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lc__btn:hover i { border-color: var(--c); color: var(--c); }
.lc__btn.is-done i { border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); background: color-mix(in srgb, var(--c) 9%, white); }
.lc__btn.is-done i::after {
  content: ""; position: absolute; inset-inline-end: -5px; top: -5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  box-shadow: 0 0 0 2px var(--surface);
}
.lc__btn[aria-selected="true"] { color: var(--ink); font-weight: 650; }
.lc__btn[aria-selected="true"] i {
  background: var(--c); border-color: transparent; color: #fff; scale: 1.1;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 16%, transparent), 0 14px 30px -8px var(--c);
}
/* countdown ring around the active step while auto-playing */
.lc__btn i::before {
  content: ""; position: absolute; inset: -9px; border-radius: 23px; opacity: 0;
  background: conic-gradient(var(--c) calc(var(--ring) * 1%), transparent 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 2px;
}
.lc.is-playing .lc__btn[aria-selected="true"] i::before { opacity: 1; animation: ring var(--dur, 4.5s) linear forwards; }
@keyframes ring { from { --ring: 0; } to { --ring: 100; } }

.lc__panel { position: relative; display: grid; grid-template-columns: 250px 1fr 1.05fr; gap: 18px; align-items: stretch; }

.lc__who {
  border-radius: var(--r-l); padding: 24px; color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background:
    radial-gradient(90% 70% at 0% 0%, color-mix(in srgb, var(--tone) 60%, transparent), transparent 65%),
    radial-gradient(70% 60% at 100% 100%, rgba(45, 212, 191, .3), transparent 60%),
    var(--navy-800);
  transition: background .6s;
}
.lc__who-label { font-size: .8125rem; color: rgba(220, 232, 255, .65); }
.lc__avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 10px 0 8px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 0 30px color-mix(in srgb, var(--tone) 55%, transparent);
}
.lc__avatar svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lc__role { font-size: var(--t-md); font-stretch: 88%; line-height: 1.2; }
.lc__role-sub { font-size: var(--t-sm); color: rgba(220, 232, 255, .72); }
.lc__next {
  margin-top: auto; padding-top: 18px; font-size: .8125rem; color: rgba(220, 232, 255, .7);
  display: flex; align-items: center; gap: 8px;
}
.lc__next b { color: #fff; font-weight: 600; }
.lc__next:empty { display: none; }

.lc__body { padding: 8px 6px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lc__state {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: var(--tone);
  background: color-mix(in srgb, var(--tone) 11%, white);
}
.lc__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.lc__title { font-size: var(--t-lg); }
.lc__desc { color: var(--ink-2); max-width: 52ch; }
.lc__auto, .lc__branch {
  display: flex; gap: 10px; align-items: flex-start; max-width: 52ch;
  padding: 11px 14px; border-radius: var(--r-s); font-size: var(--t-sm); font-weight: 500;
}
.lc__auto { background: #FFF8E6; color: #7A4B00; }
.lc__branch { background: #FFF0F2; color: #9F1239; }
.lc__auto:empty, .lc__branch:empty { display: none; }
.lc__auto::before, .lc__branch::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; background: center/contain no-repeat; }
.lc__auto::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.lc__branch::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E11D48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8M3 3v5h5'/%3E%3C/svg%3E"); }
.lc__body > * { animation: lcIn .45s cubic-bezier(.2, .7, .2, 1) both; }
.lc__body > :nth-child(2) { animation-delay: .04s; }
.lc__body > :nth-child(3) { animation-delay: .08s; }
.lc__body > :nth-child(4) { animation-delay: .12s; }
.lc__body > :nth-child(5) { animation-delay: .16s; }
@keyframes lcIn { from { opacity: 0; translate: 0 8px; } }

/* live work order card */
.wo-card {
  height: 100%; border-radius: var(--r-l); padding: 20px; background: var(--paper);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px;
}
.wo-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wo-card__top > div { display: grid; gap: 2px; }
.wo-card__id { font-size: .75rem; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.wo-card__top strong { font-size: var(--t-base); }
.wo-card__loc { font-size: .75rem; color: var(--ink-2); }
.wo-card__status {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #fff; background: var(--tone);
  box-shadow: 0 6px 16px -6px var(--tone); transition: background .4s;
}
.wo-card__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.sla { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sla__row { display: flex; justify-content: space-between; gap: 10px; font-size: .8125rem; color: var(--ink-2); margin-bottom: 8px; }
.sla__row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sla__bar { height: 8px; border-radius: 8px; background: rgba(10, 31, 77, .07); overflow: hidden; }
.sla__bar i {
  display: block; height: 100%; width: var(--sla, 0%); border-radius: 8px;
  background: linear-gradient(90deg, #14B8A6, #2DD4BF); transition: width .6s cubic-bezier(.2, .7, .2, 1), background .4s;
}
.sla.is-warn .sla__bar i { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.wo-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.wo-log::before { content: ""; position: absolute; inset-inline-start: 5px; top: 8px; bottom: 8px; width: 2px; background: rgba(10, 31, 77, .08); }
.wo-log li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding-inline-start: 22px; font-size: .8125rem; }
.wo-log li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 3px var(--paper);
}
.wo-log li span { color: var(--ink); font-weight: 500; }
.wo-log li time { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: .75rem; }
.wo-log li.is-new { animation: logIn .5s cubic-bezier(.2, .7, .2, 1) both; }
.wo-log li.is-new::before { box-shadow: 0 0 0 3px var(--paper), 0 0 0 7px color-mix(in srgb, var(--c) 25%, transparent); }
@keyframes logIn { from { opacity: 0; translate: 0 -8px; } }

.lc-rules { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lc-rules li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
}
.lc-rules b {
  flex: none; min-width: 58px; padding: 8px 10px; border-radius: 12px; text-align: center;
  font-size: var(--t-md); font-stretch: 80%; font-weight: 700; color: var(--blue); background: #E8F0FF;
}
.lc-rules span { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .lc__body > *, .wo-log li.is-new { animation: none; }
  .lc-play { display: none; }
}
@media (max-width: 1100px) {
  .lc__panel { grid-template-columns: 1fr 1fr; }
  .lc__who { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
  .lc__avatar { margin: 0; }
  .lc__who-label { width: 100%; }
  .lc__next { margin: 0; margin-inline-start: auto; padding: 0; }
  .lc-rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lc-head { flex-direction: column; align-items: flex-start; }
  .lc { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86px; overflow-x: auto; padding: 10px 4px 12px; margin-inline: -4px; scrollbar-width: none; }
  .lc::before { inset-inline-start: 43px; inset-inline-end: auto; width: calc(86px * 6); }
  .lc__panel { grid-template-columns: 1fr; }
  .lc__next { margin-inline-start: 0; width: 100%; }
  .lc-rules { grid-template-columns: 1fr; }
}

/* ---------- modules ---------- */
.modules { background: var(--surface); }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.mod {
  --tone: var(--c-blue);
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 28px 24px 30px;
  transition: box-shadow .3s, border-color .3s, transform .3s;
  transform-style: preserve-3d;
}
.mod::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 30%, transparent));
  opacity: 0; transition: opacity .3s;
}
.mod::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tone) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.mod:hover { border-color: color-mix(in srgb, var(--tone) 35%, transparent); box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--tone) 60%, transparent); }
.mod:hover::before { opacity: 1; }
.mod__ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: color-mix(in srgb, var(--tone) 13%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 22%, transparent);
}
.mod__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--tone); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod p { margin-top: 10px; color: var(--ink-2); font-size: var(--t-sm); }

.mod--lead {
  --tone: var(--c-blue);
  grid-column: span 2; grid-row: span 2; padding: 38px 34px;
  display: flex; flex-direction: column; color: #fff; border: 0;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(61, 139, 255, .55), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(45, 212, 191, .35), transparent 60%),
    var(--navy-800);
}
.mod--lead::after { display: none; }
.mod--lead .mod__ico { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.mod--lead .mod__ico svg { stroke: #fff; }
.mod--lead h3 { font-size: var(--t-xl); }
.mod--lead p { font-size: var(--t-base); max-width: 46ch; color: rgba(220, 232, 255, .8); }
.qr-card {
  margin-top: auto; padding: 18px; display: flex; gap: 20px; align-items: center;
  border-radius: var(--r-m); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mod--lead .qr-card { margin-top: 32px; }
.qr-card > div:last-child { display: grid; gap: 4px; font-size: var(--t-sm); }
.qr-card span { color: rgba(220, 232, 255, .7); }
.qr {
  width: 108px; height: 108px; flex: none; padding: 9px; border-radius: 12px;
  background: #fff; box-shadow: 0 0 0 4px rgba(127, 178, 255, .25), 0 0 40px rgba(61, 139, 255, .5);
  display: grid; grid-template-columns: repeat(21, 1fr);
}
.qr i { background: var(--navy-800); }
.qr i.o { background: transparent; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .8125rem; margin-top: 4px; }
.pill--ok { background: rgba(45, 212, 191, .16); color: var(--c-mint) !important; }
.pill--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

@media (max-width: 1000px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .mod-grid { grid-template-columns: 1fr; }
  .mod--lead { grid-column: auto; grid-row: auto; padding: 30px 24px; }
}

/* ---------- tour ---------- */
.tour {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(45% 60% at 80% 40%, rgba(61, 139, 255, .35), transparent 70%),
    radial-gradient(35% 50% at 100% 100%, rgba(45, 212, 191, .25), transparent 70%),
    radial-gradient(30% 40% at 0% 0%, rgba(139, 92, 246, .22), transparent 70%),
    var(--navy-900);
}
.tour__inner { display: grid; grid-template-columns: 1fr 1.75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tour__copy h2 { color: #fff; }
.tour__copy > p:not(.eyebrow) { margin-top: 16px; color: rgba(220, 232, 255, .75); font-size: var(--t-md); }
.tour__chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour__chips li {
  padding: 7px 14px; border-radius: 999px; font-size: var(--t-sm);
  background: rgba(127, 178, 255, .1); border: 1px solid rgba(127, 178, 255, .22); color: var(--ice);
}
.tour__frame {
  padding: 1.5px; border-radius: calc(var(--r-xl) + 2px);
  background: linear-gradient(140deg, rgba(127, 178, 255, .8), rgba(127, 178, 255, .1) 40%, rgba(94, 234, 212, .7));
  box-shadow: 0 40px 100px -30px rgba(61, 139, 255, .6);
}
.tour__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #0E1830; }
.tour__player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.tour__cover {
  position: absolute; inset: 0; border: 0; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background:
    linear-gradient(180deg, rgba(7, 23, 55, .05), rgba(7, 23, 55, .65)),
    url("../img/tour-cover.svg") center / cover no-repeat,
    #13254B;
  font: 600 var(--t-base) var(--font);
}
.tour__play {
  position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); box-shadow: 0 0 0 10px rgba(255, 255, 255, .12), 0 20px 50px -10px rgba(61, 139, 255, .9);
  transition: scale .25s;
}
.tour__play svg { width: 32px; height: 32px; fill: #fff; transform: translateX(2px); }
.tour__cover:hover .tour__play { scale: 1.07; }
@media (max-width: 860px) { .tour__inner { grid-template-columns: 1fr; } }

/* ---------- proof ---------- */
.proof { background: var(--paper); }
.proof__stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof__stats div {
  --tone: var(--c-blue);
  position: relative; overflow: hidden;
  padding: 28px 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column-reverse; gap: 8px; box-shadow: var(--shadow);
}
.proof__stats div::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tone); }
.proof__stats dt { color: var(--ink-2); font-size: var(--t-sm); }
.proof__stats dd {
  margin: 0; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); font-weight: 650; font-stretch: 75%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--ink) 20%, var(--tone)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote {
  position: relative; margin: clamp(40px, 6vw, 64px) 0 0; padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl); color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(45, 212, 191, .35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(139, 92, 246, .3), transparent 60%),
    linear-gradient(135deg, #1F64CA, #173C85 60%, #0F2C66);
}
.quote__mark { width: 48px; height: 36px; fill: var(--c-mint); margin-bottom: 22px; opacity: .9; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; max-width: 40ch; }
.quote figcaption { margin-top: 20px; color: rgba(220, 232, 255, .8); }
@media (max-width: 900px) { .proof__stats { grid-template-columns: 1fr 1fr; } }

/* ---------- plans ---------- */
.plans {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(61, 139, 255, .10), transparent 70%),
    var(--surface);
}
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 30px;
  display: flex; flex-direction: column; gap: 12px; background: var(--surface);
  box-shadow: var(--shadow);
  transition: translate .3s, box-shadow .3s;
}
.plan:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.plan h3 { font-size: var(--t-lg); }
.plan__for { color: var(--ink-2); }
.plan ul { list-style: none; padding: 18px 0 0; margin: 4px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: var(--t-sm); }
.plan li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: #E3EEFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231F64CA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan--main {
  color: #fff; border: 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(45, 212, 191, .4), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(61, 139, 255, .5), transparent 60%),
    var(--navy-800);
  box-shadow: 0 40px 80px -30px rgba(31, 100, 202, .7);
  scale: 1.03;
}
.plan--main:hover { translate: 0 -4px; }
.plan__badge {
  position: absolute; top: 20px; inset-inline-end: 20px;
  padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600;
  background: rgba(94, 234, 212, .16); color: var(--c-mint); border: 1px solid rgba(94, 234, 212, .35);
}
.plan--main .plan__for { color: rgba(220, 232, 255, .75); }
.plan--main ul { border-top-color: rgba(255, 255, 255, .14); }
.plan--main li::before { background-color: rgba(94, 234, 212, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%235EEAD4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan--main { scale: 1; }
  .plan__badge { position: static; justify-self: start; align-self: flex-start; }
}

/* ---------- faq ---------- */
.faq { background: var(--paper); }
.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq__aside { margin-top: 18px; color: var(--ink-2); max-width: 34ch; }
.faq__aside a { color: var(--blue); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: rgba(61, 139, 255, .45); box-shadow: 0 18px 40px -22px rgba(31, 100, 202, .45); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 20px; padding-inline: 24px 64px; position: relative;
  font-weight: 600; font-size: var(--t-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 20px; top: 50%; width: 30px; height: 30px; translate: 0 -50%; border-radius: 50%;
  background: #E3EEFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%231F64CA' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: rotate .25s, background-color .25s;
}
.faq details[open] summary::after { rotate: 45deg; background-color: #CFE0FF; }
.faq details p { padding: 0 0 22px; padding-inline: 24px 64px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- demo ---------- */
.demo {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(40% 60% at 10% 20%, rgba(61, 139, 255, .55), transparent 70%),
    radial-gradient(35% 55% at 90% 90%, rgba(45, 212, 191, .4), transparent 70%),
    radial-gradient(30% 40% at 70% 10%, rgba(139, 92, 246, .35), transparent 70%),
    var(--navy-800);
}
.demo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.demo h2 { font-size: var(--t-2xl); font-stretch: 75%; color: #fff; }
.demo__copy > p { margin-top: 20px; font-size: var(--t-md); color: rgba(220, 232, 255, .82); max-width: 44ch; }
.demo__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.demo__list li { display: flex; gap: 12px; align-items: center; }
.demo__list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(94, 234, 212, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%235EEAD4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.form {
  background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px);
  display: grid; gap: 16px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field input, .field select {
  height: 48px; border: 1px solid rgba(10, 31, 77, .14); border-radius: var(--r-s); padding: 0 14px;
  font: inherit; color: inherit; background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover, .field select:hover { border-color: rgba(10, 31, 77, .28); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-bright); background: #fff; box-shadow: 0 0 0 4px rgba(61, 139, 255, .18); }
.field input[aria-invalid="true"] { border-color: var(--down); box-shadow: 0 0 0 4px rgba(244, 63, 94, .12); }
.form__msg { font-size: var(--t-sm); min-height: 1.4em; }
.form__msg.is-error { color: #BE123C; }
.form__msg.is-ok { color: #0F766E; font-weight: 600; }
@media (max-width: 860px) { .demo__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--navy-950); color: rgba(220, 232, 255, .7); font-size: var(--t-sm); padding: 64px 0 28px; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(127, 178, 255, .14); }
.foot__brand img { height: 32px; width: auto; margin-bottom: 16px; }
.foot__brand p { max-width: 32ch; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col h3 { color: #fff; font-size: var(--t-base); font-stretch: 100%; margin-bottom: 4px; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: #fff; }
.foot__bottom { padding-top: 24px; }
@media (max-width: 760px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Enhancements: progress bar, story rail, hero entrance
   ========================================================================== */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-bright), var(--c-mint));
  box-shadow: 0 0 10px rgba(94, 234, 212, .6);
}

.rail {
  position: fixed; inset-inline-end: max(16px, calc((100vw - var(--wrap)) / 2 - 40px)); top: 50%; z-index: 40;
  display: flex; flex-direction: column; gap: 14px; translate: 0 -50%;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.rail.is-on { opacity: 1; visibility: visible; }
.rail a {
  position: relative; display: block; width: 12px; height: 12px; border-radius: 50%;
  background: rgba(220, 232, 255, .25); border: 1px solid rgba(220, 232, 255, .4);
  transition: background .25s, scale .25s, box-shadow .25s;
}
.rail a span {
  position: absolute; inset-inline-end: 24px; top: 50%; translate: 0 -50%; white-space: nowrap;
  padding: 5px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 500;
  background: rgba(10, 31, 77, .85); color: #fff; border: 1px solid rgba(127, 178, 255, .25);
  opacity: 0; translate: 6px -50%; transition: opacity .2s, translate .2s; pointer-events: none;
}
.rail a:hover span, .rail a:focus-visible span, .rail a.is-active span { opacity: 1; translate: 0 -50%; }
.rail a.is-active { background: var(--c-mint); border-color: var(--c-mint); scale: 1.3; box-shadow: 0 0 14px var(--c-mint); }
.rail a.is-done { background: rgba(94, 234, 212, .5); border-color: transparent; }
@media (max-width: 760px) { .rail { display: none; } }

/* one orchestrated load moment for the hero copy */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > *, .js .float { opacity: 0; translate: 0 18px; }
  .js.is-loaded .hero__copy > *, .js.is-loaded .float {
    opacity: 1; translate: 0 0;
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1);
  }
  .js.is-loaded .hero__copy > :nth-child(2) { transition-delay: .08s; }
  .js.is-loaded .hero__copy > :nth-child(3) { transition-delay: .16s; }
  .js.is-loaded .hero__copy > :nth-child(4) { transition-delay: .24s; }
  .js.is-loaded .hero__copy > :nth-child(5) { transition-delay: .32s; }
  .js.is-loaded .float--ppm { transition-delay: 1.4s; }
  .js.is-loaded .float--live { transition-delay: 1.65s; }
  .js.is-loaded .float--wo { transition-delay: 1.9s; }
}

/* ==========================================================================
   Product preview (app mock)
   ========================================================================== */
.preview {
  background:
    radial-gradient(50% 50% at 50% 100%, rgba(61, 139, 255, .14), transparent 70%),
    var(--paper);
  overflow: hidden;
}
.pv-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto 28px;
  padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pv-tabs button {
  border: 0; background: none; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  font: 600 var(--t-sm)/1 var(--font); color: var(--ink-2); transition: background .25s, color .25s;
}
.pv-tabs button:hover { color: var(--ink); }
.pv-tabs button[aria-selected="true"] { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(61, 139, 255, .8); }

.app {
  --app-bg: #F7F9FE;
  border-radius: 20px; overflow: hidden; background: var(--surface);
  border: 1px solid rgba(10, 31, 77, .12);
  box-shadow: 0 50px 100px -40px rgba(10, 31, 77, .45), 0 0 0 8px rgba(255, 255, 255, .6);
}
.app__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #EEF2FA; border-bottom: 1px solid var(--line); }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 11px; height: 11px; border-radius: 50%; background: #F87171; }
.app__dots i:nth-child(2) { background: #FBBF24; }
.app__dots i:nth-child(3) { background: #34D399; }
.app__url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; font-size: .8125rem; color: var(--ink-2); background: #fff; border-radius: 8px; padding: 5px 12px; border: 1px solid var(--line); }
.app__sample { font-size: .75rem; font-weight: 600; color: #7A4B00; background: #FFF3D6; padding: 3px 8px; border-radius: 6px; }
.app__body { display: grid; grid-template-columns: 64px 1fr; min-height: 520px; background: var(--app-bg); }
.app__side { background: var(--navy-800); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.app__side img { filter: brightness(0) invert(1); margin-bottom: 14px; }
.app__side span { width: 30px; height: 30px; border-radius: 9px; background: rgba(127, 178, 255, .14); transition: background .25s, box-shadow .25s; }
.app__side span.is-on { background: var(--grad-brand); box-shadow: 0 0 16px rgba(61, 139, 255, .7); }
.app__view { padding: clamp(18px, 3vw, 30px); min-width: 0; animation: viewIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes viewIn { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .app__view { animation: none; } }
.app__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.app__head h3 { font-size: var(--t-lg); margin-inline-end: auto; }
.chip { font-size: .8125rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #E3EEFF; color: var(--blue); }
.chip--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: grid; gap: 4px;
}
.kpi::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px; background: var(--tone); }
.kpi span { font-size: .8125rem; color: var(--ink-2); }
.kpi b { font-size: 1.75rem; font-stretch: 78%; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.kpi em { font-style: normal; font-size: .75rem; color: var(--ink-2); }
.kpi em.good { color: #0F766E; }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: var(--t-sm); flex-wrap: wrap; }
.legend-inline { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink-2); }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-inline-start: 6px; }
.sw--ok { background: var(--c-teal); }
.sw--due { background: var(--due); }
.sw--down { background: var(--down); }
.sw--sched { background: var(--blue-bright); }

.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; height: 220px; align-items: end; padding-bottom: 22px; position: relative;
  background: repeating-linear-gradient(0deg, transparent 0 43px, rgba(10, 31, 77, .06) 43px 44px); }
.bars div {
  position: relative; height: calc(var(--h) + var(--d)); border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--due) 0 calc(var(--d) / (var(--h) + var(--d)) * 100%), #2DD4BF 0, #14B8A6);
  transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.bars div:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }
.bars span { position: absolute; bottom: -22px; left: 50%; translate: -50% 0; font-size: .75rem; color: var(--ink-2); }
.preview.is-seen .bars div { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .bars div { transform: none; transition: none; } }

.donut-wrap { position: relative; width: 150px; margin: 0 auto 14px; }
.donut { width: 150px; height: 150px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut__track { stroke: #EEF2FA; }
.donut__seg { stroke: var(--c); stroke-dasharray: 0 289; stroke-dashoffset: var(--off); stroke-linecap: butt; transition: stroke-dasharray 1.1s cubic-bezier(.2, .7, .2, 1); }
.preview.is-seen .donut__seg { stroke-dasharray: var(--len) 289; }
@media (prefers-reduced-motion: reduce) { .donut__seg { stroke-dasharray: var(--len) 289; transition: none; } }
.donut__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__label b { font-size: 1.6rem; font-stretch: 78%; line-height: 1; }
.donut__label span { font-size: .75rem; color: var(--ink-2); }
.mini-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .8125rem; }
.mini-legend li { display: flex; align-items: center; gap: 8px; }
.mini-legend .sw { margin: 0; }
.mini-legend b { margin-inline-start: auto; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.wo-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 640px; }
.wo-table th { text-align: start; font-weight: 600; color: var(--ink-2); font-size: .8125rem; padding: 14px 16px; background: #F7F9FE; border-bottom: 1px solid var(--line); }
.wo-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wo-table tr:last-child td { border-bottom: 0; }
.wo-table tbody tr { transition: background .2s; }
.wo-table tbody tr:hover { background: #F4F8FF; }
.wo-table td:first-child { font-weight: 600; color: var(--blue); }
.pr, .st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pr--high { background: #FFE4E8; color: #BE123C; }
.pr--med { background: #FFF3D6; color: #92400E; }
.pr--low { background: #E3EEFF; color: var(--blue); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { background: #DDF8F3; color: #0F766E; }
.st--active { background: #E3EEFF; color: var(--blue); }
.st--part { background: #F1E8FF; color: #6D28D9; }
.st--fin { background: #E0F7FB; color: #0E7490; }
.st--new { background: #EEF2FA; color: var(--ink-2); }
.st--late { background: #FFE4E8; color: #BE123C; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal__dow { font-size: .75rem; font-weight: 600; color: var(--ink-2); padding: 0 6px 2px; }
.cal__day {
  min-height: 74px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px;
  display: flex; flex-direction: column; gap: 4px; font-size: .75rem;
}
.cal__day.is-out { background: transparent; border-style: dashed; color: rgba(75, 91, 124, .5); }
.cal__day.is-today { border-color: var(--blue-bright); box-shadow: inset 0 0 0 1px var(--blue-bright); }
.cal__day > b { font-weight: 600; }
.ev { display: block; padding: 2px 6px; border-radius: 5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev--ok { background: #DDF8F3; color: #0F766E; }
.ev--sched { background: #E3EEFF; color: var(--blue); }
.ev--down { background: #FFE4E8; color: #BE123C; }

.eq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.eq__specs { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px; }
.eq__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.eq__specs div:last-child { border-bottom: 0; }
.eq__specs dt { color: var(--ink-2); }
.eq__specs dd { margin: 0; font-weight: 600; text-align: end; }
.eq__history { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: var(--t-sm); }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-inline-start: 28px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline .tl--ok::before { background: var(--c-teal); }
.timeline .tl--down::before { background: var(--down); }
.timeline .tl--sched::before { background: var(--blue-bright); }
.timeline span { grid-column: 1; color: var(--ink-2); }
.timeline time { grid-column: 2; grid-row: 1; color: var(--ink-2); font-size: .75rem; }

@media (max-width: 900px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash-grid, .eq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__sample { display: none; }
  .cal { gap: 4px; }
  .cal__day { min-height: 52px; padding: 4px; }
  .ev { font-size: 0; padding: 0; height: 6px; border-radius: 3px; }
  .pv-tabs { border-radius: var(--r-m); }
  .pv-tabs button { padding: 9px 12px; }
}

/* ==========================================================================
   Integrations orbit
   ========================================================================== */
.integ {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(40% 55% at 75% 50%, rgba(61, 139, 255, .3), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, rgba(45, 212, 191, .18), transparent 70%),
    var(--navy-800);
}
.integ__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.integ__copy h2 { color: #fff; }
.integ__copy > p:not(.eyebrow) { margin-top: 16px; color: rgba(220, 232, 255, .75); font-size: var(--t-md); max-width: 48ch; }
.integ__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.integ__list li {
  padding: 16px 18px; border-radius: var(--r-m); color: rgba(220, 232, 255, .75); font-size: var(--t-sm);
  background: rgba(127, 178, 255, .07); border: 1px solid rgba(127, 178, 255, .16);
}
.integ__list b { display: block; color: #fff; font-size: var(--t-base); margin-bottom: 2px; }

.orbit { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__lines circle { fill: none; stroke: rgba(127, 178, 255, .3); stroke-width: 1; stroke-dasharray: 3 6; }
.orbit__core {
  position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2D74E6, #173C85 70%);
  box-shadow: 0 0 0 10px rgba(61, 139, 255, .12), 0 0 0 22px rgba(61, 139, 255, .06), 0 0 80px rgba(61, 139, 255, .7);
}
.orbit__core img { width: 38%; height: auto; filter: brightness(0) invert(1); }
.orbit__ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbit__ring--in { animation-duration: 45s; }
.orbit__ring--out { animation-duration: 80s; }
.orbit { container-type: inline-size; }
.node {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
}
.node b {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font-size: var(--t-sm); font-weight: 600; color: #fff;
  background: color-mix(in srgb, var(--tone) 28%, var(--navy-800));
  border: 1px solid color-mix(in srgb, var(--tone) 60%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--tone) 45%, transparent);
}
.orbit__ring--in { --r: 28cqw; }
.orbit__ring--out { --r: 45cqw; }
/* keep labels upright while the rings spin */
.orbit__ring--in .node b { animation: counter 45s linear infinite; }
.orbit__ring--out .node b { animation: counter-rev 80s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes counter { to { rotate: -360deg; } }
@keyframes counter-rev { to { rotate: 360deg; } }
.orbit__ring--out { animation-name: spin-rev; }
@keyframes spin-rev { to { rotate: -360deg; } }
@media (prefers-reduced-motion: reduce) { .orbit__ring, .node b { animation: none !important; } }
@media (max-width: 900px) { .integ__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .node b { padding: 6px 10px; font-size: .75rem; } }

/* ==========================================================================
   Rollout phases
   ========================================================================== */
.rollout { background: var(--surface); }
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.phases::before, .phases::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; border-radius: 3px;
}
.phases::before { background: rgba(10, 31, 77, .08); }
.phases::after {
  background: linear-gradient(90deg, var(--c-blue), var(--c-violet), var(--c-teal));
  transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); box-shadow: 0 0 12px rgba(139, 92, 246, .45);
}
.phase { position: relative; z-index: 1; }
.phase__n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 24px;
  font-weight: 700; font-size: var(--t-md); color: #fff; background: var(--tone);
  box-shadow: 0 0 0 6px var(--surface), 0 14px 30px -10px var(--tone);
}
.phase h3 { font-size: var(--t-lg); }
.phase p { margin-top: 10px; color: var(--ink-2); }
.phase ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.phase li {
  display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 500;
  padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 8%, white);
  border: 1px solid color-mix(in srgb, var(--tone) 18%, transparent);
}
.phase li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); flex: none; }
@media (max-width: 860px) {
  .phases { grid-template-columns: 1fr; gap: 36px; }
  .phases::before, .phases::after { inset-inline-start: 27px; inset-inline-end: auto; top: 28px; bottom: 28px; width: 3px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); }
}

@media (max-width: 760px) {
  .marquee__track { gap: 56px; }
  .marquee img { height: 58px; max-width: 170px; }
}


/* ==========================================================================
   Language switch + Arabic / right-to-left
   ========================================================================== */
.i18n-pending body { opacity: 0; }

.nav__lang {
  flex: none; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 600 .9375rem/1 "Readex Pro", var(--font);
  transition: border-color .2s, background-color .2s;
}
.nav__lang[lang="en"] { font-family: var(--font); font-size: var(--t-sm); }
.nav__lang:hover { border-color: var(--blue-bright); }
.nav.is-dark .nav__lang { color: #fff; border-color: rgba(255, 255, 255, .25); }
.nav.is-dark .nav__lang:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.nav__links { margin-inline-end: 4px; }

/* Arabic typography: Readex Pro for everything (its Latin and digits are drawn to match its Arabic) */
:root[lang="ar"] {
  --font: "Readex Pro", system-ui, sans-serif;
  --font-ar-display: "Readex Pro", system-ui, sans-serif;
}
[lang="ar"] body * { font-stretch: 100% !important; }
[lang="ar"] body { line-height: 1.8; }
[lang="ar"] body * { letter-spacing: 0 !important; }
[lang="ar"] :is(h1, h2, h3, .proof__stats dd, .kpi b, .float__row b, .hero__facts b, .lc-rules b, .donut__label b) {
  font-family: var(--font-ar-display); font-weight: 700;
}
[lang="ar"] h1, [lang="ar"] h2 { line-height: 1.3; }
[lang="ar"] h3 { line-height: 1.45; font-weight: 600; }
[lang="ar"] .hero__title { font-size: clamp(2.2rem, 1.25rem + 3.8vw, 4.1rem); line-height: 1.25; padding-bottom: .15em; font-weight: 700; }
[lang="ar"] .demo h2 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.25; }
[lang="ar"] .story h2, [lang="ar"] h2 { font-size: clamp(1.7rem, 1.15rem + 2vw, 2.55rem); }
[lang="ar"] .quote blockquote { line-height: 1.7; font-weight: 500; }
[lang="ar"] .btn { font-weight: 600; }
[lang="ar"] .eyebrow { font-weight: 600; }
[lang="ar"] .lc__btn, [lang="ar"] .pv-tabs button { font-weight: 500; }

/* mirror the composition: model on the left, copy on the right */
[dir="rtl"] .stage::after {
  background:
    linear-gradient(270deg, rgba(7, 23, 55, .92) 0%, rgba(7, 23, 55, .6) 28%, transparent 52%),
    linear-gradient(0deg, rgba(7, 23, 55, .55) 0%, transparent 18%);
}
@media (max-width: 760px) {
  [dir="rtl"] .stage::after { background: linear-gradient(180deg, rgba(7, 23, 55, .85) 0%, transparent 25%, transparent 60%, rgba(7, 23, 55, .7) 100%); }
}
[dir="rtl"] .progress span { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--blue-bright), var(--c-mint)); }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .lc__fill { background-image: linear-gradient(270deg, #3D8BFF, #6366F1, #8B5CF6, #06B6D4, #F59E0B, #14B8A6, #10B981); background-position: 100% 0; }
[dir="rtl"] .phases::after { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--c-blue), var(--c-violet), var(--c-teal)); }
@media (max-width: 860px) { [dir="rtl"] .phases::after { transform-origin: 50% 0; } }
[dir="rtl"] .sla__bar i { background: linear-gradient(270deg, #14B8A6, #2DD4BF); }
[dir="rtl"] .sla.is-warn .sla__bar i { background: linear-gradient(270deg, #F59E0B, #FBBF24); }
[dir="rtl"] .rail a span { translate: -6px -50%; }
[dir="rtl"] .rail a:hover span, [dir="rtl"] .rail a:focus-visible span, [dir="rtl"] .rail a.is-active span { translate: 0 -50%; }
[dir="rtl"] .mod::after { right: auto; left: -90px; }
[dir="rtl"] .lc-board::before { inset: -40% auto auto -10%; }
/* codes, serials and URLs stay left-to-right inside Arabic text */
[dir="rtl"] :is(.wo-card__id, .wo-table td:first-child, .app__url, .tag dd, .float--live b) { unicode-bidi: plaintext; }
