/* PURPOSE: lead-magnet landing layer for landings/lm-landings-2026 on top of chinatoday-ds ds.css.
   Colors, type, spacing and radii come from ds.css tokens only (no hex literals, CONV-4 spirit),
   so every block can move into ds.css unchanged once the design is approved.
   GREP_SUMMARY: .lm-hero (sky first screen, tilted cover, sticker, floating tags), .lm-kicker,
   .lm-pains/.lm-pain (numbered risk cards), .lm-note (resolution strip), .lm-inside + .lm-doc
   (paper sheet with the material's contents), .lm-specs, .lm-trust/.lm-stat (company numbers),
   .lm-get (final form panel), .lm-consent, .lm-modal (lead window over ds .ct-modal),
   .lm-thanks + .lm-more (thank-you page: other materials).
   STRUCTURE: shared -> sections in page order -> media queries (1200 / 1024 / 640 / 400). */

.lm-page {
  /* Deep shadow for objects that float over a tinted panel (cover, tags, sheet). */
  --lm-shadow-float: 0 28px 56px rgb(8 65 115 / 0.18), 0 6px 16px rgb(8 65 115 / 0.08);
  --lm-accent-ink: var(--color-accent-hover);
  --lm-soft-warm: var(--surface-note-warn);
}

/* ds.css panels clip with `overflow: hidden`, which still makes them scroll containers: the hero
   glow that bleeds past the edge let focus moves scroll the panel's own content by ~150px.
   `clip` cuts the same way without creating a scroll container. */
.lm-page .panel { overflow: clip; }

/* Shared section head spacing ------------------------------------------------ */
.lm-head { margin-bottom: clamp(1.75rem, 1.3rem + 1.6vw, 3.25rem); }
.lm-head__title { max-width: 15em; text-wrap: balance; }

/* ==========================================================================
   1. First screen
   ========================================================================== */
.lm-hero {
  padding: clamp(1.5rem, 1rem + 2.2vw, 4rem) var(--panel-pad-x) clamp(2rem, 1.4rem + 3vw, 5rem);
}
.lm-hero::after {
  /* Soft brand glow in the corner behind the cover: the cyan of the cover art, very faint. */
  content: "";
  position: absolute;
  inset: auto -12% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(57 201 236 / 0.22), transparent 65%);
  pointer-events: none;
}
.lm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: var(--grid-gap-lg);
  align-items: center;
}
.lm-hero__copy {
  display: grid;
  /* A bounded track: an implicit `auto` one grows to the max-content of a nowrap child (the
     one-line crumbs on phones) and pushes it past the panel. */
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: clamp(1.25rem, 0.9rem + 1.1vw, 2.25rem);
}
.lm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  text-wrap: balance;
}
.lm-kicker__spark { width: 1rem; height: 1rem; }
.lm-hero__title { max-width: 11.5em; text-wrap: balance; color: var(--color-text-strong); }
.lm-hero__title.display--md { max-width: 16em; }
.lm-hero__lead {
  max-width: 31em;
  font-size: clamp(1.0625rem, 0.97rem + 0.42vw, 1.375rem);
  line-height: var(--lh-body);
}
.lm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }
.lm-hero__proof {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 34rem);
  padding-top: clamp(1rem, 0.8rem + 0.6vw, 1.5rem);
  border-top: 1px solid var(--border-sky);
  font-size: var(--fs-sm);
}
.lm-hero__proof .icon { width: 1.25rem; height: 1.25rem; color: var(--ct-blue); }

/* Visual: the cover on a white halo, a dashed orbit and two tags from the contents.
   Every cover shares one art layout: cyan blob top-left, logo top-right, title and subtitle in
   the middle, orange blob bottom-right. Tags sit on the two blobs and the sticker on the empty
   bottom-left corner, so none of them hides text of the cover, however long the title is. */
