:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #60646c;
  --rule: #d8d6d0;
  --paper: #f7f4ee;
  --accent: #2f6f73;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 33, 36, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
}

.intro {
  width: min(100%, 760px);
  padding-block: 16px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 14vw, 8.5rem);
  font-weight: 500;
  line-height: 0.92;
}

.lede {
  max-width: 44rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 30px;
}

.links a {
  color: var(--ink);
  font-size: 1rem;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.links a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent), white 40%);
  outline-offset: 5px;
}

@media (max-width: 520px) {
  .page {
    place-items: end start;
  }

  .intro {
    padding-block: 14px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }
}
