:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --card: #141417;
  --card-line: #26262a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font: 400 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1,
p,
ul,
figure {
  margin: 0;
}

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

img,
svg {
  display: block;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.page {
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(28px, 7vh, 80px) clamp(20px, 6vw, 96px) clamp(24px, 4vh, 40px);
  display: grid;
  grid-template-rows: 1fr auto;
  row-gap: 48px;
}

main {
  align-self: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(40px, 5vw, 80px);
}

/* Low enough that the icon's tile adds less than one color level: only the figure shows. */
.ghost {
  position: fixed;
  z-index: -1;
  right: -26vh;
  bottom: -17vh;
  height: 110vh;
  width: auto;
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
}

.brand {
  width: fit-content;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.brand img {
  width: 96px;
  height: 96px;
}

.brand h1 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(2.25rem, 0.5rem + 4.6vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede span {
  display: block;
  color: var(--ink-3);
}

.action {
  grid-column: 2;
  margin-top: clamp(28px, 5vh, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px 14px 22px;
  border-radius: 980px;
  background: var(--ink);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.15s;
}

.download:hover {
  background: #d2d2d7;
}

.download:active {
  background: #b4b4b9;
}

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

.note {
  color: var(--ink-3);
  font-size: 13px;
}

.scale {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 8vh, 88px);
  padding: 28px 32px 22px;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink-3);
  font: 12px/1 var(--mono);
}

.icons .row {
  display: grid;
  grid-template-columns: repeat(17, minmax(0, 48px));
  justify-content: space-between;
  column-gap: 8px;
}

.icons img {
  width: 100%;
  height: auto;
}

.icons p {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.icons p span:nth-child(2),
.lines p {
  color: var(--ink-2);
  font: 13px/1.4 var(--sans);
}

.lines {
  display: none;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px 12px;
}

.lines p {
  grid-column: 1 / -1;
}

.bar {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  gap: 3px;
}

.bar i {
  height: 6px;
}

.features {
  grid-column: 1 / -1;
  margin-top: clamp(28px, 5vh, 40px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
}

.features strong {
  display: block;
  font-weight: 600;
}

.features span {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
}

footer {
  justify-self: end;
  color: var(--ink-3);
  font-size: 12px;
}

footer a {
  color: var(--ink-2);
  text-decoration-color: #3a3a3c;
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

footer a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

@media (max-width: 959px) {
  main {
    display: block;
  }

  .lede {
    margin-top: clamp(28px, 5vh, 44px);
  }
}

@media (max-width: 719px) {
  .page {
    padding-top: clamp(20px, 4vh, 40px);
    padding-bottom: clamp(16px, 2.5vh, 28px);
    row-gap: 20px;
  }

  main {
    text-align: center;
  }

  .ghost {
    right: -52vw;
    bottom: -30vw;
    height: 140vw;
  }

  .brand {
    margin-inline: auto;
    gap: 8px;
  }

  .brand img {
    width: 72px;
    height: 72px;
  }

  .brand h1 {
    font-size: 17px;
  }

  /* Each half of the headline is ~11.75em wide, so 7.2vw keeps both on one line. */
  .lede {
    margin-top: clamp(16px, 3vh, 28px);
    font-size: 7.2vw;
    line-height: 1.08;
  }

  .action {
    margin-top: clamp(20px, 3.5vh, 32px);
    flex-direction: column;
    gap: 14px;
  }

  .action p {
    line-height: 1.4;
    text-wrap: balance;
  }

  .meta {
    font-size: 13px;
  }

  .scale {
    margin-top: clamp(20px, 4vh, 36px);
    padding: 16px 18px;
    border-radius: 16px;
  }

  .icons {
    display: none;
  }

  .lines {
    display: grid;
    row-gap: 10px;
  }

  .features {
    margin-top: clamp(16px, 3vh, 28px);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .features strong {
    line-height: 1.35;
  }

  .features span {
    font-size: 13px;
    line-height: 1.4;
  }

  footer {
    justify-self: center;
  }
}
