/* ===================================================================
   The front door (`/`): what the site is, the way into each corpus, and
   the interest form /about also carries. Not statute and not a listing,
   so it sets its own rhythm rather than borrowing `.doc`. ============ */

.home-page {
  max-width: 52rem;
  margin: 0 auto;
  padding: var(--space-11) var(--space-6) 5rem;
}

.home-hero h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 620;
  letter-spacing: .01em;
  margin: 0 0 var(--space-6);
}
.home-lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
  text-wrap: pretty;
}

/* ---------------------------------------------------- the two corpora */

.home-corpora {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin: var(--space-11) 0;
}
.home-corpus {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-9);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--panel);
  text-decoration: none;
  transition: border-color .12s, box-shadow .12s;
}
.home-corpus:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.home-corpus-abbr {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: var(--text-2xs);
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: .18em .5em;
  border-radius: var(--radius-sm);
}
.home-corpus-title {
  font-size: 1.22rem;
  font-weight: 620;
  color: var(--ink);
}
.home-corpus-desc {
  font-size: var(--text-lg);
  color: var(--muted);
  flex: 1;
}

/* ---------------------------------------------------------- features */

.home-features {
  margin: var(--space-11) 0;
}
.home-features h2,
.home-cta h2 {
  font-size: 1.15rem;
  font-weight: 620;
  margin: 0 0 var(--space-7);
}
.home-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
}
.home-features li {
  font-size: var(--text-lg);
  color: var(--muted);
  padding-left: 1.1rem;
  border-left: 2px solid var(--rule);
}
.home-features strong {
  color: var(--ink);
  font-weight: 620;
}
.home-features a { color: var(--accent); }

/* --------------------------------------------------------- interest form */

.home-cta {
  margin: var(--space-11) 0;
  padding: var(--space-9);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}
.home-cta p {
  font-size: var(--text-lg);
  color: var(--muted);
  margin: 0 0 var(--space-7);
  max-width: 38rem;
}
.home-cta a { color: var(--accent); }
.home-cta .subscribe-form { max-width: 26rem; }

.home-about {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--faint);
  margin: 0;
}
.home-about a { color: var(--accent); text-decoration: none; }
.home-about a:hover { text-decoration: underline; }

@media (max-width: 44rem) {
  .home-page { padding: var(--space-9) var(--space-5) 4rem; }
  .home-hero h1 { font-size: 2rem; }
  .home-corpora { grid-template-columns: 1fr; }
}
