:root {
  color-scheme: dark;
  --muted: #aaa6a5;
  --rule: #33302f;
  --red: #ff3445;
  font-family: ui-rounded,system-ui,-apple-system,sans-serif;
  background: #070707;
  color: #faf7f5;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 1176px;
  padding: 0 clamp(20px,5vw,72px);
  margin: 0 auto;
}

a {
  color: inherit;
  text-underline-offset: .23em;
}

img,video {
  display: block;
  max-width: 100%;
}

a:focus-visible,summary:focus-visible,video:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  left: -500px;
}

.skip:focus {
  left: 20px;
  top: 10px;
  background: #000;
  padding: 8px;
  z-index: 10;
}

header,footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px,3vw,32px);
  font-size: .92rem;
}

nav a,.brand {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 750;
  letter-spacing: -.045em;
  font-size: 1.25rem;
}

nav a:hover,article a,.compat a {
  color: var(--red);
}

h1,h2,p,figure,dl,dd {
  margin: 0;
}

h1,h2 {
  letter-spacing: -.065em;
  line-height: .99;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem,7.2vw,6.1rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(2.4rem,5vw,4.25rem);
  font-weight: 600;
}

.legend {
  font-family: ui-monospace,monospace;
  letter-spacing: .045em;
  font-size: .79rem;
}

.legend {
  color: var(--red);
  margin-bottom: 21px;
}

.lede,.listen .intro > h2 + p,.compat p,article p,dd,details p {
  color: var(--muted);
  line-height: 1.55;
}

.lede {
  font-size: clamp(1.1rem,2.3vw,1.38rem);
  max-width: 37ch;
  margin: 24px 0;
}

.listen,.playing,.compat {
  padding: clamp(40px,7vw,78px) 0;
  border-top: 1px solid var(--rule);
}

.listen .intro {
  margin-bottom: 24px;
}

.listen .intro > .legend {
  margin-bottom: 12px;
}

.listen .intro > h2 + p {
  margin-top: 16px;
}

video {
  width: 100%;
  background: black;
  border: 1px solid var(--rule);
  border-radius: 18px;
  aspect-ratio: 16/9;
}

details {
  margin-top: 12px;
  color: var(--muted);
  font-size: .93rem;
}

summary {
  cursor: pointer;
}

details p {
  padding-top: 8px;
}

dt {
  margin-top: 20px;
  font-size: 1.12rem;
  font-weight: 650;
}

dd {
  margin-top: 3px;
}

.compat p {
  margin: 20px 0;
  max-width: 68ch;
}

footer {
  border-top: 1px solid var(--rule);
  border-bottom: 0;
  padding: 30px 0;
}

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0;
}

article h2 {
  font-size: 1.65rem;
  letter-spacing: -.035em;
  margin-top: 32px;
}

article p {
  margin: 12px 0;
  font-size: 1.06rem;
}

@media (max-width: 660px) {
  header,footer {
    align-items: flex-start;
  }
  header .brand img {
    width: 25px;
    height: 25px;
  }
  nav {
    gap: 12px;
    font-size: .83rem;
  }
  .listen,.playing,.compat {
    padding: 38px 0;
  }
  article {
    padding: 40px 0;
  }
}

@media (max-width: 345px) {
  header,footer {
    flex-wrap: wrap;
  }
}

article li {
  margin: .65rem 0;
  line-height: 1.55;
}

.clip-downloads {
  padding-inline-start: 1.5rem;
}

.clip-downloads a {
  display: inline-block;
  padding: .4rem .2rem;
}

.hero,
.playing {
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  padding-block: clamp(48px, 7vw, 94px);
}

.hero > div:first-child {
  container-type: inline-size;
}

.hero h1 {
  font-size: clamp(2.5rem, 15cqw, 4.4rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.store-button, .film-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.store-button {
  padding: .65rem 1.15rem;
  border-radius: 100px;
  background: #faf7f5;
  color: #151211;
  font-size: .98rem;
  font-weight: 650;
  text-decoration: none;
}

.store-button:hover {
  background: #fff;
}

.film-link {
  font-weight: 550;
}

.inner-display {
  width: 100%;
  padding: clamp(3px, .42vw, 6px);
  background: linear-gradient(145deg, #756e6b, #292726 39%, #464241 83%, #68625f);
  border: 1px solid #79716d;
  border-radius: 5.3% / 7.5%;
  box-shadow: 0 18px 64px #000a, 0 0 72px #73332c21;
}

.inner-display img {
  width: 100%;
  height: auto;
  border-radius: 4.5% / 6.4%;
}

.playing {
  grid-template-columns: 1.1fr .9fr;
}

.cover-example {
  max-width: 270px;
  justify-self: center;
}

.cover-example img {
  height: auto;
  border: 4px solid #484342;
  border-radius: 22px;
}

.cover-example figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
}

.compat:focus {
  outline: none;
}

.compat:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

@media (max-width: 740px) {
  .hero, .playing {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .hero {
    padding-block: 36px 42px;
  }
  .inner-display {
    max-width: 520px;
    justify-self: center;
  }
  .cover-example {
    max-width: min(72%, 245px);
  }
}
