:root {
  color-scheme: dark;
  --font-sans: ui-sans-serif, system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  --chrome: #000000;
  --surface: #111111;
  --text: #f5f5f5;
  --text-muted: rgb(255 255 255 / 58%);
  --text-soft: rgb(255 255 255 / 72%);
  --text-subtle: rgb(255 255 255 / 50%);
  --border: rgb(255 255 255 / 8%);
  --border-strong: rgb(255 255 255 / 14%);
  --hover: rgb(255 255 255 / 9%);
  --pressed: rgb(255 255 255 / 14%);
  --ring: rgb(255 255 255 / 46%);
  --radius: 10px;
  --radius-sm: 6px;
  --gutter: 24px;
  --chapter: 80px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--chrome);
  scroll-padding-top: 80px;
}

body {
  background-color: var(--chrome);
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 256px 256px;
  color: var(--text);
  font: 400 17px / 1.55 var(--font-sans);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

code {
  color: var(--text);
  font: 400 0.9em var(--font-mono);
}

:focus-visible {
  border-radius: var(--radius-sm);
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.icon {
  fill: none;
  flex: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 18px;
}

.wrap {
  margin-inline: auto;
  max-width: calc(1200px + var(--gutter) * 2);
  padding-inline: var(--gutter);
}

.narrow {
  margin-inline: auto;
  max-width: calc(920px + var(--gutter) * 2);
  padding-inline: var(--gutter);
}

.skip {
  background: var(--text);
  border-radius: var(--radius-sm);
  color: var(--chrome);
  left: 12px;
  padding: 8px 12px;
  position: fixed;
  top: -60px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

/* Navigation */

.nav {
  background: rgb(0 0 0 / 85%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav .wrap {
  align-items: center;
  display: flex;
  gap: 16px;
  height: 64px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 600;
  gap: 10px;
  letter-spacing: -0.01em;
}

.brand img {
  height: 20px;
  width: auto;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav ul a {
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 6px;
  height: 36px;
  padding-inline: 10px;
  transition:
    color 150ms ease,
    background-color 150ms ease;
  white-space: nowrap;
}

.nav ul a[aria-current="page"] {
  background: var(--hover);
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .nav ul a:hover {
    background: var(--hover);
    color: var(--text);
  }
}

/* Buttons and links */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  background: rgb(0 0 0 / 40%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 8px;
  height: 40px;
  justify-content: center;
  padding-inline: 16px;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 100ms ease-out;
  white-space: nowrap;
}

.button.primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--chrome);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: var(--hover);
    border-color: var(--ring);
  }

  .button.primary:hover {
    background: #ffffff;
    border-color: #ffffff;
  }
}

.button:active {
  transform: scale(0.98);
}

.link {
  align-items: center;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 6px;
  transition: color 150ms ease;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    color: var(--text);
  }
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

/* Typography and rhythm */

.lockup-title {
  display: block;
  line-height: 0;
}

.lockup-title img {
  height: clamp(34px, 6.2vw, 54px);
  width: auto;
}

h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.lede {
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  max-width: 44ch;
  text-wrap: balance;
}

.body {
  color: var(--text-muted);
  max-width: 54ch;
  text-wrap: pretty;
}

.meta {
  color: var(--text-subtle);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* Hero */

.hero {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-block: 64px 40px;
}

.hero.centered {
  justify-items: center;
  text-align: center;
}

.hero.centered .actions {
  justify-content: center;
}

.hero .actions {
  margin-top: 6px;
}

/* Chapters */

.chapter {
  display: grid;
  gap: 32px;
  padding-top: var(--chapter);
}

.chapter.tight {
  padding-top: 48px;
}

.lead {
  display: grid;
  gap: 12px;
}

/* Feature grid */

.features {
  display: grid;
  gap: 24px 36px;
}

.features li {
  align-content: start;
  display: grid;
  gap: 6px;
}

.features p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Comparison table */

.table-wrap {
  overflow-x: auto;
}

.compare {
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  width: 100%;
}

.compare th,
.compare td {
  border-top: 1px solid var(--border);
  padding: 14px 16px 14px 0;
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  border-top: 0;
  color: var(--text-subtle);
  font-size: 14px;
  font-weight: 500;
  padding-top: 0;
}

.compare thead th:last-child {
  color: var(--text);
}

.compare tbody th {
  color: var(--text);
  font-weight: 500;
  width: 30%;
}

.compare td {
  color: var(--text-muted);
}

.compare td:last-child {
  color: var(--text);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 1px solid var(--border);
}

/* Key-value facts */

.facts {
  display: grid;
  gap: 0 36px;
}

.facts > div {
  align-content: start;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 6px;
  padding: 18px 0;
}

.facts dt {
  font-size: 16px;
  font-weight: 500;
}

.facts dd {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Numbered setup steps */

.steps {
  display: grid;
  gap: 0 36px;
}

.steps li {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
  grid-template-columns: 28px 1fr;
  padding: 18px 0;
}

.steps b {
  color: var(--text-subtle);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.1;
}

.steps p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.steps strong {
  color: var(--text);
  font-weight: 500;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Platform downloads list (Desktop) */

.channel {
  display: grid;
  gap: 18px;
}

.channel-head {
  display: grid;
  gap: 4px;
}

.channel-head p {
  color: var(--text-muted);
  font-size: 15px;
}

.platforms {
  border-top: 1px solid var(--border);
}

.platforms li {
  border-bottom: 1px solid var(--border);
}

.platforms a,
.platforms .platform-row {
  align-items: baseline;
  display: grid;
  font-size: 15px;
  gap: 16px;
  grid-template-columns: minmax(90px, 160px) minmax(0, 1fr) auto;
  padding: 14px 0;
  transition: color 150ms ease;
}

.platforms .format-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.platforms .format-links a {
  align-items: center;
  color: var(--text-muted);
  display: inline-flex;
  font-weight: 500;
  gap: 5px;
  padding: 0;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .platforms .format-links a:hover {
    color: var(--text);
  }
}

.platforms b {
  font-weight: 500;
}

.platforms .arch {
  color: var(--text-subtle);
}

.platforms .go {
  align-items: center;
  color: var(--text-muted);
  display: inline-flex;
  font-weight: 500;
  gap: 6px;
  transition: color 150ms ease;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .platforms a:hover .go {
    color: var(--text);
  }
}

/* Quiet note block */

.note {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.note h3 {
  font-size: 15px;
}

.note p {
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 1.6;
  max-width: 72ch;
}

.note strong {
  color: var(--text-soft);
  font-weight: 500;
}

/* Closing */

.closing {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding-block: calc(var(--chapter) * 1.25) var(--chapter);
  text-align: center;
}

.closing h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.closing .actions {
  justify-content: center;
  margin-top: 6px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 15px;
  margin-top: 48px;
  padding-block: 48px;
}

.footer .wrap {
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer .about {
  align-content: start;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
}

.footer .brand {
  color: var(--text);
}

.footer .footer-heading {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer ul {
  display: grid;
  gap: 8px;
}

.footer li.dim {
  color: var(--text-subtle);
}

.footer a {
  transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    color: var(--text);
  }
}

.footer .meta {
  color: inherit;
  grid-column: 1 / -1;
}

.footer .meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 48px;
    --chapter: 112px;
  }

  .hero {
    gap: 24px;
    padding-block: 96px 56px;
  }

  .footer .wrap {
    grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
  }

  .footer .about {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .nav .wrap {
    gap: 8px;
  }

  .nav ul a {
    padding-inline: 8px;
  }

  .nav .hide-narrow {
    display: none;
  }

  .platforms a,
  .platforms .platform-row {
    gap: 4px 12px;
    grid-template-columns: 1fr auto;
  }

  .platforms .arch {
    grid-column: 1;
  }

  .platforms .go,
  .platforms .format-links {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
  }

  .button:active {
    transform: none;
  }
}
