:root {
  color-scheme: light dark;
  --bg: #f4f5f7;
  --card-bg: #ffffff;
  --text: #1c1e21;
  --muted: #5b6270;
  --accent: #512bd4;
  --border: #e3e5ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15161a;
    --card-bg: #1f2125;
    --text: #f2f3f5;
    --muted: #a4a9b3;
    --border: #303339;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.card.doc {
  text-align: left;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
}

.tagline {
  color: var(--muted);
  margin-top: 0;
  font-weight: 500;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.links a,
.back {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.links a:hover,
.back:hover {
  text-decoration: underline;
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
}

footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

footer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.doc h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.doc h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
}

.effective {
  color: var(--muted);
  font-size: 0.9rem;
}

.disclaimer {
  color: var(--muted);
  font-size: 0.85rem;
}
