:root {
  --background: #ffffff;
  --text: #1c1c1e;
  --secondary-text: #6e6e73;
  --link: #0a66d8;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --text: #f5f5f7;
    --secondary-text: #98989d;
    --link: #4ea1ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--link);
}

.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home h1 {
  margin: 0;
  font-size: clamp(2.75rem, 12vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 600;
}

.status {
  margin: 0.5rem 0 0;
  color: var(--secondary-text);
}

footer {
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
}

footer a {
  color: var(--secondary-text);
}

.document {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 32px 0 64px;
  overflow-wrap: break-word;
}

.document .back {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

.document h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.document h2 {
  font-size: 1.375rem;
  margin: 32px 0 8px;
}

.document h3 {
  font-size: 1.125rem;
  margin: 24px 0 8px;
}
