:root {
  --bg: #fbfaf7;
  --text: #1f2328;
  --muted: #5b6370;
  --accent: #1f5f8b;
  --rule: #e3e0d8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c;
    --text: #e6e6e3;
    --muted: #9aa3ad;
    --accent: #7fb6dd;
    --rule: #2c3138;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1rem 2rem;
}
h1 { font-size: 2rem; margin: 0 0 .25rem; letter-spacing: -.01em; }
h2 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 2.25rem 0 .5rem;
}
.lead { font-size: 1.1rem; margin: 0 0 .25rem; }
.sub { color: var(--muted); margin: 0; }
ul { padding-left: 1.1rem; margin: 0; }
li { margin: .3rem 0; }
a { color: var(--accent); }
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}
footer a { color: var(--muted); margin-right: 1rem; }
main.wide { max-width: 64rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: .75rem;
}
.video {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}
.video img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: .5rem;
  background: var(--rule);
}
.video .title { font-weight: 600; line-height: 1.35; margin-top: .5rem; }
.video .date { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.video:hover .title { color: var(--accent); }
.more { margin-top: 1.5rem; }
main.wide + footer { max-width: 64rem; }
