/* ============================================================================
   landing-v3 — denser landing page composition, scoped to .lp3
   ----------------------------------------------------------------------------
   Everything here lives under .lp3 so it cannot leak into any 1:1 live page.
   Tokens are the openup.com values from DESIGN-SYSTEM.md; the difference from
   live is RHYTHM and DETAIL, not palette: shorter sections, a tighter type
   scale, hairline borders, small radii on small things.
   ========================================================================= */

.lp3 {
  /* palette (verbatim design-system values) */
  --navy: #152361;
  --navy-2: #0e1949;
  --navy-3: #070f31;
  --blue: #48b4ff;
  --blue-text: #0075c7; /* #48b4ff fails 4.5:1 where it carries text */
  --blue-deep: #177bbf;
  --green: #00a885;
  --green-deep: #187363;
  --skin: #fff8ed;
  --skin-2: #fffdfb;
  --violet: #e6e8f1;
  --gray: #5b6590;
  --slate: #f3f4f7;
  --line: #e8e9ef;
  --white: #fff;

  /* rhythm: ~40% shorter than the live blocks */
  --sec-y: 4.5rem; /* 72px desktop */
  --gap: 1.5rem;
  --radius-card: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(21, 35, 97, 0.05);
  --shadow-md: 0 1px 2px rgba(21, 35, 97, 0.04), 0 10px 28px -14px rgba(21, 35, 97, 0.18);
  --shadow-lg: 0 2px 4px rgba(21, 35, 97, 0.05), 0 24px 48px -20px rgba(21, 35, 97, 0.24);

  font-family: var(--font-sans);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
}

.lp3 *,
.lp3 *::before,
.lp3 *::after {
  box-sizing: border-box;
}

/* ---------- layout primitives ---------- */

.lp3__container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.lp3-sec {
  padding-block: var(--sec-y);
  position: relative;
}

.lp3-sec--tight {
  padding-block: 3rem;
}

.lp3-sec--skin {
  background: var(--skin);
}
.lp3-sec--white {
  background: var(--white);
}
.lp3-sec--slate {
  background: var(--slate);
}
.lp3-sec--navy {
  background: var(--navy);
  color: var(--white);
}

/* ---------- type ---------- */

.lp3 h1,
.lp3 h2,
.lp3 h3,
.lp3 h4 {
  font-family: var(--font-serif);
  font-weight: 900;
  color: inherit;
  margin: 0;
  letter-spacing: -0.01em;
}

.lp3-h1 {
  font-size: clamp(2.125rem, 3.9vw, 3.125rem); /* 34 → 50px, live h1 is 49px fixed */
  line-height: 1.07;
}

.lp3-h2 {
  font-size: clamp(1.625rem, 2.35vw, 2.125rem); /* 26 → 34px, live h2 runs ~49px */
  line-height: 1.15;
}

.lp3-h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
}

/* sentence case, no rule before it: the all-caps + dash treatment read as
   template chrome rather than as part of the sentence */
.lp3-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--green-deep);
  margin: 0 0 0.5rem;
}

.lp3-sec--navy .lp3-eyebrow {
  color: #7fe3cd;
}

/* the theme sets a much looser line-height on bare <p>; reassert ours or every
   paragraph on the page reads at ~2.2 and the sections grow tall again */
.lp3 p {
  line-height: 1.5;
}

.lp3-lead {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gray);
  margin: 0.75rem 0 0;
  max-width: 60ch;
}

.lp3-sec--navy .lp3-lead {
  color: rgba(255, 255, 255, 0.72);
}

.lp3-sechead {
  margin-bottom: 2.25rem;
}

.lp3-sechead--center {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

.lp3-sechead--center .lp3-lead {
  margin-inline: auto;
}

.lp3-sechead--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.lp3-sechead--split > div:first-child {
  max-width: 40rem;
}

/* numbers read as data, not decoration */
.lp3-num {
  font-family: var(--font-serif);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ---------- small parts ---------- */

.lp3-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.375rem 0.6875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.lp3-chip .c-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--green);
  fill: currentColor;
}

.lp3-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.lp3-rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ============================================================================
   1. HERO — compact, so the credentials band is in the first viewport
   ========================================================================= */

/* height is deliberately capped: the credentials band below must be inside the
   first viewport on a 1440x900 screen, so the logos are never cut off */
.lp3-hero {
  background: var(--skin);
  padding-block: 1.75rem 1.25rem;
  overflow: hidden;
}

