:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5c6370;
  --line: #e3e6eb;
  --accent: #0a7cff;
  --accent-text: #ffffff;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f13;
    --card: #171a21;
    --text: #f1f3f6;
    --muted: #9aa3b2;
    --line: #262b35;
    --accent: #3d9bff;
    --accent-text: #ffffff;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 22%;
  flex: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.app-icon.small { width: 56px; height: 56px; }

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}

.subtitle { color: var(--muted); margin: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
}

.button:hover { text-decoration: none; opacity: 0.9; }

.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.app-row:hover { text-decoration: none; }
.app-row .name { font-weight: 600; }
.app-row .blurb { color: var(--muted); font-size: 0.95rem; }

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

details:first-of-type { border-top: none; padding-top: 0; }
details:last-of-type { padding-bottom: 0; }

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 8px 0 0; }

.steps { color: var(--muted); margin: 8px 0 0; padding-left: 20px; }

footer {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 36px;
}

footer a { color: var(--muted); text-decoration: underline; }

@media (max-width: 480px) {
  .page { padding-top: 32px; }
  .app-icon { width: 68px; height: 68px; }
  h1 { font-size: 1.45rem; }
}
