/* Homepage modules share CMS data, calm theme tokens and accessible card layouts. */
.home-hero { min-height: 450px; }
.home-hero .hero-inner { padding-block: 3.75rem; }
.home-hero .hero-inner h1 { max-width: 760px; font-size: var(--type-page-title); }
.home-hero .hero-lead { max-width: 660px; line-height: 1.55; }
.home-hero .hero-detail { max-width: 660px; margin-top: 1.4rem; line-height: 1.55; }
.home-hero .eyebrow { max-width: 620px; line-height: 1.65; }
.home-paths { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.home-paths a { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: .72rem 1rem; border: 1px solid var(--jade); border-radius: 6px; background: var(--card); color: var(--jade-dark); font-weight: 700; text-decoration: none; }
.home-paths a:hover, .home-paths a:focus-visible { background: var(--jade); color: #fff; }
.home-section { padding-block: 3.75rem; }
.home-story .home-story-copy { max-width: 820px; }
.home-story .home-story-copy p { margin: 0 0 1.2rem; line-height: 1.78; }
.home-story .home-story-copy p:last-child { margin-bottom: 0; }
.home-story .home-story-copy a { color: var(--jade); text-decoration: underline; text-underline-offset: .2em; }
.home-story .home-story-copy a:hover,
.home-story .home-story-copy a:focus-visible { color: var(--jade-dark); }
.home-section h2 { max-width: 850px; margin: .65rem 0 1.3rem; font: 400 var(--type-section)/1.2 Georgia, serif; }
.section-intro { max-width: 760px; margin-bottom: 1.7rem; color: var(--muted); line-height: 1.7; }
.section-note { max-width: 870px; margin: 1.5rem 0 0; font-size: .9rem; line-height: 1.7; color: var(--muted); }
.home-card-grid { display: grid; gap: 1rem; }
.four-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-card { position: relative; min-width: 0; padding: 1.6rem; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.home-card h3 { margin: 1rem 0 .75rem; font-size: var(--type-card-compact); line-height: 1.35; }
.home-card p { margin: 0; font-size: .94rem; line-height: 1.75; color: var(--muted); }
.block-icon { display: block; width: 34px; height: 34px; color: var(--jade); }
.step-number { position: absolute; top: 1.35rem; right: 1.5rem; color: var(--sun); font: 1.6rem Georgia, serif; }
.home-surface { background: var(--story-bg); }
.home-surface h2 { color: var(--story-heading); }
.text-link { display: inline-block; padding: 1rem 0 .25rem; color: var(--jade); font-weight: 600; text-underline-offset: 4px; }
.home-faq { max-width: 1000px; }
.faq-answer { padding: 1.1rem 1.3rem; margin-bottom: .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.faq-answer summary { line-height: 1.6; }
.faq-answer p { color: var(--muted); line-height: 1.75; }
.editorial-card time { font-size: .8rem; color: var(--muted); }
.editorial-card > a { display: inline-block; padding-top: 1rem; }
.question-band { margin-block: 1.5rem 4rem; }
@media (max-width: 1000px) {
  .four-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-card { padding: 1.35rem; }
}
@media (max-width: 680px) {
  .home-hero { min-height: 0; }
  .home-story .home-story-copy p { line-height: 1.65; }
  .home-hero .hero-inner { width: calc(100% - 2rem); padding-block: 1rem 1.5rem; }
  .home-hero .hero-inner h1 { margin: 0 0 .65rem; font-size: var(--type-page-title); line-height: 1.12; }
  .home-hero .hero-lead { margin: 0; font-size: 1rem; line-height: 1.42; }
  .home-hero .hero-detail { margin-top: 1rem; font-size: 1rem; line-height: 1.42; }
  .home-hero:before { background: #f8f5eef0; }
  .home-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: .9rem; }
  .home-paths a { min-height: 68px; padding: .4rem; gap: 0; justify-content: center; text-align: center; font-size: .78rem; line-height: 1.25; }
  .home-paths a span { display: none; }
  .home-section { padding-block: 2.5rem; }
  .home-card-grid { grid-template-columns: 1fr; }
  .question-band { margin-bottom: 2.5rem; }
}
@media (max-width: 620px) {
  body[data-page="about"] .contact-dock { display: none; }
}
