/* Native, responsive call-flow UI. All motion is illustrative. */
.home-page .hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 68px);
  padding: 64px 0 72px;
  min-height: 680px;
  isolation: isolate;
}
.home-page .hero-copy { min-width: 0; }
.home-page .hero-copy h1 {
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.08;
  max-width: 19ch;
}
.home-page .hero-copy > p:not(.trust-line):not(.hero-roadmap) {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
}
.home-page .hero .actions { flex-wrap: wrap; flex-direction: row; gap: 12px; }
.home-page .hero .actions a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; flex: 0 1 auto; min-width: 0; min-height: 52px;
}
.home-page .hero .actions svg, .home-page .lex-hero-demo svg {
  width: 17px; height: 17px; flex: none;
}
.home-page .lex-hero-demo {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; flex-wrap: wrap; margin-top: 12px;
  font-size: 13px; color: #446080;
}
.home-page .hero-copy > .hero-roadmap {
  border-top: 1px solid #e0e8f3; padding-top: 18px; margin-top: 15px;
  font-size: 12px; line-height: 1.75; color: #62758d;
  max-width: 54ch;
}
.home-page .lex-hero-visual {
  min-width: 0; width: 100%; padding: 24px;
  border: 1px solid #dce6f4; border-radius: 28px;
  background: radial-gradient(ellipse at 50% 49%, #e8edff, transparent 60%),
    linear-gradient(145deg, #f8fbff, #f3f5fd);
  box-shadow: inset 0 1px 0 #fff, 0 20px 60px -30px #5874b33b;
}
.lx-visual-heading, .lx-visual-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lx-visual-heading > span {
  color: #294562; font-size: 12px; font-weight: 600;
}
.lx-visual-heading small { font-size: 10px; color: #73839c; }
.lex-hero-map {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 180px auto; gap: 0 20px;
  position: relative; margin: 24px 0; isolation: isolate;
}
.lx-connections { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.lx-wire-base { fill: none; stroke: url(#lx-wire); stroke-width: 1.2; opacity: .28; }
.lx-wire-signal {
  fill: none; stroke: #7c83f5; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 4 96; animation: lx-wire-travel 5s linear infinite;
  animation-delay: var(--wire-delay); filter: drop-shadow(0 0 4px #7973ef66);
}
.lx-hero-node {
  display: flex; align-items: center; gap: 10px; padding: 15px 12px;
  min-width: 0; min-height: 92px; border: 1px solid #dfe6f2;
  border-radius: 15px; background: #ffffffed; box-shadow: 0 8px 22px -14px #36558145;
  position: relative;
}
.lx-hero-node b { display: block; color: #243d5e; font-size: 12px; line-height: 1.45; font-weight: 600; }
.lx-hero-node small { display: block; color: #73839a; font-size: 10px; line-height: 1.5; margin-top: 4px; }
.lx-node-icon { display: grid; place-items: center; width: 32px; height: 36px; flex: none; color: #5c75d6; }
.lx-node-icon svg { width: 21px; height: 21px; }
.lx-node-phone { grid-area: 1 / 1; }
.lx-node-voice { grid-area: 1 / 2; }
.lx-node-context { grid-area: 3 / 1; }
.lx-node-summary { grid-area: 3 / 2; }
.lx-hero-center { grid-area: 2 / 1 / 3 / 3; display: grid; place-items: center; pointer-events: none; }
.lx-hero-orb {
  width: 112px; height: 112px; display: grid; place-items: center;
  position: relative; border-radius: 50%; color: white;
  background: radial-gradient(circle at 28% 18%, #98beff, #5c80ef 35%, #4854ce 74%, #5e49be);
  box-shadow: inset 0 1px 3px #ffffffaa, inset -6px -10px 20px #26358644,
    0 0 0 12px #7e92eb0d, 0 0 0 28px #7e92eb09, 0 20px 35px -12px #4959b459;
}
.lx-hero-orb::before, .lx-hero-orb::after {
  content: ''; position: absolute; inset: -13px; border: 1px solid #8a9fe733;
  border-radius: 50%; animation: lx-orbit-breathe 5s ease-in-out infinite;
}
.lx-hero-orb::after { inset: -28px; animation-delay: -2.5s; }
.lx-hero-orb span { font-size: 31px; letter-spacing: -.06em; font-weight: 600; }
.lx-visual-footer { border-top: 1px solid #dde5f2; padding-top: 18px; justify-content: center; }
.lx-visual-footer > span:last-child { font-size: 10px; color: #6d7f99; }
.lx-wave { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 26px; }
.lx-wave i {
  width: 2px; height: 18px; border-radius: 3px; background: currentColor;
  transform: scaleY(.28); animation: lx-voice-wave 1.6s ease-in-out infinite;
  animation-delay: calc(var(--bar) * -117ms);
}
.lx-visual-footer .lx-wave { color: #7287eb; }
.lex-hero-visual:not(.is-inview) .lx-wave i,
.lex-hero-visual:not(.is-inview) .lx-wire-signal,
.lex-hero-visual:not(.is-inview) .lx-hero-orb::before,
.lex-hero-visual:not(.is-inview) .lx-hero-orb::after,
.lex-experience:not(.is-inview) .lx-wave i,
.lex-experience:not(.is-inview) .lx-signal i,
.lex-experience:not(.is-inview) .lx-orb-shell::before,
.lex-experience:not(.is-inview) .lx-orb-shell::after { animation-play-state: paused !important; }
.home-page.motion-paused .lex-hero-visual *,
.home-page.motion-paused .lex-hero-visual *::before,
.home-page.motion-paused .lex-hero-visual *::after,
.home-page.motion-paused .lex-experience *,
.home-page.motion-paused .lex-experience *::before,
.home-page.motion-paused .lex-experience *::after { animation-play-state: paused !important; }

/* A playable, accelerated illustration, never presented as a live feed. */
.home-page .demo.lex-experience {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center; column-gap: 56px; row-gap: 26px;
  scroll-margin-top: 104px;
}
.home-page .lex-experience .timeline { min-width: 0; }
.home-page .lex-experience h2 { font-size: clamp(36px, 3.7vw, 48px); }
.home-page .lex-experience .demo-context { font-size: 14px; line-height: 1.75; }
.home-page .lex-experience .timeline ol {
  display: grid; gap: 4px; list-style: none; padding: 0; margin: 22px 0;
}
.home-page .lex-experience .timeline li { padding: 0; margin: 0; border: 0; }
.home-page .lex-experience .timeline li::before,
.home-page .lex-experience .timeline li::after { content: none; }
.lx-step {
  width: 100%; display: flex; align-items: center; gap: 12px;
  text-align: left; padding: 11px 12px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: #63738b;
  font: 500 13px/1.45 Inter, sans-serif; min-height: 47px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.lx-step:hover { background: #f3f6fc; }
.lx-step-number { font-size: 11px; color: #8b9bb0; font-variant-numeric: tabular-nums; }
.lx-step-dot { width: 6px; height: 6px; border-radius: 50%; background: #d1dbea; margin-left: auto; flex: none; }
.lx-step[aria-current='step'] { color: #3159ac; background: #f0f4ff; border-color: #d9e3fc; }
.lx-step[aria-current='step'] .lx-step-dot { background: #6885df; box-shadow: 0 0 0 4px #6487ea12; }
.lx-step.is-complete .lx-step-number { color: #647ed2; }
.home-page .lx-demo-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.home-page .lx-demo-controls button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 17px; font-size: 12px;
}
.lx-demo-controls svg { width: 16px; height: 16px; flex: none; }
.home-page .lex-experience .lx-demo-disclaimer { font-size: 11px; color: #718198; margin-top: 18px; }
.home-page .lex-experience .lx-demo-disclaimer a { color: #2b60b2; white-space: nowrap; }
.lx-demo-stage {
  min-width: 0; color: #e7edff; border: 1px solid #243354; border-radius: 24px;
  background: #0d1730; overflow: hidden; position: relative;
  box-shadow: 0 24px 70px -28px #172f6655;
}
.lx-stage-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 24px; border-bottom: 1px solid #9aaee514;
}
.lx-stage-heading > span { display: inline-flex; align-items: center; gap: 8px; color: #b4c4e3; font-size: 9px; letter-spacing: .1em; font-weight: 600; }
.lx-stage-heading i { width: 5px; height: 5px; border-radius: 50%; background: #94a8f5; }
.lx-stage-heading > small { color: #889ab9; font-size: 10px; white-space: nowrap; }
.lx-stage-main {
  height: 265px; display: grid;
  grid-template-columns: minmax(0, 1fr) 28px 140px 28px minmax(0, 1fr);
  align-items: center; padding: 20px 26px 46px; position: relative; isolation: isolate;
  background: radial-gradient(ellipse at 50% 45%, #44448446, transparent 62%);
}
.lx-stage-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(#9daedf08 1px, transparent 1px), linear-gradient(90deg, #9daedf08 1px, transparent 1px);
  background-size: 26px 26px; mask-image: radial-gradient(ellipse at center, black, transparent 78%);
}
.lx-call-source, .lx-call-destination { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; opacity: .45; transition: opacity .4s ease; }
.lx-call-source svg, .lx-call-destination svg { width: 30px; height: 30px; padding: 7px; box-sizing: content-box; color: #a3b5ff; border: 1px solid #a1b5ee26; border-radius: 13px; background: #192543; }
.lx-call-source span, .lx-call-destination span { color: #dae3fa; font-size: 10px; font-weight: 500; line-height: 1.5; }
.lx-call-source small, .lx-call-destination small { color: #8597b8; font-size: 9px; line-height: 1.5; }
.lx-stage-orb { display: flex; align-items: center; flex-direction: column; gap: 24px; }
.lx-orb-shell {
  position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 18%, #b3caff, #7789f8 28%, #515bd4 65%, #7854c1);
  box-shadow: inset 0 1px 4px #ffffff88, inset -8px -12px 20px #24368044, 0 0 44px #727ff044;
  transition: box-shadow .5s ease;
}
.lx-orb-shell::before, .lx-orb-shell::after {
  content: ''; position: absolute; inset: -13px; border: 1px solid #8d9eef33; border-radius: 50%;
  animation: lx-orbit-breathe 4s ease-in-out infinite;
}
.lx-orb-shell::after { inset: -25px; border-color: #8d9eef15; animation-delay: -2s; }
.lx-orb-shell span { color: #fff; font-size: 29px; font-weight: 600; letter-spacing: -.05em; }
.lx-orb-status { font-size: 10px; color: #a4b6e0; letter-spacing: .035em; min-height: 15px; }
.lx-signal { height: 1px; background: #879ce02b; position: relative; overflow: hidden; margin-top: -36px; }
.lx-signal i { position: absolute; height: 1px; width: 50%; background: linear-gradient(90deg, transparent, #acbfff); animation: lx-signal-pass 1.4s linear infinite; opacity: 0; }
.lx-stage-wave { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #8694ff; opacity: .25; transition: opacity .3s ease; }
.lx-stage-wave .lx-wave { gap: 4px; height: 23px; }
.lx-stage-content { padding: 0 24px 24px; }
.lx-conversation, .lx-owner-summary {
  padding: 17px 18px; border: 1px solid #9aafe526; background: #17243d;
  border-radius: 13px; min-height: 138px; box-sizing: border-box;
}
.lx-content-label { display: flex; justify-content: space-between; gap: 12px; }
.lx-content-label > span { color: #90a4ca; font-size: 9px; letter-spacing: .06em; }
.lx-content-label > small { color: #90a4ca; font-size: 9px; font-variant-numeric: tabular-nums; }
.home-page #demo-speaker { color: #a6b9eb; font-size: 10px; font-weight: 600; margin: 16px 0 6px; }
.home-page #demo-dialogue { color: #e0e7fa; font-size: 13px; line-height: 1.7; margin: 0; }
.lx-conversation.is-changing { animation: lx-content-enter .4s ease both; }
.lx-owner-summary { display: none; gap: 12px; align-items: flex-start; }
.lx-summary-check { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #a2c5ff15; color: #a9d2fc; }
.lx-summary-check svg { width: 17px; height: 17px; }
.lx-owner-summary b { font-size: 12px; color: #e8efff; }
.home-page .lx-owner-summary p { font-size: 12px; line-height: 1.7; color: #b4c3de; margin: 9px 0; }
.lx-owner-summary small { color: #859bc3; font-size: 10px; }
.lx-stage-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 24px; border-top: 1px solid #9aaee514; min-height: 48px; }
#demo-state { font-size: 10px; color: #b9c8e6; }
#demo-play-state { font-size: 9px; color: #889ab9; white-space: nowrap; }
.lx-progress { height: 3px; background: #253453; }
.lx-progress > span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #6f9bff, #a28cff); }
.lx-demo-stage[data-phase='0'] .lx-call-source,
.lx-demo-stage[data-phase='1'] .lx-call-source,
.lx-demo-stage[data-phase='2'] .lx-call-source,
.lx-demo-stage[data-phase='3'] .lx-call-destination,
.lx-demo-stage[data-phase='4'] .lx-call-destination { opacity: 1; }
.lx-demo-stage[data-phase='1'] .lx-stage-wave,
.lx-demo-stage[data-phase='2'] .lx-stage-wave { opacity: 1; }
.lx-demo-stage[data-phase='1'] .lx-signal-in i,
.lx-demo-stage[data-phase='2'] .lx-signal-in i,
.lx-demo-stage[data-phase='3'] .lx-signal-out i,
.lx-demo-stage[data-phase='4'] .lx-signal-out i { opacity: 1; }
.lx-demo-stage[data-phase='4'] .lx-conversation { display: none; }
.lx-demo-stage[data-phase='4'] .lx-owner-summary { display: flex; animation: lx-content-enter .4s ease both; }
.lx-demo-stage[data-playing='false'] .lx-wave i,
.lx-demo-stage[data-playing='false'] .lx-signal i,
.lx-demo-stage[data-playing='false'] .lx-orb-shell::before,
.lx-demo-stage[data-playing='false'] .lx-orb-shell::after { animation-play-state: paused !important; }
.home-page .lex-experience .discovery-link { grid-column: 1 / -1; margin: 0; font-size: 12px; }

@keyframes lx-wire-travel { to { stroke-dashoffset: -100; } }
@keyframes lx-orbit-breathe { 50% { transform: scale(1.045); opacity: .55; } }
@keyframes lx-voice-wave { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }
@keyframes lx-signal-pass { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes lx-content-enter { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .home-page .hero { gap: 32px; }
  .home-page .hero-copy h1 { font-size: 44px; }
  .home-page .lex-hero-visual { padding: 20px; }
  .lex-hero-map { column-gap: 14px; grid-template-rows: auto 172px auto; }
  .lx-hero-node { flex-direction: column; align-items: flex-start; padding: 12px; min-height: 124px; gap: 8px; }
  .lx-node-icon { height: 22px; width: 22px; }
  .home-page .demo.lex-experience { column-gap: 32px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .lx-stage-main { grid-template-columns: minmax(0, 1fr) 12px 115px 12px minmax(0, 1fr); padding-inline: 18px; }
}
@media (max-width: 800px) {
  .home-page .hero { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 56px; gap: 34px; }
  .home-page .hero-copy { max-width: 650px; }
  .home-page .hero-copy h1 { font-size: clamp(38px, 6.7vw, 54px); max-width: 21ch; }
  .home-page .lex-hero-visual { max-width: 560px; justify-self: center; padding: 24px; }
  .lex-hero-map { column-gap: 24px; }
  .lx-hero-node { flex-direction: row; align-items: center; min-height: 90px; }
  .home-page .demo.lex-experience { grid-template-columns: 1fr; gap: 28px; }
  .home-page .lex-experience .timeline { max-width: 600px; }
  .lx-stage-main { grid-template-columns: minmax(0, 1fr) 40px 160px 40px minmax(0, 1fr); padding-inline: 26px; }
}
@media (max-width: 520px) {
  .home-page .hero { padding: 36px 0 48px; gap: 28px; }
  .home-page .hero-copy h1 { font-size: clamp(35px, 9vw, 45px); max-width: 100%; }
  .home-page .hero-copy > p:not(.trust-line):not(.hero-roadmap) { font-size: 16px; line-height: 1.7; margin-top: 20px; }
  .home-page .hero .actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .home-page .hero .actions a { width: 100%; }
  .home-page .hero-copy > .hero-roadmap { font-size: 11px; margin-top: 14px; padding-top: 14px; }
  .home-page .lex-hero-demo { font-size: 12px; }
  .home-page .lex-hero-visual { padding: 18px 14px; border-radius: 20px; }
  .lx-visual-heading > span { font-size: 11px; }
  .lx-visual-heading small { font-size: 9px; }
  .lex-hero-map { grid-template-rows: auto 160px auto; gap: 0 12px; margin: 20px 0; }
  .lx-hero-node { flex-direction: column; align-items: flex-start; min-height: 118px; padding: 12px 10px; gap: 8px; }
  .lx-hero-node b { font-size: 11px; }
  .lx-hero-node small { font-size: 9px; }
  .lx-hero-orb { width: 92px; height: 92px; }
  .lx-hero-orb span { font-size: 28px; }
  .lx-visual-footer { gap: 10px; padding-top: 14px; }
  .lx-visual-footer > span:last-child { font-size: 9px; }
  .lx-visual-footer .lx-wave { gap: 2px; }
  .home-page .demo.lex-experience { padding: 52px 0; }
  .lx-demo-stage { border-radius: 18px; }
  .lx-stage-heading { padding: 16px; gap: 10px; }
  .lx-stage-heading > span { font-size: 8px; letter-spacing: .05em; }
  .lx-stage-heading > small { font-size: 9px; }
  .lx-stage-main { height: 240px; grid-template-columns: minmax(0, 1fr) 10px 108px 10px minmax(0, 1fr); padding: 16px 14px 45px; }
  .lx-orb-shell { width: 80px; height: 80px; }
  .lx-orb-shell::after { inset: -20px; }
  .lx-orb-shell span { font-size: 25px; }
  .lx-stage-orb { gap: 27px; }
  .lx-call-source svg, .lx-call-destination svg { width: 23px; height: 23px; padding: 6px; border-radius: 10px; }
  .lx-call-source span, .lx-call-destination span { font-size: 9px; }
  .lx-call-source small, .lx-call-destination small { font-size: 8px; }
  .lx-stage-content { padding: 0 14px 18px; }
  .lx-conversation, .lx-owner-summary { padding: 16px 14px; min-height: 154px; }
  .home-page #demo-dialogue { font-size: 12px; }
  .lx-stage-bottom { padding: 14px 16px; }
  #demo-state { font-size: 9px; }
  #demo-play-state { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .lex-hero-visual *, .home-page .lex-hero-visual *::before,
  .home-page .lex-hero-visual *::after, .home-page .lex-experience *,
  .home-page .lex-experience *::before, .home-page .lex-experience *::after {
    animation: none !important; transition: none !important;
  }
  .lx-wire-signal { display: none; }
  .lx-wave i { transform: scaleY(.45); }
}
