:root {
  color-scheme: light dark;
  --text: #1c1c1e;
  --muted: #6c6c70;
  --bg: #ffffff;
  --link: #5b3fd6;
  --line: #e5e5ea;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #f2f2f7; --muted: #a1a1a6; --bg: #000000; --link: #a594ff; --line: #2c2c2e; }
}
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 48px 16px 64px; }
header { max-width: 640px; margin: 0 auto; padding: 24px 16px 0; }
footer { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer a { margin-right: 16px; }
.wordmark { font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; }
h1 { font-size: 28px; margin: 0 0 4px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
.muted { color: var(--muted); }
a { color: var(--link); }
li { margin: 6px 0; }
/* The home page: black, in light mode too, with only the company and how to reach it at the bottom
   (Apple checks a company's site before it's enrolled as one). */
.home { background: #000000; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; }
.home .company { margin: 0; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); text-align: center; color: #8e8e93; font-size: 13px; }
.home .company a { color: inherit; }
/* Nara for Mac's download (mac/download.html): the icon, its name, the button. */
.mac main { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; padding: 0 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mac img { filter: drop-shadow(0 10px 24px rgba(23, 99, 225, 0.28)); }
.mac h1 { font-size: 34px; letter-spacing: -0.02em; margin: 24px 0 0; }
.mac .button { margin-top: 28px; padding: 14px 40px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transition: transform 0.15s ease, opacity 0.15s ease; }
.mac .button:hover { transform: scale(1.03); }
.mac .button:active { transform: scale(0.98); opacity: 0.85; }
.mac .button.off { background: var(--line); color: var(--text); cursor: default; transform: none; }
