:root {
  color-scheme: light;
  --paper: oklch(95% 0.007 225);
  --paper-quiet: oklch(91% 0.011 220);
  --ink: oklch(23% 0.014 250);
  --muted: oklch(45% 0.012 240);
  --line: oklch(80% 0.011 222);
  --accent: oklch(40% 0.05 250);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, oklch(97.5% 0.009 210), transparent 22rem),
    linear-gradient(135deg, var(--paper), var(--paper-quiet));
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.page {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 4rem 0;
}

.intro {
  width: 100%;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.45rem;
  font-size: clamp(2.35rem, 6.4vw, 3.6rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.045em;
}

p {
  max-width: 37rem;
  margin-bottom: 1.22rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.45rem;
  margin-top: 0.55rem;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.links a {
  color: var(--muted);
}

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }

  .page {
    min-height: auto;
    padding: 5.25rem 0 4rem;
  }
}
