/* ============================================================
   LANDING — eco-paper / cardboard aesthetic
   Inherits palette + typography from style.css.
   Layered, paper-textured, peach-accented.
   No animations yet — skeleton only.
   ============================================================ */

/* --- paper / cardboard textures (CSS-only, no rasters) ------- */
:root[data-theme="light"] .landing-body {
  --paper:        #fbf6ee;          /* warm cream, like recycled paper */
  --paper-2:      #f3ebdc;          /* slightly darker — for cards */
  --paper-edge:   #e6dcc6;          /* card border */
  --paper-deep:   #d9cdb1;          /* deep cardboard */
  --paper-fg:     #1a1410;          /* near-black with warm tilt */
  --paper-fg-2:   #4a4035;
  --paper-muted:  #8a7e6c;
}
:root[data-theme="dark"] .landing-body {
  --paper:        #1a140e;          /* darkened cardboard */
  --paper-2:      #221b13;
  --paper-edge:   #2e2519;
  --paper-deep:   #3a2f20;
  --paper-fg:     #f5e9d8;
  --paper-fg-2:   #c8baa3;
  --paper-muted:  #8a7e6c;
}

.landing-body {
  background: var(--paper);
  color: var(--paper-fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   DOT-GRID — Moleskine-style background, fixed to viewport.
   The actual dots and swap animation live in static/dot-grid.js;
   here we just position the SVG layer behind everything.
   ============================================================ */
.lp-dotgrid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lp-dotgrid svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Sections must own their stacking context so the dot layer stays behind.
   .lp-nav is intentionally excluded — it's already position: sticky with
   z-index: 50 in its own rule, and adding `position: relative` here
   would silently kill the sticky behaviour and the nav would scroll
   away with the page. */
.lp-section,
.lp-footer { position: relative; z-index: 1; }

/* --- typography overrides for landing only ------------------ */
.landing-body h1,
.landing-body h2,
.landing-body h3 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--paper-fg);
}
.landing-body p { margin: 0; }


/* ============================================================
   NAV — top-right cluster (operate.so-style)
   ============================================================ */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  background: rgba(251, 246, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--paper-edge);
}
:root[data-theme="dark"] .lp-nav {
  background: rgba(26, 20, 14, 0.85);
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper-fg);
  font-weight: 700;
}
.lp-logo-mark {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.lp-logo-text {
  font-size: 15px;
  letter-spacing: -0.01em;
}
.lp-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-nav-links a {
  color: var(--paper-fg-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.lp-nav-links a:hover {
  color: var(--paper-fg);
  background: var(--paper-2);
}
.lp-icon-btn {
  background: transparent;
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  color: var(--paper-fg-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s, color .15s, background .15s;
}
.lp-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--paper-2);
}
.lp-cta-link {
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 10px 18px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 12px -4px var(--accent-line);
}
.lp-cta-link:hover {
  background: var(--accent-hover) !important;
  color: #ffffff !important;
}


/* ============================================================
   COMMON SECTION SHELL
   ============================================================ */
.lp-section {
  padding: 96px 36px;
  max-width: 1280px;
  margin: 0 auto;
}
.lp-section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.lp-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 99px;
  background: var(--accent-soft);
  margin-bottom: 20px;
}
.lp-h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 24px;
  max-width: 18ch;
}
.lp-h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 16px;
}
.lp-section-lead {
  font-size: 18px;
  color: var(--paper-fg-2);
  max-width: 60ch;
  margin: 0 auto;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
  line-height: 1;
}
.lp-btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 8px 22px -10px var(--accent),
    0 2px 6px -3px var(--accent-line);
}
.lp-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 12px 30px -10px var(--accent),
    0 4px 10px -3px var(--accent-line);
}
.lp-btn-big {
  padding: 18px 32px;
  font-size: 17px;
  border-radius: 12px;
}
.lp-btn-ghost {
  background: var(--paper-2);
  color: var(--paper-fg);
  border-color: var(--paper-edge);
}
.lp-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lp-btn-link {
  background: transparent;
  color: var(--accent);
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.lp-hero {
  padding-top: 56px;
  padding-bottom: 56px;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 70vh;
}
.lp-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.lp-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--paper-fg-2);
  max-width: 52ch;
  margin-bottom: 32px;
}
.lp-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.lp-hero-note {
  font-size: 13px;
  color: var(--paper-muted);
}

