/* ============================================================
   theSMS business landing mockup - image only, mobile first.
   Base rules target a ~390px phone; wider screens layer on top.
   ============================================================ */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --lm-bg: #050507;
  --lm-panel: #101016;
  --lm-card: #0e0e13;
  --lm-card-2: #15151c;
  --lm-text: #f6f6f8;
  --lm-muted: #a1a1ad;
  --lm-faint: #6b6b78;
  --lm-line: rgba(255, 255, 255, 0.08);
  --lm-p200: #ddd2ff;
  --lm-p300: #c4b5fd;
  --lm-p400: #a78bfa;
  --lm-p500: #8b5cf6;
  --lm-p600: #7c3aed;
  /* Same white to brand purple as the print flyer headline */
  --lm-grad: linear-gradient(100deg, #ffffff 0%, #e8deff 32%, #b39af8 68%, #7c3aed 100%);
  --lm-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lm-max: 1080px;
  --lm-gutter: 1.25rem;
  --lm-nav-h: 56px;
  --lm-sec-y: 3rem;
  /* App header colour in the screenshots, used for the phone status bar */
  --lm-app-bar: #171717;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--lm-bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--lm-nav-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.lm {
  margin: 0;
  background: var(--lm-bg);
  color: var(--lm-text);
  font-family: var(--lm-font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
.lm a { color: inherit; text-decoration: none; }
.lm img { display: block; max-width: 100%; }
.lm picture { display: contents; }
.lm svg { flex: none; }
:where(.lm) :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.lm ::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

.lm-wrap {
  width: 100%;
  max-width: calc(var(--lm-max) + var(--lm-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--lm-gutter);
}
.lm-center { text-align: center; }

.lm-grad {
  background: var(--lm-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.06em;
}

/* Section headings: flyer weight + tracking */
.lm-title {
  font-size: clamp(1.9rem, 8.4vw, 2.3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* Keep the gradient half on its own line so mobile wrap does not leave
   "Free" / "in one place" stuck after the first phrase. */
.lm-title > .lm-grad {
  display: block;
}
.lm-lead {
  margin-top: 0.9rem;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--lm-muted);
  text-wrap: pretty;
}
.lm-lead--center { max-width: 34ch; margin-left: auto; margin-right: auto; }

.lm-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--lm-p300);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.24), rgba(124, 58, 237, 0.08));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.22);
}
.lm-icon svg { width: 22px; height: 22px; }
/* ---- Buttons ---- */
.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--lm-p600);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.7);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lm-btn:hover { background: var(--lm-p500); }
.lm-btn:active { transform: scale(0.98); }
.lm-btn:focus-visible { outline: 2px solid var(--lm-p300); outline-offset: 3px; }
.lm-btn svg { width: 20px; height: 20px; }
.lm-btn-sm { min-height: 36px; padding: 0.4rem 0.95rem; font-size: 0.875rem; box-shadow: none; }
.lm-btn-lg { min-height: 54px; padding: 0.9rem 1.8rem; font-size: 1.05rem; }

.lm-actions { display: grid; gap: 0.7rem; width: 100%; max-width: 360px; margin: 1.6rem auto 0; }
.lm-actions .lm-btn { width: 100%; }

