/*
 * Forra landing page — premium component layer (2026-05 redesign).
 *
 * Loaded AFTER tokens.css + pages.css, only on the marketing landing pages.
 * Everything is `lp-`-prefixed so it never collides with the shared
 * primitives in pages.css that the legal/utility pages depend on.
 *
 * Colour contract: no hex literals — every colour is a var(--*) token from
 * tokens.css. New surfaces (bezel, washes, shadows) were added there.
 *
 * Direction: Apple-style bento + generous whitespace, Lora display
 * headlines on warm cream. Motion via GSAP/Lenis in landing.js (with a
 * .lp-reveal IntersectionObserver fallback), gated behind prefers-reduced-motion.
 */

/* ---------- base ---------- */
.lp {
  background: var(--color-canvas);
  overflow-x: clip;
}
.lp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.lp-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-rust-500);
  margin: 0 0 var(--space-3) 0;
}
.lp h2.lp-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, var(--fs-4xl));
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-ink);
  margin: 0 0 var(--space-4) 0;
}
.lp-lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-body);
  color: var(--color-ink-2);
  max-width: 56ch;
}

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  text-decoration: none;
  padding: 0 var(--space-5);
  height: 48px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur-quick) var(--ease-out),
              color var(--dur-quick) var(--ease-out),
              transform var(--dur-quick) var(--ease-out),
              box-shadow var(--dur-quick) var(--ease-out);
}
.lp-btn-primary {
  background: var(--color-rust-400);
  color: var(--color-ink-on-rust);
  box-shadow: var(--shadow-rust);
}
.lp-btn-primary:hover { background: var(--color-rust-500); transform: translateY(-1px); }
.lp-btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-hairline-2);
}
.lp-btn-ghost:hover { border-color: var(--color-rust-300); color: var(--color-rust-500); }
.lp-btn:focus-visible { outline: 2px solid var(--color-focus-ring); outline-offset: 3px; }

/* ---------- header ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-canvas) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.lp-header.is-stuck {
  border-bottom-color: var(--color-hairline);
}
.lp-nav {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-5) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}
/* language switcher — disclosure dropdown pinned top-right (mirrored for RTL) */
.lp-nav .lp-locale-menu {
  position: absolute;
  right: var(--space-4);
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}
html[dir="rtl"] .lp-nav .lp-locale-menu { right: auto; left: var(--space-4); }
.lp-locale-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-snug);
  color: var(--color-ink-2);
  padding: 6px 10px;
  border: 1px solid var(--color-hairline-2);
  border-radius: var(--radius-pill);
  transition: color var(--dur-quick) var(--ease-out),
              border-color var(--dur-quick) var(--ease-out);
}
.lp-locale-menu summary::-webkit-details-marker { display: none; }
.lp-locale-menu summary:hover { color: var(--color-rust-500); border-color: var(--color-rust-300); }
.lp-locale-menu summary:focus-visible { outline: 2px solid var(--color-focus-ring); outline-offset: 2px; }
.lp-locale-menu summary svg {
  width: 11px; height: 11px; flex: none;
  transition: transform var(--dur-quick) var(--ease-out);
}
.lp-locale-menu[open] summary svg { transform: rotate(180deg); }
/* the popover list of languages */
.lp-locale-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--color-canvas-2);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  z-index: 60;
}
html[dir="rtl"] .lp-locale-pop { right: auto; left: 0; }
.lp-locale-pop a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  letter-spacing: normal;
  color: var(--color-ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-quick) var(--ease-out),
              color var(--dur-quick) var(--ease-out);
}
.lp-locale-pop a:hover { background: var(--color-rust-wash); color: var(--color-rust-500); }
.lp-locale-pop a[aria-current="page"] { color: var(--color-rust-500); font-weight: 600; }
.lp-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.lp-brand img { height: 64px; width: 64px; display: block; }
.lp-brand .lp-wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-xl);
  line-height: 1;
  letter-spacing: var(--ls-snug);
  color: var(--color-ink);
}
.lp-locale {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--color-ink-3);
  text-decoration: none;
  display: none;
}
.lp-locale:hover { color: var(--color-rust-500); }
.lp-nav .lp-btn { height: 40px; font-size: var(--fs-sm); }
@media (min-width: 720px) { .lp-locale { display: inline; } }