.lm-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(26rem, 20rem + 16vw, 38rem);
  isolation: isolate;
}
.lm-hero__visual::before,
.lm-hero__visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  aspect-ratio: 1;
}
.lm-hero__visual::before {
  width: min(94%, 33rem);
  background: radial-gradient(circle, var(--surface-card) 0 52%, rgb(255 255 255 / 0) 71%);
}
.lm-hero__visual::after {
  width: min(118%, 41rem);
  border: 1px dashed var(--border-sky);
}
.lm-cover {
  position: relative;
  width: min(72%, 21rem);
  margin: 0;
  transform: rotate(-4deg);
  transition: transform 400ms var(--ease);
}
/* Lift on hover only where a pointer hovers: on touch screens :hover sticks after a tap. */
@media (hover: hover) and (pointer: fine) {
  .lm-hero__visual:hover .lm-cover { transform: rotate(-2deg) translateY(-4px); }
}
.lm-cover__img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 34px rgb(8 65 115 / 0.2));
}
.lm-cover__sticker {
  position: absolute;
  bottom: -1.2rem;
  left: -1.8rem;
  display: grid;
  place-content: center;
  width: clamp(4.75rem, 4rem + 2vw, 6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lm-accent-ink);
  color: var(--color-text-inverse);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  line-height: 1;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 10px 24px rgb(255 98 30 / 0.35);
}
.lm-cover__sticker b {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.25rem + 0.7vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0;
}
.lm-hero__tags { position: absolute; inset: 0; pointer-events: none; }
.lm-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.15rem 0.55rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  box-shadow: var(--lm-shadow-float);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: auto;
}
.lm-tag__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface-sky);
  color: var(--ct-blue);
}
.lm-tag__icon .icon { width: 1.1rem; height: 1.1rem; }
.lm-tag--1 { top: 9%; left: -4%; }
.lm-tag--2 { bottom: 9%; right: -4%; }
.lm-tag--2 .lm-tag__icon { background: var(--lm-soft-warm); color: var(--lm-accent-ink); }

/* ==========================================================================
   2. Risks: numbered cards and the resolution strip
   ========================================================================== */
.lm-pains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.lm-pains[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-pain {
  gap: var(--sp-3);
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .lm-pain:hover { border-color: var(--border-sky); box-shadow: var(--shadow-card-soft); transform: translateY(-2px); }
}
.lm-pain__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(1rem, 0.7rem + 1vw, 2rem);
}
.lm-pain__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--lm-soft-warm);
  color: var(--lm-accent-ink);
}
.lm-pain__icon .icon { width: 1.4rem; height: 1.4rem; }
.lm-pain__num {
  font-family: var(--font-display);
  font-size: var(--fs-display-sm);
  line-height: 1;
  color: var(--border-default);
}
.lm-pain__title {
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.5rem);
  font-weight: 700;
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.lm-pain__text { font-size: var(--fs-body); line-height: var(--lh-body); opacity: 0.75; }

.lm-note {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.7rem + 1.2vw, 2rem);
  margin-top: var(--grid-gap);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1.25rem, 1rem + 1.4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--surface-sky);
  background-image: var(--texture-dark);
}
.lm-note__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--surface-card);
  color: var(--ct-blue);
}
.lm-note__icon .icon { width: 1.5rem; height: 1.5rem; }
.lm-note__text {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: var(--fs-display-sm);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.lm-note__text strong { font-weight: 400; color: var(--ct-blue); }
.lm-note .btn { flex: 0 0 auto; }

/* ==========================================================================
   3. Contents: the material as a paper sheet
   ========================================================================== */
.lm-inside { padding: var(--panel-pad-y) var(--panel-pad-x); }
.lm-inside__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--grid-gap-lg);
  align-items: center;
}
.lm-inside__copy {
  display: grid;
  justify-items: start;
  gap: clamp(1.25rem, 1rem + 1vw, 2.25rem);
}
.lm-inside__title { max-width: 11em; text-wrap: balance; }
/* Facts about the file: open line on the panel, icon in a hairline ring, hairline divider. */
.lm-specs { display: flex; flex-wrap: wrap; align-items: center; row-gap: var(--sp-4); }
.lm-spec {
  --lm-spec-gap: clamp(1.25rem, 0.9rem + 1.2vw, 2.25rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: var(--lm-spec-gap);
}
.lm-spec + .lm-spec { padding-left: var(--lm-spec-gap); border-left: 1px solid var(--border-sand); }
.lm-spec:last-child { padding-right: 0; }
.lm-spec__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-sand);
  border-radius: 50%;
  color: var(--lm-accent-ink);
}
.lm-spec__icon .icon { width: 1.2rem; height: 1.2rem; }
.lm-spec__label { display: block; font-size: var(--fs-xs); opacity: 0.6; }
.lm-spec__value {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1;
  color: var(--color-text-strong);
}

