:root {
  --lm-bg: #fffdf9;
  --lm-cream: #fff7eb;
  --lm-text: #102331;
  --lm-muted: #4e5a64;
  --lm-line: rgba(16, 35, 49, 0.14);
  --lm-blue: #487595;
  --lm-teal: #75b6b0;
  --lm-sand: #eebc71;
  --lm-coral: #f07e45;
  --lm-green: #337a5d;
  --lm-rose: #d9a7b5;
  --lm-container: 1180px;
  --lm-header-height: 74px;
  --lm-shadow-soft: 0 28px 90px rgba(16, 35, 49, 0.12);
  --lm-shadow-strong: 0 42px 130px rgba(16, 35, 49, 0.22);
  --mx: 0;
  --my: 0;
  --idle-x: 0;
  --idle-y: 0;
  --page-progress: 0;
  --bg-drift-x: 0px;
  --bg-drift-y: 0px;
  --hero-blob-x: 0px;
  --hero-blob-y: 0px;
  --hero-blob-rot: 0deg;
  --hero-shell-transform: translate3d(0, 0, 90px);
  --live-hero-transform: translate3d(0, 0, 120px);
  --asset-composition-transform: translate3d(0, 0, 180px) rotate(8deg);
  --asset-foreground-transform: translate3d(0, 0, 210px) rotate(-7deg);
  --face-bg-transform: translate3d(0, 0, 0);
  --face-card-transform: translate3d(0, 0, 80px);
  --face-response-transform: translate3d(0, 0, 180px);
  --story-progress-pct: 0%;
  --story-stage-transform: translateY(13px) rotateX(2deg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lm-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
  color: var(--lm-text);
  background:
    radial-gradient(circle at 20% 10%, rgba(117, 182, 176, 0.28), transparent 32rem),
    radial-gradient(circle at 80% 4%, rgba(238, 188, 113, 0.26), transparent 26rem),
    linear-gradient(180deg, var(--lm-bg) 0%, #ffffff 48%, #f4fbfa 100%);
}

body.lm-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(rgba(16, 35, 49, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 49, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: translate3d(calc(var(--page-progress) * -18px), calc(var(--page-progress) * -26px), 0);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 78%);
}

body.lm-page::after {
  content: "";
  position: fixed;
  inset: auto -10vw -35vh -10vw;
  z-index: -2;
  height: 62vh;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(72, 117, 149, 0.16), transparent 62%);
  transform: translate3d(var(--bg-drift-x), var(--bg-drift-y), 0);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(72, 117, 149, 0.75);
  outline-offset: 5px;
}

.lm-skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2000;
  padding: 12px 16px;
  color: #ffffff;
  background: var(--lm-text);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.lm-skip-link:focus {
  transform: translateY(0);
}

.lm-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 28px), var(--lm-container));
  min-height: var(--lm-header-height);
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(16, 35, 49, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(16, 35, 49, 0.08);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
}

.lm-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.lm-logo img:first-child {
  width: 36px;
  height: 36px;
  animation: lmLogoBreathe 6s ease-in-out infinite;
}

.lm-logo img:last-child {
  width: 86px;
  height: auto;
}

.lm-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 22px);
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lm-nav a {
  position: relative;
  padding: 10px 0;
}

.lm-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lm-nav a:hover::after,
.lm-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lm-nav__cta {
  min-height: 42px;
  padding: 0 17px !important;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 35, 49, 0.14);
  border-radius: 999px;
  background: var(--lm-text);
  color: #ffffff;
}

.lm-nav__cta::after {
  display: none;
}

.lm-section {
  position: relative;
  width: min(calc(100% - 36px), var(--lm-container));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 156px) 0;
}

.lm-eyebrow {
  margin: 0 0 16px;
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lm-blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 20px;
  font-family: "Anton SC", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  max-width: 9.6ch;
  font-size: clamp(5rem, 12.5vw, 11.4rem);
}

h2 {
  max-width: 11.4ch;
  font-size: clamp(3.35rem, 7.4vw, 7.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.08;
}

p {
  color: var(--lm-muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.68;
}

.lm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.lm-button {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  --button-pop: 0;
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 24px;
  border: 1px solid rgba(16, 35, 49, 0.16);
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform:
    translate3d(var(--magnetic-x), var(--magnetic-y), 0)
    scale(var(--button-scale, 1));
  transition:
    border-color 240ms ease,
    background 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
  will-change: transform;
}

.lm-button::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: 0;
  opacity: 0.7;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.58), transparent 66%);
  transform: translateX(-92%) rotate(8deg);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lm-button:hover,
.lm-button:focus-visible,
.lm-button.is-tapped {
  --button-pop: 1;
  --button-scale: 1.035;
}

