/* index.html: the company's front door. Shared components (buttons, the
   resource cards) live in main.css. Rewritten on 2026-11-30 with the page:
   the scanner's sections, the custom video player and the home page's own
   footer left with it. */
.home {
  padding-top: 0;
}

.home-hero {
  padding: var(--space-7) 0 var(--space-6);
  text-align: center;
}
.home-hero h1 {
  font-size: var(--text-display);
  max-width: 18ch;
  margin: 0 auto var(--space-4);
}
.home-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--fg-2);
}

/* The three doors. Each is a card with its audience, its program and the
   way in; on a phone they stack in the same order. */
.home-doors {
  padding-bottom: var(--space-7);
}
.door-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-4);
}
.door {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-raised);
}
.door h2 {
  margin: 0;
  font-size: var(--text-lg);
}
.door p {
  margin: 0;
  color: var(--fg-2);
  line-height: var(--leading-body);
}
.door .door-audience {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
}
.door-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.door .btn {
  text-align: center;
}
.door .door-more {
  margin-top: auto;
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.home-story {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--border);
}
.home-story p {
  max-width: var(--measure);
  line-height: var(--leading-body);
}

/* The video is the browser's own player: nothing loads until a reader
   presses play (preload="none"), so reduced motion and data saving need no
   script. The poster reserves the frame. */
.home-video {
  margin: var(--space-5) 0 0;
}
.home-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}
.home-video figcaption {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.home-research {
  padding: var(--space-7) 0 0;
  border-top: 1px solid var(--border);
}
.home-research-lead {
  max-width: var(--measure);
  color: var(--fg-2);
}
.home-research-more {
  margin-top: var(--space-4);
}