/* ---- Nav ---- */
.lm-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: calc(var(--lm-nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(5, 5, 7, 0.82);
  border-bottom: 1px solid var(--lm-line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lm-nav {
    background: rgba(5, 5, 7, 0.62);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
  }
}
.lm-nav-inner {
  height: var(--lm-nav-h);
  max-width: calc(var(--lm-max) + var(--lm-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--lm-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.lm-nav-logo img { height: 36px; width: auto; }
.lm-nav-right { display: flex; align-items: center; gap: 0.35rem; }

/* Language switcher (shared partial + js/i18n.js), themed for this nav */
.lm-nav .lang-switcher { position: relative; display: inline-flex; }
.lm-nav .lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: var(--lm-muted);
  line-height: 1;
  transition: background 0.15s;
}
.lm-nav .lang-switcher-btn:hover,
.lm-nav .lang-switcher-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.07); }
.lm-nav .lang-switcher-btn:focus-visible { outline: 2px solid var(--lm-p300); outline-offset: 1px; }
.lm-nav .lang-switcher-flag { font-size: 1.5rem; line-height: 1; }
.lm-nav .lang-switcher-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 0.4rem);
  right: -3.5rem;
  min-width: 12rem;
  max-height: min(70svh, 26rem);
  overflow-y: auto;
  padding: 0.375rem;
  background: var(--lm-panel);
  border: 1px solid var(--lm-line);
  border-radius: 0.9rem;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
}
.lm-nav .lang-switcher-menu[hidden] { display: none; }
.lm-nav .lang-switcher-heading {
  margin: 0.35rem 0.6rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lm-faint);
}
.lm-nav .lang-switcher-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  background: none;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 0.95rem;
  color: var(--lm-text);
}
.lm-nav .lang-switcher-option:hover { background: rgba(255, 255, 255, 0.06); }
.lm-nav .lang-switcher-option.is-active { color: var(--lm-p300); font-weight: 700; }
.lm-nav .lang-switcher-name { white-space: nowrap; }

/* ============================================================
   DEVICE FRAMES
   Phone screen = status bar + app screenshot (516x1022), which
   together match real iPhone proportions.
   ============================================================ */
