/* =========================================================
   Homepage (Milestone 2) — loaded only on the front page.
   Reuses Design-System tokens from style.css. Includes the
   trust-bar + cta-band component styles (currently homepage-only;
   they move to global CSS when reused in later milestones).
   ========================================================= */

/* ---- Section header ---- */
.section-header { max-width: var(--reading); margin-bottom: var(--sp-4); }
.section-header h2 { margin-bottom: var(--sp-1); }
.section-header--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; }

/* ---- 1. Hero ---- */
.hero { padding-block: clamp(48px, 6vw, 88px); }
.hero__inner { max-width: 820px; }
.hero__title { margin: var(--sp-1) 0 var(--sp-3); }
.hero__lead { color: var(--ink); margin-bottom: var(--sp-4); }
.hero__actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.hero__secondary { white-space: nowrap; }

/* ---- 2. Trust bar (reusable) ---- */
.trust-bar { padding-block: var(--sp-3); }
.trust-bar__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); justify-content: center; }
.trust-bar__item { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
.trust-bar__tick { width: 18px; height: 18px; color: var(--success); flex: none; }

/* ---- 3. Intent router ---- */
.router__card { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--sp-3); box-shadow: var(--shadow-card); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.router__card:hover { box-shadow: var(--shadow-card-hover); text-decoration: none; transform: translateY(-2px); }
.router__label { font-family: var(--font-heading); font-weight: 600; color: var(--navy); font-size: var(--fs-h4); }
.router__arrow { color: var(--slate-blue); font-size: 1.25rem; flex: none; }

/* ---- 4. Featured pillar ---- */
.featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); align-items: center; }
.featured__title { margin: var(--sp-1) 0 var(--sp-2); }
.featured__text { color: var(--muted); margin-bottom: var(--sp-3); }
.featured__media img { border-radius: var(--radius-md); width: 100%; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured__media { order: -1; } }

/* ---- 6. Start here band ---- */
.start-here__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-4) var(--sp-6); flex-wrap: wrap; }
.start-here__inner > div { max-width: 640px; }
.start-here h2 { margin-bottom: var(--sp-1); }

/* ---- 7. Resource / teaser cards ---- */
.teaser-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--sp-4); box-shadow: var(--shadow-card); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.teaser-card:hover { box-shadow: var(--shadow-card-hover); text-decoration: none; transform: translateY(-2px); }
.teaser-card__icon { width: 32px; height: 32px; color: var(--slate-blue); margin-bottom: var(--sp-2); }
.teaser-card__title { color: var(--navy); margin-bottom: 6px; }
.teaser-card__desc { color: var(--muted); font-size: var(--fs-small); margin: 0; }

/* ---- 8. Media teaser ---- */
.media-teaser { background: var(--navy); color: #e6ecf6; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); }
.media-teaser .eyebrow { color: #9fc0ff; }
.media-teaser h2 { color: #fff; margin: var(--sp-1) 0 var(--sp-2); }
.media-teaser__copy { max-width: 640px; }
.media-teaser__copy .text-muted { color: #c3d0e6; margin-bottom: var(--sp-3); }

/* ---- 9. CTA band (reusable) ---- */
.cta-band { background: var(--navy); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-8); flex-wrap: wrap; }
.cta-band__heading { color: #fff; margin: 0; max-width: 30ch; }
.cta-band__text { color: #c3d0e6; margin: 8px 0 0; }
.btn--on-navy { background: #fff; color: var(--navy); border-color: #fff; }
.btn--on-navy:hover { background: var(--surface); color: var(--navy); }

/* ---- 10. Author snapshot ---- */
.author-snapshot__inner { display: flex; align-items: center; gap: var(--sp-6); }
.author-snapshot__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.author-snapshot__copy { max-width: 720px; }
.author-snapshot__links { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-2); }
@media (max-width: 640px) { .author-snapshot__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-3); } }

/* ---- 12. Newsletter ---- */
.newsletter__inner { text-align: center; }
.newsletter__form { margin-top: var(--sp-3); }
