:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 68rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: Canvas;
  color: CanvasText;
}

.shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

.hero { margin-bottom: 3rem; }
.eyebrow { margin: 0 0 .5rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 4rem); line-height: 1.05; }
.lead { max-width: 48rem; font-size: 1.15rem; opacity: .72; }

section { margin: 2.5rem 0; }
h2 { margin-bottom: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem;
  border: 1px solid color-mix(in srgb, CanvasText 18%, transparent);
  border-radius: .8rem;
  color: inherit;
  text-decoration: none;
}

.card:hover { border-color: LinkText; }
.card strong { font-size: 1.05rem; }
.card span { opacity: .68; }
.card.primary { border-width: 2px; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}

.links a { color: LinkText; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, CanvasText 14%, transparent);
  opacity: .65;
  font-size: .9rem;
}

@media (max-width: 40rem) {
  .shell { padding-top: 2.5rem; }
  footer { flex-direction: column; }
}
