.home-page {
  --line-a: #7560b0;
  --line-b: #287fad;
  --self: #f5c451;
  --home-gap: clamp(24px, 5vw, 64px);
  --section-space: clamp(48px, 7vw, 88px);
}
.home-hero, .feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--home-gap);
}
.home-hero { padding: 20px 0 var(--section-space); }
.home-hero .eyebrow { margin-top: 20px; }
.home-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.home-lead { font-size: 1.125rem; margin: 24px 0; }
.activity-types { color: var(--brand-deep); font-size: .875rem; font-weight: 650; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.home-primary { padding: 12px 20px; border-radius: 12px; background: var(--brand-deep); color: white; text-decoration: none; font-weight: 650; }
.home-primary:hover { background: var(--ink); color: white; }
.home-page :focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 5px; }
.home-page figure { margin: 0; min-width: 0; }
.route-figure img { display: block; width: 100%; height: auto; border-radius: 24px; }
.home-page figcaption { margin-top: 16px; color: #59685f; font-size: .875rem; line-height: 1.6; }
.map-legend { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; font-size: .875rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 16px; height: 16px; border: 3px solid var(--line-a); border-radius: 50%; background: white; }
.map-legend .legend-you { background: var(--self); }
.map-legend .legend-line-b { border-color: var(--line-b); }
.home-section { padding: var(--section-space) 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.home-section h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 0 0 20px; letter-spacing: -.025em; }
.home-section h3 { font-size: 1.125rem; margin: 16px 0 8px; }
.home-section p { margin: 12px 0; }
.home-section .eyebrow { margin: 0 0 12px; }
.section-intro { max-width: 680px; }
.home-steps, .home-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.step-number { color: var(--brand-deep); font-size: 2rem; font-weight: 600; }
.home-controls > div { border-left: 3px solid var(--brand); padding-left: 20px; }
.home-controls h3 { margin-top: 0; }
.feature-note { color: #59685f; font-size: .875rem; }
.awareness-figure, .message-figure { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface-soft); }
.awareness-flow { list-style: none; padding: 0; margin: 0; }
.awareness-flow li { position: relative; display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: white; font-weight: 650; }
.awareness-flow li + li { margin-top: 28px; }
.awareness-flow li + li::before { content: "↓"; position: absolute; top: -29px; left: 26px; color: var(--brand-deep); }
.awareness-flow span { color: var(--brand-deep); font-size: .875rem; }
.example-message { max-width: 90%; padding: 20px; background: white; border: 1px solid var(--border); border-radius: 18px 18px 18px 4px; }
.message-reply { margin: 24px 0 0 auto; background: var(--brand-deep); color: white; border: none; border-radius: 18px 18px 4px 18px; }
.home-resources { padding-bottom: 0; }
@media (max-width: 760px) {
  .home-hero, .feature-story, .home-steps, .home-controls { grid-template-columns: minmax(0, 1fr); }
  .home-hero { padding-top: 0; }
  .home-steps { gap: 24px; }
  .home-steps li { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .home-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page .document-card { transition: none; }
}
