:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --link: #0a66c2;
  --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --link: #4da3ff;
    --bg: #000000;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", sans-serif;
  line-height: 1.7;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

h1 { font-size: 1.8rem; margin: 0; line-height: 1.3; }
h2 { font-size: 1.25rem; margin-top: 2rem; }
h3 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.25rem; }
a { color: var(--link); }
.updated, .back { color: var(--muted); }
li { margin-bottom: 0.4rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 1.5rem;
}

/* iOS 圖示的圓角大約是邊長的 22.5% */
.app-icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22.5%;
  box-shadow: 0 6px 18px rgba(16, 26, 58, 0.28);
}

.brand-small { gap: 14px; }
.brand-small .app-icon { width: 48px; height: 48px; box-shadow: 0 3px 8px rgba(16, 26, 58, 0.25); }
.brand-small h1 { font-size: 1.5rem; }

.tagline { margin: 0.2rem 0 0; color: var(--muted); }

@media (max-width: 420px) {
  .brand { gap: 14px; }
  .brand .app-icon { width: 72px; height: 72px; }
  .brand-small .app-icon { width: 44px; height: 44px; }
}
