:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.home main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 28rem);
}

.home img {
  width: min(240px, 70vw);
  height: auto;
}

.home h1 {
  margin: 28px 0 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.45;
}

.home nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 36px;
}

.home nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home nav a:hover {
  color: var(--ink);
}

.doc {
  width: min(100% - 48px, 40rem);
  margin: 0 auto;
  padding: 36px 0 72px;
}

.doc-mark {
  display: inline-block;
  line-height: 0;
}

.doc-mark img {
  width: 148px;
  height: auto;
}

.doc h1 {
  margin: 48px 0 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.updated {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc section {
  margin-top: 32px;
}

.doc h2 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc p {
  margin: 8px 0 0;
  color: #3a3a3a;
  font-size: 1rem;
  line-height: 1.6;
}

.doc a {
  text-underline-offset: 3px;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
  color: var(--muted);
  font-size: 0.9375rem;
}

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

.doc-links a:hover {
  color: var(--ink);
}