.lp3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.lp3-hero__title {
  max-width: 20ch;
}

/* the sub-paragraph gets skipped, so the payload sits in scannable rows */
.lp3-hero__points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
  /* wide enough that each point stays on one line at 1440px: three wrapped
     rows would push the credentials logos out of the first viewport */
  max-width: 38rem;
}

.lp3-hero__point {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--navy);
}

.lp3-hero__point b {
  font-weight: 700;
}

.lp3-hero__point span:first-child {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  background: rgba(0, 168, 133, 0.14);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  transform: translateY(0.2rem);
}

.lp3-hero__point .c-icon {
  width: 0.6875rem;
  height: 0.6875rem;
  fill: currentColor;
}

.lp3-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  align-items: center;
}

.lp3-hero__products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.lp3-hero__products a {
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lp3-hero__products a:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* -- hero media: a real 1:1 session mock-up, framed as a device -- */

.lp3-hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 22.5rem;
}

.lp3-mock {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(21, 35, 97, 0.06);
}

.lp3-mock img {
  display: block;
  width: 100%;
  height: auto;
}

/* floating meta card, pinned to the mock-up */
.lp3-mock__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.lp3-mock__dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 168, 133, 0.18);
}

.lp3-mock__tag b {
  display: block;
  font-weight: 700;
  color: var(--navy);
}

.lp3-mock__tag span {
  color: var(--gray);
  font-size: 0.75rem;
}

/* ============================================================================
   2. CREDENTIALS — logos + review platforms + certifications, one band
   ========================================================================= */

.lp3-cred {
  background: var(--skin);
  padding-block: 0 2rem;
}

.lp3-cred__inner {
  border-top: 1px solid rgba(21, 35, 97, 0.08);
  padding-top: 1rem;
}

.lp3-cred__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  margin: 0 0 0.875rem;
}

/* one row of 11 logos at 1440px, each with a pill underneath */
.lp3-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  /* 11 logos + their pills need 1172px of the container's 1192px at 1440px;
     a wider gap tips Mollie onto a second row */
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.lp3-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.lp3-logo__img {
  height: 1.375rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  opacity: 0.62;
  filter: grayscale(1);
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.lp3-logo:hover .lp3-logo__img,
.lp3-logo:focus-within .lp3-logo__img {
  opacity: 1;
  filter: none;
}

/* the pill under each logo */
.lp3-logo__tag {
  display: inline-block;
  padding: 0.0625rem 0.4375rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.lp3-logo__tag--quote {
  cursor: pointer;
  font-family: inherit;
  border-color: rgba(0, 168, 133, 0.4);
  color: var(--green-deep);
}

.lp3-logo__tag--quote:hover,
.lp3-logo__tag--quote:focus-visible,
.lp3-logo__tag--quote[aria-expanded='true'] {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.lp3-logo__tag--study {
  border-color: rgba(0, 117, 199, 0.35);
  color: var(--blue-text);
}

.lp3-logo__tag--study:hover {
  background: var(--blue-text);
  border-color: var(--blue-text);
  color: var(--white);
}

/* no real quote yet: inert on purpose, never invent an endorsement */
.lp3-logo__tag--todo {
  border-style: dashed;
  background: transparent;
  color: rgba(91, 101, 144, 0.7);
}

.lp3-logo__more {
  display: inline-block;
  margin-top: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-text);
}

.lp3-logo__pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.625rem);
  width: 19rem;
  transform: translate(-50%, 0.375rem);
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
  pointer-events: none;
}

.lp3-logo__pop::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0.75rem;
  height: 0.75rem;
  margin-left: -0.375rem;
  margin-top: -0.375rem;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.lp3-logo__tag--quote:hover .lp3-logo__pop,
.lp3-logo__tag--quote:focus-visible .lp3-logo__pop,
.lp3-logo__tag--quote[aria-expanded='true'] .lp3-logo__pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.lp3-logo__pop q {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--navy);
  quotes: '"' '"';
}

.lp3-logo__who {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.lp3-logo__who img {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  opacity: 1;
  filter: none;
  flex: none;
  max-width: none;
  height: 2rem;
}

.lp3-logo__who b {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
}

.lp3-logo__who span {
  font-size: 0.75rem;
  color: var(--gray);
}

/* review platforms + certifications */
.lp3-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.625rem;
}