/* ---------- hero ---------- */
.lp-hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-6);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--color-canvas-2) 0%, var(--color-canvas) 46%, var(--color-paper) 100%);
  overflow: clip;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.lp-hero-copy { text-align: center; position: relative; z-index: 2; }
.lp-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(33px, 7.6vw, var(--fs-7xl));
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--color-ink);
  margin: 0 0 var(--space-4) 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.lp-hero h1 .lp-accent { color: var(--color-rust-400); font-style: italic; }
.lp-hero .lp-lead { margin: 0 auto var(--space-5); }
.lp-hero-cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.lp-hero-note {
  font-size: var(--fs-sm);
  color: var(--color-ink-3);
}
/* Interface-Product hero stage: the WHOLE warm family photo (fading to cream
   on the left) with two iPhone frames overlapping its lower edge + bleeding
   off the bottom, so the family stays visible above the phones. */
.lp-hero-stage {
  position: relative;
  width: 100%;
  margin-top: calc(-1 * var(--space-7));
  /* tall enough that the bottom-anchored phones drop just under the photo
     (which sits at the top) and only barely overlap its lower edge */
  min-height: clamp(470px, 130vw, 600px);
  padding-bottom: 8px;
}
/* MOBILE: a large family photo to the LEFT of the (smaller) phones,
   soft-faded at all edges so it melts into the cream. */
.lp-hero-photo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 112%;
  max-width: 460px;
  height: auto;
  /* feather ALL four edges into the cream (intersect a horizontal + vertical fade) */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.lp-phone {
  position: absolute;
  width: 39%;
  max-width: 152px;
  border-radius: 26px;
  padding: 5px;
  background: var(--color-bezel);
  box-shadow: var(--shadow-phone);
}
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.lp-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 14px; border-radius: 9px; background: var(--color-bezel); z-index: 2;
}
.lp-phone-front { z-index: 2; inset-inline-end: 3%;  bottom: 4px;  transform: rotate(3deg); }
.lp-phone-back  { z-index: 1; inset-inline-end: 27%; bottom: 24px; transform: rotate(-5deg); width: 33%; max-width: 128px; }
html[dir="rtl"] .lp-phone-front { transform: rotate(-3deg); }
html[dir="rtl"] .lp-phone-back  { transform: rotate(5deg); }

/* ---------- install badges ---------- */
.lp-badges {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-badges a {
  display: block;
  line-height: 0;
  border-radius: 12px;
  transition: transform var(--dur-quick) var(--ease-out), opacity var(--dur-quick) var(--ease-out);
}
.lp-badges a[aria-disabled="true"] { cursor: default; opacity: 0.55; }
.lp-badges a:not([aria-disabled="true"]):hover { transform: translateY(-2px); }
.lp-badges img { height: 52px; width: auto; display: block; }

/* ---------- trust strip ---------- */
.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  justify-content: center;
  padding: var(--space-5) 0 var(--space-6);
}
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-ink-2);
  background: var(--color-canvas-2);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
}
.lp-pill svg { width: 16px; height: 16px; flex: none; color: var(--color-rust-400); }

/* ---------- section shell ---------- */
.lp-section { padding: var(--space-7) 0; }
.lp-section-alt { background: var(--color-paper); }
.lp-section-head { max-width: 60ch; margin-bottom: var(--space-6); }
.lp-section-center { text-align: center; margin-inline: auto; }

/* ---------- real-screenshot phone frame (shared) ---------- */
.lp-shot {
  position: relative;
  width: 100%;
  border-radius: 30px;
  padding: 7px;
  background: var(--color-bezel);
  box-shadow: var(--shadow-phone);
}
.lp-shot img { display: block; width: 100%; height: auto; border-radius: 23px; }
.lp-shot .lp-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 12px; border-radius: 8px; background: var(--color-bezel); z-index: 2;
}