/* HERO DEMO — двухпанельный мокап «работа → рецензия» */
.lp-hero-demo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.lp-demo-pane {
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 14px 40px -20px rgba(60, 40, 20, 0.25),
    0 4px 12px -6px rgba(60, 40, 20, 0.15);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
/* Lightly tilt the demo panes — breaks the "two perfect towers" feel */
.lp-demo-article { transform: rotate(-0.5deg); }
.lp-demo-review  { transform: rotate(0.4deg); }
.lp-demo-pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-edge);
  margin-bottom: 14px;
}
.lp-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper-deep);
}
.lp-demo-dot-active {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.lp-demo-pane-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--paper-muted);
}
.lp-demo-article-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--paper-fg-2);
  flex: 1;
}
.lp-demo-article-body p { margin-bottom: 9px; }
.lp-demo-article-body p.lp-demo-h {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--paper-fg);
  margin: 4px 0 12px;
  letter-spacing: -0.01em;
}
.lp-demo-article-body p.lp-demo-fade {
  color: var(--paper-muted);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
.lp-demo-pane-pages {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--paper-muted);
  letter-spacing: 0.03em;
}
.lp-demo-chunk {
  display: inline-block;
  width: 60px;
  height: 8px;
  margin: 0 4px;
  background: var(--accent-soft);
  border-radius: 2px;
  vertical-align: middle;
}
.lp-demo-review-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.lp-demo-finding {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-demo-finding-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
  padding: 3px 8px;
  background: var(--accent-soft);
  border-radius: 4px;
}
.lp-demo-finding-tag-warn {
  color: var(--warning, #b86e00);
  background: var(--warning-soft, rgba(184, 110, 0, 0.10));
}
.lp-demo-finding-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-fg);
}

.lp-hero-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--paper-edge);
}
.lp-hero-marquee {
  display: flex;
  gap: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--paper-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   SECTION — DELIVERABLES (4 cards)
   ============================================================ */
.lp-deliv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-deliv-card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 10px 28px -16px rgba(60, 40, 20, 0.20);
  transition: transform .15s, box-shadow .15s;
}
.lp-deliv-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 16px 36px -16px rgba(60, 40, 20, 0.28);
}
.lp-deliv-card-feature {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, transparent 60%),
    var(--paper);
}
.lp-deliv-tag-feature {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
}
.lp-deliv-icon {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-deliv-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--paper-fg);
  line-height: 1.2;
}
.lp-deliv-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--paper-fg-2);
  flex: 1;
}
.lp-deliv-mock {
  margin-top: auto;
  padding: 12px;
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-deliv-mock-line {
  height: 6px;
  background: var(--paper-deep);
  border-radius: 3px;
  opacity: 0.4;
}
.lp-deliv-mock-line-short { width: 40%; }
.lp-deliv-mock-line-mid   { width: 70%; }
.lp-deliv-mock-scores {
  gap: 8px;
}
.lp-deliv-score {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-deliv-score-bar {
  height: 8px;
  border-radius: 4px;
  flex: 1;
  background: var(--paper-deep);
}
.lp-deliv-score-bar-good      { background: var(--good); width: 70%; }
.lp-deliv-score-bar-fair      { background: var(--warning); width: 45%; }
.lp-deliv-score-bar-excellent { background: var(--accent); width: 90%; }
.lp-deliv-score-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--paper-muted);
  flex-shrink: 0;
  min-width: 140px;
  text-align: right;
  white-space: nowrap;
}
.lp-deliv-mock-trainer {
  flex-direction: column;
  gap: 10px;
}
.lp-deliv-mock-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-fg);
  line-height: 1.4;
}
.lp-deliv-mock-attempts {
  display: flex;
  gap: 5px;
}
.lp-deliv-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper-edge);
  border: 1px solid var(--paper-deep);
}
.lp-deliv-mock-dot-used { background: var(--paper-deep); }
.lp-deliv-mock-dot-active {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}


/* ============================================================
   SECTION — FAQ
   ============================================================ */
.lp-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-faq-item {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 6px 18px -12px rgba(60, 40, 20, 0.18);
  transition: border-color .15s;
}
.lp-faq-item[open] {
  border-color: var(--accent-line);
}
.lp-faq-q {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper-fg);
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.lp-faq-q::-webkit-details-marker { display: none; }
.lp-faq-q::after {
  content: "+";
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
}
.lp-faq-item[open] .lp-faq-q::after {
  transform: rotate(45deg);
}
.lp-faq-q:hover {
  color: var(--accent);
}
.lp-faq-a {
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-fg-2);
}