.lp3-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--navy);
  font-size: 0.8125rem;
  line-height: 1.25;
}

a.lp3-badge:hover {
  border-color: rgba(21, 35, 97, 0.22);
}

.lp3-badge__score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lp3-badge__meta {
  color: var(--gray);
  font-size: 0.75rem;
}

.lp3-badge img {
  height: 1rem;
  width: auto;
}

.lp3-badge--stars img {
  height: 0.875rem;
}

.lp3-badge--cert {
  font-weight: 600;
}

.lp3-badge--cert .c-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--green-deep);
  flex: none;
}

.lp3-badge--todo {
  border-style: dashed;
  color: var(--gray);
  box-shadow: none;
  background: transparent;
}

/* ============================================================================
   3. THE JOURNEY — fanned deck + timeline + caption
   ----------------------------------------------------------------------------
   Card position is driven by a single custom property, --offset, which JS sets
   to (cardIndex - activeIndex). Everything else (x, scale, opacity) derives
   from it, so there is one source of truth for the fan.
   ========================================================================= */

.lp3-jrn {
  overflow: hidden; /* the deck's outer cards run past the container */
}

.lp3-deck {
  position: relative;
  height: 25.5rem;
  margin-bottom: 1.5rem;
}

.lp3-deck__card {
  --offset: 0;
  --w: 19rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--w);
  height: 23rem;
  margin-left: calc(var(--w) / -2);
  border-radius: 18px;
  background: var(--bg, var(--green));
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: 0 18px 40px -20px rgba(21, 35, 97, 0.4);
  /* fan: shift sideways by offset, shrink and fade the further out it sits.
     Both effects clamp at 3 steps out, so cards 4+ deep stay legible rather
     than dissolving into the background. All stages stay visible. */
  transform:
    translateY(-50%)
    translateX(calc(var(--offset) * 5.5rem))
    scale(calc(1 - min(abs(var(--offset)), 3) * 0.05));
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0.28, 1), opacity 0.45s ease;
  opacity: calc(1 - min(abs(var(--offset)), 3) * 0.08);
}

