:root {
  color-scheme: light;
  --bg: #f8f6f2;
  --text: #111111;
  --muted: #6f6c66;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #1f5c4d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Space Grotesk", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  padding: clamp(3rem, 7vw, 5rem) 0 4rem;
  align-items: center;
}

.hero-copy {
  text-align: center;
  justify-self: center;
  max-width: 650px;
  width: 100%;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 4vw, 3.7rem);
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

.hero-copy .lede {
  font-size: 1.1rem;
  color: var(--muted);
}

.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  text-align: left;
}

.links li a {
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.links li a.external::after {
  content: "↗";
  font-size: 0.85rem;
}

.links li a.back::before {
  content: "←";
  font-size: 0.85rem;
}


.links li a:hover {
  color: var(--accent);
  border-color: var(--border);
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