/* ============================================================
   SECTION 2 — TRAINER
   ============================================================ */
.lp-trainer {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 36px;
  padding-right: 36px;
}
.lp-trainer-demo {
  max-width: 720px;
  margin: 0 auto 64px;
}
.lp-trainer-card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 16px;
  padding: 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 60px -28px rgba(60, 40, 20, 0.30),
    0 8px 18px -8px rgba(60, 40, 20, 0.15);
  position: relative;
}
.lp-trainer-card::before {
  /* paper-tape decoration */
  content: "";
  position: absolute;
  top: -10px;
  left: 30px;
  width: 80px;
  height: 22px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  transform: rotate(-3deg);
  border-radius: 2px;
}
.lp-trainer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-edge);
  margin-bottom: 20px;
}
.lp-trainer-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lp-trainer-step {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--paper-muted);
}
.lp-trainer-difficulty {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding: 3px 8px;
  background: var(--accent-soft);
  border-radius: 4px;
}
.lp-trainer-attempts {
  display: flex;
  gap: 6px;
}
.lp-trainer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper-edge);
  border: 1px solid var(--paper-deep);
}
.lp-trainer-dot-used {
  background: var(--paper-deep);
}
.lp-trainer-dot-active {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.lp-trainer-q {
  margin-bottom: 18px;
}
.lp-trainer-q-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 6px;
}
.lp-trainer-q-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper-fg);
}
.lp-trainer-feedback {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}
.lp-trainer-verdict {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--warning, #b86e00);
  margin-bottom: 6px;
}
.lp-trainer-verdict-close { color: var(--warning, #b86e00); }
.lp-trainer-feedback-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-fg-2);
}
.lp-trainer-hint {
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.lp-trainer-hint-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.lp-trainer-hint-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-fg);
}
.lp-trainer-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* === Trainer simulation states ============================
   Driven by landing-anim.js (TrainerSim). Under .js-sim-active,
   the card replays a full attempt cycle when scrolled into view.
   Without JS / with prefers-reduced-motion the static layout stays
   visible as an informative snapshot.
   ============================================================ */

/* Answer input — visible only during sim */
.lp-trainer-input {
  display: none;
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  min-height: 64px;
}
.lp-trainer-input-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 6px;
}
.lp-trainer-input-row {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-fg);
  min-height: 1.5em;
  word-break: break-word;
}
.lp-trainer-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 1px;
  animation: lp-blink 1s steps(2) infinite;
}
@keyframes lp-blink {
  0%, 49.99%   { opacity: 1; }
  50%, 100%    { opacity: 0; }
}

/* Submit button + reveal-card hidden in static state */
.lp-trainer-submit,
.lp-trainer-reveal-card { display: none; }

