* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #262626;
  --text: #f5f5f5;
  --muted: #888;
  --accent: #c9a84c;
  --accent-soft: rgba(201, 168, 76, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 32px;
}

.container {
  width: 100%;
  max-width: 560px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero-icon {
  width: 144px;
  height: 144px;
  margin: 0 auto 24px;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.tagline {
  margin-top: 12px;
  font-size: 16px;
  color: #b3b3b3;
}

.subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.store-button:hover {
  border-color: #444;
  background: #1a1a1a;
  transform: translateY(-1px);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.store-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.footer {
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-dot {
  color: #444;
}

.doc-page .container {
  max-width: 720px;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}

.doc-card h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.doc-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.doc-card h2 {
  font-size: 17px;
  margin: 24px 0 8px;
  color: #ddd;
}

.doc-card p,
.doc-card li {
  font-size: 14px;
  color: #aaa;
}

.doc-card ul {
  margin: 8px 0 0 18px;
}

.doc-card li {
  margin-bottom: 6px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.support-card {
  text-align: center;
}

.support-card p {
  margin-bottom: 16px;
}

.support-email {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 520px) {
  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-button {
    min-width: 0;
    width: 100%;
  }
}