.lm-phone {
  --w: 260px;
  position: relative;
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #55555c 0%, #222226 28%, #141417 60%, #3c3c42 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0b0d,
    0 40px 80px -30px rgba(0, 0, 0, 0.95),
    0 30px 70px -36px rgba(124, 58, 237, 0.5);
}
.lm-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--w) * 0.135);
  overflow: hidden;
  background: var(--lm-app-bar);
  transform: translateZ(0);
}
.lm-phone-status {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 54pt status bar on a 393pt iPhone screen. Padding shifts the clock onto the island. */
  height: calc(var(--w) * 0.128);
  padding: calc(var(--w) * 0.012) calc(var(--w) * 0.052) 0 calc(var(--w) * 0.062);
  color: #fff;
  background: var(--lm-app-bar);
}
.lm-phone-time {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: calc(var(--w) * 0.0405);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.lm-phone-icons {
  display: flex;
  align-items: center;
  height: calc(var(--w) * 0.0305);
}
.lm-phone-icons svg { display: block; width: auto; height: 100%; }
.lm-phone-island {
  position: absolute;
  top: calc(var(--w) * 0.026);
  left: 50%;
  width: 32.1%;
  height: calc(var(--w) * 0.088);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
/* Screenshots carry a 22px safe-area band on top; bottom-align to crop it under the status bar. */
.lm-phone-app { position: relative; aspect-ratio: 516 / 1000; background: #000; }
.lm-phone-app img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.lm-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--lm-ease);
}
.lm-screen.is-active { opacity: 1; }

.lm-tablet {
  --tw: 600px;
  position: relative;
  width: var(--tw);
  padding: calc(var(--tw) * 0.022);
  border-radius: calc(var(--tw) * 0.05);
  background: linear-gradient(150deg, #44444b 0%, #18181b 35%, #101012 65%, #303036 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.13), 0 40px 90px -30px rgba(0, 0, 0, 0.95);
}
.lm-tablet-screen {
  aspect-ratio: 1000 / 634;
  border-radius: calc(var(--tw) * 0.03);
  overflow: hidden;
  background: #0a0a0f;
}
.lm-tablet-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.lm-desktop {
  --dw: 700px;
  position: relative;
  width: var(--dw);
  padding: calc(var(--dw) * 0.014);
  border-radius: calc(var(--dw) * 0.02);
  background: #0c0c0e;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.11), 0 40px 90px -30px rgba(0, 0, 0, 0.95);
}
.lm-desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 20%;
  height: calc(var(--dw) * 0.08);
  transform: translateX(-50%);
  background: linear-gradient(180deg, #232327, #45454c 60%, #2a2a2f);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.lm-desktop-screen { aspect-ratio: 960 / 600; border-radius: calc(var(--dw) * 0.008); overflow: hidden; background: #0a0a0f; }
.lm-desktop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* ============================================================
   HERO
   ============================================================ */
.lm-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--lm-nav-h) + env(safe-area-inset-top) + 2rem);
  text-align: center;
}
.lm-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 160vw;
  max-width: 1400px;
  aspect-ratio: 1.6;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.32), rgba(124, 58, 237, 0.08) 55%, transparent 72%);
  pointer-events: none;
}
.lm-hero-copy { position: relative; z-index: 2; }
.lm-hero-title {
  font-size: clamp(2.6rem, 12vw, 6rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.lm-hero-title span { display: block; }
.lm-hero-sub {
  max-width: 32ch;
  margin: 1rem auto 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--lm-muted);
  text-wrap: balance;
}
.lm-hero-sub span { display: block; }

.lm-hero-stage {
  --w: min(62vw, 270px);
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  height: calc(var(--w) * 1.62);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.lm-hero-phone { position: absolute; top: 0; --w: inherit; }
.lm-hero-phone--c { z-index: 2; }
.lm-hero-phone--l,
.lm-hero-phone--r { z-index: 1; top: 6%; filter: brightness(0.55); }
.lm-hero-phone--l { transform: translateX(-60%) rotate(-7deg) scale(0.84); }
.lm-hero-phone--r { transform: translateX(60%) rotate(7deg) scale(0.84); }

@media (prefers-reduced-motion: no-preference) {
  .lm-hero-copy > * { animation: lm-up 0.9s var(--lm-ease) both; }
  .lm-hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .lm-hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .lm-hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .lm-hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .lm-hero-phone--c { animation: lm-rise 1.2s var(--lm-ease) 0.2s both; }
  .lm-hero-phone--l { animation: lm-fan-l 1.3s var(--lm-ease) 0.45s both; }
  .lm-hero-phone--r { animation: lm-fan-r 1.3s var(--lm-ease) 0.45s both; }
}
@keyframes lm-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lm-rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes lm-fan-l { from { opacity: 0; transform: translateX(0) rotate(0) scale(0.84); } }
@keyframes lm-fan-r { from { opacity: 0; transform: translateX(0) rotate(0) scale(0.84); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.lm-sec { position: relative; padding: var(--lm-sec-y) 0; }
/* Devices, why, and included sit as one run, so each join uses one pad instead of two. */
.lm-devices { padding-bottom: 1.5rem; }
.lm-why { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.lm-included { padding-top: 1.5rem; }

/* ---- Pillars ---- */
.lm-pillars { padding-top: 2.5rem; }
.lm-pillar-grid {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.lm-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--lm-card-2), var(--lm-card));
  box-shadow: inset 0 0 0 1px var(--lm-line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lm-pillar:hover { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.35); transform: translateY(-2px); }
.lm-pillar .lm-icon { margin-bottom: 0.6rem; }
.lm-pillar-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.lm-pillar-body { font-size: 0.9rem; line-height: 1.4; color: var(--lm-muted); }

/* ---- Feature stories: sticky stage, steps light up, stills crossfade ---- */
.lm-story {
  padding: 0;
  height: calc(100svh + var(--n) * 78svh);
}
.lm-story .lm-sticky {
  position: sticky;
  top: 0;
  /* svh stays fixed while Safari chrome shows/hides - avoids phone resize jiggle. */
  height: 100svh;
  display: flex;
  /* Mobile: pin copy to the top so the title is never centered off-screen. */
  align-items: flex-start;
  /* Small gap under the fixed nav so title ascenders aren't clipped. */
  padding-top: calc(var(--lm-nav-h) + env(safe-area-inset-top) + 0.35rem);
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.lm-feat { overflow-x: clip; }
.lm-feat-grid { display: grid; }
.lm-story .lm-feat-grid {
  width: 100%;
  gap: 0.4rem;
  align-content: start;
}
.lm-story .lm-title { font-size: clamp(1.55rem, 6.6vw, 2rem); }
.lm-checks { list-style: none; padding: 0; margin-top: 0.45rem; display: grid; gap: 0.2rem; }
.lm-checks li { display: contents; }
.lm-checks button {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
  text-align: left;
  color: var(--lm-faint);
  cursor: pointer;
  transition: color 0.35s ease, background 0.35s ease;
}
.lm-checks button:hover { color: var(--lm-text); }
.lm-checks button:focus-visible { outline: 2px solid var(--lm-p300); outline-offset: 2px; }
.lm-checks svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: #fff;
  background: #2c2c34;
  stroke-width: 2.6;
  transition: background 0.35s ease;
}
.lm-checks button.is-active,
.lm-checks button.is-done { color: var(--lm-text); }
.lm-checks button.is-active { background: rgba(124, 58, 237, 0.16); font-weight: 800; }
.lm-checks button.is-active svg,
.lm-checks button.is-done svg { background: var(--lm-p600); }
.lm-feat-media { display: grid; place-items: start center; }
.lm-feat-device { position: relative; display: grid; place-items: start center; }
.lm-feat-device::before {
  content: "";
  position: absolute;
  inset: 8% -30%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.3), transparent 72%);
  pointer-events: none;
}
/*
 * Fallback before JS lock. Final --w is set once in landing-mockup.js
 * (load/orientation only) so scroll and Safari chrome never jiggle the size.
 * Prefer filling the sticky stage; JS clamps to remaining height so it never crops.
 */
.lm-story .lm-feat-phone { --w: min(92vw, 320px); }

/* ---- Languages ---- */
.lm-langs-card {
  padding: 1.75rem 1.4rem;
  border-radius: 26px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(124, 58, 237, 0.25), transparent 60%),
    linear-gradient(180deg, var(--lm-card-2), var(--lm-card));
  box-shadow: inset 0 0 0 1px var(--lm-line);
}
.lm-marquee {
  margin: 1.5rem -1.4rem 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lm-langs {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: lm-marquee 38s linear infinite;
}
.lm-marquee:hover .lm-langs { animation-play-state: paused; }
@keyframes lm-marquee { to { transform: translateX(calc(-50% - 0.375rem)); } }
.lm-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--lm-line);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
.lm-lang-flag { font-size: 1.25rem; line-height: 1; }

/* ---- Why: advertising elsewhere vs theSMS ---- */
.lm-why .lm-lead { max-width: 44ch; }
.lm-why-grid { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.lm-why-col {
  padding: 1.3rem 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--lm-card-2), var(--lm-card));
  box-shadow: inset 0 0 0 1px var(--lm-line);
}
.lm-why-col--new { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.35); background: radial-gradient(90% 70% at 100% 0%, rgba(124, 58, 237, 0.22), transparent 70%), linear-gradient(180deg, var(--lm-card-2), var(--lm-card)); }
.lm-why-col h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.lm-why-col--old h3 { color: var(--lm-muted); }
.lm-why-col ul { list-style: none; padding: 0; margin-top: 0.85rem; display: grid; gap: 0.65rem; }
.lm-why-col li { display: flex; gap: 0.55rem; font-size: 0.95rem; line-height: 1.4; font-weight: 600; }
.lm-why-col svg { flex: none; width: 18px; height: 18px; margin-top: 0.1em; stroke-width: 2.4; }
.lm-why-col--old li { color: var(--lm-muted); }
.lm-why-col--old svg { color: #f87171; }
.lm-why-col--new svg { color: #4ade80; }

/* ---- Any device composite (scales as one unit) ---- */
.lm-devices-stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 10 / 7;
  max-width: 900px;
  margin: 2.25rem auto 0;
}
.lm-devices-desktop { --dw: 80cqw; position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.lm-devices-tablet { --tw: 52cqw; position: absolute; left: 0; bottom: 4%; }
.lm-devices-phone { --w: 20cqw; position: absolute; right: 3%; bottom: 0; }

/* ---- Everything included ---- */
.lm-included-card {
  padding: 2rem 1.25rem;
  border-radius: 26px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(124, 58, 237, 0.3), transparent 70%),
    linear-gradient(180deg, var(--lm-card-2), var(--lm-card));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.2);
}
.lm-included-list {
  list-style: none;
  padding: 0;
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 0.9rem;
}
.lm-included-list li { display: flex; gap: 0.5rem; font-size: 0.92rem; line-height: 1.35; font-weight: 600; }
.lm-included-list svg { width: 18px; height: 18px; margin-top: 0.05em; color: #4ade80; stroke-width: 2.4; }
.lm-actions--center { margin-top: 1.9rem; }

/* ---- Steps ---- */
.lm-steps { list-style: none; padding: 0; margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.lm-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--lm-card-2), var(--lm-card));
  box-shadow: inset 0 0 0 1px var(--lm-line);
}
.lm-step-num {
  grid-row: span 2;
  justify-self: start;
  width: max-content;
  margin-top: -0.08em;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.lm-step-title { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; }
.lm-step-body { font-size: 0.93rem; color: var(--lm-muted); }

/* ---- FAQ ---- */
.lm-faq-wrap { max-width: 760px; }
.lm-faq { margin-top: 1.5rem; border-top: 1px solid var(--lm-line); }
.lm-faq-item { border-bottom: 1px solid var(--lm-line); }
.lm-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.9rem 0;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.lm-faq-item summary::-webkit-details-marker { display: none; }
.lm-faq-item summary:focus-visible { outline: 2px solid var(--lm-p300); outline-offset: 2px; border-radius: 6px; }
.lm-faq-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--lm-p300); transition: transform 0.25s var(--lm-ease); }
.lm-faq-icon svg { width: 16px; height: 16px; }
.lm-faq-item[open] .lm-faq-icon { transform: rotate(45deg); }
.lm-faq-item p { padding: 0 2.5rem 1.15rem 0; color: var(--lm-muted); line-height: 1.55; }
.lm-faq-item p .lm-faq-phone {
  color: var(--lm-text);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lm-faq-item p a.lm-faq-link {
  color: var(--lm-p300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lm-faq-item p a.lm-faq-link:hover { color: var(--lm-text); }

/* ---- CTA + lotus + footer ---- */
.lm-cta { position: relative; overflow: hidden; padding: 3.5rem 0 4rem; text-align: center; }
.lm-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(139, 92, 246, 0.22), transparent 70%);
  pointer-events: none;
}
.lm-cta .lm-wrap { position: relative; display: grid; justify-items: center; }
.lm-cta-title {
  font-size: clamp(2.2rem, 10vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lm-cta-sub { max-width: 30ch; margin-top: 1rem; font-size: 1.06rem; color: var(--lm-muted); }
.lm-lotus { width: min(56vw, 220px); margin: 2rem auto 0.5rem; }
.lm-lotus .connect-lotus { display: block; width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .lm-lotus .connect-lotus:not(.play) .connect-lotus-draw {
    fill-opacity: 0;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
  }
  .lm-lotus .connect-lotus.play .connect-lotus-draw {
    stroke-dasharray: 100;
    animation: lm-lotus-trace 1.6s ease-in-out both, lm-lotus-fill 0.7s ease-out 1.5s both;
  }
  .lm-lotus .connect-lotus.play #petalC { animation-delay: 0.15s, 1.65s; }
  .lm-lotus .connect-lotus.play #petalML,
  .lm-lotus .connect-lotus.play #petalMR { animation-delay: 0.3s, 1.8s; }
  .lm-lotus .connect-lotus.play #petalOL,
  .lm-lotus .connect-lotus.play #petalOR { animation-delay: 0.45s, 1.95s; }
}
@keyframes lm-lotus-trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes lm-lotus-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }

.lm-footer {
  padding: 1.25rem var(--lm-gutter) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--lm-line);
  font-size: 0.85rem;
  color: var(--lm-faint);
}
.lm-footer .legal-page-nav { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 0.15rem; }
.lm-footer .legal-page-nav-link { padding: 0.6rem 0.4rem; }
.lm-footer .legal-page-nav-link:hover { color: var(--lm-p300); }

/* ---- Reveal on enter ---- */
.lm-js .lm-fade { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--lm-ease), transform 0.9s var(--lm-ease); }
.lm-js .lm-fade.is-in { opacity: 1; transform: none; }

