@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Theme values are written by motion.js as the page crosses dark and light sections. */
:root {
  --bg: #171721;
  --surface: #1e1e2a;
  --surface-2: #272735;
  --ink: #ededf3;
  --muted: #9d9db3;
  --line: #2e2e3e;
  --mix: 0;
  --accent: #5266eb;
  --accent-hover: #6577f2;
  --accent-soft: #a9b3ff;
  --ease: cubic-bezier(0, 0, .2, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);
  --shell: 1074px;
  --nav-h: 64px;
  color-scheme: dark;
  color: var(--ink);
  background: var(--bg);
  font: 400 16px/1.55 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; border-radius: 4px; }
html { scroll-padding-top: var(--nav-h); }
.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  padding: 0; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 14px; left: 14px; z-index: 30; background: var(--surface); padding: 9px 15px; border-radius: 6px; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
body { background: var(--bg); }

/* ---------- Buttons and links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  color: #fff; background: var(--accent); text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: .005em; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .3s var(--ease-io), box-shadow .3s var(--ease);
}
.pill:hover { background: var(--accent-hover); }
.pill:active { transform: scale(.98); }
.pill-sm { min-height: 34px; padding: 6px 15px; font-size: 14px; }
.pill-lg { min-height: 52px; padding: 13px 28px; font-size: 16px; box-shadow: 0 10px 40px #5266eb40; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color .3s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover { text-decoration-color: currentColor; }
.arrow-link:hover::after { transform: translateX(3px); }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .01em; }

/* ---------- Brand ---------- */
.brand { position: relative; display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; white-space: nowrap; font-size: 14px; }
.brand img { width: 92px; height: auto; }
.brand span { color: var(--muted); }
.cover-nav .brand span { color: #d7d7e2; }

/* ---------- Fixed site nav ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: clamp(20px, 2.4vw, 32px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  font-size: 14px;
  opacity: 0; transform: translateY(-10px); visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.site-nav.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.site-nav .brand { width: max-content; }
.site-nav .logo-ink { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: var(--mix); }
.site-nav .logo-white { opacity: calc(1 - var(--mix)); }
.site-nav .pill { justify-self: end; }
.site-nav nav, .cover-nav nav, .screen-nav nav { display: flex; gap: clamp(18px, 2.6vw, 34px); }
.site-nav nav a, .cover-nav nav a, .screen-nav nav a { text-decoration: none; opacity: .86; transition: opacity .3s var(--ease); }
.site-nav nav a:hover, .cover-nav nav a:hover, .screen-nav nav a:hover { opacity: 1; }

/* ---------- 1. Arrival and camera ---------- */
.arrival { position: relative; z-index: 2; height: 100vh; height: 100svh; pointer-events: none; }
.arrival a { pointer-events: auto; }
.camera-on .brief { margin-top: -100vh; margin-top: -100svh; }
.camera-on .arrival { height: 240vh; height: 240svh; }
.stage { height: 100vh; height: 100svh; position: sticky; top: 0; overflow: clip; isolation: isolate; background: #171721; }
.landscape { position: absolute; inset: 0; }
.scene { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.camera-on .landscape { inset: 0 auto auto 0; width: 1672px; height: 941px; transform-origin: 0 0; will-change: transform; }
.monitor { display: none; position: absolute; inset: 0 auto auto 0; overflow: hidden; background: #171721; transform-origin: 0 0; pointer-events: none; }
.camera-on .monitor { display: block; }
.atmosphere {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, #12121bb3 0%, #16162066 22%, transparent 48%),
    radial-gradient(120% 80% at 50% 100%, transparent 55%, #0e0e1680 100%);
}
.cover-nav {
  position: absolute; inset: 0 0 auto; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: clamp(20px, 2.4vw, 32px); color: #f2f2f7; font-size: 14px;
}
.cover-nav .pill { justify-self: end; }
.hero-copy {
  position: absolute; left: 50%; top: clamp(112px, 17svh, 190px); width: min(820px, calc(100% - 40px));
  transform: translateX(-50%); text-align: center; color: #ededf3;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.1rem); line-height: 1.06; font-weight: 480; letter-spacing: -.02em;
  text-wrap: balance; text-shadow: 0 2px 30px #0d0d1640;
}
.hero-subhead { margin-top: 14px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; color: #fff; }
.hero-body { max-width: 590px; margin: 8px auto 0; font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.5; color: #d9d9e4; text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
/* First paint: the hero settles in like Mercury's. */
.js .hero-copy > *, .js .cover-nav { animation: rise 1.1s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .scene { animation: settle 2.2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
@keyframes settle { from { opacity: 0; filter: blur(8px) brightness(.7); } }
.pill-tour { gap: 12px; padding-inline: 24px 20px; }
.tour-arrow { position: relative; width: 14px; height: 18px; overflow: hidden; }
.tour-arrow::before, .tour-arrow::after { content: ""; position: absolute; left: 50%; }
.tour-arrow::before { top: 2px; width: 1.5px; height: 12px; background: currentColor; transform: translateX(-50%); animation: drop 2s var(--ease-io) infinite; }
.tour-arrow::after { top: 7px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateX(-50%) rotate(45deg); animation: drop 2s var(--ease-io) infinite; }
@keyframes drop { 0%, 20% { translate: 0 -2px; opacity: 1; } 60% { translate: 0 4px; opacity: 1; } 61% { opacity: 0; } 62% { translate: 0 -8px; opacity: 0; } 100% { translate: 0 -2px; opacity: 1; } }

/* ---------- 2. Brief opening (the laptop screen) ---------- */
.brief { position: relative; background: var(--bg); }
.brief-opening { min-height: 100vh; min-height: 100svh; background: #171721; color: #ededf3; }
.screen-nav {
  height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: clamp(20px, 2.4vw, 32px); font-size: 14px; border-bottom: 1px solid #2e2e3e;
}
.screen-nav .pill { justify-self: end; }
.overview {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(36px, 6vw, 88px);
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding-block: 48px;
}
.overview h2 { margin-top: 12px; font-size: clamp(2.3rem, 3.4vw, 3.15rem); line-height: 1.1; font-weight: 480; letter-spacing: -.015em; text-wrap: balance; }
.overview-intro > p:not(.eyebrow) { margin-top: 18px; max-width: 440px; color: #9d9db3; font-size: 1.02rem; }
.overview-intro .arrow-link { margin-top: 22px; color: #c9ceff; }
.card { background: #1e1e2a; border: 1px solid #2e2e3e; border-radius: 16px; }
.pulse { padding: clamp(20px, 2.8vw, 32px); box-shadow: 0 30px 80px #0b0b1266; }
.pulse-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; }
.pulse-head h3 { font-size: 1.05rem; font-weight: 500; }
.pulse-head a { color: #9d9db3; font-size: 13px; text-decoration: none; }
.pulse-head a:hover { color: #ededf3; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; padding-bottom: 24px; border-bottom: 1px solid #2e2e3e; }
.kpis > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: 8px; }
.kpis dd { font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1; font-weight: 450; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpis dt, .trend figcaption, .note { color: #9d9db3; font-size: 12.5px; line-height: 1.35; }
.trend { margin-top: 20px; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 150px; margin-top: 16px; }
.bars li { display: flex; flex-direction: column; justify-content: flex-end; }
.bars .bar { height: calc(var(--h) * 100px); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #8e9bff, #3f4dc4); opacity: .55; }
.bars li:last-child .bar { opacity: 1; box-shadow: 0 0 30px #5266eb55; }
.bars strong { margin-bottom: 6px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bars time { padding-top: 6px; border-top: 1px solid #3a3a4c; color: #9d9db3; font-size: 11.5px; }
.note { margin-top: 18px; }

/* ---------- Shared section type ---------- */
.statement { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.12; font-weight: 480; letter-spacing: -.015em; text-align: center; text-wrap: balance; }
.statement-xl { font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 1; letter-spacing: -.035em; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 48px; margin-bottom: 36px; }
.section-head h2, .workflows-copy h2, .engage-head h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 480; letter-spacing: -.015em; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 440px; justify-self: end; }

/* ---------- 3. Companies ---------- */
.companies { padding-block: clamp(110px, 16vw, 200px) clamp(60px, 8vw, 100px); }
.companies .statement { max-width: 880px; margin-inline: auto; }
.caption { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.marquee {
  display: flex; overflow: hidden; margin-top: 40px; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: flex; flex: none; gap: clamp(44px, 5vw, 72px); padding-right: clamp(44px, 5vw, 72px); animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 560; letter-spacing: -.02em; white-space: nowrap; color: color-mix(in srgb, var(--ink) 62%, transparent); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 4. Stack ---------- */
.stack { padding-block: clamp(60px, 8vw, 110px); }
.stack-map { position: relative; padding: clamp(22px, 3vw, 36px); background: var(--surface); border-color: var(--line); }
.stack-map figcaption { color: var(--muted); font-size: 13px; font-weight: 500; }
.nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.nodes li { display: grid; gap: 4px; padding-top: 34px; }
.node-dot {
  position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid color-mix(in srgb, var(--muted) 60%, transparent);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  transition-delay: calc(var(--i) * .28s + .2s);
}
.nodes li { position: relative; }
.nodes strong { font-size: 1.02rem; font-weight: 540; }
.nodes li > span:last-child { color: var(--muted); font-size: 13.5px; }
.nodes li::before, .nodes li::after { content: ""; position: absolute; top: 6px; left: 16px; right: -16px; height: 2px; border-radius: 2px; }
.nodes li::before { background: var(--line); }
.nodes li::after { background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-io); transition-delay: calc(var(--i) * .28s + .35s); }
.nodes li:last-child::before, .nodes li:last-child::after { display: none; }
.stack-map.is-in .nodes li::after { transform: scaleX(1); }
.stack-map.is-in .node-dot { background: var(--accent); border-color: var(--accent-soft); box-shadow: 0 0 0 5px #5266eb2e; }
.node-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--accent-soft); opacity: 0; }
.stack-map.is-in .node-dot::after { animation: ping 3.2s var(--ease) infinite; animation-delay: calc(var(--i) * .28s + 1.4s); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(2.6); opacity: 0; } }
.return { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.return span { color: var(--accent-soft); margin-right: 4px; }

/* ---------- 5. Workflows (sticky scroller) ---------- */
.workflows { position: relative; }
.workflows-sticky { padding-block: clamp(70px, 9vw, 120px); }
.workflows-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.flow-list { margin-top: 34px; border-top: 1px solid var(--ink); }
.flow-list li { border-bottom: 1px solid var(--line); }
.flow-list button { position: relative; display: grid; width: 100%; padding: 16px 0 16px 18px; }
.flow-title { position: relative; font-size: 1.04rem; font-weight: 500; color: var(--muted); transition: color .3s var(--ease); }
.flow-title::before {
  content: ""; position: absolute; left: -18px; top: .55em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-soft); transform: scale(0); transition: transform .3s var(--ease);
}
.flow-detail { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s var(--ease); }
.flow-detail > span { overflow: hidden; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.flow-detail > span:first-child { padding-top: 6px; }
.flow-detail > span:last-child { color: var(--ink); }
.flow-detail { grid-template-rows: 0fr 0fr; }
.flow-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.flow-progress span { display: block; height: 100%; background: var(--accent-soft); transform: scaleX(var(--fp, 0)); transform-origin: left; }
[aria-selected="true"] .flow-title { color: var(--ink); }
[aria-selected="true"] .flow-title::before { transform: scale(1); }
[aria-selected="true"] .flow-detail { grid-template-rows: 1fr 1fr; opacity: 1; }
.workflows-copy .arrow-link { margin-top: 26px; color: var(--ink); }

.device {
  position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 40px 100px #0a0a1270, inset 0 1px 0 #ffffff0a; overflow: hidden;
}
.device::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, #5266eb26, transparent); filter: blur(10px);
}
.device-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 44px; padding-inline: 18px; border-bottom: 1px solid var(--line); }
.device-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); }
.device-bar em { margin-left: 10px; color: var(--muted); font-size: 12.5px; font-style: normal; }
.panels { display: grid; }
.panel {
  grid-area: 1 / 1; position: relative; padding: clamp(22px, 3vw, 34px);
  opacity: 0; transform: translateY(14px) scale(.985); filter: blur(8px); visibility: hidden;
  transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s var(--ease), visibility 0s linear .6s;
}
.panel.is-active { opacity: 1; transform: none; filter: none; visibility: visible; transition: opacity .5s var(--ease) .08s, transform .6s var(--ease) .08s, filter .5s var(--ease) .08s; }
.crumb { color: var(--muted); font-size: 13px; }
.crumb span { opacity: .5; margin-inline: 4px; }
.panel h3 { margin-top: 6px; font-size: 1.6rem; font-weight: 480; letter-spacing: -.01em; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.steps li { position: relative; padding-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.35; transition: color .4s var(--ease); }
.steps li::before { content: ""; position: absolute; top: 6px; left: 14px; right: -10px; height: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps li::after { content: ""; position: absolute; top: 6px; left: 14px; right: -10px; height: 2px; background: var(--accent-soft); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io); }
.steps li:last-child::after { display: none; }
.steps .dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.steps li.reached { color: var(--ink); }
.steps li.reached .dot { background: var(--accent); border-color: var(--accent-soft); box-shadow: 0 0 0 5px #5266eb2e; }
.steps li.passed::after { transform: scaleX(1); }
.compare { display: grid; gap: 10px; margin-top: 28px; }
.compare > div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; transition: opacity .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.was { background: var(--surface-2); color: var(--muted); }
.now { border: 1px solid transparent; background: var(--surface-2); color: var(--muted); }
.panel[data-stage="3"] .was { opacity: .55; }
.panel[data-stage="3"] .now { background: #5266eb1f; border-color: #5266eb66; color: var(--ink); }
.tag { justify-self: start; padding: 2px 9px; border-radius: 999px; background: #ffffff10; color: var(--muted); font-size: 12px; font-weight: 500; }
.tag-live { background: #5266eb33; color: #c9ceff; }
.toast {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 9px 15px 9px 12px; border-radius: 999px;
  background: #ffffff0f; border: 1px solid #ffffff14; font-size: 13.5px; color: var(--ink);
  opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
}
.panel[data-stage="3"] .toast { opacity: 1; transform: none; filter: none; }
.spark { width: 14px; height: 14px; background: var(--accent-soft); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }
:root { --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.3L12 20l-2.2-6.7L3 11l6.8-2.4z'/%3E%3C/svg%3E"); }

/* Desktop: pin the workflows block while the list advances with scroll. */
@media (min-width: 901px) {
  .js .workflows.is-pinned { height: 330vh; }
  .js .workflows.is-pinned .workflows-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-block: calc(var(--nav-h) + 20px) 20px; }
}

/* ---------- 6. Proof (light) ---------- */
.proof { padding-block: clamp(110px, 14vw, 190px) clamp(70px, 9vw, 120px); }
.proof .statement-xl { margin-bottom: clamp(56px, 8vw, 100px); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
.tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px 44px; align-items: center; }
.visual {
  position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 3 / 2;
  background:
    radial-gradient(70% 60% at 25% 20%, #ffffff 0%, transparent 70%),
    radial-gradient(60% 70% at 85% 90%, #dfe1f2 0%, transparent 70%),
    #ebebef;
  isolation: isolate;
}
.tile-copy { margin-top: 18px; }
.tile-wide .tile-copy { margin-top: 0; }
.tile-copy h3 { font-size: 1.12rem; font-weight: 560; letter-spacing: -.01em; }
.tile-wide .tile-copy h3 { margin-top: 8px; font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.12; font-weight: 480; letter-spacing: -.015em; }
.tile-copy p:not(.eyebrow) { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tile-wide .tile-copy p:not(.eyebrow) { margin-top: 14px; font-size: 1.02rem; }

.visual-loop { aspect-ratio: 640 / 260; }
.loop-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-path { fill: none; stroke: #c4c5d6; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.loop-runner { fill: var(--accent); filter: drop-shadow(0 0 6px #5266ebaa); }
.loop-runner-2 { fill: #a9b3ff; }
.chip {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 13px; border-radius: 999px;
  background: #fff; color: #1b1b24; font-size: clamp(12px, 1.25vw, 15px); font-weight: 500; white-space: nowrap;
  box-shadow: 0 6px 24px #1b1b2414, 0 1px 2px #1b1b2414;
}
.chip::before { content: ""; width: 12px; height: 12px; background: var(--accent); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }
.chip-soft { background: #f6f6fb; color: #5a5a6c; }
.js .tile .chip { opacity: 0; transform: translate(-50%, calc(-50% + 10px)); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); transition-delay: calc(.3s + var(--i) * .12s); }
.js .tile.is-in .chip { opacity: 1; transform: translate(-50%, -50%); filter: none; }

.visual-migrate { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 24px; }
.mig {
  display: inline-flex; align-items: center; gap: 8px; min-width: min(260px, 82%); justify-content: center;
  padding: 11px 18px; border-radius: 12px; background: #fff; color: #1b1b24; font-size: 15px; font-weight: 500;
  box-shadow: 0 6px 22px #1b1b2412;
}
.mig b { color: var(--accent); font-weight: 500; }
.js .tile .mig { opacity: 0; transform: translateX(-16px); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); transition-delay: calc(.25s + var(--i) * .14s); }
.js .tile.is-in .mig { opacity: 1; transform: none; filter: none; }

.visual-users { display: grid; place-content: center; text-align: center; color: #1b1b24; }
.visual-users .big { position: relative; z-index: 1; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 460; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.visual-users .big-label { position: relative; z-index: 1; margin-top: 10px; color: #6b6b7d; font-size: 15px; }
.grid-dots {
  position: absolute; inset: 0; z-index: 0; opacity: .55;
  background-image: radial-gradient(#b9bacd 1px, transparent 1.2px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}

.visual-import { display: grid; place-items: center; padding: 24px; }
.import-card { width: min(300px, 88%); padding: 18px 20px; border-radius: 14px; background: #fff; color: #1b1b24; box-shadow: 0 10px 34px #1b1b2414; }
.import-card p:first-child { display: flex; align-items: center; gap: 10px; color: #6b6b7d; font-size: 14px; }
.import-num { margin-top: 6px; font-size: 2.3rem; font-weight: 460; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.import-bar { height: 6px; margin-top: 12px; border-radius: 6px; background: #ececf2; overflow: hidden; }
.import-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #8e9bff); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-io) .35s; }
.tile.is-in .import-bar span { transform: scaleX(1); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px dotted var(--accent); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.visual-pp { display: grid; place-content: center; gap: 12px; }
.pp {
  justify-self: center; padding: 11px 22px; border-radius: 999px; background: #fff; color: #1b1b24; font-size: 15px; font-weight: 500;
  box-shadow: 0 6px 22px #1b1b2412; animation: drift 6s var(--ease-io) infinite; animation-delay: calc(var(--i) * -2s);
}
.pp:nth-child(1) { transform: translateX(-28px); }
.pp:nth-child(3) { transform: translateX(28px); }
@keyframes drift { 50% { translate: 0 -6px; } }

.method { margin-top: clamp(80px, 10vw, 130px); }
.method > h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 480; letter-spacing: -.015em; }
.method-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.method-steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.method-steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-io) calc(var(--d, 0s) + .2s); }
.method-steps li.is-in::before { transform: scaleX(1); }
.method-steps .num { display: block; color: var(--accent); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-steps strong { display: block; margin-top: 10px; font-size: 1.12rem; font-weight: 560; }
.method-steps p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

.credentials { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: clamp(60px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); }
.credentials li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; }
.credentials li::before { content: ""; width: 13px; height: 13px; background: var(--accent); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }

/* ---------- 7. Engagement (light) ---------- */
.engagement { padding-block: clamp(70px, 9vw, 120px) clamp(90px, 12vw, 150px); }
.engage-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px 56px; align-items: end; }
.engage-head > div > p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 470px; }
.engage-head strong { color: var(--ink); font-weight: 600; }
.full-scope { padding: 20px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.full-scope h3 { font-size: 1.08rem; font-weight: 560; }
.full-scope p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.compare-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.price { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.2vw, 38px); border-radius: 18px; }
.price-label { font-size: 14px; font-weight: 500; }
.price-num { margin-top: 16px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; font-weight: 460; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-or { margin-top: 6px; font-size: 1.05rem; font-weight: 500; }
.price p:not(.price-label):not(.price-num):not(.price-or) { margin-top: 14px; font-size: 15px; line-height: 1.55; }
.price .arrow-link, .price .pill { margin-top: auto; }
.price > :last-child { margin-top: 28px; }
.price-hire { background: var(--surface); border: 1px solid var(--line); }
.price-hire .price-label, .price-hire p:not(.price-num) { color: var(--muted); }
.price-hire .price-or { color: var(--ink); }
.price-hire .arrow-link { color: var(--ink); }
.price-levi {
  position: relative; overflow: hidden; color: #ededf3; background: #171721;
  box-shadow: 0 30px 80px #1717213a;
}
.price-levi::before { content: ""; position: absolute; inset: auto -30% -60% 20%; height: 120%; background: radial-gradient(closest-side, #5266eb55, transparent); pointer-events: none; animation: breathe 7s var(--ease-io) infinite; }
.price-levi > * { position: relative; }
.price-levi .price-label, .price-levi p:not(.price-num):not(.price-or) { color: #a9a9bf; }
@keyframes breathe { 50% { transform: scale(1.12) translateY(-4%); opacity: .8; } }

.delivery { --flow: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 100px); }
.delivery::before, .delivery::after { content: ""; position: absolute; top: 8px; left: 9px; width: calc(200% / 3); height: 2px; background: var(--line); }
.delivery::after { background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transform: scaleX(var(--flow)); transform-origin: left; }
.delivery-step { position: relative; padding: 38px clamp(16px, 4vw, 56px) 0 0; }
.delivery-node { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); z-index: 1; }
.delivery-step.reached .delivery-node { background: var(--accent); border-color: var(--accent-soft); box-shadow: 0 0 0 5px #5266eb24; }
.delivery-step h3 { font-size: 1.15rem; font-weight: 560; }
.delivery-step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- 8. Final ---------- */
.final { position: relative; overflow: hidden; }
.final-inner { position: relative; display: grid; justify-items: center; gap: 34px; padding-block: clamp(130px, 18vw, 220px); text-align: center; }
.final h2 { position: relative; z-index: 1; max-width: 860px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.06; font-weight: 480; letter-spacing: -.025em; text-wrap: balance; }
.final .pill { position: relative; z-index: 1; }
.orb {
  position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, #5266eb40, transparent 70%),
    radial-gradient(closest-side at 60% 40%, #a9b3ff22, transparent 70%);
  filter: blur(20px); animation: breathe 9s var(--ease-io) infinite; pointer-events: none;
}
.orb::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  border: 1px solid #a9b3ff1f; box-shadow: 0 0 0 60px #a9b3ff07, 0 0 0 130px #a9b3ff05;
}
.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .marquee[data-reveal] { transform: none; }
.js [data-scrub] { opacity: var(--scrub, .18); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .overview, .workflows-grid, .tile-wide, .engage-head, .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head p { justify-self: start; }
  .overview { align-items: start; padding-block: 36px 56px; }
  .workflows-sticky { padding-block: 80px; }
  .tile-wide .tile-copy { margin-top: 18px; }
}
@media (max-width: 700px) {
  :root { --nav-h: 58px; }
  .shell { width: calc(100% - 36px); }
  .site-nav nav, .cover-nav nav, .screen-nav nav { display: none; }
  .site-nav, .cover-nav, .screen-nav { grid-template-columns: 1fr auto; }
  .brand img { width: 80px; }
  .hero-copy { top: clamp(92px, 14svh, 140px); }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-body { font-size: .98rem; }
  .camera-on .arrival { height: 210vh; height: 210svh; }
  .kpis { gap: 8px; }
  .kpis dt { font-size: 11px; }
  .bars { height: 130px; }
  .nodes { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-left: 30px; }
  .nodes li { padding-top: 0; }
  .node-dot { top: 3px; left: -30px; }
  .nodes li::before, .nodes li::after { top: 19px; left: -24px; right: auto; bottom: -21px; width: 2px; height: auto; }
  .nodes li::after { transform: scaleY(0); transform-origin: top; }
  .stack-map.is-in .nodes li::after { transform: scaleY(1); }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .method-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .compare-cards { grid-template-columns: minmax(0, 1fr); }
  .delivery { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .delivery::before, .delivery::after { top: 9px; left: 8px; width: 2px; height: calc(100% - 40px); }
  .delivery::after { transform: scaleY(var(--flow)); transform-origin: top; }
  .delivery-step { padding: 0 0 0 36px; }
  .steps li { font-size: 12px; }
  .compare > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .credentials { justify-content: flex-start; }
}
@media (max-height: 560px) and (min-width: 701px) {
  .hero-copy { top: 80px; }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-body { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stage { position: relative; }
  .js [data-reveal], .js .tile .chip, .js .tile .mig { opacity: 1; transform: none; filter: none; }
  .js .tile .chip { transform: translate(-50%, -50%); }
  .js [data-scrub] { opacity: 1; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 14px 32px; padding: 0 24px; }
  .marquee-track[aria-hidden] { display: none; }
  .import-bar span, .nodes li::after { transform: none; }
}
