/* AI Visibility Checklist lead magnet: /ai-visibility-checklist and its
   thank-you page. Standalone design (approved in the ChatGPT handoff), so it
   doesn't load styles.css. */
:root {
  --cream: #f9f7f4;
  --navy: #1c2b4a;
  --slate: #4a5f72;
  --olive: #3e4730;   /* running text on cream, same as .lead sitewide */
  --linen: #dfd8ca;
  --mist: #e3e8f0;
  --espresso: #25201b;
  --blush: #c9b99e;   /* buttons and details on navy */
  --moss: #6f7c5c;    /* small details on cream */
  --label-track: .26em;
}
@media (max-width: 900px) { :root { --label-track: .18em; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 400 16px/1.6 Figtree, Arial, sans-serif; }
a { color: inherit; }
button, input { font: inherit; }

.wrap { max-width: 1360px; margin: auto; padding: 0 48px; }
header { height: 102px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--linen); }
.logo { display: block; width: 160px; height: auto; }
.header-note, .eyebrow, .meta { font: 500 12px/1.6 'Figtree','Helvetica Neue',Helvetica,Arial,sans-serif; letter-spacing: var(--label-track, .26em); text-transform: uppercase; }
.header-note { color: var(--slate); }

.hero { display: grid; grid-template-columns: 1.16fr 1fr; gap: 64px; align-items: center; padding: 64px 0 70px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--slate); }
h1, h2, h3 { font-family: Newsreader, Georgia, serif; font-weight: 200; margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(56px, 5.9vw, 82px); line-height: 1.02; margin: 24px 0; }
h1 em { font-weight: 200; }
.period { color: var(--moss); }
.lead { font-size: 18px; line-height: 1.6; color: var(--olive); max-width: 510px; margin: 0 0 28px; }

/* Form. The live form is a GHL embed styled inside GHL to match; .preview-form
   is the approved design shown until the GHL form ID is wired in. */
.form-area { max-width: 530px; scroll-margin-top: 24px; }
.form-embed iframe { display: block; width: 100%; border: 0; min-height: 160px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13px; color: var(--navy); margin: 0 0 7px; }
input { width: 100%; min-height: 54px; border: 1px solid var(--linen); border-radius: 50px; background: transparent; padding: 14px 20px; color: var(--navy); font-size: 15px; }
input::placeholder { color: #737977; }
input:focus { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn-pill { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 1px solid var(--navy); border-radius: 50px; background: var(--navy); color: var(--cream); padding: 15px 24px; margin-top: 16px; cursor: pointer; font-size: 15px; font-weight: 500; min-height: 56px; text-decoration: none; transition: background .2s, transform .2s; }
.btn-pill:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); transform: translateY(-1px); }
.btn-pill span { font-size: 22px; line-height: 1; }
/* Blush pill: the brand's button on dark grounds, espresso text, cream on hover. */
.btn-blush { background: var(--blush); border-color: var(--blush); color: var(--espresso); }
.btn-blush:hover { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.form-note { font-size: 12px; color: var(--slate); margin: 12px 0 0; }
.form-note svg { width: 12px; height: 12px; vertical-align: -1px; margin-right: 5px; }
.preview-note { font-size: 13px; color: var(--slate); margin: 14px 0 0; }
.preview-note a { text-decoration: underline; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }

/* Cover mockup. The image carries its own 3D shading and shadow, so no
   CSS rotation or box-shadow here. */
.book-panel { position: relative; background: var(--mist); border-radius: 24px; min-height: 552px; padding: 45px 44px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.book-panel:before { content: ''; width: 420px; height: 420px; position: absolute; border: 1px solid rgba(28, 43, 74, .10); border-radius: 50%; top: 42px; left: 50%; transform: translateX(-50%); }
.book { width: min(100%, 340px); position: relative; line-height: 0; margin: 0 0 28px; }
.book img { width: 100%; height: auto; display: block; }
.meta { position: relative; color: var(--slate); font-size: 10px; text-align: center; }

/* What's inside (navy band) */
.inside { background: var(--navy); color: var(--cream); padding: 52px 0 54px; }
.inside .eyebrow { color: var(--cream); opacity: .8; }
.inside-layout { display: grid; grid-template-columns: .85fr 1.5fr; gap: 70px; }
/* Brand guide type on navy: section-head and card tracking, 16px body,
   cream text at 80% like the site's other navy sections. */
.inside h2 { font-size: clamp(36px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.018em; margin: 18px 0 14px; }
.inside-intro { color: color-mix(in oklab, var(--cream) 80%, transparent); font-size: 16px; line-height: 1.65; max-width: 330px; margin: 0; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-content: start; }
.topic { display: grid; grid-template-columns: 25px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid #43516b; }
.num { font: 500 12px 'Figtree','Helvetica Neue',Helvetica,Arial,sans-serif; letter-spacing: .12em; color: var(--blush); padding-top: 8px; }
.topic h3 { font-size: 26px; font-weight: 300; line-height: 1.15; letter-spacing: -.012em; margin-bottom: 6px; }
.topic p { font-size: 16px; line-height: 1.65; color: color-mix(in oklab, var(--cream) 80%, transparent); margin: 0; }
/* Phones only: a second CTA after the topics that scrolls back up to the form. */
.mobile-cta { display: none; }

/* Thank-you page */
.thanks h1 { font-size: clamp(48px, 5vw, 72px); }
.download-link { display: inline-flex; width: auto; gap: 28px; margin-top: 4px; }
.next-step { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--linen); max-width: 510px; font-size: 15px; color: var(--olive); }
.next-step a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--linen); }
.next-step a:hover { border-bottom-color: var(--navy); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 12px; color: var(--slate); }
footer p { margin: 0; }
footer a { text-decoration: none; border-bottom: 1px solid var(--linen); }
[hidden] { display: none !important; }

/* The site-wide chat prompt would sit on top of the form on phones. */
chat-widget { display: none !important; }

@media (min-width: 1450px) {
  .hero { gap: 90px; }
  .book-panel { min-height: 570px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  header { height: 84px; }
  .logo { width: 140px; }
  .header-note { font-size: 9px; max-width: 115px; text-align: right; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 44px; }
  h1 { font-size: 60px; max-width: 640px; margin: 20px 0; }
  .lead { max-width: 600px; font-size: 17px; }
  .form-area { max-width: 100%; }
  .book-panel { min-height: 0; padding: 32px 24px 26px; }
  .book { width: 260px; margin-bottom: 24px; }
  .mobile-cta { display: flex; margin-top: 36px; }
  .inside { padding: 40px 0; }
  .inside-layout { grid-template-columns: 1fr; gap: 28px; }
  .inside h2 { font-size: 42px; }
  .inside-intro { max-width: 500px; }
  .topics { gap: 24px; }
  footer { align-items: flex-start; }
}
@media (max-width: 480px) {
  h1 { font-size: 51px; }
  .thanks h1 { font-size: 46px; }
  .fields { grid-template-columns: 1fr; gap: 13px; }
  .lead { margin-bottom: 24px; }
  .topics { grid-template-columns: 1fr; gap: 22px; }
  .book { width: 240px; }
  .download-link { width: 100%; }
  footer { flex-direction: column; gap: 8px; }
  .form-note { font-size: 11px; }
  .header-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-pill { transition: none; }
}
