/* Paid-ad landing pages (/lp/*). Loads after styles.css and reuses its brand tokens. */

.lp {
  --lp-bg: var(--color-white);
  --lp-bg-alt: var(--color-surface-alt);
  --lp-bg-dark: var(--color-black);
  --lp-text: var(--color-ink);
  --lp-text-soft: var(--color-muted);
  --lp-text-on-dark: var(--color-white);
  --lp-text-on-dark-soft: var(--color-text-light-muted);
  --lp-line: var(--color-line);
  --lp-line-dark: var(--color-line-light);
  --lp-photo-fade: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.8) 100%);
  --lp-step-num-size: 38px;
  --lp-proof-height: 220px;
  --lp-form-min-height: 560px;
  --lp-container-narrow: 980px;
  --lp-container-tight: 680px;
  --lp-title: clamp(32px, 4.6vw, 52px);
  --lp-title-section: clamp(26px, 3vw, 36px);
  --lp-shadow-pulse: 0 18px 40px rgba(180, 13, 25, 0.35);
}

.lp-section { padding: var(--space-7) var(--container-pad); background: var(--lp-bg); }
.lp-section--alt { background: var(--lp-bg-alt); }
.lp-section__inner { max-width: var(--lp-container-narrow); margin: 0 auto; }
.lp-section__title { font-size: var(--lp-title-section); margin-bottom: var(--space-5); }

/* ---------- Hero ---------- */
.lp-hero { padding: var(--space-5) var(--container-pad) var(--space-6); background: var(--lp-bg-alt); }
.lp-hero__inner {
  max-width: var(--container-width); margin: 0 auto;
  display: grid; gap: var(--space-4);
  grid-template-areas: "copy" "form" "photo";
}
.lp-hero__copy { grid-area: copy; text-align: center; }
.lp-hero__form { grid-area: form; }
.lp-hero__photo { grid-area: photo; }
.lp-headline { font-size: var(--lp-title); margin-bottom: var(--space-2); }
.lp-hero__sub { margin: 0 auto; max-width: 30rem; font-size: var(--text-lg); color: var(--lp-text-soft); }

.lp-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--lp-bg-dark); box-shadow: var(--shadow-card); }
.lp-photo img { width: 100%; height: auto; }
.lp-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: var(--lp-photo-fade); pointer-events: none; }
.lp-photo__cap { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 1; color: var(--lp-text-on-dark); }
.lp-photo__cap strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.lp-photo__cap span { font-size: var(--text-sm); color: var(--lp-text-on-dark-soft); }

.lp-form-card { background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: var(--radius-card); padding: var(--space-1); box-shadow: var(--shadow-card); scroll-margin-top: calc(var(--logo-height) + var(--space-4)); }
.lp-form-card iframe { display: block; width: 100%; min-height: var(--lp-form-min-height); border: 0; }
.lp-form-card__alt { margin: var(--space-1) 0 var(--space-1); text-align: center; font-size: var(--text-sm); color: var(--lp-text-soft); }
.lp-form-card__alt a { color: var(--color-primary); font-weight: 700; }

@keyframes lpPulse { 0%, 100% { box-shadow: var(--shadow-card); } 50% { box-shadow: var(--lp-shadow-pulse); } }
.lp-form-card.is-pulsing { animation: lpPulse 1.4s ease-out 1; }

@media (min-width: 960px) {
  .lp-hero { padding-top: var(--space-6); padding-bottom: var(--space-7); }
  .lp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "copy form" "photo form";
    /* The form is much taller than the copy; 1fr keeps the extra height out of the copy row so the photo sits right under it. */
    grid-template-rows: auto 1fr;
    column-gap: var(--space-6); align-items: start;
  }
  .lp-hero__photo { max-width: 480px; justify-self: center; }
}

/* ---------- Steps ---------- */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); counter-reset: lpstep; }
.lp-step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: var(--radius-card); padding: var(--space-3) var(--space-4); }
.lp-step::before {
  counter-increment: lpstep; content: counter(lpstep);
  display: flex; align-items: center; justify-content: center;
  width: var(--lp-step-num-size); height: var(--lp-step-num-size); border-radius: var(--radius-pill);
  background: var(--color-primary); color: var(--lp-text-on-dark);
  font-family: var(--font-display); font-weight: 700;
}
.lp-step h3 { font-size: var(--text-lg); margin: 6px 0 4px; }
.lp-step p { margin: 0; color: var(--lp-text-soft); }

/* ---------- Owners ---------- */
.lp-owners { display: grid; gap: var(--space-5); align-items: center; }
.lp-owners__photo { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.lp-owners__copy p { margin: 0 0 var(--space-2); color: var(--lp-text-soft); font-size: var(--text-lg); line-height: 1.5; }
.lp-owners__copy .lp-owners__lead { font-family: var(--font-display); font-weight: 700; font-size: var(--lp-title-section); line-height: 1.15; color: var(--lp-text); margin-bottom: var(--space-3); }
.lp-owners__copy .lp-owners__sig { margin-top: var(--space-3); font-weight: 700; color: var(--lp-text); }
@media (min-width: 760px) { .lp-owners { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-6); } }

/* ---------- Proof ---------- */
.lp-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.lp-proof img { width: 100%; height: var(--lp-proof-height); object-fit: cover; border-radius: var(--radius-card); background: var(--lp-bg-alt); }
@media (min-width: 720px) { .lp-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: var(--space-2); }
.lp-faq__item { background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: var(--radius-card); padding: var(--space-3) var(--space-4); }
.lp-faq__q { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.lp-faq__a { margin: 0; color: var(--lp-text-soft); }

/* ---------- Final CTA ---------- */
.lp-final { padding: var(--space-7) var(--container-pad); background: var(--lp-bg-dark); color: var(--lp-text-on-dark); text-align: center; }
.lp-final__inner { max-width: var(--lp-container-tight); margin: 0 auto; }
.lp-final__title { font-size: var(--lp-title-section); margin-bottom: var(--space-2); }
.lp-final__sub { margin: 0 0 var(--space-5); color: var(--lp-text-on-dark-soft); }
.lp-final .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.lp-footer { padding: var(--space-4) var(--container-pad); background: var(--lp-bg-dark); border-top: 1px solid var(--lp-line-dark); color: var(--lp-text-on-dark-soft); text-align: center; font-size: var(--text-sm); }
.lp-footer p { margin: 0 0 var(--space-1); }
.lp-footer a { color: var(--lp-text-on-dark); text-decoration: none; }

/* ---------- Thank you ---------- */
.lp-thanks { padding: var(--space-8) var(--container-pad); background: var(--lp-bg-alt); text-align: center; }
.lp-thanks__inner { max-width: var(--lp-container-tight); margin: 0 auto; }
.lp-thanks p { color: var(--lp-text-soft); font-size: var(--text-lg); }
.lp-thanks .btn-row { justify-content: center; margin-top: var(--space-4); }