/* Verdict variants beyond the existing «close» */
.lp-trainer-verdict-weak { color: var(--danger, #d92020); }
.lp-trainer-verdict-good { color: var(--good,   #0a8e57); }

/* Reveal-card ("эталон") — peach-tinted block, slides in at end of cycle */
.lp-trainer-reveal-card {
  margin-top: 18px;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, transparent 90%),
    var(--paper-2);
  border: 1px dashed var(--accent-line);
  border-radius: 10px;
}
.lp-trainer-reveal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.lp-trainer-reveal-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-fg);
  font-style: italic;
}

/* === When JS sim is active === */
.lp-trainer-card.js-sim-active .lp-trainer-input  { display: block; }
.lp-trainer-card.js-sim-active .lp-trainer-submit { display: inline-flex; }
.lp-trainer-card.js-sim-active .lp-trainer-feedback,
.lp-trainer-card.js-sim-active .lp-trainer-hint,
.lp-trainer-card.js-sim-active .lp-trainer-retry,
.lp-trainer-card.js-sim-active .lp-trainer-show,
.lp-trainer-card.js-sim-active .lp-trainer-reveal-card { display: none; }

/* Reveal modifiers — toggled by sim engine */
.lp-trainer-card.js-sim-active.show-feedback .lp-trainer-feedback {
  display: block;
  animation: lp-fadeUp .4s ease-out;
}
.lp-trainer-card.js-sim-active.show-hint .lp-trainer-hint {
  display: block;
  animation: lp-fadeUp .4s ease-out .12s both;
}
.lp-trainer-card.js-sim-active.show-retry .lp-trainer-retry {
  display: inline-flex;
  animation: lp-fadeUp .3s ease-out .25s both;
}
.lp-trainer-card.js-sim-active.show-reveal .lp-trainer-reveal-card {
  display: block;
  animation: lp-fadeUp .55s ease-out;
}
/* On a correct final answer: hide both action buttons.
   The "Эталон" is already revealed below, so neither «Ответить» nor
   «Показать эталон» make any sense in that state. */
.lp-trainer-card.js-sim-active.show-reveal .lp-trainer-submit,
.lp-trainer-card.js-sim-active.show-reveal .lp-trainer-retry,
.lp-trainer-card.js-sim-active.show-reveal .lp-trainer-show {
  display: none;
}
/* Progression indicator that fades in at the very end of the loop
   to signal «question complete, on to the next» before the restart. */
.lp-trainer-next {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--good, #0a8e57);
  letter-spacing: 0.01em;
}
.lp-trainer-next-arrow {
  display: inline-block;
  font-weight: 400;
  font-size: 18px;
  transform: translateX(-2px);
  transition: transform .3s;
}
.lp-trainer-card.js-sim-active.show-reveal .lp-trainer-next {
  display: inline-flex;
  animation: lp-fadeUp .4s ease-out .3s both;
}
.lp-trainer-card.js-sim-active.show-reveal .lp-trainer-next .lp-trainer-next-arrow {
  transform: translateX(0);
}
.lp-trainer-card.js-sim-active.feedback-shown .lp-trainer-input {
  opacity: 0.5;
  transition: opacity .3s;
}
.lp-trainer-card.js-sim-active.feedback-shown .lp-trainer-cursor {
  display: none;
}
/* After submit was pressed and verdict is showing, the submit button
   has done its job — hide it. Retry takes over (on non-last attempts). */
.lp-trainer-card.js-sim-active.feedback-shown .lp-trainer-submit {
  display: none;
}

/* Button-press flash — briefly compressed + brightened */
.lp-btn-pressed {
  transform: scale(0.96);
  filter: brightness(1.18) saturate(1.1);
  transition: transform .08s ease-out, filter .08s ease-out;
}

/* Attempt dots driven by sim — index data-attempt is updated by JS */

@keyframes lp-fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-trainer-card.js-sim-active .lp-trainer-input { display: none; }
  .lp-trainer-card.js-sim-active .lp-trainer-feedback,
  .lp-trainer-card.js-sim-active .lp-trainer-hint,
  .lp-trainer-card.js-sim-active .lp-trainer-retry,
  .lp-trainer-card.js-sim-active .lp-trainer-show { display: block; }
  .lp-trainer-card.js-sim-active .lp-trainer-submit { display: none; }
  .lp-trainer-cursor { animation: none; opacity: 0; }
}

.lp-trainer-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.lp-feat-card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 12px;
  padding: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 8px 22px -14px rgba(60, 40, 20, 0.20);
}
.lp-feat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.lp-feat-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--paper-fg);
}
.lp-feat-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-fg-2);
}


/* ============================================================
   SECTION 3 — HOW (3 layered cards)
   ============================================================ */
.lp-how-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.lp-how-card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 32px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 12px 30px -18px rgba(60, 40, 20, 0.22);
  position: relative;
}
/* Layered offset — operate.so-style staggered cards.
   --rv-y       : JS-driven vertical reveal offset (collapses to 0 on
                  enter viewport)
   --rv-x-anim  : alternating horizontal sweep, each card enters from
                  the opposite side and meets its layered home position
   Both compose with the static translateX (which sets the layered
   anchor) and rotate (paper-on-desk feel). */
.lp-how-card-1 { transform: translateX(calc(-14px + var(--rv-x-anim, 0px))) translateY(var(--rv-y, 0px)) rotate(-0.4deg); }
.lp-how-card-2 { transform: translateX(calc(-4px  + var(--rv-x-anim, 0px))) translateY(var(--rv-y, 0px)) rotate(0.3deg); }
.lp-how-card-3 { transform: translateX(calc(8px   + var(--rv-x-anim, 0px))) translateY(var(--rv-y, 0px)) rotate(-0.2deg); }
.lp-how-card-4 { transform: translateX(calc(16px  + var(--rv-x-anim, 0px))) translateY(var(--rv-y, 0px)) rotate(0.5deg); }
.lp-how-num {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  /* Span the full card height: title is row 1 of col 2, text is
     row 2 of col 2; without the span, text would auto-flow into
     col 1 row 2 (= 60px wide column) and break into 1-char lines. */
  grid-row: 1 / span 2;
}
.lp-how-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--paper-fg);
}
.lp-how-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-fg-2);
}


