:root {
  color-scheme: light;
  --background: #f4f1ea;
  --text: #171716;
  --muted: #565652;
  --quiet: #777670;
  --line: #d4d0c7;
  --black: #111211;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  width: min(100% - 40px, 540px);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.76rem;
}

nav a,
.footer-links a,
.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover,
.footer-meta a:hover {
  color: var(--text);
}

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

.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  padding: 7px 14px;
  font-size: 0.7rem;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
}

.store-pill:hover {
  background: #2d2e2d;
}

.store-pill:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.intro {
  padding: 28px 0 28px;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin-top: 0;
}

h1 {
  max-width: 520px;
  margin-bottom: 20px;
  font-size: clamp(1.85rem, 4.2vw, 2.05rem);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.intro p,
.product-section > p {
  max-width: 520px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.intro p:last-child,
.product-section > p:last-of-type {
  margin-bottom: 0;
}

.product-section {
  padding-top: 26px;
}

.product-section h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.product-shot {
  position: relative;
  margin: 18px 0 10px;
  overflow: hidden;
  border: 1px solid #9a9994;
  border-radius: 10px;
  background: #000;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.player-subtitle {
  position: absolute;
  top: 41%;
  left: 50%;
  padding: 7px 12px 8px;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 7px;
  background: rgb(8 14 20 / 84%);
  box-shadow: 0 1px 4px rgb(0 0 0 / 28%);
  color: #fff;
  font-size: clamp(0.78rem, 2vw, 0.98rem);
  font-weight: 520;
  line-height: 1.1;
  white-space: nowrap;
}

.text-section {
  padding-top: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.feature-grid h3 {
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-grid ul {
  margin-bottom: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  list-style: none;
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 0 46px;
  text-align: center;
}

.closing h2 {
  margin-bottom: 5px;
  font-size: 1.05rem;
  font-weight: 650;
}

.closing p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.store-pill-large {
  min-height: 34px;
  padding-right: 18px;
  padding-left: 18px;
  font-size: 0.76rem;
}

.closing small {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 0.74rem;
}

.coming-soon-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 10;
  padding: 10px 16px;
  transform: translate(-50%, 12px);
  border-radius: 999px;
  background: var(--black);
  box-shadow: 0 8px 28px rgb(0 0 0 / 18%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 620;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.coming-soon-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.72rem;
}

footer > div:first-child {
  display: grid;
  gap: 3px;
}

footer strong {
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.footer-meta {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 8px;
}

.legal {
  padding: 64px 0 110px;
}

.legal h1 {
  margin-bottom: 16px;
}

.legal .updated {
  margin-bottom: 42px;
  color: var(--quiet);
  font-size: 0.8rem;
}

.legal h2 {
  margin: 34px 0 8px;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 20px;
}

@media (max-width: 660px) {
  .page {
    width: min(100% - 32px, 540px);
  }

  .topbar {
    align-items: flex-start;
    min-height: auto;
    padding: 18px 0;
  }

  nav {
    gap: 16px;
  }

  nav .store-pill {
    display: none;
  }

  .intro {
    padding: 36px 0 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 48px;
  }

  .feature-grid > div {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-row: 2;
  }

  .footer-meta {
    display: grid;
    grid-column: 1;
    gap: 4px;
  }
}
