:root {
  --bg: #fff;
  --text: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --card: #fafafa;
  --accent: #4d7c0f;
  --accent-text: #fff;
  --link: #4d7c0f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --border: #27272a;
    --card: #111113;
    --accent: #9cff44;
    --accent-text: #09090b;
    --link: #9cff44;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.1;
  color: var(--accent);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.125rem;
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 600;
}

.lead {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  opacity: 0.9;
}

main .wrap {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.shot-hero {
  max-height: 40rem;
  margin-top: 2rem;
  object-fit: cover;
  object-position: top;
}

.points {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
}

.card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.card .shot {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.card p {
  margin: 0;
  color: var(--muted);
}

pre {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
}

footer {
  margin-top: 3rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0.25rem 0;
}

@media (max-width: 40rem) {
  .hero {
    padding-top: 2.5rem;
  }

  .shot-hero {
    max-height: 28rem;
  }
}
