/* Vox's icon colours: a white waveform on purple. */
:root {
  --bg: #faf8fd;
  --surface: #ffffff;
  --text: #1b1930;
  --muted: #5e5b75;
  --line: #e4e1f0;
  --accent: #7a4fe0;
  --on-accent: #ffffff;
  --glow: rgba(122, 79, 224, 0.14);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141120;
    --surface: #1d1930;
    --text: #f0effa;
    --muted: #a3a0bd;
    --line: #2b2947;
    --accent: #9a78f5;
    --on-accent: #ffffff;
    --glow: rgba(154, 120, 245, 0.22);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(900px 480px at 50% -120px, var(--glow), transparent 70%) no-repeat var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

.hero { padding: 80px 0 56px; text-align: center; }
.icon { display: block; margin: 0 auto 12px; }
.hero h1 {
  font-size: clamp(44px, 8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 18px;
}
.lede { font-size: 20px; color: var(--muted); max-width: 58ch; margin: 0 auto 34px; text-wrap: balance; }
.download {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  transition: filter 0.15s, transform 0.15s;
}
.download:hover { filter: brightness(1.1); transform: translateY(-1px); }
.download:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.meta { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; }

.shot {
  display: block;
  width: 100%;
  max-width: 620px;
  background: #ffffff; /* the screenshot is a light window with a clear background */
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 auto 56px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.grid h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.grid p { margin: 0; color: var(--muted); font-size: 15.5px; }

.install { padding-top: 64px; max-width: 68ch; }
.install h2 {
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 14px;
}
.install ol { margin: 0; padding-left: 22px; color: var(--muted); display: grid; gap: 8px; }
.install li::marker { color: var(--accent); font-weight: 650; }

.foot { padding: 64px 0 48px; color: var(--muted); font-size: 15px; }
.foot a { color: var(--text); }

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .grid { grid-template-columns: 1fr; }
}