.lm-button:hover::before,
.lm-button:focus-visible::before,
.lm-button.is-tapped::before {
  transform: translateX(92%) rotate(8deg);
}

.lm-button--primary {
  background: var(--lm-text);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(16, 35, 49, 0.17);
}

.lm-button--secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--lm-text);
}

.lm-section__intro {
  display: grid;
  max-width: 780px;
  margin-bottom: clamp(38px, 6vw, 76px);
}

.lm-section__intro h2 {
  max-width: 10.8ch;
}

.lm-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  min-height: 100svh;
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
  padding-top: clamp(136px, 14vw, 182px);
}

.lm-hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 36%;
  z-index: -1;
  width: min(66vw, 820px);
  aspect-ratio: 1;
  border-radius: 47% 53% 61% 39% / 49% 42% 58% 51%;
  background:
    radial-gradient(circle, rgba(117, 182, 176, 0.34), transparent 56%),
    conic-gradient(from 160deg, rgba(240, 126, 69, 0.24), rgba(117, 182, 176, 0.38), rgba(238, 188, 113, 0.24), rgba(240, 126, 69, 0.24));
  filter: blur(8px);
  transform:
    translate3d(var(--hero-blob-x), var(--hero-blob-y), 0)
    rotate(var(--hero-blob-rot));
  animation: lmMorph 9s ease-in-out infinite;
}

.lm-hero__content {
  position: relative;
  z-index: 2;
}

.lm-hero__lead {
  max-width: 34rem;
  color: rgba(16, 35, 49, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
}

.lm-hero__helper {
  max-width: 34rem;
  margin-bottom: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  color: var(--lm-blue);
}

.lm-hero__visual {
  position: relative;
  min-height: min(74svh, 780px);
  perspective: 1600px;
}

.lm-hero-lab {
  position: relative;
  display: grid;
  min-height: inherit;
  place-items: center;
  transform-style: preserve-3d;
}

.lm-hero-lab__orb {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.86;
  mix-blend-mode: multiply;
  animation: lmFloat 7.5s ease-in-out infinite;
}

.lm-hero-lab__orb--one {
  top: 7%;
  left: 6%;
  width: 108px;
  height: 108px;
  background: rgba(117, 182, 176, 0.42);
  transform: var(--orb-one-transform, translate3d(0, 0, 120px));
}

.lm-hero-lab__orb--two {
  right: 4%;
  bottom: 16%;
  width: 142px;
  height: 142px;
  background: rgba(238, 188, 113, 0.38);
  animation-delay: -2.2s;
  transform: var(--orb-two-transform, translate3d(0, 0, 130px));
}

.lm-hero-lab__orb--three {
  right: 22%;
  top: 18%;
  width: 58px;
  height: 58px;
  background: rgba(240, 126, 69, 0.34);
  animation-delay: -4.1s;
  transform: var(--orb-three-transform, translate3d(0, 0, 180px));
}

.lm-browser-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 49, 0.13);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--lm-shadow-strong);
  backdrop-filter: blur(22px);
}

.lm-browser-shell--hero {
  z-index: 3;
  width: min(95%, 640px);
  min-height: 470px;
  transform: var(--hero-shell-transform);
  will-change: transform;
}

.lm-browser-shell__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(16, 35, 49, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 235, 0.52));
}

.lm-browser-shell__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lm-teal);
}

.lm-browser-shell__bar span:nth-child(2) {
  background: var(--lm-sand);
}

.lm-browser-shell__bar span:nth-child(3) {
  background: var(--lm-coral);
}

.lm-browser-shell__body {
  position: relative;
  min-height: 420px;
  padding: clamp(24px, 5vw, 42px);
  background:
    radial-gradient(circle at var(--hero-glow-x, 18%) var(--hero-glow-y, 16%), rgba(117, 182, 176, 0.28), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f6ece0 50%, #dcefed);
}

.lm-live-hero {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  width: min(100%, 430px);
  min-height: 300px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(16, 35, 49, 0.88), rgba(72, 117, 149, 0.78)),
    radial-gradient(circle at 18% 12%, rgba(117, 182, 176, 0.7), transparent 12rem);
  box-shadow: 0 26px 80px rgba(16, 35, 49, 0.24);
  transform: var(--live-hero-transform);
}

