:root {
  --blue: #2f7df6;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --bg: #f4f7fb;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f7;
    --muted: #a1a1a8;
    --bg: #111318;
    --card: #1c1f26;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

header.hero {
  text-align: center;
  margin-bottom: 40px;
}

header.hero img {
  width: 140px;
  height: 140px;
  border-radius: 31px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  image-rendering: pixelated;
}

h1 { font-size: 2.4rem; margin: 20px 0 4px; }
h2 { margin-top: 36px; }
.tagline { color: var(--muted); font-size: 1.2rem; margin: 0; }
#download { margin: 20px 0 8px; }
.invite-help { color: var(--muted); max-width: 32em; margin: 0 auto; }
.invite-code {
  font: 700 2.4rem ui-monospace, Menlo, monospace;
  letter-spacing: 0.2em;
  margin: 8px 0;
  user-select: all;
}
.invite-code.missing { font: inherit; letter-spacing: normal; color: var(--muted); }
button.button { border: none; font-size: 1rem; cursor: pointer; }

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.features { padding-left: 1.2em; }
.features li { margin: 6px 0; }

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

.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}

nav.top { margin-bottom: 24px; }
nav.top a { text-decoration: none; font-weight: 600; }

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