:root {
  color-scheme: light;
  --paper: oklch(97.3% 0.005 225);
  --paper-quiet: oklch(94.2% 0.008 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(99% 0.006 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: 17.85px;
  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: 100svh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}

.intro {
  width: 100%;
}

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

h1 {
  margin-bottom: 1.45rem;
  font-size: clamp(2.1726rem, 5.5794vw, 3.1824rem);
  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: 1.0608rem;
}

.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 28px;
  color: var(--muted);
  text-decoration: none;
}

.links a:hover,
.links a:focus-visible {
  color: var(--accent);
}

.links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.links svg {
  display: block;
  flex-shrink: 0;
}

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

  .page {
    padding: 3rem 0;
  }
}
