:root {
  --ink: #171c20;
  --ink-2: #1f262b;
  --line: #2c363c;
  --cream: #f4ebdc;
  --muted: #b9b2a6;
  --teal: #43c0ab;
  --teal-deep: #558d81;
  --max: 64rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--teal); text-underline-offset: 0.2em; }
a:hover { color: var(--cream); }

.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  font: 800 1.125rem/1 "Outfit", system-ui, sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand img { width: 2.5rem; height: 2.5rem; }

nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; font-size: 0.95rem; }
nav a:hover { color: var(--cream); }

.hero { padding-block: clamp(3rem, 10vw, 7rem) clamp(2.5rem, 6vw, 4.5rem); }

.eyebrow {
  color: var(--teal);
  font: 700 1rem/1.2 "Outfit", system-ui, sans-serif;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

h1, h2 { font-family: "Outfit", system-ui, sans-serif; line-height: 1.05; margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 7vw, 4.75rem); max-width: 14ch; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2rem); }

.lede { color: var(--muted); font-size: clamp(1.0625rem, 2.2vw, 1.25rem); max-width: 40rem; margin: 1.5rem 0 2rem; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 0.6rem;
}
.cta:hover { background: var(--cream); color: var(--ink); }
.cta svg { width: 1.25rem; height: 1.25rem; }

.note { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.5rem;
}
.card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin: 0; }

.road {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-deep) 0 1.25rem, transparent 1.25rem 2rem);
  opacity: 0.6;
}

footer.site {
  color: var(--muted);
  font-size: 0.9rem;
  padding-block: 2rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.prose { max-width: 44rem; padding-block: 2.5rem 4rem; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: none; }
.prose h2 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; }
.prose p, .prose li { color: #ddd5c8; }
.prose .updated { color: var(--muted); margin-top: 0.75rem; }

@media (max-width: 30rem) {
  nav a { margin-left: 0.9rem; }
  .brand span { font-size: 1rem; }
}