.lm-live-hero__tag,
.lm-floating-panel span,
.lm-story-card span,
.lm-story-browser__hero span,
.lm-story-browser__proof span,
.lm-story-browser__cta span,
.lm-story-phone strong,
.lm-cta-live__screen span {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lm-live-hero strong {
  max-width: 9ch;
  margin: 16px 0 18px;
  font-family: "Anton SC", sans-serif;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.lm-live-hero__line {
  width: 62%;
  height: 9px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.lm-live-hero__line--wide {
  width: 82%;
}

.lm-live-hero button {
  width: fit-content;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--lm-text);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.lm-live-stack {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 38px);
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(38%, 210px);
}

.lm-live-stack span {
  height: 62px;
  border: 1px solid rgba(16, 35, 49, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(16, 35, 49, 0.1);
  transform: var(--stack-one-transform, translate3d(0, 0, 80px));
}

.lm-live-stack span:nth-child(2) {
  transform: var(--stack-two-transform, translate3d(0, 0, 105px));
}

.lm-live-stack span:nth-child(3) {
  transform: var(--stack-three-transform, translate3d(0, 0, 130px));
}

.lm-hero-asset {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 22px 42px rgba(16, 35, 49, 0.16));
}

.lm-hero-asset--composition {
  top: 9%;
  right: -2%;
  width: min(45%, 330px);
  opacity: 0.92;
  transform: var(--asset-composition-transform);
}

.lm-hero-asset--foreground {
  left: 2%;
  bottom: 3%;
  z-index: 4;
  width: min(40%, 290px);
  opacity: 0.96;
  transform: var(--asset-foreground-transform);
}

.lm-floating-panel {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 7px;
  min-width: 190px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 60px rgba(16, 35, 49, 0.16);
  backdrop-filter: blur(18px);
}

.lm-floating-panel strong {
  font-size: 1rem;
  line-height: 1.2;
}

.lm-floating-panel--metrics {
  left: -1%;
  top: 16%;
  transform: var(--metrics-transform, translate3d(0, 0, 260px));
}

.lm-floating-panel--metrics i {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lm-teal), var(--lm-sand), var(--lm-coral));
  transform-origin: left center;
  animation: lmMetricPulse 2.8s ease-in-out infinite;
}

.lm-floating-panel--brand {
  right: 0;
  bottom: 14%;
  transform: var(--brand-transform, translate3d(0, 0, 280px));
}

.lm-hero-radar {
  position: absolute;
  right: 13%;
  top: 27%;
  z-index: 7;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 1px solid rgba(72, 117, 149, 0.22);
  transform: var(--radar-transform, translate3d(0, 0, 300px));
}

.lm-hero-radar span {
  position: absolute;
  inset: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--lm-coral);
  transform: translate(-50%, -50%);
  animation: lmRadar 2.2s ease-out infinite;
}

.lm-hero-radar span:nth-child(2) {
  animation-delay: 0.72s;
}

.lm-hero-radar span:nth-child(3) {
  animation-delay: 1.44s;
}

.lm-momentum {
  padding-top: clamp(76px, 9vw, 126px);
}

.lm-momentum-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  perspective: 1600px;
}

.lm-momentum-card {
  --card-x: 0;
  --card-y: 0;
  --card-pop: 0;
  --card-scroll: 0;
  --card-glow-x: 50%;
  --card-glow-y: 30%;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(16, 35, 49, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), rgba(255, 255, 255, 0.95), transparent 15rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 247, 235, 0.45));
  box-shadow:
    0 var(--card-shadow-y, 26px) var(--card-shadow-blur, 70px) rgba(16, 35, 49, var(--card-shadow-alpha, 0.13)),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
  transform: var(--card-transform, translate3d(0, 0, 0));
  transform-style: preserve-3d;
  transition:
    box-shadow 260ms ease,
    border-color 260ms ease;
  will-change: transform;
}

.lm-momentum-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 2;
  opacity: var(--card-glow-opacity, 0.18);
  pointer-events: none;
  background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), rgba(255, 255, 255, 0.78), transparent 24%);
  mix-blend-mode: screen;
}

.lm-momentum-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 26%, rgba(16, 35, 49, 0.82) 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.26), transparent 44%);
}

.lm-momentum-card:hover,
.lm-momentum-card:focus-visible,
.lm-momentum-card.is-active-card {
  --card-pop: 1;
  --card-shadow-y: 50px;
  --card-shadow-blur: 108px;
  --card-shadow-alpha: 0.25;
  --card-glow-opacity: 0.6;
  --card-image-transform: translate3d(0, 0, 54px) scale(1.13);
  --card-image-filter: saturate(1.2) contrast(1.11);
  border-color: rgba(72, 117, 149, 0.34);
}

.lm-momentum-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lm-momentum-card__media img {
  width: 116%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  transform: var(--card-image-transform, translate3d(0, 0, 54px) scale(1.05));
  filter: var(--card-image-filter, saturate(1.02) contrast(1.03));
  will-change: transform;
}

.lm-card-ui {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 4;
  display: grid;
  gap: 9px;
  transform: translateZ(90px);
}

