/*
  SEO landing pages (etichette-scuola, etichette-da-stampare,
  etichette-adesive-da-stampare, etichette-a4, targhetta-citofono-da-stampare).

  Same visual world as the rest of the site (tokens in style.css). The ruler
  is the common thread: measurement is the product's promise, so labels are
  always dimensioned in centimetres and objects are drawn to scale.

  Animations start from an already visible state: the "before" state is
  applied only when landing.js adds .lp-motion to <html> (JS on and no
  reduced-motion preference).
*/

.lp {
  --deep: #153c32;
  --sage: #dce9c5;
  --sage-2: #c9dfa8;
  --sage-3: #e9f0de;
  --lime: #c9f36a;
  --leaf: #628531;
  --coral: #ff7557;
  --card: #fffefa;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --cm: 34px;            /* stage scale: px per cm in the preview */
  --mm: 1.25px;          /* shelf scale: 1 mm of the real object */
  --gutter: max(24px, calc((100% - 1160px) / 2));
}

/* Browser surfaces in the site colours */
.lp ::selection { background: var(--lime); color: var(--ink); }
.lp :focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.lp a { text-underline-offset: 3px; }

/* ================= fixed ruler ================= */
.lp-ruler {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 40;
  width: 72px;
  background: var(--card);
  border-right: 1px solid var(--line);
  overflow: hidden;
  display: none;
}
.lp-ruler-ticks {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(100% + 2cm);
  background-image:
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 1cm),
    repeating-linear-gradient(to bottom, #6f7c74 0 1px, transparent 1px 0.5cm),
    repeating-linear-gradient(to bottom, #b4bcb4 0 1px, transparent 1px 1mm);
  background-size: 26px 100%, 17px 100%, 10px 100%;
  background-repeat: no-repeat;
  background-position: right top;
  transform: translateY(var(--ruler-y, 0px));
  will-change: transform;
}
.lp-ruler-nums { position: absolute; inset: 0; }
.lp-ruler-nums span {
  position: absolute; right: 31px;
  font: 500 10px/1 var(--font-mono); color: var(--ink);
  transform: translateY(-50%);
}
.lp-ruler-mark {
  position: absolute; left: 0; right: 0; top: 46%;
  height: 0; border-top: 1.5px solid var(--leaf);
}
.lp-ruler-mark b {
  position: absolute; left: 5px; right: 5px; bottom: 4px;
  font: 500 10px/1.25 var(--font-mono); color: var(--deep);
  background: var(--lime); padding: 4px 5px; border-radius: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-ruler-mark small { display: block; font-size: 9px; overflow: hidden; text-overflow: ellipsis; }
.lp-hruler {
  position: sticky; top: 0; z-index: 40;
  height: 30px;
  background: var(--card);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.lp-hruler-ticks {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% + 2cm);
  background-image:
    repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 1cm),
    repeating-linear-gradient(to right, #6f7c74 0 1px, transparent 1px 0.5cm),
    repeating-linear-gradient(to right, #b4bcb4 0 1px, transparent 1px 1mm);
  background-size: 100% 13px, 100% 9px, 100% 5px;
  background-repeat: no-repeat;
  transform: translateX(var(--ruler-x, 0px));
}
.lp-hruler-mark {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font: 500 11px/1 var(--font-mono); color: var(--deep);
  background: var(--lime); padding: 5px 8px; border-radius: 5px; white-space: nowrap;
}
.lp-hruler::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 3px;
  width: calc(var(--progress, 0) * 100%); background: var(--leaf);
}
@media (min-width: 1240px) {
  .lp-ruler { display: block; }
  .lp-hruler { display: none; }
  .lp-has-ruler { padding-left: 72px; }
}

/* ================= dimensioned hero ================= */
.lp-hero {
  padding: 40px var(--gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  grid-template-areas: "stage head" "stage act";
  grid-template-rows: auto 1fr;
  column-gap: 52px;
  align-items: start;
}
.lp-hero-head { grid-area: head; min-width: 0; padding-top: 18px; }
.lp-hero-act { grid-area: act; min-width: 0; }
.lp-hero .lp-stage { grid-area: stage; }
.lp-stage {
  position: relative;
  /* The stage stands for a real area of --stage-cm × (--stage-cm × 0.9) cm,
     so label and object stay in proportion at every width. */
  --stage-cm: 20;
  --cm: calc(100cqw / var(--stage-cm));
  container-type: inline-size;
  aspect-ratio: 10 / 9;
  border-radius: 20px;
  background: var(--sage);
  overflow: hidden;
  isolation: isolate;
}
.lp-stage::before {
  content: ""; position: absolute; z-index: -1;
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--sage-2); right: -110px; top: -140px;
}
.lp-stage-object { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-stage-caption {
  position: absolute; left: 22px; bottom: 20px;
  font: 500 11px/1.4 var(--font-mono); color: #4f6157;
  background: var(--card); border: 1px solid #d3dcc6;
  padding: 8px 11px; border-radius: 8px;
}

/* Dimensioned label: width and height in cm × stage scale */
.lp-tagbox {
  position: absolute;
  left: var(--lx, 50%); top: var(--ly, 50%);
  width: calc(var(--w, 5) * var(--cm));
  height: calc(var(--h, 1.5) * var(--cm));
  transform: translate(-50%, -50%) rotate(var(--lr, 0deg));
  transition: width .6s var(--ease-out), height .6s var(--ease-out);
}
.lp-tag {
  position: absolute; inset: 0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 0 #00000014, 0 6px 14px #1d362a1f;
  display: grid; place-items: center;
  padding: 0 6px;
  overflow: hidden;
}
.lp-tag span {
  font: 800 var(--tag-fs, 18px)/1.05 var(--font-display);
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
}
.lp-tag--cut { box-shadow: none; outline: 1px dashed #9aa58f; outline-offset: 3px; }

.lp-dim { position: absolute; color: var(--ink); pointer-events: none; }
.lp-dim--w { left: 0; right: 0; top: calc(100% + 16px); height: 0; border-top: 1.5px solid currentColor; }
.lp-dim--h { top: 0; bottom: 0; left: calc(100% + 16px); width: 0; border-left: 1.5px solid currentColor; }
.lp-dim::before, .lp-dim::after { content: ""; position: absolute; background: currentColor; }
.lp-dim--w::before, .lp-dim--w::after { top: -6px; width: 1.5px; height: 11px; }
.lp-dim--w::before { left: 0; } .lp-dim--w::after { right: 0; }
.lp-dim--h::before, .lp-dim--h::after { left: -6px; height: 1.5px; width: 11px; }
.lp-dim--h::before { top: 0; } .lp-dim--h::after { bottom: 0; }
.lp-dim output {
  position: absolute;
  font: 500 12px/1 var(--font-mono);
  background: var(--lime); color: var(--deep);
  padding: 5px 7px; border-radius: 5px; white-space: nowrap;
}
.lp-dim--w output { left: 50%; top: 8px; transform: translateX(-50%); }
.lp-dim--h output { top: 50%; left: 10px; transform: translateY(-50%); }

.lp-hero h1 {
  font: 800 clamp(36px, 3.7vw, 52px)/1.02 var(--font-display);
  letter-spacing: -.045em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.lp-hero h1 em { font-style: normal; color: var(--leaf); }
.lp-lede { font-size: 17px; line-height: 1.65; color: #5d6b63; margin: 0 0 26px; max-width: 54ch; }

.lp-form { display: grid; gap: 10px; max-width: 540px; }
.lp-form label { font: 500 11px/1 var(--font-mono); color: #5b6b62; letter-spacing: .04em; }
.lp-form-row { display: flex; gap: 10px; }
.lp .lp-input {
  flex: 1; min-width: 0; height: 54px;
  border: 1.5px solid var(--ink); border-radius: 9px;
  background: var(--card); color: var(--ink);
  padding: 0 16px;
  font: 700 18px var(--font-display); letter-spacing: -.01em;
  caret-color: var(--leaf);
}
.lp .lp-input:focus { outline: none; box-shadow: 0 0 0 4px #c9f36a99; }
.lp .lp-input::placeholder { color: #6f7a72; font-weight: 600; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 22px;
  border: 0; border-radius: 9px;
  background: var(--ink); color: #fff;
  font: 700 14px var(--font-ui);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s ease, transform .2s var(--ease-out);
}
.lp-btn:hover { background: #284c3c; color: #fff; text-decoration: none; transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }
.lp-btn svg { width: 16px; height: 16px; }
.lp-btn--light { background: var(--card); color: var(--ink); border: 1px solid #d3d8cd; }
.lp-btn--light:hover { background: #fff; color: var(--ink); }

.lp-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp-sizes-label { width: 100%; font: 500 11px/1 var(--font-mono); color: #5b6b62; letter-spacing: .04em; margin-bottom: 2px; }
.lp-chip {
  border: 1px solid #d3d8cd; border-radius: 999px;
  background: var(--card); color: #3f4f47;
  padding: 8px 12px;
  font: 500 12px/1 var(--font-mono);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lp-chip:hover { border-color: var(--leaf); }
.lp-chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--lime); }
.lp-hint { font-size: 13px; color: #56625b; margin: 12px 0 0; }

.lp-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #4f6057; }
.lp-proof li { display: flex; align-items: center; gap: 7px; }
.lp-proof svg { width: 15px; height: 15px; color: var(--leaf); flex: none; }

/* ================= sections ================= */
.lp-section { padding: 96px var(--gutter); }
.lp-section--tint { background: var(--sage-3); }
.lp-section--deep { background: var(--deep); color: #e8efe6; }
.lp-head { max-width: 680px; margin: 0 0 48px; }
.lp-head h2 {
  font: 800 clamp(30px, 3.6vw, 46px)/1.05 var(--font-display);
  letter-spacing: -.04em; margin: 0 0 16px; text-wrap: balance;
}
.lp-head p { font-size: 17px; line-height: 1.65; color: #5d6b63; margin: 0; }
.lp-section--deep .lp-head p { color: #b9c9bf; }
.lp-section--deep .lp-head h2 { color: #fff; }
.lp-prose { max-width: 68ch; }
.lp-prose p { font-size: 16px; line-height: 1.7; color: #4c5a52; margin: 0 0 16px; }
.lp-prose h3 { font: 700 20px/1.3 var(--font-display); letter-spacing: -.02em; margin: 28px 0 8px; }

/* ================= proportional shelf ================= */
.lp-shelf {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 28px 44px;
  padding-bottom: 0;
}
.lp-item { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.lp-item-art {
  position: relative;
  height: 320px;
  display: flex; align-items: flex-end; justify-content: flex-start;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}
.lp-item-art svg { display: block; overflow: visible; }
.lp-item-scale {
  height: 22px; margin-bottom: 20px;
  background-image:
    repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px calc(var(--mm) * 10)),
    repeating-linear-gradient(to right, #a3ada4 0 1px, transparent 1px calc(var(--mm) * 5));
  background-size: 100% 11px, 100% 6px;
  background-repeat: no-repeat;
}
/* Drawn at 1 CSS cm per cm; when it does not fit, the whole label (text
   included) scales down proportionally instead of distorting. */
.lp-item-quote { padding: 2px 0 50px; min-height: 2.4cm; container-type: inline-size; }
.lp-qbox {
  --q: min(1cm, (100cqw - 96px) / var(--w));
  position: relative; width: calc(var(--w) * var(--q)); height: calc(var(--h) * var(--q));
}
.lp-qbox .lp-tag { padding: 0 4px; }
.lp-qbox .lp-tag span { font-size: calc(var(--fs) * var(--q)); }
.lp-qbox .lp-dim--w { top: calc(100% + 12px); }
.lp-qbox .lp-dim--h { left: calc(100% + 12px); }
.lp-qbox .lp-dim output { font-size: 11px; padding: 4px 6px; }
.lp-motion .lp-reveal .lp-qbox { opacity: 0; transform: translateY(-10px) rotate(-4deg); }
.lp-motion .lp-reveal.is-in .lp-qbox { opacity: 1; transform: none; transition: opacity .35s ease, transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms + 450ms); }
.lp-item h3 { font: 700 19px/1.25 var(--font-display); letter-spacing: -.02em; margin: 0 0 6px; }
.lp-item p { font-size: 15px; line-height: 1.6; color: #55635b; margin: 0; }

/* Labels "stick" when the shelf scrolls into view */
.lp-stick { transform-box: fill-box; transform-origin: center; }
.lp-motion .lp-reveal .lp-stick { opacity: 0; transform: translateY(-18px) rotate(-7deg) scale(1.08); }
.lp-motion .lp-reveal.is-in .lp-stick {
  opacity: 1; transform: none;
  transition: opacity .35s ease, transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms + 150ms);
}

/* ================= steps ================= */
.lp-steps-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lp-steps-aside { position: sticky; top: 32px; }
.lp-steps-aside .lp-head { margin-bottom: 28px; }
.lp-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.lp-step {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px; gap: 22px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.lp-step:last-child { border-bottom: 1px solid var(--line); }
.lp-step-n {
  counter-increment: step;
  font: 500 13px/1 var(--font-mono); color: #4b6b24;
  align-self: start; padding-top: 6px;
}
.lp-step-n::before { content: counter(step, decimal-leading-zero); }
.lp-step h3 { font: 700 20px/1.25 var(--font-display); letter-spacing: -.02em; margin: 0 0 6px; }
.lp-step p { font-size: 15px; line-height: 1.6; color: #55635b; margin: 0; }
.lp-step-art { width: 150px; height: 96px; }
.lp-step-art svg { width: 100%; height: 100%; display: block; }

/* ================= print scale ================= */
.lp-scale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-scale-figure { background: var(--card); border: 1px solid #d9e2cd; border-radius: 16px; padding: 30px 28px 26px; color: var(--ink); }
.lp-scale-row { margin-bottom: 26px; }
.lp-scale-row:last-of-type { margin-bottom: 14px; }
.lp-scale-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font: 500 12px/1 var(--font-mono); }
.lp-scale-label b { font-weight: 500; padding: 4px 7px; border-radius: 5px; }
.lp-scale-row--ok .lp-scale-label b { background: var(--lime); color: var(--deep); }
.lp-scale-row--ko .lp-scale-label b { background: #f6ddd6; color: #8f3626; }
.lp-scale-bar {
  height: 46px; width: calc(var(--len) * 10%);
  border: 1.5px solid var(--ink); border-radius: 3px; background: #fff;
  display: grid; place-items: center;
  font: 800 15px var(--font-display); letter-spacing: -.02em;
  transform-origin: left center;
}
.lp-scale-row--ko .lp-scale-bar { border-color: var(--brick); color: var(--brick); border-style: dashed; }
.lp-motion .lp-reveal .lp-scale-row--ko .lp-scale-bar { width: calc(var(--from) * 10%); }
.lp-motion .lp-reveal.is-in .lp-scale-row--ko .lp-scale-bar { width: calc(var(--len) * 10%); transition: width 1.1s var(--ease-out) .5s; }
.lp-scale-ruler {
  position: relative; height: 30px; margin-top: 6px;
  background-image:
    repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 10%),
    repeating-linear-gradient(to right, #a3ada4 0 1px, transparent 1px 2%);
  background-size: 100.2% 12px, 100.2% 7px; background-repeat: no-repeat;
}
.lp-scale-ruler span { position: absolute; top: 15px; font: 500 10px/1 var(--font-mono); transform: translateX(-50%); color: var(--ink); }
.lp-settings { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.lp-settings li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-radius: 10px; background: #ffffff14; font-size: 15px; }
.lp-settings b { font: 500 13px var(--font-mono); color: var(--lime); }

/* ================= sheet anatomy / formats ================= */
.lp-stage--sheet { aspect-ratio: auto; container-type: normal; display: grid; place-items: center; padding: 48px 64px 56px 48px; }
.lp-stage--sheet .lp-sheet { max-width: 330px; }
.lp-sheet-dim { position: absolute; font: 500 11px/1 var(--font-mono); color: var(--deep); background: var(--lime); padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.lp-sheet-dim--w { left: 50%; top: -30px; transform: translateX(-50%); }
.lp-sheet-dim--h { right: -16px; top: 50%; transform: translate(100%, -50%) rotate(90deg); transform-origin: left center; }
.lp-sheet-grid i { display: grid; place-items: center; overflow: hidden; font: 700 7px/1.1 var(--font-display); color: var(--deep); text-align: center; white-space: nowrap; }
.lp-sheet-count { position: absolute; left: 20px; bottom: 18px; font: 500 11px/1 var(--font-mono); background: var(--deep); color: var(--lime); padding: 8px 10px; border-radius: 8px; }
.lp-sheet {
  position: relative; aspect-ratio: 210 / 297; width: 100%; max-width: 420px;
  background: #fff; border: 1px solid #cfd6c6; border-radius: 4px;
  box-shadow: 0 24px 50px #273a2433;
}
.lp-sheet-grid { position: absolute; display: grid; transition: all .6s var(--ease-out); }
.lp-sheet-grid i { display: block; border: 1px dashed #9aa58f; border-radius: 2px; transition: background .3s ease; }
.lp-sheet-grid i:nth-child(1) { background: #f2f8e8; border: 1px solid var(--leaf); }

.lp-formats { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-formats th { text-align: left; font: 500 11px/1.2 var(--font-mono); color: #5b6b62; letter-spacing: .04em; padding: 0 12px 12px 0; border-bottom: 2px solid var(--ink); }
.lp-formats td { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lp-formats td:first-child { font-weight: 700; }
.lp-formats td.num { font: 500 14px var(--font-mono); font-variant-numeric: tabular-nums; }
.lp-formats-swatch { display: inline-block; vertical-align: middle; background: #fff; border: 1.5px solid var(--ink); border-radius: 2px; }

/* ================= media / data comparison ================= */
.lp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lp-duo figure { margin: 0; }
.lp-duo-art { background: var(--sage); border-radius: 16px; height: 300px; display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.lp-duo-art svg { width: 82%; height: 82%; }
.lp-duo h3 { font: 700 20px/1.25 var(--font-display); letter-spacing: -.02em; margin: 0 0 6px; }
.lp-duo p { font-size: 15px; line-height: 1.6; color: #55635b; margin: 0; }

.lp-merge { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.lp-merge table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-merge th { text-align: left; font: 500 11px var(--font-mono); background: var(--surface); padding: 9px 10px; }
.lp-merge td { padding: 9px 10px; border-top: 1px solid var(--line); }
.lp-merge-arrow { width: 40px; height: 40px; color: var(--leaf); }
.lp-merge-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lp-merge-out span { border: 1px dashed #9aa58f; background: #fff; border-radius: 3px; padding: 10px 6px; text-align: center; font: 700 13px/1.2 var(--font-display); }
.lp-motion .lp-reveal .lp-merge-out span { opacity: 0; transform: translateX(-10px); }
.lp-motion .lp-reveal.is-in .lp-merge-out span { opacity: 1; transform: none; transition: opacity .3s ease, transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 300ms); }

/* ================= FAQ ================= */
.lp-faq { max-width: 820px; }
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font: 700 18px/1.35 var(--font-display); letter-spacing: -.015em;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary svg { width: 18px; height: 18px; flex: none; color: var(--leaf); transition: transform .3s var(--ease-out); }
.lp-faq details[open] summary svg { transform: rotate(45deg); }
.lp-faq details p { margin: -6px 0 22px; font-size: 16px; line-height: 1.7; color: #4c5a52; max-width: 66ch; }

/* ================= related guides ================= */
.lp-related { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.lp-related li { border-bottom: 1px solid var(--line); }
.lp-related a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 20px; align-items: center;
  padding: 22px 4px; color: var(--ink); text-decoration: none;
  transition: background .2s ease, padding .3s var(--ease-out);
}
.lp-related a:hover { background: var(--sage-3); padding-left: 14px; color: var(--ink); text-decoration: none; }
.lp-related strong { font: 700 20px/1.25 var(--font-display); letter-spacing: -.02em; }
.lp-related small { display: block; font-size: 14px; color: #5f6c65; margin-top: 4px; font-weight: 400; }
.lp-related code { font: 500 12px var(--font-mono); color: #5b6b62; background: none; }
.lp-related svg { width: 20px; height: 20px; color: var(--leaf); }

/* ================= closing ================= */
.lp-close {
  margin: 0 var(--gutter) 72px; border-radius: 20px;
  background: var(--deep); color: #fff;
  padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.lp-close h2 { font: 800 clamp(28px, 3.4vw, 42px)/1.05 var(--font-display); letter-spacing: -.04em; margin: 0 0 10px; color: #fff; }
.lp-close p { margin: 0; color: #b9c9bf; font-size: 16px; }
.lp-close .lp-btn { background: var(--lime); color: var(--deep); }
.lp-close .lp-btn:hover { background: #d8f88f; color: var(--deep); }

/* Stage entrance: the dimension lines draw themselves */
.lp-motion .lp-dim--w { animation: lp-draw-x .9s var(--ease-out) .35s both; }
.lp-motion .lp-dim--h { animation: lp-draw-y .9s var(--ease-out) .55s both; }
.lp-motion .lp-dim output { animation: lp-pop .5s var(--ease-out) 1s both; }
.lp-motion .lp-tagbox { animation: lp-stick .8s var(--ease-out) .1s both; }
@keyframes lp-draw-x { from { clip-path: inset(-20px 100% -40px 0); } to { clip-path: inset(-20px 0 -40px 0); } }
@keyframes lp-draw-y { from { clip-path: inset(0 -80px 100% -20px); } to { clip-path: inset(0 -80px 0 -20px); } }
@keyframes lp-pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-stick {
  from { opacity: 0; transform: translate(-50%, calc(-50% - 22px)) rotate(calc(var(--lr, 0deg) - 8deg)) scale(1.06); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(var(--lr, 0deg)); }
}

/* ================= responsive ================= */
@media (max-width: 1080px) {
  .lp-hero { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "act"; grid-template-rows: auto; row-gap: 28px; padding-top: 28px; }
  .lp-hero-head { padding-top: 0; }
  .lp-stage { max-width: 620px; width: 100%; justify-self: center; }
  .lp-steps-wrap { grid-template-columns: 1fr; gap: 24px; }
  .lp-steps-aside { position: static; }
  .lp-scale { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .lp { --cm: 26px; --mm: .62px; }
  .lp-section { padding: 64px 20px; }
  .lp-hero { padding: 12px 20px 48px; row-gap: 18px; }
  .lp-stage { border-radius: 16px; }
  .lp-lede { font-size: 15px; line-height: 1.55; margin-bottom: 0; }
  .lp-hero h1 { margin-bottom: 10px; font-size: 33px; }
  .lp-stage--sheet { padding: 34px 44px 46px 24px; }
  .lp-stage--sheet .lp-sheet { max-width: 210px; }
  .lp-dim output { font-size: 10px; padding: 4px 5px; }
  .lp-form-row { flex-direction: column; }
  .lp .lp-input { flex: none; }
  .lp-shelf { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .lp-item-art { height: auto; min-height: 0; padding-top: 8px; }
  .lp-item-quote { min-height: 0; padding-bottom: 42px; }
  .lp-shelf .lp-item h3 { font-size: 17px; }
  .lp-shelf .lp-item p { font-size: 14px; }
  .lp-btn { width: 100%; }
  .lp-head { margin-bottom: 32px; }
  .lp-step { grid-template-columns: 52px minmax(0, 1fr); }
  .lp-step-art { display: none; }
  .lp-duo { grid-template-columns: 1fr; }
  .lp-duo-art { height: 240px; }
  .lp-merge { grid-template-columns: 1fr; padding: 20px; }
  .lp-merge-arrow { transform: rotate(90deg); justify-self: center; }
  .lp-close { margin: 0 20px 48px; padding: 36px 24px; grid-template-columns: 1fr; }
  .lp-related a { grid-template-columns: minmax(0, 1fr) 20px; }
  .lp-related code { display: none; }
  .lp-item-art { height: 170px; }
  .lp-formats { font-size: 14px; }
  .lp-formats th:nth-child(4), .lp-formats td:nth-child(4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}
