:root {
  --paper: #faf9f5;
  --ink: #141413;
  --muted: #5e5d59;
  --line: #d9d7cf;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

main {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.home h1 {
  margin: 0;
  font-size: clamp(44px, 11vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.home nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page {
  padding-top: 48px;
  padding-bottom: 72px;
}

.page .back {
  margin: 0 0 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page .back a {
  text-decoration: none;
}

.page h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.page .updated {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.page h2 {
  margin: 36px 0 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.page p {
  margin: 0 0 12px;
}

.page ul {
  margin: 0;
  padding-left: 20px;
}

.page li {
  margin-bottom: 10px;
}

footer {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  font-size: 14px;
  color: var(--muted);
}
