:root {
  --text: #1c1c1e;
  --text-secondary: #3a3a3c;
  --muted: #6e6e73;
  --faint: #aeaeb2;
  --link: #007aff;
  --card: #f2f2f7;
  --bg: #ffffff;
  --border: #e5e5ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --text-secondary: #d1d1d6;
    --muted: #98989d;
    --faint: #636366;
    --link: #0a84ff;
    --card: #1c1c1e;
    --bg: #000000;
    --border: #38383a;
  }
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 640px;
  margin: 60px auto;
  padding: 0 24px;
  color: var(--text);
  background: var(--bg);
}

h1 { font-size: 28px; font-weight: 600; margin-bottom: 4px; }
h2 { font-size: 18px; font-weight: 600; margin-top: 36px; margin-bottom: 12px; }
p, li { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.subtitle { color: var(--muted); font-size: 16px; margin-bottom: 40px; }
.back { margin-bottom: 32px; font-size: 15px; }
.card { background: var(--card); border-radius: 12px; padding: 20px 24px; margin-top: 12px; }

.faq-item { margin-bottom: 20px; }
.faq-q { font-weight: 600; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.faq-a { margin-top: 0; }

.app-list { list-style: none; padding: 0; margin: 0; }
.app-list li {
  background: var(--card);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.app-name { font-weight: 600; font-size: 17px; color: var(--text); display: block; margin-bottom: 4px; }
.app-links a { margin-right: 16px; font-size: 15px; }

.button {
  display: inline-block;
  background: var(--link);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 12px;
  margin-top: 24px;
}
.button:hover { text-decoration: none; opacity: 0.9; }

footer { margin-top: 48px; font-size: 13px; color: var(--faint); }

.lang-switch { margin-top: -32px; margin-bottom: 40px; font-size: 14px; }
.languages { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
@media (min-width: 480px) { .languages { columns: 3; } }
.languages li { font-size: 14px; line-height: 1.8; break-inside: avoid; }