.lm-doc { position: relative; padding: var(--sp-2) var(--sp-2) var(--sp-6); }
.lm-doc::before,
.lm-doc::after {
  /* Two sheets under the top one: the material reads as a document, not as a card. */
  content: "";
  position: absolute;
  inset: var(--sp-6) var(--sp-4) 0;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-card-soft);
}
.lm-doc::before { transform: rotate(3.2deg); opacity: 0.55; }
.lm-doc::after { transform: rotate(1.4deg); opacity: 0.85; }
.lm-doc__sheet {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 1rem + 2vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--lm-shadow-float);
}
.lm-doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  margin-bottom: clamp(1.25rem, 1rem + 0.8vw, 2rem);
  border-bottom: 1px solid var(--border-soft);
}
.lm-doc__logo { width: 6rem; height: auto; color: var(--color-text-strong); }
.lm-doc__badge {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--lm-soft-warm);
  color: var(--lm-accent-ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lm-doc__label {
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--color-text-strong);
}
.lm-doc__list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: var(--sp-4);
  align-items: center;
  padding-block: clamp(0.85rem, 0.7rem + 0.4vw, 1.2rem);
  border-top: 1px dashed var(--border-default);
}
.lm-doc__list li:first-child { border-top: 0; }
.lm-doc__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--lm-accent-ink);
}
.lm-doc__text { font-size: var(--fs-body-lg); line-height: var(--lh-body); }
.lm-doc__check { width: 1.35rem; height: 1.35rem; color: var(--color-brand); }

/* ==========================================================================
   4. Company numbers
   ========================================================================== */
.lm-trust { padding: var(--panel-pad-y) var(--panel-pad-x); }
.lm-trust__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--grid-gap-lg);
  align-items: center;
}
.lm-trust__head h2 { max-width: 9em; text-wrap: balance; }
.lm-trust__img {
  justify-self: end;
  width: min(100%, 36rem);
  margin-block: calc(var(--panel-pad-y) * -0.5) calc(var(--sp-4) * -1);
}
.lm-trust__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap-lg);
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 3rem);
}
.lm-stat {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  padding-top: clamp(1rem, 0.8rem + 0.8vw, 1.75rem);
  border-top: 1px solid var(--border-default);
}
.lm-stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  line-height: 0.9;
  color: var(--color-text-strong);
  white-space: nowrap;
}
.lm-stat__suffix { color: var(--lm-accent-ink); }
.lm-stat__caption { max-width: 15em; font-size: var(--fs-body-lg); opacity: 0.75; }

/* ==========================================================================
   5. Final form
   ========================================================================== */