/* ============================================================
   WIDER SCREENS
   ============================================================ */
@media (min-width: 700px) {
  :root { --lm-gutter: 2rem; --lm-sec-y: 5.5rem; }
  .lm-title { font-size: clamp(2.4rem, 4.6vw, 3.4rem); }
  .lm-lead { font-size: 1.15rem; }
  .lm-hero { padding-top: calc(var(--lm-nav-h) + 4rem); }
  .lm-hero-sub { font-size: 1.3rem; max-width: 46ch; }
  .lm-actions { grid-auto-flow: column; grid-auto-columns: max-content; justify-content: center; max-width: none; }
  .lm-actions .lm-btn { width: auto; }
  .lm-hero-stage { --w: 290px; margin-top: 3.5rem; }
  .lm-hero-phone--l { transform: translateX(-74%) rotate(-7deg) scale(0.86); }
  .lm-hero-phone--r { transform: translateX(74%) rotate(7deg) scale(0.86); }
  @keyframes lm-fan-l { from { opacity: 0; transform: translateX(0) rotate(0) scale(0.86); } }
  @keyframes lm-fan-r { from { opacity: 0; transform: translateX(0) rotate(0) scale(0.86); } }

  .lm-pillars { padding-top: 4rem; }
  .lm-pillar-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
  .lm-pillar { padding: 1.5rem 1.35rem; }

  .lm-langs-card { padding: 3rem; border-radius: 30px; }
  .lm-marquee { margin-inline: -3rem; }
  .lm-why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 900px; margin-inline: auto; margin-top: 2.25rem; }
  .lm-why-col { padding: 1.75rem 1.6rem; }
  .lm-devices { padding-bottom: 2.75rem; }
  .lm-why { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .lm-included { padding-top: 2.75rem; }
  .lm-included-card { padding: 3.25rem 3rem; border-radius: 30px; }
  .lm-included-list { grid-template-columns: repeat(3, 1fr); gap: 1rem 1.5rem; margin-top: 2.25rem; }
  .lm-included-list li { font-size: 1rem; }
  .lm-steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
  .lm-step { grid-template-columns: 1fr; row-gap: 0.35rem; align-items: start; padding: 1.5rem 1.5rem 1.65rem; }
  .lm-step-num { grid-row: auto; margin: 0 0 0.55rem; font-size: 2.75rem; }
  .lm-cta { padding: 6rem 0; }
  .lm-cta-sub { font-size: 1.25rem; max-width: 36ch; }
}