/* ============================================================
   SECTION — STATS (real-numbers from corpus run)
   ============================================================ */
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-stat-card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 10px 28px -16px rgba(60, 40, 20, 0.20);
  transition: transform .15s, box-shadow .15s;
}
.lp-stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 16px 36px -16px rgba(60, 40, 20, 0.28);
}
.lp-stat-card-warn {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, transparent 65%),
    var(--paper);
}
.lp-stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.lp-stat-num span {
  font-size: 26px;
  font-weight: 700;
  color: var(--paper-fg-2);
  letter-spacing: 0;
}
.lp-stat-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  color: var(--paper-fg);
  margin-top: 14px;
}
.lp-stat-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-fg-2);
}
.lp-stats-footer {
  text-align: center;
  margin: 48px auto 0;
  max-width: 720px;
  font-size: 16px;
  font-style: italic;
  color: var(--paper-muted);
}


/* ============================================================
   SECTION — TESTIMONIALS (paper-cards on a corkboard)
   ============================================================ */
.lp-testimonials {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 36px;
  padding-right: 36px;
}
.lp-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 4px;     /* space for rotated cards */
}
.lp-test-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 10px;
  padding: 26px 24px 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 12px 28px -16px rgba(60, 40, 20, 0.22),
    0 4px 10px -6px rgba(60, 40, 20, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .2s, box-shadow .2s;
}
/* subtle stagger — paper-on-corkboard feel.
   --rv-y composes with the rotate so the reveal lift doesn't fight
   the existing tilt. */
.lp-test-card:nth-child(3n+1) { transform: rotate(-0.6deg) translateY(var(--rv-y, 0px)); }
.lp-test-card:nth-child(3n+2) { transform: rotate(0.4deg)  translateY(var(--rv-y, 0px)); }
.lp-test-card:nth-child(3n+3) { transform: rotate(-0.2deg) translateY(var(--rv-y, 0px)); }
.lp-test-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 18px 38px -16px rgba(60, 40, 20, 0.30),
    0 6px 14px -6px rgba(60, 40, 20, 0.15);
}
/* paper-tape decoration on top */
.lp-test-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 60px;
  height: 16px;
  background: rgba(255, 154, 107, 0.28);
  border: 1px dashed rgba(255, 87, 34, 0.35);
  border-radius: 2px;
}
.lp-test-card-feature {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, transparent 40%),
    var(--paper);
}
.lp-test-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
}
.lp-test-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-fg);
  font-family: 'Inter', sans-serif;
  flex: 1;
  /* opening quote glyph as a watermark */
  position: relative;
}
.lp-test-quote::before {
  content: "»«";
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--accent);
  opacity: 0.18;
  position: absolute;
  top: -18px;
  left: -4px;
  line-height: 1;
  pointer-events: none;
}
.lp-test-author {
  border-top: 1px dashed var(--paper-edge);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lp-test-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--paper-fg);
}
.lp-test-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--paper-muted);
  letter-spacing: 0.02em;
}


/* ============================================================
   SECTION 4 — PRICE
   ============================================================ */
.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 48px;
}
.lp-price-card {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 10px 28px -16px rgba(60, 40, 20, 0.20);
}
.lp-price-card-best {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, transparent 50%),
    var(--paper);
  /* Static -6px lift composes with the JS reveal offset. */
  transform: translateY(calc(var(--rv-y, 0px) - 6px));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 44px -20px var(--accent),
    0 6px 16px -8px rgba(60, 40, 20, 0.20);
}
.lp-price-best-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.lp-price-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 12px;
}
.lp-price-num {
  font-family: 'Manrope', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--paper-fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.lp-price-creds {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.lp-price-discount {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.lp-price-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper-fg-2);
}
.lp-price-bonus {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  border-radius: 14px;
}
.lp-price-bonus-icon {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.lp-price-bonus-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-fg);
}
.lp-price-bonus-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.lp-price-bonus-text span {
  color: var(--paper-fg-2);
}