.lm-card-ui span {
  display: block;
  width: 92px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(16, 35, 49, 0.12);
}

.lm-card-ui span:nth-child(2) {
  width: 132px;
}

.lm-card-ui span:nth-child(3) {
  width: 68px;
  background: var(--lm-sand);
}

.lm-momentum-card__copy {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 8px;
  min-height: 204px;
  padding: 26px;
  color: #ffffff;
  transform: translateZ(120px);
}

.lm-momentum-card__copy span {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lm-momentum-card__copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.56;
}

.lm-face-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 106px);
}

.lm-face-copy p {
  max-width: 38rem;
}

.lm-face-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lm-face-notes span {
  padding: 9px 12px;
  border: 1px solid rgba(16, 35, 49, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lm-face-stage {
  --face-x: 0px;
  --face-y: 0px;
  --pupil-x: 0px;
  --pupil-y: 0px;
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  perspective: 1200px;
}

.lm-face-stage::before {
  content: "";
  position: absolute;
  inset: 7% 4% 12%;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(circle at var(--face-glow-x, 32%) var(--face-glow-y, 28%), rgba(117, 182, 176, 0.46), transparent 18rem),
    radial-gradient(circle at 78% 72%, rgba(240, 126, 69, 0.24), transparent 20rem),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--lm-shadow-soft);
  transform: var(--face-bg-transform);
}

.lm-face-orbits {
  position: absolute;
  inset: 9% 4%;
  pointer-events: none;
}

.lm-face-orbits span {
  position: absolute;
  display: block;
  border: 1px solid rgba(72, 117, 149, 0.18);
  border-radius: 999px;
  animation: lmOrbit 10s linear infinite;
}

.lm-face-orbits span:nth-child(1) {
  inset: 13% 16%;
}

.lm-face-orbits span:nth-child(2) {
  inset: 24% 6%;
  animation-duration: 14s;
  animation-direction: reverse;
}

.lm-face-orbits span:nth-child(3) {
  inset: 6% 28%;
  animation-duration: 18s;
}

.lm-face-card {
  position: relative;
  z-index: 2;
  width: min(100%, 545px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 35, 49, 0.1);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 235, 0.6)),
    radial-gradient(circle at 50% 34%, rgba(238, 188, 113, 0.2), transparent 24rem);
  box-shadow: var(--lm-shadow-strong);
  transform: var(--face-card-transform);
  will-change: transform;
}

.lm-face-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(72, 117, 149, 0.12);
  border-radius: 34px;
  pointer-events: none;
}

.lm-face-card__base,
.lm-face-card__pupils {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.lm-face-card__pupils {
  transform: translate3d(var(--pupil-x), var(--pupil-y), 0);
  will-change: transform;
}

.lm-face-response {
  position: absolute;
  right: 2%;
  bottom: 12%;
  z-index: 4;
  display: grid;
  gap: 5px;
  max-width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(16, 35, 49, 0.14);
  backdrop-filter: blur(18px);
  transform: var(--face-response-transform);
}

.lm-face-response span {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lm-blue);
}

.lm-face-response strong {
  line-height: 1.18;
}

.lm-story {
  --story-progress: 0;
  --story-stage: 0;
  width: 100%;
  max-width: none;
  min-height: 360svh;
  padding: 0 max(18px, calc((100vw - var(--lm-container)) / 2));
  background:
    radial-gradient(circle at 76% 16%, rgba(117, 182, 176, 0.26), transparent 32rem),
    radial-gradient(circle at 18% 74%, rgba(238, 188, 113, 0.24), transparent 28rem),
    linear-gradient(180deg, rgba(16, 35, 49, 0.03), rgba(16, 35, 49, 0.08));
}

.lm-story-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding: clamp(104px, 11vw, 150px) 0 clamp(54px, 7vw, 92px);
}

.lm-story-copy {
  position: relative;
  z-index: 4;
}

.lm-story-copy p {
  max-width: 36rem;
}

.lm-story-steps {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.lm-story-steps article {
  --step-active: 0;
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid rgba(16, 35, 49, var(--step-border-alpha, 0.09));
  border-radius: 18px;
  background: rgba(255, 255, 255, var(--step-bg-alpha, 0.48));
  box-shadow: 0 var(--step-shadow-y, 0) var(--step-shadow-blur, 0) rgba(16, 35, 49, 0.11);
  opacity: var(--step-opacity, 0.48);
  transform: translateX(var(--step-x, -16px));
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.lm-story-steps article.is-active {
  --step-active: 1;
  --step-border-alpha: 0.25;
  --step-bg-alpha: 0.8;
  --step-shadow-y: 16px;
  --step-shadow-blur: 44px;
  --step-opacity: 1;
  --step-x: 0;
}

.lm-story-steps span {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lm-blue);
}

.lm-story-steps strong {
  line-height: 1.2;
}

.lm-story-steps p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.52;
}