@media (min-width: 900px) {
  .lm-story { height: calc(100svh + var(--n) * 90svh); }
  .lm-story .lm-sticky {
    align-items: center;
    padding-bottom: 0;
  }
  .lm-story .lm-feat-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    align-content: center;
  }
  .lm-story .lm-feat-copy,
  .lm-story .lm-feat-media { min-width: 0; }
  .lm-feat-media,
  .lm-feat-device { place-items: center; }
  .lm-story .lm-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
  .lm-checks { gap: 0.5rem; margin-top: 1.2rem; }
  .lm-checks button { font-size: 1.05rem; padding: 0.6rem 0.85rem; }
  .lm-feat--flip .lm-feat-copy { order: 2; }
  /* Desktop phone: px only - same no-jiggle rule as mobile. */
  .lm-story .lm-feat-phone { --w: 280px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .lm-js .lm-fade { opacity: 1; transform: none; transition: none; }
  .lm-story { height: auto; padding: var(--lm-sec-y) 0; }
  .lm-story .lm-sticky { position: relative; height: auto; overflow: visible; padding-top: 0; padding-bottom: 0; }
  .lm-screen, .lm-checks button, .lm-checks svg { transition: none; }
  .lm-checks button { color: var(--lm-text); }
  .lm-langs { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
  .lm-langs .lm-lang[aria-hidden="true"] { display: none; }
  .lm-marquee { margin-inline: 0; -webkit-mask-image: none; mask-image: none; }
  .lm-checks svg { background: var(--lm-p600); }
}
