/* A free resource given for an email address (layouts/_default/lead-magnet.html).
   Built on early-access.css: the hero, sections, ticks and frames come from
   there; this file adds the form card, the download buttons, the next-step
   cards and the questions. Tokens come from critical.css (:root). Text in the
   brand colour uses --color-primary-dark for WCAG AA contrast. */

.lm-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; }
.lm-points { margin-top: 4px; }

/* ── The form card ── */
.lm-card { padding: 28px; border: 1px solid var(--color-border-light); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(29, 32, 136, .10); scroll-margin-top: 96px; }
.lm-card__title { margin: 0 0 18px; font-size: 22px; line-height: 1.25; font-weight: 800; color: var(--color-text); }
.lm-form { display: flex; flex-direction: column; }
.lm-label { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--color-text); }
.lm-input { box-sizing: border-box; width: 100%; min-height: 48px; margin: 0 0 16px; padding: 0 14px; border: 1px solid #b8bccb; border-radius: 10px; font: inherit; font-size: 16px; color: var(--color-text); background: #fff; }
.lm-input:focus-visible { outline: 3px solid #A5ABFF; outline-offset: 1px; border-color: var(--color-primary-dark); }
.lm-check { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 20px; font-size: 14.5px; line-height: 1.45; color: var(--color-text-secondary); cursor: pointer; }
.lm-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--color-primary-dark); }
.lm-submit { border: 0; cursor: pointer; font-family: inherit; }
.lm-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.lm-note a { color: var(--color-primary-dark); }

/* ── Download page ── */
.lm-files { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.lm-btn--outline { border: 2px solid var(--color-primary-dark); color: var(--color-primary-dark); background: #fff; }
.lm-btn--outline:hover { background: #F5F6FF; }

/* A page of the worksheet, not a screenshot of the app: never enlarged. */
.lm-frame { max-width: 560px; }

/* ── Next steps after the download ── */
.lm-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.lm-next__card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--color-border-light); border-radius: 14px; background: #fff; text-decoration: none; }
.lm-next__card:hover { border-color: var(--color-primary-dark); }
.lm-next__card:focus-visible { outline: 3px solid #A5ABFF; outline-offset: 2px; }
.lm-next__title { font-size: 18px; font-weight: 700; color: var(--color-primary-dark); }
.lm-next__text { font-size: 15.5px; line-height: 1.5; color: var(--color-text-secondary); }

/* ── Questions ── */
.lm-faq { max-width: 820px; }
.lm-faq__q { margin: 24px 0 6px; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--color-text); }
.lm-faq__a { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--color-text-secondary); }
.lm-faq__a a { color: var(--color-primary-dark); }
.lm-faq__cta { margin-top: 32px; }

@media (max-width: 1024px) {
  .lm-hero__grid { grid-template-columns: 1fr; }
  .lm-card { max-width: 560px; }
}
@media (max-width: 640px) {
  .lm-card { padding: 22px 18px; }
  .lm-files .ea-btn { width: 100%; }
}
