:root {
  --background: #f2ede4;
  --primary: #3d4a35;
  --secondary: #2c2c2c;
  --accent: #c4a882;
  --stone: #8a8a7a;
  --panel: rgba(255, 255, 255, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Tajawal", "Segoe UI", sans-serif;
  line-height: 1.8;
}

a {
  color: var(--primary);
  font-weight: 700;
}

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

.panel {
  width: min(560px, 100%);
  padding: 40px 28px;
  text-align: center;
  background: var(--panel);
  border: 1px solid rgba(196, 168, 130, 0.45);
  border-radius: 12px;
}

.logo {
  width: 128px;
  height: auto;
  margin-bottom: 12px;
}

h1,
h2 {
  color: var(--primary);
  line-height: 1.35;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 8vw, 64px);
}

h2 {
  margin-top: 32px;
  font-size: 24px;
}

.tagline,
.updated {
  color: var(--stone);
}

.links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.links a,
.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(61, 74, 53, 0.42);
  border-radius: 8px;
  text-decoration: none;
}

.document {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 32px 22px 72px;
}

.document h1 {
  margin-top: 32px;
  font-size: clamp(36px, 6vw, 56px);
}

.document p,
.document li {
  font-size: 18px;
}

.support-card {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid rgba(196, 168, 130, 0.45);
  border-radius: 10px;
}

@media (max-width: 520px) {
  .document {
    padding-inline: 18px;
  }
}
