/* The lead form (js/lead.js) and the few additions the ad landing pages need. Everything else on those pages is
   homepage components (styles.css). Design notes: ../ads/landing-pages-design-review-2026-11.md */

/* ------------------------------------------------------------------ the form card ---- */
/* Matches the comparison columns (.compare-col): oat fill, oat border, 4px corners, no shadow. */
.lead-form {
  background: var(--oat-light);
  border: 1px solid var(--oat-medium);
  border-radius: 4px;
  padding: 28px 24px;
  max-width: 560px;
  margin: 40px auto 0;
  text-align: left;
  color: var(--navy-800);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
@media (min-width: 1280px) { .lead-form { padding: 36px 32px; } }

.lead-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .lead-grid { grid-template-columns: 1fr 1fr; } .lead-wide { grid-column: 1 / -1; } }

/* Labels in the mono caps of .book-meta. */
.lead-field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-950);
}
.lead-field label span { color: var(--gray-text); text-transform: none; letter-spacing: 0; }

.lead-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--gray-lines);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 16px; /* 16px stops iOS zooming into the field */
  line-height: 24px;
  transition: border-color var(--dur-fast) var(--ease-soft);
}
.lead-field input:hover { border-color: var(--navy-300); }
.lead-field input:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 1px var(--navy-800); }
.lead-field input[type="file"] { height: auto; min-height: 48px; padding: 11px 14px; font-size: 14px; cursor: pointer; }

.lead-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-actions { margin-top: 24px; }
.lead-actions .btn { width: 100%; }
.lead-actions .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.lead-status { margin: 10px 0 0; font-size: 14px; line-height: 20px; color: var(--cta-red); }
.lead-status:empty { display: none; }

/* "Rather talk?" under the form on the homepage's dark call section. */
.lead-or { margin-top: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--navy-400); }
.lead-or a { color: var(--cta-red); }
.lead-or a:hover { text-decoration: underline; }
.book .book-header p { max-width: 560px; margin-inline: auto; }

/* Contact page: the form sits in the article column, full width of it. article.css sizes every <p>. */
.article-page .lead-form { max-width: none; margin: 24px 0 0; }
.article-page .lead-form p { margin: 0; }
.article-page .lead-form .lead-status { margin-top: 10px; font-size: 14px; line-height: 20px; }

/* ----------------------------------------------------------------- landing pages ---- */
/* The hero: the homepage .hero with the form card standing on the dot field where the video sits. The headlines are
   longer than the homepage's, so the H1 stops at the 48/56 step to hold three lines. */
@media (min-width: 1280px) { .hero--lp h1 { font-size: 48px; line-height: 56px; } }
@media (min-width: 1280px) { .hero--lp .hero-copy { padding: 96px 0; } }
/* A narrower hero than the homepage's, with the copy and the form each pinned to an edge so the two sides mirror. */
@media (min-width: 1280px) { .hero--lp .container { max-width: 1144px; } }
@media (min-width: 768px) {
  .hero--lp .hero-copy { max-width: 540px; }
  .hero--lp .hero-media { justify-content: flex-end; }
}
.hero--lp .hero-sub { font-size: 20px; line-height: 30px; }
.hero-art--form { max-width: 500px; }
/* Keep the dots behind the card, off the copy column. */
.hero-art--form .hero-art-grid { left: -10%; width: 120%; top: 18%; }
.hero-art--form .lead-form { position: relative; z-index: 1; margin: 0; max-width: none; }

/* Points: the tick list of the comparison columns. */
.hero-points { margin-top: 24px; display: grid; gap: 4px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 16px; line-height: 24px; color: var(--navy-800); text-align: left; }
.hero-points svg { flex-shrink: 0; margin-top: 4px; color: var(--orange-600); }
@media (max-width: 767px) { .hero-points { display: inline-grid; } }

.hero-alt { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--gray-text); }
.hero-alt a { color: var(--cta-red); font-weight: 500; }

/* How it works with three steps (the homepage has five). */
@media (min-width: 768px) { .process-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* The thank-you page: the process section is the page. */
.process--thanks { padding-top: 96px; padding-bottom: 112px; }
@media (min-width: 1280px) { .process--thanks { padding-top: 128px; padding-bottom: 144px; } }
.process-alt { text-align: center; margin-top: 40px; }

/* The privacy link beside the copyright line. */
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--white); }
