:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  background: Canvas;
  color: CanvasText;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: Canvas;
  color: CanvasText;
}

main {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}

h1,
h2 {
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1;
}

h2 {
  margin: 44px 0 12px;
  font-size: 1.25rem;
}

p,
li {
  font-size: 1rem;
  line-height: 1.65;
}

p {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.subtitle,
.meta {
  color: GrayText;
}

.links {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}

.links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  background: color-mix(in srgb, CanvasText 7%, Canvas);
  text-decoration: none;
  font-weight: 600;
}

.links a::after {
  content: "›";
  color: GrayText;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, CanvasText 12%, transparent);
  color: GrayText;
  font-size: 0.875rem;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 32px, 720px);
    padding-top: 40px;
  }

  header {
    margin-bottom: 40px;
  }
}
