:root {
  color-scheme: light dark;
  --bg: #160f10;
  --card: #211819;
  --text: #fff8f3;
  --muted: #b8aaa4;
  --tan: #d1a06a;
  --red: #df4850;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(223, 72, 80, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 16%, rgba(209, 160, 106, 0.16), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  width: min(760px, 100%);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(33, 24, 25, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.brand {
  color: var(--tan);
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 8px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.02;
}

h2 {
  margin-top: 34px;
  color: var(--tan);
}

p,
li {
  color: var(--muted);
}

.updated {
  color: var(--tan);
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--tan);
  color: #211819;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

.document {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 48px 22px 80px;
}

.document h1 {
  margin-top: 18px;
}

.back {
  display: inline-flex;
  text-decoration: none;
  font-weight: 900;
  color: var(--tan);
  margin-bottom: 12px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

@media (max-width: 640px) {
  .hero {
    padding: 30px;
    border-radius: 22px;
  }

  .actions {
    flex-direction: column;
  }
}