/* ============================================================
   SECTION 5 — FINAL CTA
   ============================================================ */
.lp-final-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: 20px;
  padding: 64px 40px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 24px 60px -28px rgba(60, 40, 20, 0.30);
}
.lp-final-sub {
  font-size: 18px;
  color: var(--paper-fg-2);
  margin: 12px 0 28px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
  border-top: 1px solid var(--paper-edge);
  padding: 32px 36px;
  background: var(--paper-2);
}
.lp-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--paper-fg);
}
.lp-footer-brand .lp-logo-mark { font-size: 20px; }
.lp-footer-links {
  display: inline-flex;
  gap: 22px;
}
.lp-footer-links a {
  color: var(--paper-fg-2);
  text-decoration: none;
  font-size: 13px;
}
.lp-footer-links a:hover { color: var(--accent); }
.lp-footer-meta {
  font-size: 12px;
  color: var(--paper-muted);
  font-family: 'JetBrains Mono', monospace;
}


/* ============================================================
   SCROLL REVEAL — generic card-reveal-on-scroll mechanism.
   Wired by landing-anim.js: when a card enters the viewport, the
   script adds .lp-revealed; once added the var(--rv-y) collapses
   to 0 and the card fades in. Cards opt in via .lp-card-reveal-active
   (added by JS, so no-JS / prefers-reduced-motion users see the
   default visible state).
   ============================================================ */
.lp-card-reveal-active {
  --rv-y: 28px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity   .65s cubic-bezier(.16, .84, .44, 1),
    transform .65s cubic-bezier(.16, .84, .44, 1);
}
.lp-card-reveal-active.lp-revealed {
  --rv-y: 0px;
  opacity: 1;
  pointer-events: auto;
}
/* Stagger within a row/grid — each consecutive card delays an extra
   step so a section "ripples" into view rather than slamming in. */
.lp-card-reveal-active:nth-child(1).lp-revealed { transition-delay:   0ms; }
.lp-card-reveal-active:nth-child(2).lp-revealed { transition-delay:  70ms; }
.lp-card-reveal-active:nth-child(3).lp-revealed { transition-delay: 140ms; }
.lp-card-reveal-active:nth-child(4).lp-revealed { transition-delay: 210ms; }
.lp-card-reveal-active:nth-child(5).lp-revealed { transition-delay: 280ms; }
.lp-card-reveal-active:nth-child(6).lp-revealed { transition-delay: 350ms; }

/* Cards that don't already have a custom transform need one to pick
   up var(--rv-y). how/test/price-best already compose it above. */
.lp-card-reveal-active.lp-deliv-card,
.lp-card-reveal-active.lp-stat-card,
.lp-card-reveal-active.lp-feat-card,
.lp-card-reveal-active.lp-price-card:not(.lp-price-card-best) {
  transform: translateY(var(--rv-y));
}

/* === How-cards get a more dramatic reveal ===================
   Bigger vertical lift + alternating horizontal sweep so the
   layered stack visibly assembles itself rather than just fading.
   Longer transition + larger stagger between siblings completes
   the effect. */
.lp-card-reveal-active.lp-how-card {
  --rv-y: 56px;
  transition:
    opacity   .85s cubic-bezier(.16, .84, .44, 1),
    transform .85s cubic-bezier(.16, .84, .44, 1);
}
.lp-card-reveal-active.lp-how-card-1 { --rv-x-anim: -36px; }
.lp-card-reveal-active.lp-how-card-2 { --rv-x-anim:  36px; }
.lp-card-reveal-active.lp-how-card-3 { --rv-x-anim: -36px; }
.lp-card-reveal-active.lp-how-card-4 { --rv-x-anim:  36px; }
.lp-card-reveal-active.lp-revealed.lp-how-card {
  --rv-y: 0px;
  --rv-x-anim: 0px;
}
/* Override the generic 70ms-step stagger with a more pronounced
   one. Each how-card lands ~140ms after the previous, so the eye
   tracks the assembly. */
.lp-card-reveal-active.lp-how-card-1.lp-revealed { transition-delay:   0ms; }
.lp-card-reveal-active.lp-how-card-2.lp-revealed { transition-delay: 140ms; }
.lp-card-reveal-active.lp-how-card-3.lp-revealed { transition-delay: 280ms; }
.lp-card-reveal-active.lp-how-card-4.lp-revealed { transition-delay: 420ms; }

