:root {
  color-scheme: light dark;
  --bg: #f6f6f7;
  --panel: #ffffff;
  --text: #17171a;
  --muted: #6b6b76;
  --line: #e3e3e8;
  --accent: #5b4bff;
  --accent-text: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18181b;
    --panel: #222226;
    --text: #f2f2f4;
    --muted: #9c9ca8;
    --line: #34343a;
    --accent: #8275ff;
    --accent-text: #111114;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: inline-flex;
  color: var(--text);
}

.brand .logo {
  display: block;
  height: 26px;
  width: auto;
}

.nav {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.nav:hover {
  color: var(--text);
}

main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.hero {
  padding: 48px 0 40px;
  text-align: center;
}

.badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 540px;
  margin: 16px auto 0;
  font-size: 19px;
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.product h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.about {
  margin: 6px 0 0;
  font-size: 17px;
  color: var(--muted);
}

.points {
  flex: 1;
  margin: 16px 0 22px;
  padding-left: 20px;
  font-size: 15px;
  color: var(--muted);
}

.points li + li {
  margin-top: 6px;
}

.downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 20px;
  text-align: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
}

.download strong {
  font-size: 18px;
}

.download span {
  font-size: 12px;
  opacity: 0.85;
}

.download:hover {
  filter: brightness(0.94);
}

.small {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* The script sets data-platform on <html>. Without it ("other"), both
   downloads and both sets of steps are shown. */
.only-mac,
.only-windows,
[data-platform="mac"] .for-windows,
[data-platform="mac"] .only-other,
[data-platform="windows"] .for-mac,
[data-platform="windows"] .only-other {
  display: none;
}

[data-platform="mac"] .only-mac,
[data-platform="windows"] .only-windows {
  display: inline;
}

.hero .only-other {
  display: block;
}

[data-platform="mac"] .hero .only-other,
[data-platform="windows"] .hero .only-other {
  display: none;
}

.install {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.install h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.install {
  margin-top: 14px;
}

.steps + .steps {
  margin-top: 18px;
}

h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--muted);
}

[data-platform="mac"] h3,
[data-platform="windows"] h3 {
  display: none;
}

ol {
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
}

li + li {
  margin-top: 6px;
}

footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