/* ---------- features (alternating editorial rows) ----------
   Each primary feature gets a full-width row: text on one side, one phone on
   the other, alternating sides down the page. Open layout (no card boxes) so
   the screenshots are the heroes. Source order is always text→art; on desktop
   .lp-feature-reverse flips it with `order`, which also mirrors correctly under
   RTL. Below the rows, a slim 3-up grid carries the secondary features. */
.lp-features {
  display: grid;
  gap: clamp(var(--space-7), 6vw, 72px);
  margin-top: var(--space-7);
}
.lp-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
.lp-feature-text h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--color-ink);
  margin: 0 0 var(--space-3) 0;
}
.lp-feature-text p {
  font-size: var(--fs-lg);
  line-height: var(--lh-body);
  color: var(--color-ink-2);
  margin: 0;
  max-width: 40ch;
}
.lp-feature-art { display: flex; justify-content: center; }
.lp-feature-art .lp-shot { width: 62%; max-width: 240px; }

@media (min-width: 820px) {
  .lp-feature-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(var(--space-6), 5vw, 72px);
  }
  .lp-feature-art .lp-shot { width: 100%; max-width: 288px; }
  /* every other row: phone on the inline-start, text on the inline-end */
  .lp-feature-reverse .lp-feature-text { order: 2; }
  .lp-feature-reverse .lp-feature-art  { order: 1; }
}

/* slim 3-up secondary features under the main rows */
.lp-feature-mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: clamp(var(--space-7), 6vw, 72px);
  padding-top: var(--space-7);
  border-top: 1px solid var(--color-hairline);
}
.lp-mini h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--color-ink);
  margin: var(--space-3) 0 var(--space-2) 0;
}
.lp-mini p { font-size: var(--fs-md); color: var(--color-ink-2); margin: 0; max-width: 38ch; }
@media (min-width: 720px) {
  .lp-feature-mini { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}

/* ---------- feature-tile icon badge (rust-wash square) ----------
   Sole survivor of the old DOM phone-mockup layer (removed once the bento
   tiles + report fan switched to real screenshots). Reused as the small
   icon chip inside the AI-insights feature tile. */
.lp-eicon {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--color-rust-wash); color: var(--color-rust-400);
  display: grid; place-items: center;
}
.lp-eicon svg { width: 19px; height: 19px; }

/* ---------- pricing ---------- */
.lp-price {
  display: grid; grid-template-columns: 1fr; gap: var(--space-4);
  max-width: 880px; margin-inline: auto;
}
@media (min-width: 720px) { .lp-price { grid-template-columns: 1fr 1fr; } }
.lp-plan {
  border-radius: var(--radius-bento); padding: var(--space-6);
  background: var(--color-canvas-2); border: 1px solid var(--color-hairline);
}
.lp-plan-hero { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-canvas-2); }
.lp-plan-tag { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-ink-3); }
.lp-plan-hero .lp-plan-tag { color: var(--color-rust-200); }
.lp-plan h3 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-2xl); margin: var(--space-2) 0 var(--space-1); color: inherit; }
.lp-plan .lp-plan-price { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-3xl); color: inherit; }
.lp-plan .lp-plan-price small { font-size: var(--fs-md); font-weight: 400; color: var(--color-ink-3); }
.lp-plan-hero .lp-plan-price small { color: var(--color-rust-100); }
.lp-plan ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); }
.lp-plan li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--fs-md); color: var(--color-ink-2); }
.lp-plan-hero li { color: var(--color-paper-2); }
.lp-plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--color-rust-400); }
.lp-plan-hero li svg { color: var(--color-rust-200); }

/* ---------- privacy ---------- */
.lp-privacy {
  background: var(--color-rust-400); color: var(--color-ink-on-rust);
  border-radius: var(--radius-bento-lg);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}
.lp-privacy .lp-eyebrow { color: var(--color-rust-100); }
.lp-privacy h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 4vw, var(--fs-3xl)); color: var(--color-ink-on-rust); margin: 0 0 var(--space-3); }
.lp-privacy p { color: var(--color-rust-50); max-width: 60ch; margin: 0 auto var(--space-3); font-size: var(--fs-md); }
.lp-privacy a { color: var(--color-ink-on-rust); text-underline-offset: 3px; }

