:root {
  color-scheme: light dark;
  --ink: #111315;
  --muted: #676b70;
  --paper: #f5f6f3;
  --white: #ffffff;
  --night: #08090a;
  --cyan: #33d6e6;
  --pink: #ff5d8f;
  --line: rgba(17, 19, 21, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  height: 76px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.header-download {
  min-width: 66px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.header-download:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--night);
}

.hero {
  position: relative;
  height: min(84svh, 780px);
  min-height: 560px;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  isolation: isolate;
}

#wave-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  padding-top: 98px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.app-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 72px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  margin: 17px 0 0;
  font-size: 28px;
  font-weight: 620;
  line-height: 1.3;
}

.hero-description {
  max-width: 620px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.download-button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--night);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, background 160ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  background: #e9fbfd;
}

.download-button:active {
  transform: translateY(0);
}

.download-symbol {
  font-size: 23px;
  line-height: 1;
}

.text-link {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 650;
  text-underline-offset: 5px;
}

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

.release-meta {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  text-decoration: none;
}

.experience {
  padding: 108px 24px 90px;
  background: var(--paper);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2,
.players h2,
.final-download h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.players-copy > p:last-child {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.product-shot {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--night);
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(17, 19, 21, 0.18);
}

.product-shot figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.features {
  padding: 0 24px 112px;
  background: var(--paper);
}

.feature-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
  min-height: 230px;
  padding: 38px 34px;
}

.feature-grid article + article {
  border-left: 1px solid var(--line);
}

.feature-number {
  color: var(--pink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
}

.feature-grid h3 {
  margin: 42px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.players {
  padding: 104px max(24px, calc((100% - 1120px) / 2));
  background: #d9e8e5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 84px;
  align-items: center;
}

.players-copy {
  max-width: 600px;
}

.players .section-kicker {
  color: #006c76;
}

.player-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(17, 19, 21, 0.22);
  list-style: none;
}

.player-list li {
  min-height: 62px;
  border-bottom: 1px solid rgba(17, 19, 21, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 650;
}

.player-list li::after {
  content: "✓";
  color: #006c76;
  font-size: 16px;
}

.install {
  padding: 108px 24px;
  background: var(--white);
}

.section-heading.compact {
  margin-bottom: 50px;
}

.install-steps {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.install-steps li {
  padding: 8px 34px 10px;
  text-align: center;
}

.install-steps li + li {
  border-left: 1px solid var(--line);
}

.install-steps span {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
}

.install-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.final-download {
  min-height: 250px;
  padding: 56px max(24px, calc((100% - 1120px) / 2));
  background: var(--night);
  color: var(--white);
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 30px;
  align-items: center;
}

.final-download > img {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  object-fit: cover;
}

.final-download .section-kicker {
  margin-bottom: 8px;
}

.final-download h2 {
  font-size: 34px;
}

.download-button.light {
  box-shadow: none;
}

footer {
  min-height: 86px;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 32px);
    height: 66px;
  }

  .hero {
    height: 86svh;
    min-height: 560px;
  }

  .hero-content {
    padding-top: 84px;
    padding-bottom: 54px;
  }

  .app-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 20px;
  }

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

  .hero-copy {
    font-size: 23px;
  }

  .hero-description {
    font-size: 15px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading h2,
  .players h2 {
    font-size: 36px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-grid h3 {
    margin-top: 26px;
  }

  .players {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li {
    padding: 25px 12px;
  }

  .install-steps li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .final-download {
    grid-template-columns: 64px 1fr;
  }

  .final-download > img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .final-download .download-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 15px;
  }

  .header-download {
    min-width: 60px;
    padding: 8px 13px;
  }

  .hero {
    min-height: 550px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero-actions {
    width: 100%;
    margin-top: 24px;
    flex-direction: column;
    gap: 15px;
  }

  .download-button {
    width: 100%;
  }

  .release-meta {
    font-size: 11px;
  }

  .experience,
  .features,
  .players,
  .install {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .players h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .players-copy > p:last-child {
    font-size: 16px;
  }

  .product-shot figcaption {
    line-height: 1.6;
  }

  .final-download {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .final-download h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