.lm-get { padding: var(--panel-pad-y) var(--panel-pad-x); }
.lm-get__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--grid-gap-lg);
  align-items: center;
}
.lm-get__copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  align-items: start;
}
.lm-get__cover {
  width: clamp(7rem, 4.5rem + 6vw, 12.5rem);
  transform: rotate(-5deg);
  filter: drop-shadow(0 22px 26px rgb(8 65 115 / 0.2));
}
.lm-get__text { display: grid; justify-items: start; gap: clamp(1rem, 0.8rem + 0.8vw, 1.75rem); }
.lm-get__title { max-width: 12em; text-wrap: balance; }
.lm-get__hint { max-width: 26em; font-size: var(--fs-body-lg); }
.lm-get__hint a { color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lm-get__hint a:hover { color: var(--lm-accent-ink); }
.lm-get__card {
  display: grid;
  gap: var(--sp-5);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  box-shadow: var(--lm-shadow-float);
}
.lm-get__card-title { font-size: var(--fs-h4); font-weight: 700; line-height: var(--lh-tight); }

.lm-form { gap: var(--sp-4); }
.lm-form .field__control { min-height: var(--control-h-md); font-size: var(--fs-body-lg); }
.lm-field__hint { font-size: var(--fs-xs); opacity: 0.6; }
.lm-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-xs);
  line-height: 1.4;
  cursor: pointer;
}
.lm-consent span { opacity: 0.7; }
.lm-consent input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.1rem 0 0;
  accent-color: var(--lm-accent-ink);
}
.lm-consent a { color: inherit; }

/* ==========================================================================
   6. Lead window (shell and behaviour are ds.css .ct-modal + app.js)
   ========================================================================== */
.lm-modal { width: min(34rem, 100%); }
.lm-modal__head {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: center;
  margin-bottom: var(--sp-6);
  padding-right: 2.5rem;
}
.lm-modal__cover { width: 100%; transform: rotate(-5deg); filter: drop-shadow(0 10px 14px rgb(8 65 115 / 0.2)); }
.lm-modal__kicker { margin-bottom: 0.4rem; font-size: var(--fs-caption); font-weight: 700; color: var(--lm-accent-ink); }
.lm-modal .lm-modal__title { margin: 0; font-size: var(--fs-h4); line-height: var(--lh-tight); text-wrap: balance; }

/* ==========================================================================
   7. Thank-you page: the other materials (design/build.mjs renderThanks)
   ========================================================================== */