/* ---------- faq ---------- */
.lp-faq { max-width: 760px; margin-inline: auto; }
.lp-faq details {
  border-bottom: 1px solid var(--color-hairline);
  padding: var(--space-2) 0;
}
.lp-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-3) var(--space-1);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg);
  color: var(--color-ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .lp-faq-i {
  flex: none; width: 22px; height: 22px; position: relative;
  transition: transform var(--dur-base) var(--ease-out);
}
.lp-faq summary .lp-faq-i::before,
.lp-faq summary .lp-faq-i::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--color-rust-400); transform: translate(-50%, -50%);
}
.lp-faq summary .lp-faq-i::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-faq details[open] summary .lp-faq-i { transform: rotate(45deg); }
.lp-faq .lp-faq-a {
  padding: 0 var(--space-1) var(--space-4);
  color: var(--color-ink-2); font-size: var(--fs-md); max-width: 64ch;
}
.lp-faq .lp-faq-a a { color: var(--color-rust-500); }

/* ---------- final CTA ---------- */
.lp-final {
  text-align: center;
  padding: var(--space-7) 0;
}
.lp-final h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(32px, 6vw, var(--fs-5xl)); line-height: var(--lh-display);
  letter-spacing: var(--ls-display); color: var(--color-ink); margin: 0 0 var(--space-3);
}
.lp-final p { font-size: var(--fs-lg); color: var(--color-ink-2); margin: 0 auto var(--space-5); max-width: 46ch; }
.lp-final .lp-badges { margin-top: var(--space-2); }

/* visually-hidden label (kept for screen readers) */
.lp-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
/* ---------- footer ---------- */
.lp-footer {
  background: var(--color-paper);
  border-top: 1px solid var(--color-hairline);
  padding: var(--space-7) 0 var(--space-6);
}
.lp-footer-grid {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  align-items: center; justify-content: space-between;
}
.lp-footer-brand { display: flex; align-items: center; gap: var(--space-2); }
.lp-footer-brand img { height: 32px; width: 32px; }
.lp-footer-brand span { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-lg); color: var(--color-ink); }
.lp-footer nav { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.lp-footer nav a { color: var(--color-ink-2); text-decoration: none; font-size: var(--fs-sm); }
.lp-footer nav a:hover { color: var(--color-rust-500); }
.lp-footer-meta { width: 100%; display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-hairline); font-size: var(--fs-xs); color: var(--color-ink-3); }
.lp-footer-meta .lp-locale-switch { font-family: var(--font-mono); letter-spacing: var(--ls-wide); }
.lp-footer-meta .lp-locale-switch a { color: var(--color-ink-2); text-decoration: none; margin: 0 var(--space-1); }
.lp-footer-meta .lp-locale-switch a:hover { color: var(--color-rust-500); }