/* ============================================================
   HERO SCROLL — findings reveal as the hero section moves through
   the viewport. Driven by landing-anim.js scroll handler; chunks
   ignite peach in sync.
   ============================================================ */
.lp-hero.lp-hero-scroll-active .lp-demo-finding {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity   .55s ease-out,
    transform .55s ease-out;
}
.lp-hero.lp-hero-scroll-active .lp-demo-finding.lp-demo-finding-show {
  opacity: 1;
  transform: translateY(0);
}
/* In the scroll-active mode chunks start as muted gray placeholders
   and turn full peach as the corresponding finding lights up. */
.lp-demo-chunk { transition: background .45s ease-out, opacity .45s ease-out; }
.lp-hero.lp-hero-scroll-active .lp-demo-chunk {
  background: var(--paper-deep);
  opacity: 0.45;
}
.lp-hero.lp-hero-scroll-active .lp-demo-chunk.lp-demo-chunk-active {
  background: var(--accent);
  opacity: 1;
}

/* prefers-reduced-motion → flatten reveal/scroll into static visible */
@media (prefers-reduced-motion: reduce) {
  .lp-card-reveal-active,
  .lp-card-reveal-active.lp-revealed { transition: none; }
  .lp-card-reveal-active { --rv-y: 0px; opacity: 1; pointer-events: auto; }
  .lp-hero.lp-hero-scroll-active .lp-demo-finding {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lp-hero.lp-hero-scroll-active .lp-demo-chunk {
    background: var(--accent-soft);
    opacity: 1;
  }
}


/* ============================================================
   COMING-SOON MODAL — pre-launch gate on landing CTAs
   ============================================================ */
.lp-soon-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease-out;
}
.lp-soon-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lp-soon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lp-soon-card {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 16px;
  padding: 32px 32px 28px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 24px 60px -16px rgba(60, 40, 20, 0.40),
    0 8px 18px -6px rgba(60, 40, 20, 0.20);
  transform: translateY(8px);
  transition: transform .25s ease-out;
}
.lp-soon-modal[aria-hidden="false"] .lp-soon-card {
  transform: translateY(0);
}
.lp-soon-x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--paper-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  line-height: 1;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.lp-soon-x:hover {
  background: var(--paper-2);
  color: var(--paper-fg);
}
.lp-soon-mark {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lp-soon-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--paper-fg);
  margin: 0 0 14px;
}
.lp-soon-p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper-fg-2);
  margin: 0 0 12px;
}
.lp-soon-p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lp-soon-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.lp-soon-actions .lp-btn { padding: 11px 20px; font-size: 14px; }
@media (max-width: 520px) {
  .lp-soon-card { padding: 28px 22px 24px; }
  .lp-soon-h { font-size: 20px; }
  .lp-soon-actions { flex-direction: column; }
  .lp-soon-actions .lp-btn { width: 100%; }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .lp-deliv-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-test-grid  { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .lp-section { padding: 64px 24px; }
  .lp-nav { padding: 14px 20px; }
  .lp-nav-links a:not(.lp-cta-link) { display: none; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .lp-deliv-grid { grid-template-columns: 1fr; }
  .lp-test-grid  { grid-template-columns: 1fr; }
  .lp-stats-grid { grid-template-columns: 1fr; }
  .lp-test-card:nth-child(n) { transform: none; }
  .lp-demo-article, .lp-demo-review { transform: none; }
  .lp-trainer-features { grid-template-columns: 1fr; }
  .lp-how-card { grid-template-columns: 1fr; padding: 24px; }
  .lp-how-card-1, .lp-how-card-2, .lp-how-card-3, .lp-how-card-4 { transform: none; }
  .lp-price-grid { grid-template-columns: 1fr; }
  .lp-price-card-best { transform: none; }
  .lp-final-card { padding: 40px 24px; }
  .lp-footer-inner { flex-direction: column; text-align: center; }
  .lp-faq-q { font-size: 15px; padding: 16px 18px; }
  .lp-faq-a { padding: 0 18px 18px; }
}
@media (max-width: 520px) {
  .lp-hero-demo { grid-template-columns: 1fr; }
  .lp-demo-pane { min-height: 240px; }
  .lp-h1 { font-size: 34px; }
  .lp-h2 { font-size: 28px; }
}
