:root {
  color-scheme: light dark;
  --bg: #faf8f4;
  --text: #222a30;
  --muted: #5d6870;
  --line: #ddd6c8;
  --accent: #bc6a4b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f272d;
    --text: #e7e2d8;
    --muted: #a3acb2;
    --line: #3a464e;
    --accent: #d98a6b;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

h1 { font-size: 1.7rem; line-height: 1.3; margin: 0 0 4px; }
h2 { font-size: 1.25rem; margin: 48px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
h3 { font-size: 1.05rem; margin: 28px 0 6px; }

p, ul, dl { margin: 0 0 14px; }
ul { padding-left: 1.3em; }
li { margin-bottom: 4px; }

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

.app-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.app-header h1 { margin: 0; }
.app-icon { width: 96px; height: 96px; border-radius: 22%; border: 1px solid var(--line); flex-shrink: 0; }

.store-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.store-link:hover { opacity: 0.85; }

.lead { color: var(--muted); margin-bottom: 24px; }
.muted { color: var(--muted); font-size: 0.9rem; }

nav.lang { font-size: 0.9rem; margin-bottom: 24px; }
nav.lang a { margin-right: 12px; }

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

dt { font-weight: 600; margin-top: 12px; }
dd { margin: 2px 0 0; }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-bottom: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }

footer { margin-top: 64px; font-size: 0.85rem; color: var(--muted); }
footer a { margin-right: 14px; }