/* abs() lands in older Safari as invalid; this fallback keeps the fan sane */
@supports not (width: abs(-1px)) {
  .lp3-deck__card {
    transform: translateY(-50%) translateX(calc(var(--offset) * 5.25rem)) scale(0.9);
    opacity: 0.75;
  }
  .lp3-deck__card[data-state='active'] {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

.lp3-deck__card[data-state='active'] {
  cursor: default;
  opacity: 1;
  box-shadow: 0 28px 56px -22px rgba(21, 35, 97, 0.45);
}

.lp3-deck__pill {
  align-self: flex-start;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp3-deck__card--dark .lp3-deck__pill {
  background: var(--navy);
  color: var(--white);
}

/* A white "screen" inside the coloured frame. Load-bearing for the Lottie
   cards: those animations are landscape and carry their own green backdrop, so
   letterboxed inside a portrait green card they vanished entirely. On white they
   read as a product screenshot, which is what they are. */
.lp3-deck__media {
  flex: 1;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.lp3-deck__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* lottie-player is not a replaced element, so object-fit does nothing; its
   inner SVG already letterboxes (xMidYMid meet). Just give it room. */
.lp3-deck__media lottie-player {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}

/* the brand illustrations are not photos; let them breathe */
.lp3-deck__media--contain {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lp3-deck__media--contain img {
  object-fit: contain;
}

/* ---- timeline ---- */

.lp3-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.lp3-track__arrow {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.lp3-track__arrow .c-icon {
  width: 0.875rem;
  height: 0.875rem;
  fill: currentColor;
}

.lp3-track__arrow:hover:not(:disabled) {
  border-color: var(--navy);
}

.lp3-track__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.lp3-track__rail {
  position: relative;
  flex: 1;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.375rem;
}

/* gradient runs the same green → blue → violet as the card colours */
.lp3-track__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a885 0%, #177bbf 45%, #48b4ff 70%, #b9bfdd 100%);
}

.lp3-track__dot {
  position: relative;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lp3-track__dot::before {
  content: '';
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lp3-track__dot[aria-selected='true']::before {
  opacity: 0;
}

.lp3-track__avatar {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  border-radius: 999px;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px -6px rgba(21, 35, 97, 0.45);
  display: grid;
  place-items: center;
  transition: left 0.45s cubic-bezier(0.22, 0.68, 0.28, 1);
  pointer-events: none;
}

.lp3-track__avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--violet);
}

.lp3-track__avatar .c-icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--navy);
}

/* ---- caption ---- */

.lp3-jrn__caps {
  position: relative;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  min-height: 8.5rem;
}

.lp3-jrn__cap {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.lp3-jrn__cap[data-active='true'] {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.lp3-jrn__cap-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 0.625rem;
}

.lp3-jrn__cap-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray);
  margin: 0;
}

.lp3-feats {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.lp3-feat {
  width: 100%;
  display: grid;
  grid-template-columns: 1.375rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.875rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  text-align: left;
  font: inherit;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.lp3-feat:hover {
  background: rgba(21, 35, 97, 0.03);
}

.lp3-feat__check {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  transform: translateY(0.0625rem);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lp3-feat__check .c-icon {
  width: 0.75rem;
  height: 0.75rem;
  fill: var(--violet);
  transition: fill 0.2s ease;
}

.lp3-feat__title {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  transition: color 0.18s ease;
}

.lp3-feat__desc {
  display: block;
  font-size: 0.8125rem;
  margin-top: 0.125rem;
}

/* the active feature lights up */
.lp3-feat[aria-selected='true'] {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}

.lp3-feat[aria-selected='true'] .lp3-feat__check {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(0.0625rem) scale(1.06);
}

.lp3-feat[aria-selected='true'] .lp3-feat__check .c-icon {
  fill: var(--white);
}

/* media panel */
.lp3-plat__panel {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

/* block layout, NOT grid: as a grid item in an auto-sized row the media's
   height:100% is circular and silently collapses to auto, which let the
   portrait mock-ups render at full height and crop. A plain block child
   resolves 100% against this element's definite content box. */
.lp3-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s;
  display: block;
  padding: 1.25rem;
  background: var(--white);
}

.lp3-panel[data-active='true'] {
  opacity: 1;
  visibility: visible;
}

/* width/height 100% + object-fit, not max-height: a percentage max-height does
   not resolve against a height that came from aspect-ratio, so the portrait
   mock-ups overflowed the panel instead of fitting inside it */
.lp3-panel img,
.lp3-panel lottie-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lp3-panel__cap {
  position: absolute;
  left: 0.875rem;
  bottom: 0.875rem;
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}

.lp3-plat__progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(21, 35, 97, 0.06);
  z-index: 2;
}

.lp3-plat__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
}

/* ============================================================================
   4a. WHO IS IT FOR — the question cloud (flip cards)
   ========================================================================= */

/* A crowd, not a grid: wide, short cards that overlap their neighbours, sit at
   uneven heights and tilt a degree or two. Three columns of wide cards read as
   speech from a group of people; the earlier tall 4-up grid read as a product
   matrix. --shift (vertical offset), --rot (tilt) and --pull (horizontal
   overlap into the previous column) are authored per card in the component so
   the arrangement is stable across builds. */
.lp3-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0.75rem 0;
  padding-bottom: 3.5rem;
}

.lp3-flip {
  position: relative;
  z-index: 1;
  grid-column: var(--col);
  perspective: 1200px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  /* overlap: cards bleed sideways past their column edges */
  margin-inline: var(--pull, -1.25rem) var(--push, -1.25rem);
  transform: translateY(var(--shift, 0)) rotate(var(--rot, 0deg));
  transition: transform 0.3s cubic-bezier(0.22, 0.68, 0.28, 1), opacity 0.45s ease;
}

/* short and wide; three heights so the crowd is not uniform */
.lp3-flip--sm {
  height: 6.5rem;
}
.lp3-flip--md {
  height: 7.25rem;
}
.lp3-flip--lg {
  height: 8.25rem;
}

/* lift out of the crowd on hover, straighten, and come to the front */
.lp3-flip:hover,
.lp3-flip:focus-visible {
  transform: translateY(calc(var(--shift, 0px) - 7px)) rotate(0deg) scale(1.03);
  z-index: 5;
}

/* the flipped card must sit above its overlapping neighbours */
.lp3-flip[aria-pressed='true'],
.lp3-flip[data-auto='true'] {
  z-index: 4;
}

/* ---- reveal: cards arrive one by one when the crowd scrolls into view ---- */
.lp3-cloud[data-reveal='pending'] .lp3-flip {
  opacity: 0;
  transform: translateY(calc(var(--shift, 0px) + 16px)) rotate(var(--rot, 0deg)) scale(0.96);
}

/* `backwards`, not `both`: the resting state is the card's normal style, so if
   the animation is ever dropped the card is visible rather than stuck at the
   keyframe's opacity 0. */
.lp3-cloud[data-reveal='running'] .lp3-flip {
  opacity: 1;
  animation: lp3-arrive 0.5s cubic-bezier(0.22, 0.68, 0.28, 1) backwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes lp3-arrive {
  from {
    opacity: 0;
    transform: translateY(calc(var(--shift, 0px) + 16px)) rotate(var(--rot, 0deg)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(var(--shift, 0px)) rotate(var(--rot, 0deg)) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* no staggered arrival, just show them */
  .lp3-cloud[data-reveal='pending'] .lp3-flip {
    opacity: 1;
    transform: translateY(var(--shift, 0px)) rotate(var(--rot, 0deg));
  }
  .lp3-cloud[data-reveal='running'] .lp3-flip {
    animation: none;
  }
}

/* display:block is load-bearing: this is a <span> inside a <button>, and an
   inline box ignores width/height, which collapses both faces to nothing. */
.lp3-flip__inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.lp3-flip:hover .lp3-flip__inner,
.lp3-flip:focus-visible .lp3-flip__inner,
.lp3-flip[aria-pressed='true'] .lp3-flip__inner {
  transform: rotateY(180deg);
}

.lp3-flip__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--white);
  /* stronger than the flat cards: these overlap, so they need to separate */
  box-shadow: 0 1px 2px rgba(21, 35, 97, 0.05), 0 12px 28px -16px rgba(21, 35, 97, 0.3);
  padding: 0.75rem 0.875rem;
  display: flex;
  gap: 0.625rem;
  overflow: hidden;
}

/* wide card: avatar beside the text, not stacked above it */
.lp3-flip__face--front {
  flex-direction: row;
  align-items: flex-start;
}

.lp3-flip__face--back {
  transform: rotateY(180deg);
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
}

/* monogram avatar: OpenUp support is anonymous, so the cards are too */
.lp3-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex: none;
  color: var(--white);
  letter-spacing: 0.02em;
}

.lp3-avatar--green {
  background: var(--green);
}
.lp3-avatar--blue {
  background: var(--blue-deep);
}
.lp3-avatar--navy {
  background: var(--navy);
}
.lp3-avatar--violet {
  background: #8b93c4;
}

.lp3-flip__who {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray);
  line-height: 1.25;
  margin-bottom: 0.125rem;
}

/* every text part of a card is a <span> (buttons may not contain <p>), so each
   one has to be blockified explicitly */
.lp3-flip__q,
.lp3-flip__a,
.lp3-flip__route,
.lp3-flip__stat,
.lp3-flip__body {
  display: block;
}

.lp3-flip__q {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.lp3-flip__route {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #7fe3cd;
  margin: 0;
}

.lp3-flip__a {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.lp3-cloud__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray);
  margin: 1.5rem 0 0;
}

/* ============================================================================
   4b. WHO IS IT FOR — audience switch
   ========================================================================= */

.lp3-switch {
  display: inline-flex;
  padding: 0.25rem;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.lp3-switch button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lp3-switch button[aria-selected='true'] {
  background: var(--navy);
  color: var(--white);
}

.lp3-aud {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.lp3-aud[data-active='true'] {
  display: grid;
}

.lp3-aud__item {
  padding: 1.125rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.lp3-aud__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 168, 133, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.lp3-aud__icon .c-icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: var(--green-deep);
}

.lp3-aud__item p {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0.375rem 0 0;
}

/* ============================================================================
   4. WHO IS IT FOR — two-audience flip cards (ported from the brief)
   ========================================================================= */

.lp3-switch--center {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.lp3-personas__hint {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray);
  margin: 0.75rem 0 1.75rem;
}

.lp3-personas {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lp3-personas[data-active='true'] {
  display: grid;
}

.lp3-persona {
  all: unset;
  box-sizing: border-box;
  display: block;
  perspective: 1400px;
  height: 13.25rem;
  cursor: pointer;
}

.lp3-persona:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: var(--radius-card);
}

.lp3-persona__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp3-persona:hover .lp3-persona__inner,
.lp3-persona:focus-visible .lp3-persona__inner,
.lp3-persona[aria-pressed='true'] .lp3-persona__inner {
  transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .lp3-persona__inner { transition: none; }
}

.lp3-persona__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.lp3-persona__face--front {
  background: var(--white);
  box-shadow: 0 4px 18px rgba(21, 35, 97, 0.08);
}

.lp3-persona__face--back {
  transform: rotateY(180deg);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(21, 35, 97, 0.14);
}

.lp3-personas--hr .lp3-persona__face--back {
  background: var(--green-deep, var(--green));
  box-shadow: 0 4px 18px rgba(0, 168, 133, 0.18);
}

.lp3-persona__who {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3abb8;
}

.lp3-persona__q {
  font-size: 1.1875rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--navy);
  text-wrap: pretty;
}

.lp3-persona__cue {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep, var(--green));
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lp3-persona__cue .c-icon {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
}

.lp3-persona__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.lp3-persona__a {
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.lp3-persona__proof {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8fc9f7;
}

.lp3-personas--hr .lp3-persona__proof {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .lp3-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .lp3-personas { grid-template-columns: 1fr; }
}

/* ============================================================================
   5. IMPACT — a dense mosaic instead of three giant numbers
   ========================================================================= */

/* head: eyebrow + big serif claim on the left, measured-across note top-right */
.lp3-impact__head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 3rem;
  row-gap: 1rem;
  margin-bottom: 3.25rem;
}

.lp3-eyebrow--blue {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.lp3-sec--navy .lp3-eyebrow--blue {
  color: var(--blue);
}

.lp3-impact__title {
  max-width: 14ch;
}

.lp3-impact__intro {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34ch;
}

/* three percentages, hairline dividers between them */
.lp3-impact__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.lp3-impact__stat {
  padding-left: 2.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.lp3-impact__stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.lp3-impact__statN {
  display: block;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--white);
}

.lp3-impact__statL {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 26ch;
}

/* footer bar: live-session counter left, report link + demo CTA right */
.lp3-impact__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 3.25rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp3-impact__count {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.lp3-impact__count b {
  color: var(--white);
  font-weight: 700;
}

.lp3-impact__dot {
  width: 0.625rem;
  height: 0.625rem;
  flex: none;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 168, 133, 0.22);
}

.lp3-impact__actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.lp3-impact__report {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.lp3-impact__report:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .lp3-impact__head {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 2.5rem;
  }
  .lp3-impact__intro {
    max-width: 46ch;
  }
  .lp3-impact__stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .lp3-impact__stat {
    padding-left: 0;
    border-left: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .lp3-impact__stat:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .lp3-impact__bar {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .lp3-impact__actions {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}

/* ============================================================================
   6. TESTIMONIALS — Aepsy-style media left, quote right
   ========================================================================= */

.lp3-quotes__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.lp3-quotes__track::-webkit-scrollbar {
  display: none;
}

.lp3-quote {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.lp3-quote__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--violet);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}

.lp3-quote__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* video slot: drop a <video> in place of the <img> and this styling holds */
.lp3-quote__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp3-quote__logo {
  height: 1.375rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  margin-bottom: 1rem;
}

.lp3-quote__text {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.7vw, 1.625rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

.lp3-quote__who {
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.lp3-quote__who b {
  display: block;
  font-weight: 700;
}

.lp3-quote__who span {
  color: var(--gray);
}

.lp3-quote__score {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-top: 1.25rem;
  padding: 0.4375rem 0.75rem;
  border-radius: 999px;
  background: var(--skin);
  border: 1px solid rgba(21, 35, 97, 0.08);
  font-size: 0.75rem;
  color: var(--gray);
}

.lp3-quote__score b {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.lp3-quotes__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp3-dots {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.lp3-dots button {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lp3-dots button::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(21, 35, 97, 0.2);
  transition: background 0.18s ease, transform 0.18s ease;
}

.lp3-dots button[aria-current='true']::before {
  background: var(--green);
  transform: scale(1.15);
}

/* ============================================================================
   7. LANGUAGES + EXPERTS
   ========================================================================= */

.lp3-lang__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.lp3-lang__stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.lp3-lang__stat .lp3-num {
  font-size: 2.25rem;
  display: block;
  color: var(--navy);
}

.lp3-lang__stat span {
  font-size: 0.8125rem;
  color: var(--gray);
  display: block;
  margin-top: 0.25rem;
}

.lp3-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4375rem;
}

.lp3-flags .c-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(21, 35, 97, 0.1), var(--shadow-sm);
  background: var(--white);
}

.lp3-flags__more {
  display: inline-grid;
  place-items: center;
  height: 1.5rem;
  padding-inline: 0.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
}

.lp3-experts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.lp3-expert {
  text-decoration: none;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lp3-expert:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lp3-expert img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.lp3-expert__body {
  display: block;
  padding: 0.625rem 0.75rem 0.75rem;
}

.lp3-expert__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.lp3-expert__role {
  font-size: 0.6875rem;
  color: var(--gray);
  display: block;
  margin-top: 0.125rem;
}

.lp3-expert__flags {
  display: flex;
  gap: 0.1875rem;
  margin-top: 0.4375rem;
}

.lp3-expert__flags .c-icon {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 999px;
}

/* ============================================================================
   responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .lp3-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* authored columns only make sense at 3-up; let the crowd reflow below that */
  .lp3-flip {
    grid-column: auto;
    margin-inline: -0.5rem;
  }
  .lp3-experts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lp3-deck__card {
    --w: 16rem;
  }
  .lp3-deck {
    height: 24rem;
  }
  .lp3-deck__card {
    height: 21.5rem;
  }
  .lp3-aud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .lp3 {
    --sec-y: 3.25rem;
  }
  .lp3-hero__grid,
  .lp3-plat__grid,
  .lp3-quote,
  .lp3-lang__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .lp3-hero__media {
    justify-self: center;
    max-width: 24rem;
  }
  .lp3-hero__title {
    max-width: none;
  }
  .lp3-plat__panel {
    aspect-ratio: 16 / 10;
  }
  .lp3-quote__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 900px) {
  /* the fan collapses on small screens: one card, swipe/step through it */
  .lp3-deck__card {
    --w: min(19rem, calc(100vw - 4rem));
    transform: translateY(-50%) translateX(calc(var(--offset) * 2.5rem)) scale(0.9);
    opacity: 0;
  }
  .lp3-deck__card[data-state='active'] {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  .lp3-jrn__caps {
    min-height: 11rem;
  }
}

@media (max-width: 680px) {
  /* one wide card per row on phones: overlap and tilt stop helping here */
  .lp3-cloud {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
    padding-bottom: 1.5rem;
  }
  .lp3-flip {
    grid-column: auto;
    margin-inline: 0;
    height: 6.25rem;
    transform: none;
  }
  .lp3-flip:hover,
  .lp3-flip:focus-visible {
    transform: translateY(-4px);
  }
  .lp3-cloud[data-reveal='pending'] .lp3-flip {
    transform: translateY(14px) scale(0.98);
  }
  @keyframes lp3-arrive {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
  .lp3-track {
    gap: 0.5rem;
  }
  .lp3-track__rail {
    padding-inline: 1rem;
  }
  .lp3-experts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp3-aud {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp3-logos {
    gap: 0.5rem 1.5rem;
  }
  .lp3-logo__pop {
    width: min(17rem, calc(100vw - 3rem));
  }
  .lp3-sechead--split {
    align-items: flex-start;
  }
}

/* ============================================================================
   motion preferences
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .lp3 *,
  .lp3 *::before,
  .lp3 *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .lp3-flip:hover .lp3-flip__inner,
  .lp3-flip:focus-visible .lp3-flip__inner,
  .lp3-flip[aria-pressed='true'] .lp3-flip__inner {
    transform: none;
  }
  /* without the 3D flip, show the answer stacked underneath instead */
  .lp3-flip[aria-pressed='true'] .lp3-flip__face--front {
    visibility: hidden;
  }
  .lp3-flip__face--back {
    transform: none;
    visibility: hidden;
  }
  .lp3-flip[aria-pressed='true'] .lp3-flip__face--back {
    visibility: visible;
  }
}

/* the theme's arrow sprite has no intrinsic size, so inside our own layout a
   bare c-btn-link arrow renders enormous. Constrain it to the text size. */
.lp3 .c-btn-link .c-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
  fill: currentColor;
  margin-left: 0.375rem;
}

.lp3 .c-btn-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* round slider arrows: same sprite, same problem */
.lp3 .c-btn-round .c-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* keyboard focus, consistent across every new control */
.lp3 :focus-visible {
  outline: 2px solid var(--blue-text);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================================
   APPLE-GLASS GLOBAL RE-SKIN (V4a) — appended override layer
   ----------------------------------------------------------------------------
   Structure and content are unchanged. This applies the design-system MATERIAL
   globally: depth from hairline borders + a 1px top inset highlight (never a
   cast shadow), frosted translucent surfaces, softer radii, and green primary.
   This stylesheet only loads on /lp/home-v4a/, so nothing here can leak.
   ========================================================================= */

.lp3 {
  /* depth the Apple way: no cast shadow, only a top inset highlight */
  --shadow-sm: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-md: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-lg: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --radius-card: 16px;
  --radius-sm: 12px;
  --g-blur: 22px;
}

/* faint green whisper in one corner of the hero */
.lp3-hero { position: relative; }
.lp3-hero > * { position: relative; z-index: 1; }
.lp3-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(46rem 30rem at 96% -18%, rgba(0, 168, 133, 0.10), transparent 62%);
  pointer-events: none;
}

/* frosted surfaces: translucent near-white fill + backdrop blur + hairline.
   Clean white over white sections; genuinely frosted over cream/slate/navy. */
.lp3-card,
.lp3-badge,
.lp3-chip,
.lp3-switch,
.lp3-aud__item,
.lp3-plat__panel,
.lp3-flip__face--front,
.lp3-persona__face--front,
.lp3-expert,
.lp3-quote__score,
.lp3-deck__pill,
.lp3-panel__cap,
.lp3-logo__pop {
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(var(--g-blur)) saturate(150%);
  backdrop-filter: blur(var(--g-blur)) saturate(150%);
  border-color: rgba(21, 35, 97, 0.08);
}

/* keep the "todo/placeholder" chips visibly empty, not frosted */
.lp3-badge--todo {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* neutralise the remaining inline cast shadows → hairline + inset highlight */
.lp3-deck__card {
  box-shadow: 0 0 0 1px rgba(21, 35, 97, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.lp3-deck__card[data-state="active"] {
  box-shadow: 0 0 0 1px rgba(21, 35, 97, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.lp3-flip__face {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.lp3-persona__face--front {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.lp3-persona__face--back,
.lp3-personas--hr .lp3-persona__face--back {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.lp3-track__avatar {
  box-shadow: 0 0 0 1px rgba(21, 35, 97, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* green is primary; blue is information only (design-system rule #2). Page-
   scoped file, so this only recolours the blue primary CTA on /lp/home-v4a/. */
.c-btn-primary--blue {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: #fff !important;
}
.c-btn-primary--blue:hover,
.c-btn-primary--blue:focus-visible {
  background: var(--green-deep) !important;
  border-color: var(--green-deep) !important;
}

/* design-system: never all-caps → sentence case with gentle tracking */
.lp3-persona__who,
.lp3-persona__label,
.lp3-eyebrow--blue {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ============================================================================
   HUGO ALIGNMENT (V4a) — global feel to match Hugo's design language
   ----------------------------------------------------------------------------
   Bigger editorial display type, gradient (not flat) frosted fills, rounder
   large panels (24px), and a touch more air. Structure/content unchanged.
   ========================================================================= */

.lp3 {
  --sec-y: 5.5rem;                 /* more air between sections */
  --radius-card: 18px;
  --g-fill: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.80));
}

/* display type closer to Hugo's editorial scale */
.lp3-h1 {
  font-size: clamp(2.375rem, 3.4vw + 1rem, 3.75rem);   /* 38 → 60px */
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lp3-hero__title { max-width: 15ch; }
.lp3-h2 {
  font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem);     /* 28 → 40px */
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* richer gradient frosted fills (Hugo's --g-fill) instead of a flat tint */
.lp3-card,
.lp3-badge,
.lp3-chip,
.lp3-switch,
.lp3-aud__item,
.lp3-plat__panel,
.lp3-flip__face--front,
.lp3-persona__face--front,
.lp3-expert,
.lp3-quote__score,
.lp3-deck__pill,
.lp3-panel__cap,
.lp3-logo__pop {
  background-image: var(--g-fill);
}
.lp3-badge--todo { background-image: none; }

/* rounder large panels — Hugo's 24px on the big glass surfaces */
.lp3-mock,
.lp3-plat__panel,
.lp3-quote__media,
.lp3-deck__card,
.lp3-persona__face,
.lp3-persona,
.lp3-flip__face {
  border-radius: 24px;
}