.lm-thanks .lm-hero__lead a,
.lm-thanks .lm-hero__proof a { color: inherit; font-weight: var(--fw-medium); }
.lm-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lm-more__item { padding: 0; border-radius: var(--radius-lg); }
.lm-more__link {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-4);
  color: inherit;
  text-decoration: none;
}
.lm-more__cover {
  flex: 0 0 auto;
  width: clamp(3.75rem, 3rem + 2vw, 5rem);
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 10px 14px rgb(8 65 115 / 0.18));
}
.lm-more__body { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.lm-more__title { font-size: var(--fs-body); font-weight: var(--fw-medium); line-height: var(--lh-tight); color: var(--color-text-strong); }
.lm-more__cta { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-sm); font-weight: 700; color: var(--lm-accent-ink); }
@media (hover: hover) and (pointer: fine) {
  .lm-more__item { transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease); }
  .lm-more__item:hover { border-color: var(--border-sky); transform: translateY(-2px); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .lm-pains,
  .lm-pains[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-note { flex-wrap: wrap; }
  .lm-note__text { flex-basis: calc(100% - 5.5rem); }
  .lm-note .btn { margin-left: calc(3.5rem + clamp(1rem, 0.7rem + 1.2vw, 2rem)); }
}

/* Tablet and phone: one column. The first screen keeps the cover, but as a compact row beside the
   two contents tags instead of a stage with an orbit: on a tall single column that stage alone took
   half a screen of sky with nothing to read. */
@media (max-width: 1024px) {
  .lm-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-hero__grid,
  .lm-inside__grid,
  .lm-trust__top,
  .lm-get__grid { grid-template-columns: minmax(0, 1fr); }
  .lm-hero__visual {
    min-height: 0;
    grid-template-columns: minmax(0, 13rem) minmax(0, 21rem);
    justify-content: start;
    place-items: center start;
    gap: var(--sp-8);
    padding: var(--sp-6) 0 var(--sp-2) var(--sp-2);
  }
  .lm-hero__visual::before { top: 50%; left: -3rem; width: 19rem; translate: 0 -50%; }
  .lm-hero__visual::after { display: none; }
  .lm-cover { width: 100%; }
  .lm-hero__tags { position: static; display: grid; gap: var(--sp-3); }
  .lm-tag { position: static; }
  .lm-doc { max-width: 40rem; }
  .lm-trust__img { justify-self: center; width: min(100%, 30rem); margin: 0; }
  .lm-trust__stats { gap: var(--grid-gap); }
}

/* Phone: panels give their width to the text (the fluid --panel-pad-x still reserves ~40px per
   side at 375px), cards lay icon and title in one row, decorative art that only repeats the text
   is dropped. Nothing here hides copy: every heading, list item and caption stays on the page. */
@media (max-width: 640px) {
  .lm-more { grid-template-columns: minmax(0, 1fr); }
  .lm-page {
    --panel-pad-x: var(--sp-5);
    --panel-pad-y: var(--sp-8);
  }
  .lm-page .btn--lg {
    min-height: 3.5rem;
    gap: var(--sp-4);
    padding-inline: var(--sp-5);
    font-size: 1.0625rem;
    line-height: 1.15;
    text-wrap: balance;
  }
  .lm-page .display--lg { font-size: min(var(--fs-display-lg), 10.5vw); }
  .lm-page .display--md { font-size: min(var(--fs-display-md), 9.4vw); }

  /* First screen */
  .lm-hero { padding-block: var(--sp-6) var(--sp-8); }
  .lm-hero__copy { gap: var(--sp-5); }
  /* The last crumb repeats the h1 below it: one line with an ellipsis instead of a second line. */
  .lm-hero .breadcrumbs { flex-wrap: nowrap; max-width: 100%; white-space: nowrap; }
  .lm-hero .breadcrumbs > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .lm-kicker { padding-block: 0.45rem; border-radius: var(--radius-lg); }
  .lm-hero__lead { font-size: var(--fs-body-lg); }
  .lm-hero__actions { width: 100%; }
  .lm-hero__actions .btn { width: 100%; }
  .lm-hero__visual {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: var(--sp-5);
    padding: var(--sp-2) 0 0 var(--sp-2);
  }
  .lm-hero__visual::before { left: -2rem; width: 13rem; }
  .lm-cover { max-width: 10rem; justify-self: center; }
  /* A small cover leaves no free corner for the round sticker: it keeps the PDF mark only,
     «бесплатно» is already said by the kicker and the button. */
  .lm-cover__sticker { left: -0.6rem; bottom: -0.5rem; width: 3rem; font-size: 0; }
  .lm-cover__sticker b { margin: 0; font-size: 1.05rem; }
  /* Tags turn from floating pills into a short list: a two-line pill becomes an oval. */
  .lm-hero__tags { gap: var(--sp-4); }
  .lm-tag {
    align-items: flex-start;
    gap: var(--sp-3);
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: var(--fs-caption);
    line-height: 1.25;
    white-space: normal;
  }
  .lm-tag__icon { width: 2rem; height: 2rem; margin-top: -0.3rem; background: var(--surface-card); }
  .lm-tag__icon .icon { width: 0.95rem; height: 0.95rem; }

  /* Risks: icon, title and number in one row, text under all three. */
  .lm-pains,
  .lm-pains[data-count="3"] { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .lm-pain {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-5);
  }
  .lm-pain__top { display: contents; }
  .lm-pain__icon { grid-area: 1 / 1; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); }
  .lm-pain__icon .icon { width: 1.2rem; height: 1.2rem; }
  .lm-pain__num { grid-area: 1 / 3; align-self: start; font-size: 1.125rem; }
  .lm-pain__title { grid-area: 1 / 2; padding-left: var(--sp-1); font-size: 1.125rem; hyphens: auto; overflow-wrap: break-word; }
  .lm-pain__text { grid-column: 1 / -1; font-size: var(--fs-sm); }

  .lm-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--sp-4);
    margin-top: var(--sp-3);
    padding: var(--sp-5);
  }
  .lm-note__icon { width: 2.5rem; height: 2.5rem; }
  .lm-note__icon .icon { width: 1.2rem; height: 1.2rem; }
  .lm-note__text { font-size: 1.375rem; }
  .lm-note .btn { grid-column: 1 / -1; width: 100%; margin-left: 0; }

  /* Contents */
  .lm-inside,
  .lm-get { padding-inline: var(--sp-4); }
  .lm-inside__copy,
  .lm-get__text { padding-inline: var(--sp-1); }
  .lm-inside__copy { gap: var(--sp-5); }
  .lm-inside__copy .btn { width: 100%; }
  .lm-spec { --lm-spec-gap: var(--sp-4); gap: 0.6rem; }
  .lm-spec__icon { width: 2.25rem; height: 2.25rem; }
  .lm-doc { padding: 0 0 var(--sp-4); }
  .lm-doc::before,
  .lm-doc::after { inset: var(--sp-4) var(--sp-3) 0; }
  .lm-doc__sheet { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
  .lm-doc__head { padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); }
  .lm-doc__logo { width: 5rem; }
  .lm-doc__list li {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: var(--sp-3);
    align-items: baseline;
    padding-block: var(--sp-3);
  }
  .lm-doc__num { font-size: 1.3rem; }
  .lm-doc__text { font-size: var(--fs-body); }
  .lm-doc__check { display: none; }

  /* Company numbers: the warehouse art only decorates the heading, the numbers carry the block.
     Each number sits on one row with its caption instead of a screen-tall column. */
  .lm-trust__img { display: none; }
  .lm-trust__stats { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: var(--sp-5); }
  .lm-stat {
    grid-template-columns: 6.25rem minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-4);
    padding-block: var(--sp-4);
  }
  .lm-stat__value { font-size: 2.5rem; }
  .lm-stat__caption { font-size: var(--fs-body); }

  /* Final form */
  .lm-get__copy { grid-template-columns: minmax(0, 1fr); }
  .lm-get__cover { display: none; }
  .lm-get__hint { font-size: var(--fs-body); }
  .lm-get__card { gap: var(--sp-4); padding: var(--sp-5) var(--sp-4); }
  .lm-get__card-title { font-size: 1.1875rem; }

  /* Lead window: the cover and the label share a row, the title takes the full width below, so
     the close button no longer squeezes the title into a one-word column. */
  .lm-modal { max-height: calc(100dvh - 2.5rem); padding: var(--sp-5); }
  .lm-modal__head {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: var(--sp-3) var(--sp-4);
    margin-bottom: var(--sp-5);
    padding-right: 0;
  }
  .lm-modal__head > div { display: contents; }
  .lm-modal__kicker { margin: 0; padding-right: 2.75rem; }
  .lm-modal .lm-modal__title { grid-column: 1 / -1; font-size: 1.375rem; }

  /* Site footer: the two link lists share a row, links get a taller tap area. */
  .lm-page .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8) var(--sp-5); }
  .lm-page .footer__brand,
  .lm-page .footer__col:not(nav),
  .lm-page .footer__cabinet { grid-column: 1 / -1; }
  .lm-page .footer__col { gap: var(--sp-1); }
  .lm-page .footer__heading { margin-bottom: var(--sp-2); }
  .lm-page .footer__col a { padding-block: 0.3rem; }
  .lm-page .footer__bottom-links a { display: inline-block; padding-block: 0.3rem; }
}

@media (max-width: 400px) {
  .lm-page .ct-modal { padding: var(--sp-3); }
  /* «немаркированный» and similar long words need the room of a slimmer icon column. */
  .lm-pain { grid-template-columns: 2.5rem minmax(0, 1fr) auto; column-gap: var(--sp-2); padding-inline: var(--sp-4); }
  .lm-pain__icon { width: 2.5rem; height: 2.5rem; }
  .lm-pain__title { padding-left: var(--sp-2); }
  .lm-pain__num { font-size: 1rem; }
  .lm-stat { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .lm-stat__value { font-size: 2.25rem; }
}