.lm-story-stage {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(16, 35, 49, 0.16), rgba(117, 182, 176, 0.2)),
    linear-gradient(140deg, #ffffff, #fff7eb 42%, #d9eeea);
  box-shadow: var(--lm-shadow-strong);
  transform: var(--story-stage-transform);
  will-change: transform;
}

.lm-story-progress {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  z-index: 20;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 49, 0.12);
}

.lm-story-progress span {
  display: block;
  width: var(--story-progress-pct);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lm-teal), var(--lm-sand), var(--lm-coral));
}

.lm-story-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.74;
  mix-blend-mode: multiply;
}

.lm-story-bg--one {
  top: 10%;
  left: 8%;
  width: 280px;
  height: 280px;
  background: rgba(117, 182, 176, 0.38);
  transform: var(--story-bg-one-transform, translate3d(0, 0, 0));
}

.lm-story-bg--two {
  right: 6%;
  bottom: 8%;
  width: 340px;
  height: 340px;
  background: rgba(238, 188, 113, 0.34);
  transform: var(--story-bg-two-transform, translate3d(0, 0, 0) scale(0.9));
}

.lm-story-bg--three {
  left: 38%;
  top: 44%;
  width: 190px;
  height: 190px;
  background: rgba(240, 126, 69, 0.28);
  transform: var(--story-bg-three-transform, translate3d(0, 0, 0) scale(0.8));
}

.lm-story-browser {
  position: absolute;
  left: 8%;
  top: 14%;
  z-index: 5;
  width: min(72%, 620px);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 49, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 34px 90px rgba(16, 35, 49, 0.19);
  transform: var(--story-browser-transform, translate3d(37px, -18px, 90px) scale(0.92));
}

.lm-story-browser .lm-browser-shell__bar {
  height: 42px;
}

.lm-story-browser__hero {
  min-height: 250px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at var(--story-hero-glow-x, 18%) 20%, rgba(117, 182, 176, 0.72), transparent 16rem),
    linear-gradient(135deg, rgba(16, 35, 49, 0.92), rgba(72, 117, 149, 0.82));
  clip-path: inset(0 0 var(--story-hero-clip, 0%) 0 round 0);
}

.lm-story-browser__hero strong {
  max-width: 13ch;
  margin-top: 10px;
  font-family: "Anton SC", sans-serif;
  font-size: clamp(2.7rem, 4.6vw, 5.2rem);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.lm-story-browser__hero i {
  display: block;
  width: var(--story-hero-line-width, 36%);
  height: 10px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lm-teal), var(--lm-sand));
}

.lm-story-browser__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  transform: var(--story-proof-transform, translateY(35px));
  opacity: var(--story-proof-opacity, 0);
}

.lm-story-browser__proof div {
  min-height: 92px;
  display: grid;
  align-content: end;
  padding: 14px;
  border: 1px solid rgba(16, 35, 49, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
}

.lm-story-browser__proof strong {
  font-size: 1.36rem;
}

.lm-story-browser__cta {
  margin: 0 16px 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--lm-text);
  color: #ffffff;
  opacity: var(--story-cta-opacity, 0);
  transform: var(--story-cta-transform, translateY(70px));
}

.lm-story-browser__cta strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.lm-story-phone {
  position: absolute;
  right: 8%;
  bottom: 10%;
  z-index: 8;
  display: grid;
  align-content: end;
  width: 188px;
  min-height: 330px;
  padding: 20px;
  border: 9px solid var(--lm-text);
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 20%, rgba(238, 188, 113, 0.48), transparent 8rem),
    linear-gradient(160deg, #ffffff, #d8efec);
  box-shadow: 0 28px 72px rgba(16, 35, 49, 0.2);
  opacity: var(--story-phone-opacity, 0);
  transform: var(--story-phone-transform, translate3d(65px, 71px, 140px) rotate(10deg) scale(0.82));
}

.lm-story-phone span {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(16, 35, 49, 0.18);
  transform: translateX(-50%);
}

.lm-story-phone i {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--lm-text);
}

.lm-story-card {
  position: absolute;
  z-index: 9;
  display: grid;
  gap: 6px;
  width: min(240px, 36%);
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(16, 35, 49, 0.14);
  backdrop-filter: blur(18px);
}

.lm-story-card--service {
  left: 4%;
  bottom: 14%;
  opacity: var(--story-service-opacity, 0);
  transform: var(--story-service-transform, translate3d(0, 36px, 190px) rotate(-8deg));
}