/* ---------- desktop hero split ---------- */
@media (min-width: 900px) {
  /* full-bleed hero: break the copy + visual out of the 1120px wrap so the
     band spans the whole viewport, edge to edge */
  .lp-hero { padding-top: var(--space-7); --lp-hero-pad: clamp(28px, 5vw, 96px); }
  .lp-hero .lp-wrap { max-width: none; padding-inline: var(--lp-hero-pad); }
  .lp-hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-5); }
  .lp-hero-copy { text-align: start; }
  /* keep the text at a readable measure even though the column is now wide */
  .lp-hero-copy h1 { max-width: 15ch; }
  .lp-hero .lp-lead { margin-inline: 0; max-width: 34rem; }
  .lp-hero-cta { justify-content: flex-start; }
  .lp-badges { justify-content: flex-start; }
  /* the stage bleeds to the right screen edge (cancel the wrap's right pad) */
  .lp-hero-stage {
    margin-top: 0; min-height: 0; padding-bottom: 56px;
    margin-inline-end: calc(-1 * var(--lp-hero-pad));
  }
  /* DESKTOP: the whole photo as a big backdrop — fades in behind the headline
     on the left and runs to the right screen edge; phones are a right accent */
  .lp-hero-photo {
    position: static; transform: none; left: auto; top: auto;
    width: 138%; max-width: none; margin-inline-start: -38%;
    border-radius: 0; box-shadow: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,0.6) 12%, #000 32%);
    mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,0.6) 12%, #000 32%);
  }
  /* RTL: photo bleeds the other way, so the soft fade is on the opposite edge */
  html[dir="rtl"] .lp-hero-photo {
    -webkit-mask-image: linear-gradient(to left, transparent 0, rgba(0,0,0,0.6) 12%, #000 32%);
    mask-image: linear-gradient(to left, transparent 0, rgba(0,0,0,0.6) 12%, #000 32%);
  }
  .lp-phone { max-width: 222px; }
  .lp-phone-front { inset-inline-end: 5%;  bottom: -44px; }
  .lp-phone-back  { inset-inline-end: 31%; bottom: 18px; max-width: 188px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hidden-until-revealed only on the NON-GSAP path (CSS/IntersectionObserver).
   * When GSAP runs it adds .lp-gsap to <html> and fully controls reveals + the
   * phone float, so these CSS rules step aside to avoid double-animation.
   * Without JS the content stays visible — no blank page if the script is
   * blocked/fails or a crawler doesn't run it. */
  .lp-js:not(.lp-gsap) .lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  .lp-js:not(.lp-gsap) .lp-reveal.is-in { opacity: 1; transform: none; }
  .lp-js:not(.lp-gsap) .lp-reveal-d1 { transition-delay: 0.06s; }
  .lp-js:not(.lp-gsap) .lp-reveal-d2 { transition-delay: 0.12s; }
  .lp-js:not(.lp-gsap) .lp-reveal-d3 { transition-delay: 0.18s; }
  @keyframes lp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .lp-js:not(.lp-gsap) .lp-floaty { animation: lp-float 6s var(--ease-out) infinite; }

  /* Hero intro targets — hidden at first paint so the GSAP entrance animates
   * them IN, instead of the page flashing fully-rendered then re-hiding (most
   * visible on a cached locale switch). The motion path adds .lp-gsap and takes
   * over; the no-GSAP / reduced-motion fallback adds .lp-static to reveal at once. */
  .lp-js:not(.lp-gsap):not(.lp-static) .lp-hero h1,
  .lp-js:not(.lp-gsap):not(.lp-static) .lp-hero-copy .lp-lead,
  .lp-js:not(.lp-gsap):not(.lp-static) .lp-hero-cta,
  .lp-js:not(.lp-gsap):not(.lp-static) .lp-hero-note,
  .lp-js:not(.lp-gsap):not(.lp-static) .lp-hero-photo,
  .lp-js:not(.lp-gsap):not(.lp-static) .lp-phone { opacity: 0; }
}

/* ---------- report showcase ---------- */
/* the fanned phones rotate slightly past the stack box; clip horizontally so
   they can never push a horizontal scrollbar on narrow screens */
#report { overflow-x: clip; }
.lp-report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 960px) {
  .lp-report-grid { grid-template-columns: 1fr 1fr; }
  .lp-report-copy { padding-inline-end: var(--space-6); }
}
.lp-report-list { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.lp-report-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-md); color: var(--color-ink-2); }
.lp-report-list li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--color-rust-400); }
.lp-report-list li b { color: var(--color-ink); font-weight: 600; }

/* fanned trio of real report screenshots (front phone sets the height;
   the two behind it peek out to the sides, slightly rotated) */
.lp-shotstack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}
.lp-shotstack .lp-shot-front {
  position: relative;
  width: 60%;
  margin-inline: auto;
  z-index: 3;
}
.lp-shotstack .lp-shot-mid,
.lp-shotstack .lp-shot-back {
  position: absolute;
  bottom: 9%;
  width: 51%;
  z-index: 1;
}
.lp-shotstack .lp-shot-mid  { left: 0;  transform: rotate(-6deg); }
.lp-shotstack .lp-shot-back { right: 0; transform: rotate(6deg); }
html[dir="rtl"] .lp-shotstack .lp-shot-mid  { transform: rotate(6deg); }
html[dir="rtl"] .lp-shotstack .lp-shot-back { transform: rotate(-6deg); }

/* RTL niceties */
html[dir="rtl"] .lp-hero h1 .lp-accent { font-style: normal; }
