:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --background: #ffffff;
  --surface: #f5f5f7;
  --accent: #0a66e4;
  --rule: #d2d2d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --background: #000000;
    --surface: #1c1c1e;
    --accent: #4a9bff;
    --rule: #38383a;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  border-bottom: 1px solid var(--rule);
}

header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 14px;
}

header nav .home {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--text);
  font-weight: 600;
}

header nav .home img {
  width: 24px;
  height: 24px;
}

header nav a[aria-current="page"] {
  color: var(--text);
}

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

h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 40px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  margin: 24px 0 4px;
  font-size: 17px;
}

p,
ul,
ol {
  margin: 0 0 12px;
}

ul,
ol {
  padding-left: 22px;
}

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

.lede {
  color: var(--secondary);
  font-size: 21px;
  line-height: 1.4;
}

.updated {
  color: var(--secondary);
  font-size: 14px;
}

.hero {
  text-align: center;
}

.hero img {
  width: 128px;
  height: 128px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
}

.hero .lede {
  max-width: 560px;
  margin: 0 auto;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 0;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.feature {
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
}

.feature h3 {
  margin-top: 0;
}

.feature p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 13px;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 32px;
}

footer span {
  margin-right: auto;
}

footer a {
  color: var(--secondary);
}