.lm-story-card--lead {
  right: 5%;
  top: 18%;
  opacity: var(--story-lead-opacity, 0);
  transform: var(--story-lead-transform, translate3d(96px, -72px, 190px) rotate(8deg));
}

.lm-story.is-stage-1 [data-story-step="0"],
.lm-story.is-stage-2 [data-story-step="1"],
.lm-story.is-stage-3 [data-story-step="2"] {
  --step-active: 1;
}

.lm-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lm-value-grid article {
  min-height: 310px;
  display: grid;
  align-content: end;
  padding: 28px;
  border: 1px solid rgba(16, 35, 49, 0.11);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 235, 0.56)),
    radial-gradient(circle at 24% 20%, rgba(117, 182, 176, 0.22), transparent 16rem);
  box-shadow: 0 20px 60px rgba(16, 35, 49, 0.08);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.lm-value-grid article:hover,
.lm-value-grid article:focus-within {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 30px 84px rgba(16, 35, 49, 0.14);
}

.lm-value-grid span {
  width: fit-content;
  margin-bottom: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 35, 49, 0.12);
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--lm-blue);
}

.lm-value-grid p {
  margin-bottom: 0;
}

.lm-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(30px, 7vw, 86px);
  padding-bottom: clamp(100px, 12vw, 176px);
}

.lm-final-cta::before {
  content: "";
  position: absolute;
  inset: 12% -7% 8%;
  z-index: -1;
  border-radius: 56px;
  background:
    radial-gradient(circle at 18% 18%, rgba(117, 182, 176, 0.32), transparent 28rem),
    radial-gradient(circle at 88% 56%, rgba(238, 188, 113, 0.3), transparent 26rem),
    rgba(255, 255, 255, 0.56);
  box-shadow: var(--lm-shadow-soft);
}

.lm-final-cta__copy h2 {
  max-width: 10ch;
}

.lm-final-cta__copy p {
  max-width: 37rem;
}

.lm-cta-live {
  position: relative;
  min-height: min(58svh, 560px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 35, 49, 0.1);
  border-radius: 42px;
  background:
    radial-gradient(circle at 28% 20%, rgba(117, 182, 176, 0.34), transparent 18rem),
    radial-gradient(circle at 72% 82%, rgba(238, 188, 113, 0.3), transparent 18rem),
    linear-gradient(135deg, #ffffff, #d9eeea);
  box-shadow: var(--lm-shadow-strong);
  overflow: hidden;
}

.lm-cta-live::before,
.lm-cta-live::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.lm-cta-live::before {
  width: 240px;
  height: 240px;
  background: rgba(240, 126, 69, 0.18);
  transform: var(--cta-orb-transform, translate3d(0, 0, 0));
}

.lm-cta-live::after {
  inset: 28px;
  border: 1px solid rgba(16, 35, 49, 0.08);
}

.lm-cta-live__screen {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(78%, 390px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 80px rgba(16, 35, 49, 0.16);
  backdrop-filter: blur(18px);
}

.lm-cta-live__screen strong {
  max-width: 15ch;
  margin: 12px 0 22px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.lm-cta-live__screen i {
  display: block;
  height: 13px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(16, 35, 49, 0.12);
}

.lm-cta-live__screen i:nth-of-type(1) {
  width: 82%;
}

.lm-cta-live__screen i:nth-of-type(2) {
  width: 64%;
}

.lm-cta-live__screen i:nth-of-type(3) {
  width: 46%;
  background: linear-gradient(90deg, var(--lm-teal), var(--lm-sand));
}

.lm-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 28px 18px 38px;
  border-top: 1px solid rgba(16, 35, 49, 0.1);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  text-align: center;
}

.lm-footer p {
  margin: 0;
  font-size: inherit;
  line-height: 1.5;
}

.lm-footer a {
  color: var(--lm-blue);
  font-weight: 700;
}

/* Desktop interaction layer: the custom cursor is an enhancement only. The core hero, cards, face, and storyboard still animate through scroll or idle motion on touch screens. */
.lm-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
}

.lm-cursor__halo,
.lm-cursor__ring,
.lm-cursor__dot,
.lm-cursor__label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  transform: translate(-50%, -50%);
}

.lm-cursor__halo {
  width: 118px;
  height: 118px;
  border-radius: 999px;
  opacity: 0;
  background: radial-gradient(circle, rgba(117, 182, 176, 0.28), transparent 64%);
  transition: opacity 180ms ease, width 220ms ease, height 220ms ease;
}

.lm-cursor__ring {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(16, 35, 49, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(16, 35, 49, 0.12);
  backdrop-filter: blur(4px);
  transition:
    width 220ms cubic-bezier(0.22, 1, 0.36, 1),
    height 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease;
}

.lm-cursor__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lm-coral);
}

