/* XStep light theme (mockup, 2026-11). Loaded after site.css; overrides tokens and components. */
:root {
  --bg: #ffffff;
  --bg-2: #f6f5f1;
  --tint: #eef2f7;
  --surface: #ffffff;
  --line: rgba(23, 21, 14, 0.09);
  --line-strong: rgba(23, 21, 14, 0.18);
  --text: #17150e;
  --text-2: #57544b;
  --text-3: #8c897f;
  --blue: #001cff;
  --blue-hover: #1f37ff;
  --blue-text: #001cff;
  --logo-blue: #001cff;
  --radius: 24px;
}
body { background: var(--bg); color: var(--text); }
::selection { background: var(--blue); color: #fff; }
h1, h2, h3, h4 { font-weight: 400; }
.display, .h1, .h2 { font-weight: 400; }

/* Labels: quiet sentence case instead of mono caps */
.eyebrow { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: var(--text-3); }
.eyebrow .accent, .accent { color: var(--blue); }

/* Pill buttons */
.btn { font-family: var(--sans); text-transform: none; letter-spacing: -0.01em; font-size: 15px; border-radius: 999px; padding: 12px 22px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--text); color: #fff; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: #f1f1ee; }
.link-arrow { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; border-color: var(--line-strong); }
.link-arrow:hover { border-color: var(--blue); }

/* Header */
.site-header, .site-header.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { color: var(--text); }
.nav a:not(.btn) { color: var(--text-2); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { background: var(--blue); }
.nav-toggle span { background: var(--text); }
@media (max-width: 940px) { .nav { background: #fff; } .nav-open .site-header { background: #fff; } }

/* Imagery: natural color, no duotone */
.photo { background: var(--bg-2); }
.photo img, .hero-media.photo img { filter: none; }
.photo::after { display: none; }
.hero-grid { display: none; }

/* Sections: space instead of rules */
.section, .proof, .page-hero, .product-hero { border-bottom: 0; }
.page-hero { background: var(--bg-2); border-radius: 0 0 var(--radius) var(--radius); }
.page-hero.has-photo .hero-media::before { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.page-hero.has-photo h1, .page-hero.has-photo .lead, .page-hero.has-photo .eyebrow { color: #fff; }

/* Cards and grids: rounded, tinted */
.lines, .products, .ind-grid, .split { gap: 16px; background: none; border: 0; }
.line-card, .product, .ind, .split > * { background: var(--bg-2); border-radius: var(--radius); }
a.line-card:hover, .product:hover, a.ind:hover { background: var(--tint); }
.cols { border-top: 0; gap: 16px; }
.cols > *, .cols > * + * { background: var(--bg-2); border: 0; border-radius: var(--radius); padding: 32px; }
.callout, .cta-box { border: 0; border-radius: var(--radius); background: var(--tint); }
.tags li { border-radius: 999px; font-family: var(--sans); font-size: 14px; color: var(--text); background: #fff; }
.num { font-family: var(--sans); color: var(--blue); font-weight: 500; }
.row h4 { font-weight: 400; }
a.row:hover { background: var(--bg-2); border-radius: 16px; }
.status { border-radius: 999px; }
.checklist li::before { background: var(--blue); }

/* Logo walls: white pills on a tint */
.logo-wall { border: 0; gap: 10px; background: none; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.logo-chip { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 10px; background: #fff; font-size: 15px; }
.logo-chip:hover { background: #fff; border-color: var(--line-strong); }
.logo-ico { width: 36px; height: 36px; border-radius: 999px; background: var(--bg-2); }
.logo-ico img { width: 22px; height: 22px; }

/* Stats */
.stats { border-top: 0; }
.stat-value { font-weight: 300; }
.stat-value .unit { color: var(--text); }

/* Footer */
.site-footer { background: var(--bg); }
.footer-cta { background: var(--blue); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 88px); border: 0; margin-bottom: 40px; }
.footer-cta .eyebrow { color: rgba(255,255,255,.75); }
.footer-cta .btn-primary { background: #fff; color: var(--text); }
.footer-cta .btn-primary:hover { background: #f1f1ee; }
.footer-title { font-weight: 400; }
.footer-grid a:not(.brand) { color: var(--text-2); }
.footer-base { border-color: var(--line); font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; }

/* ---------- Home (lx) ---------- */
.lx-hero { padding: 88px 16px 0; }
.lx-hero-frame { position: relative; border-radius: 32px; overflow: hidden; min-height: min(86svh, 820px); display: flex; align-items: flex-end; background: #2b2a26; }
.lx-hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lx-hero-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,8,.62) 0%, rgba(10,10,8,.25) 55%, rgba(10,10,8,0) 100%), linear-gradient(0deg, rgba(10,10,8,.45), rgba(10,10,8,0) 50%); }
.lx-hero-inner { position: relative; z-index: 2; width: 100%; padding: clamp(28px, 5vw, 72px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.lx-hero h1 { color: #fff; font-size: clamp(44px, 6.6vw, 96px); letter-spacing: -0.045em; line-height: 0.98; max-width: 11ch; font-weight: 400; }
.lx-hero .lead { color: rgba(255,255,255,.86); margin-top: 24px; max-width: 44ch; }
.lx-hero .hero-actions { margin-top: 32px; }
.lx-float { width: 340px; flex: none; background: rgba(255,255,255,.96); border-radius: 22px; padding: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); color: var(--text); font-size: 14px; line-height: 1.45; }
@media (max-width: 1000px) { .lx-float { display: none; } }
@media (max-width: 600px) { .lx-hero { padding: 80px 8px 0; } .lx-hero-frame { border-radius: 24px; min-height: 640px; } }

/* Mini app UI used in mock screens */
.ui-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ui-av { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; flex: none; }
.ui-title { font-weight: 600; font-size: 14px; }
.ui-sub { color: var(--text-3); font-size: 12px; }
.ui-pill { white-space: nowrap; display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: #e7ebff; color: var(--blue); }
.ui-pill.warn { background: #fff1dc; color: #9a5b00; }
.ui-pill.ok { background: #e3f6ea; color: #1f7a3f; }
.ui-rows { border-top: 1px solid var(--line); margin-top: 12px; }
.ui-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ui-rows span:first-child { color: var(--text-3); }
.ui-rows span:last-child { text-align: right; font-weight: 500; }

.lx-strip { padding: clamp(48px, 6vw, 80px) 0 0; text-align: center; }
.lx-strip .eyebrow { margin-bottom: 20px; }
.lx-strip .logo-wall { max-width: 900px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .lx-strip .logo-wall { grid-template-columns: 1fr 1fr; } }

.lx-center { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 64px); }
.lx-center .h2 { letter-spacing: -0.04em; }
.lx-center .lead { margin: 20px auto 0; }

.lx-panel { background: var(--tint); border-radius: 32px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.lx-chat { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 24px 48px -28px rgba(10, 20, 80, .35); font-size: 15px; }
.lx-chat .ui-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.msg { padding: 12px 16px; border-radius: 18px; margin-top: 12px; max-width: 88%; line-height: 1.45; }
.msg.me { background: var(--bg-2); margin-left: auto; border-bottom-right-radius: 6px; }
.msg.ai { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.ai b { font-weight: 600; }
.msg .tool { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.msg .tool::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #22a55a; }
.lx-ways { display: grid; gap: 14px; }
.lx-way { background: rgba(255,255,255,.7); border-radius: 20px; padding: 24px; }
.lx-way h3 { font-size: 24px; letter-spacing: -0.025em; margin: 4px 0 8px; }
.lx-way p { color: var(--text-2); margin: 0; }
@media (max-width: 900px) { .lx-panel { grid-template-columns: 1fr; } }

.lx-products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lx-product { background: var(--bg-2); border-radius: 32px; padding: clamp(28px, 3.6vw, 48px); display: flex; flex-direction: column; gap: 14px; transition: background .25s var(--ease); }
.lx-product:hover { background: var(--tint); }
.lx-product h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; line-height: 1.05; }
.lx-product > p { color: var(--text-2); margin: 0; max-width: 42ch; }
.lx-screen { margin-top: 18px; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 24px 48px -30px rgba(0,0,0,.3); font-size: 14px; }
.lx-product .link-arrow { align-self: flex-start; margin-top: 8px; }
.score { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; margin-top: 10px; }
.score .bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.score .bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.score .lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); grid-column: 1 / -1; margin-bottom: -4px; }
.agents { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.agents span { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; border: 1px solid var(--line); }
.agents b { font-weight: 600; }
@media (max-width: 900px) { .lx-products { grid-template-columns: 1fr; } }

.lx-stats { background: var(--bg-2); border-radius: 32px; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lx-stats .n { font-size: clamp(64px, 9vw, 136px); font-weight: 300; letter-spacing: -0.06em; line-height: 0.95; }
.lx-stats .n sup { font-size: 0.22em; font-weight: 400; letter-spacing: -0.01em; vertical-align: top; position: relative; top: 0.3em; margin-left: 4px; color: var(--blue); }
.lx-stats p { color: var(--text-2); margin: 14px 0 0; max-width: 24ch; }
.lx-stats > div:nth-child(2) { padding-top: clamp(0px, 4vw, 56px); }
.lx-stats > div:nth-child(3) { padding-top: clamp(0px, 8vw, 112px); }
@media (max-width: 760px) { .lx-stats { grid-template-columns: 1fr; } .lx-stats > div { padding-top: 0 !important; } }

.lx-inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lx-ind { border-radius: 24px; overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.lx-ind:hover { transform: translateY(-4px); }
.lx-ind .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.lx-ind .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lx-ind:hover .pic img { transform: scale(1.04); }
.lx-ind .txt { padding: 18px 20px 22px; }
.lx-ind h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 6px; }
.lx-ind p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.lx-ind.solid { background: var(--blue); color: #fff; justify-content: flex-end; padding: 24px; min-height: 280px; }
.lx-ind.solid p { color: rgba(255,255,255,.82); }
.lx-ind.solid .big { font-size: 34px; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 12px; }
@media (max-width: 1000px) { .lx-inds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lx-inds { grid-template-columns: 1fr; } }

.lx-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lx-track { display: flex; gap: 10px; width: max-content; animation: lx-scroll 60s linear infinite; }
.lx-track.rev { animation-direction: reverse; margin-top: 10px; }
.lx-track .logo-chip { white-space: nowrap; }
@keyframes lx-scroll { to { transform: translateX(-50%); } }
.lx-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.lx-head .h2 { max-width: 16ch; letter-spacing: -0.04em; }
.lx-head .lead { max-width: 40ch; }
.section.tight { padding: clamp(64px, 8vw, 120px) 0 0; }

/* ---------- Mosaic hero ---------- */
.mz-hero { padding: 104px 0 0; }
.mz-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.mz-copy h1 { font-size: clamp(44px, 5.8vw, 88px); letter-spacing: -0.045em; line-height: 0.98; font-weight: 400; max-width: 11ch; }
.mz-copy .eyebrow { max-width: 36ch; line-height: 1.45; }
.mz-copy .lead { margin-top: 24px; max-width: 44ch; }
.mz-copy .hero-actions { margin-top: 32px; }
.mz-stage { position: relative; height: min(84svh, 800px); min-height: 560px; }
.mz { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; overflow: hidden; border-radius: 32px;
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.mz-col { overflow: hidden; }
.mz-track { display: flex; flex-direction: column; gap: 12px; animation: mz-up 70s linear infinite; }
.mz-dup { display: flex; flex-direction: column; gap: 12px; }
.mz-c2 .mz-track { animation-name: mz-down; animation-duration: 80s; }
.mz-c3 .mz-track { animation-duration: 64s; }
.mz-stage:hover .mz-track { animation-play-state: paused; }
@keyframes mz-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }
@keyframes mz-down { from { transform: translateY(calc(-50% - 6px)); } to { transform: translateY(0); } }
.mz-tile { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.mz-tile img { width: 100%; height: 100%; object-fit: cover; }
.mz-tile figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--text); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; backdrop-filter: blur(6px); }
.mz-card1 { position: absolute; z-index: 3; left: -36px; top: 18%; width: 300px; }
.mz-card2 { position: absolute; z-index: 3; right: -20px; bottom: 12%; width: 330px; padding: 16px; }
@media (max-width: 1180px) { .mz-card1 { left: 12px; } .mz-card2 { right: 12px; } }
@media (max-width: 900px) {
  .mz-hero { padding-top: 96px; }
  .mz-grid { grid-template-columns: 1fr; }
  .mz-stage { height: 460px; min-height: 0; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .mz { border-radius: 24px; }
  .mz-card1 { display: block; left: 12px; right: auto; top: auto; bottom: 16px; width: min(300px, calc(100% - 24px)); }
  .mz-card2 { display: none; }
}
@media (max-width: 560px) { .mz { grid-template-columns: 1fr 1fr; } .mz-c3 { display: none; } .mz-stage { height: 420px; } }
@media (prefers-reduced-motion: reduce) { .mz-track { animation: none !important; } }
@media (max-width: 560px) { .mz-card1 { width: 260px; padding: 14px; font-size: 13px; } .mz-card1 .ui-rows { display: none; } .mz-card1 .ui-head { margin-bottom: 8px; } }

/* =========================================================
   Site-wide components for the light redesign
   ========================================================= */

/* Split page hero: copy left, photo and live cards right */
.ph { padding: 112px 0 clamp(40px, 5vw, 72px); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ph .eyebrow a { color: inherit; border-bottom: 1px solid var(--line-strong); }
.ph h1 { font-size: clamp(42px, 5.4vw, 80px); letter-spacing: -0.045em; line-height: 1; font-weight: 400; max-width: 13ch; }
.ph .lead { margin-top: 24px; max-width: 46ch; }
.ph .hero-actions { margin-top: 32px; }
.ph-media { position: relative; }
.ph-photo { border-radius: 32px; overflow: hidden; aspect-ratio: 5 / 5.4; background: var(--bg-2); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-media .card-a { position: absolute; left: -40px; bottom: 9%; width: 310px; z-index: 3; }
.ph-media .card-b { position: absolute; right: -24px; top: 9%; width: 280px; z-index: 3; }
@media (max-width: 1180px) { .ph-media .card-a { left: 16px; } .ph-media .card-b { right: 16px; } }
@media (max-width: 900px) {
  .ph { padding-top: 100px; }
  .ph-grid { grid-template-columns: 1fr; }
  .ph-photo { aspect-ratio: 4 / 3.4; border-radius: 24px; }
  .ph-media .card-b { display: none; }
  .ph-media .card-a { left: 12px; bottom: 12px; width: min(300px, calc(100% - 24px)); }
}

/* Floating mini cards (shared) */
.card { background: rgba(255,255,255,.97); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -24px rgba(15, 20, 60, .35), 0 0 0 1px rgba(23,21,14,.04); color: var(--text); font-size: 14px; line-height: 1.45; }
.card .ui-head { margin-bottom: 10px; }
.card p { margin: 0; color: var(--text-2); }
@media (max-width: 560px) { .card { font-size: 13px; padding: 14px; } .card .ui-rows { display: none; } }

/* Feature rows: alternating text + media */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; scroll-margin-top: 90px; }
.feat.flip .feat-media { order: -1; }
.feat h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.04em; line-height: 1.04; font-weight: 400; margin-bottom: 18px; }
.feat .body > p { color: var(--text-2); font-size: 18px; line-height: 1.6; max-width: 48ch; }
.feat .checklist { border-top: 0; margin-top: 20px; }
.feat .checklist li { border-bottom: 0; padding: 8px 0 8px 32px; }
.feat .checklist li::before { width: 18px; height: 18px; top: 11px; left: 0; border-radius: 99px; background: #e7ebff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.feat-media { position: relative; }
.feat-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-2); }
.feat-photo img { width: 100%; height: 110%; object-fit: cover; will-change: transform; }
.feat-media .card { position: absolute; width: 300px; left: -28px; bottom: -28px; z-index: 2; }
.feat.flip .feat-media .card { left: auto; right: -28px; }
.feat-panel { border-radius: 28px; background: var(--tint); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 24px; overflow: hidden; position: relative; }
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .feat.flip .feat-media { order: 0; }
  .feat-media .card, .feat.flip .feat-media .card { left: 12px; right: auto; bottom: 12px; width: min(290px, calc(100% - 24px)); }
}

/* Full-bleed photo band with a statement */
.band { margin: clamp(40px, 6vw, 80px) 16px; border-radius: 32px; overflow: hidden; position: relative; min-height: clamp(420px, 60vw, 640px); display: flex; align-items: flex-end; background: #2b2a26; }
.band > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,8,.6), rgba(10,10,8,0) 70%), linear-gradient(0deg, rgba(10,10,8,.7), rgba(10,10,8,.05) 65%); }
.band .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(32px, 5vw, 72px); }
.band h2 { color: #fff; font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -0.045em; line-height: 1.02; font-weight: 400; max-width: 18ch; }
.band p { color: rgba(255,255,255,.82); font-size: clamp(17px, 1.5vw, 20px); max-width: 48ch; margin: 18px 0 0; }
@media (max-width: 600px) { .band { margin: 40px 8px; border-radius: 24px; } }

/* Section heading used across pages */
.sh { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.sh .h2 { max-width: 18ch; letter-spacing: -0.04em; }
.sh .lead { max-width: 42ch; }

/* =========================================================
   Motion
   ========================================================= */
.bob { animation: bob 7s ease-in-out infinite; }
.bob.slow { animation-duration: 9s; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.kb img { animation: kb 22s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Sequenced items (chat messages, timeline steps) play once in view */
.seq > * { opacity: 0; transform: translateY(10px); }
.play .seq > *, .seq.play > * { animation: seq-in .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.9s + .2s); }
@keyframes seq-in { to { opacity: 1; transform: none; } }

/* Bars fill in view */
.score .bar i { width: 0; transition: width 1.4s var(--ease); }
.play .score .bar i, .score.play .bar i { width: var(--w); }

/* Voice waveform */
.wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.wave span { width: 3px; height: 30%; border-radius: 3px; background: var(--blue); animation: wave 1.1s ease-in-out infinite; }
.wave span:nth-child(2) { animation-delay: -.9s; } .wave span:nth-child(3) { animation-delay: -.7s; } .wave span:nth-child(4) { animation-delay: -.5s; } .wave span:nth-child(5) { animation-delay: -.3s; } .wave span:nth-child(6) { animation-delay: -.1s; } .wave span:nth-child(7) { animation-delay: -.6s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Live dot */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #1f7a3f; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #22a55a; box-shadow: 0 0 0 0 rgba(34,165,90,.5); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34,165,90,0); } 100% { box-shadow: 0 0 0 0 rgba(34,165,90,0); } }

/* Typing dots */
.typing { display: inline-flex; gap: 4px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 6px; margin-top: 12px; }
.typing i { width: 6px; height: 6px; border-radius: 99px; background: var(--text-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* Flowing connection lines */
.flow { stroke-dasharray: 3 7; animation: dash 1.6s linear infinite; }
.flow.rev { animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* Call timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 10%; top: 27px; height: 2px; width: 0; background: var(--blue); }
.play .steps::after, .steps.play::after { animation: grow 5s var(--ease) forwards; }
@keyframes grow { to { width: 80%; } }
.steps li { position: relative; z-index: 1; text-align: center; }
.steps .dot { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 99px; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--text-3); transition: all .4s var(--ease); }
.steps .dot svg { width: 22px; height: 22px; }
.play .steps .dot, .steps.play .dot { animation: lit .5s var(--ease) forwards; animation-delay: calc(var(--i) * 1.1s + .2s); }
@keyframes lit { to { background: var(--blue); border-color: var(--blue); color: #fff; } }
.steps h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--text-2); margin: 0 auto; max-width: 22ch; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 20px; } .steps::before, .steps::after { display: none; } .steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: center; } .steps .dot { margin: 0; } .steps p { margin: 0; } }

/* Booth map (show floor navigation) */
.map { width: 100%; max-width: 460px; }
.map .booth { fill: #fff; stroke: rgba(23,21,14,.12); }
.map .booth.you { fill: var(--blue); stroke: none; }
.map .route { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 8; animation: dash 1.2s linear infinite; }
.map .pin { animation: bob 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* Integration hub */
.hub { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; }
.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub .core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 28px; background: var(--blue); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0, 28, 255, .55); z-index: 2; }
.hub .core svg { position: static; width: 62%; height: auto; color: #fff; --logo-blue: #fff; }
.hub .node { position: absolute; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 22px; background: #fff; display: grid; place-items: center; box-shadow: 0 18px 36px -18px rgba(15,20,60,.35), 0 0 0 1px var(--line); z-index: 2; animation: bob 6s ease-in-out infinite; }
.hub .node img { width: 46%; height: 46%; object-fit: contain; }
.hub .ring { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(0,28,255,.25); border-radius: 50%; transform: translate(-50%, -50%); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Photo collage (about) */
.collage { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.collage figure { margin: 0; border-radius: 24px; overflow: hidden; background: var(--bg-2); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage .tall { grid-row: span 2; }
@media (max-width: 800px) { .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; } .collage .tall { grid-row: span 1; grid-column: span 2; } }

/* Horizontal photo strip that drifts */
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: lx-scroll 70s linear infinite; }
.strip figure { margin: 0; width: 300px; height: 220px; border-radius: 22px; overflow: hidden; position: relative; flex: none; }
.strip figure img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
@media (max-width: 600px) { .strip figure { width: 220px; height: 170px; } }

/* Agent cards (voice) */
.agent-av { width: 56px; height: 56px; border-radius: 99px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.agent-av.dark { background: var(--text); }
.agent-av.soft { background: #e7ebff; color: var(--blue); }

/* Count-up numbers keep width steady */
[data-count] { font-variant-numeric: tabular-nums; }

/* Old components restyled for the light theme */
.detail { border-top: 1px solid var(--line); }
.page-hero:not(.has-photo) { padding-top: 150px; }
.product-glow { background: radial-gradient(closest-side, rgba(0, 28, 255, 0.12), transparent); }
.dial { color: var(--text); }
.dial:hover { color: var(--blue); }
.line-box { border-color: var(--line); }

@media (prefers-reduced-motion: reduce) {
  .bob, .kb img, .wave span, .live::before, .typing i, .flow, .map .route, .map .pin, .hub .node, .hub .ring, .strip-track, .lx-track { animation: none !important; }
  .seq > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .score .bar i { width: var(--w) !important; transition: none !important; }
  .steps .dot { animation: none !important; }
  .steps::after { width: 80% !important; animation: none !important; }
  .band > img, .feat-photo img { transform: none !important; }
}
@media (max-width: 900px) { .hub { width: 84%; max-width: 420px; } .hub .node { border-radius: 16px; } }