.lm-cursor__label {
  top: 46px;
  min-width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--lm-text);
  color: #ffffff;
  font-family: "Space Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -38%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lm-cursor-ready,
.lm-cursor-ready a,
.lm-cursor-ready button {
  cursor: none;
}

.lm-cursor-ready.lm-cursor-active .lm-cursor {
  opacity: 1;
}

.lm-cursor-ready.lm-cursor-hover .lm-cursor__ring {
  width: 92px;
  height: 92px;
  border-color: rgba(72, 117, 149, 0.58);
  background: rgba(117, 182, 176, 0.15);
}

.lm-cursor-ready.lm-cursor-hover .lm-cursor__halo {
  opacity: 1;
}

.lm-cursor-ready.lm-cursor-mode-button .lm-cursor__ring {
  width: 112px;
  height: 112px;
  background: rgba(240, 126, 69, 0.14);
}

.lm-cursor-ready.lm-cursor-mode-card .lm-cursor__ring {
  width: 128px;
  height: 128px;
  border-color: rgba(238, 188, 113, 0.68);
}

.lm-cursor-ready.lm-cursor-mode-story .lm-cursor__ring {
  width: 142px;
  height: 142px;
  border-color: rgba(117, 182, 176, 0.72);
}

.lm-cursor-ready.lm-cursor-hover.lm-cursor-has-label .lm-cursor__label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lm-word {
  display: inline-block;
  white-space: pre;
}

.lm-js [data-reveal] {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  transition:
    opacity 720ms ease,
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lm-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lm-js [data-stagger] .lm-word {
  opacity: 0;
  transform: translateY(0.75em) rotate(2deg);
  transition:
    opacity 560ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--word-delay, 0ms);
}

.lm-js .is-visible [data-stagger] .lm-word,
.lm-js [data-reveal].is-visible [data-stagger] .lm-word {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.lm-js .lm-momentum-card[data-reveal] {
  transform: var(--card-reveal-transform, translate3d(0, 48px, 0) scale(0.96));
}

.lm-js .lm-momentum-card[data-reveal].is-visible {
  transform: var(--card-transform, translate3d(0, 0, 0));
}

.lm-momentum-card.is-driving {
  transition: none;
}

@media (max-width: 1080px) {
  .lm-hero,
  .lm-face-section,
  .lm-final-cta,
  .lm-story-pin {
    grid-template-columns: 1fr;
  }

  .lm-hero {
    padding-top: 130px;
  }

  .lm-hero__visual {
    min-height: 620px;
  }

  .lm-momentum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-story {
    min-height: 310svh;
  }

  .lm-story-pin {
    align-content: start;
    padding-top: 110px;
  }

  .lm-story-copy {
    max-width: 780px;
  }

  .lm-story-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.lm-page::before {
    background-size: 48px 48px;
  }

  .lm-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--lm-container));
    min-height: 66px;
    padding: 10px 12px;
  }

  .lm-logo img:first-child {
    width: 32px;
    height: 32px;
  }

  .lm-logo img:last-child {
    width: 76px;
  }

  .lm-nav {
    gap: 10px;
    font-size: 0.68rem;
  }

  .lm-nav a:not(.lm-nav__cta):nth-child(-n + 3) {
    display: none;
  }

  .lm-nav__cta {
    min-height: 38px;
    padding: 0 14px !important;
  }

  .lm-section {
    width: min(calc(100% - 28px), var(--lm-container));
    padding: 78px 0;
  }

  .lm-hero {
    min-height: auto;
    gap: 44px;
    padding-top: 118px;
  }

  h1 {
    max-width: 8.3ch;
    font-size: clamp(4.2rem, 19vw, 6.4rem);
  }

  h2 {
    font-size: clamp(3.2rem, 14vw, 4.9rem);
  }

  .lm-hero__visual {
    min-height: 540px;
  }

  .lm-browser-shell--hero {
    width: 100%;
    min-height: 420px;
  }

  .lm-browser-shell__body {
    min-height: 370px;
    padding: 20px;
  }

  .lm-live-hero {
    width: 78%;
    min-height: 275px;
    padding: 20px;
  }

  .lm-live-stack {
    right: 14px;
    width: 34%;
  }

  .lm-floating-panel {
    min-width: 158px;
    padding: 13px 14px;
  }

  .lm-floating-panel--metrics {
    left: 0;
    top: 2%;
  }

  .lm-floating-panel--brand {
    right: -2%;
    bottom: 3%;
  }

  .lm-hero-radar {
    right: 4%;
    top: 28%;
    width: 92px;
    height: 92px;
  }

  .lm-momentum-grid,
  .lm-value-grid {
    grid-template-columns: 1fr;
  }

  .lm-momentum-card {
    min-height: 440px;
  }

  .lm-face-stage {
    min-height: 520px;
  }

  .lm-face-card {
    border-radius: 34px;
  }

  .lm-face-response {
    right: 0;
    bottom: 5%;
  }

  .lm-story {
    min-height: 330svh;
    padding-right: 14px;
    padding-left: 14px;
  }

  .lm-story-pin {
    padding-top: 92px;
    gap: 22px;
  }

  .lm-story-steps {
    grid-template-columns: 1fr;
  }

  .lm-story-stage {
    min-height: 560px;
    border-radius: 32px;
  }

  .lm-story-browser {
    left: 5%;
    top: 16%;
    width: 86%;
    min-height: 370px;
  }

  .lm-story-browser__hero {
    min-height: 220px;
    padding: 22px;
  }

  .lm-story-browser__proof {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lm-story-browser__proof div {
    min-height: 58px;
  }

  .lm-story-phone {
    right: 4%;
    bottom: 5%;
    width: 136px;
    min-height: 236px;
    border-width: 7px;
  }

  .lm-story-card {
    width: min(230px, 72%);
  }

  .lm-story-card--service {
    bottom: 6%;
  }

  .lm-story-card--lead {
    top: 10%;
  }

  .lm-final-cta::before {
    inset: 8% -10px 5%;
    border-radius: 34px;
  }

  .lm-cta-live {
    min-height: 390px;
    border-radius: 30px;
  }
}

@media (max-width: 520px) {
  .lm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lm-button {
    width: 100%;
  }

  .lm-hero-asset--composition {
    width: 48%;
    right: -8%;
  }

  .lm-hero-asset--foreground {
    width: 46%;
    left: -7%;
  }

  .lm-card-ui {
    top: 18px;
    left: 18px;
  }
}

/* Mobile fallback: no hover is required. CSS idle animations and JS scroll variables keep the page moving while touch users scroll. */
@media (hover: none), (pointer: coarse) {
  .lm-button {
    animation: lmMobileButtonPulse 3.6s ease-in-out infinite;
  }

  .lm-hero-lab__orb,
  .lm-face-card,
  .lm-face-card__pupils,
  .lm-face-response,
  .lm-cta-live__screen {
    animation-play-state: running;
  }

  .lm-face-card {
    animation: lmIdleFace 5.2s ease-in-out infinite;
  }

  .lm-face-card__pupils {
    animation: lmIdleEyes 3.8s ease-in-out infinite;
  }
}

/* Reduced-motion fallback: content stays visible and the storyboard lands on a complete, readable state instead of becoming visually empty. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  [data-stagger] .lm-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .lm-button,
  .lm-momentum-card,
  .lm-momentum-card__media img,
  .lm-hero::before,
  .lm-browser-shell--hero,
  .lm-hero-asset,
  .lm-floating-panel,
  .lm-hero-radar,
  .lm-face-stage::before,
  .lm-face-card,
  .lm-face-card__pupils,
  .lm-face-response,
  .lm-story-stage,
  .lm-story-bg,
  .lm-story-browser,
  .lm-story-phone,
  .lm-story-card {
    transform: none !important;
  }

  .lm-story {
    --story-progress: 1 !important;
    min-height: auto;
  }

  .lm-story-pin {
    position: relative;
  }

  .lm-story-steps article {
    --step-active: 1;
  }
}

@keyframes lmLogoBreathe {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(10deg) scale(1.06);
  }
}

@keyframes lmMorph {
  0%,
  100% {
    border-radius: 47% 53% 61% 39% / 49% 42% 58% 51%;
  }

  50% {
    border-radius: 58% 42% 44% 56% / 39% 55% 45% 61%;
  }
}

@keyframes lmFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

@keyframes lmMetricPulse {
  0%,
  100% {
    transform: scaleX(0.42);
  }

  50% {
    transform: scaleX(1);
  }
}

@keyframes lmRadar {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.2);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(9);
  }
}

@keyframes lmOrbit {
  0% {
    transform: rotate(0deg) translateX(8px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(8px) rotate(-360deg);
  }
}

@keyframes lmIdleFace {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes lmIdleEyes {
  0%,
  100% {
    transform: translate3d(-14px, 2px, 0);
  }

  50% {
    transform: translate3d(14px, -3px, 0);
  }
}

@keyframes lmMobileButtonPulse {
  0%,
  100% {
    box-shadow: 0 18px 45px rgba(16, 35, 49, 0.16);
  }

  50% {
    box-shadow: 0 22px 62px rgba(72, 117, 149, 0.22);
  }
}
