:root {
  color-scheme: dark;
  --background: #100f0d;
  --surface: #171512;
  --text: #ece6dc;
  --muted: #918b82;
  --line: #34302a;
  --line-active: #6e6559;
  --content-width: 76rem;
}

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

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 64% 34%, rgb(83 67 47 / 8%), transparent 38rem),
    var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-shell {
  display: flex;
  flex-direction: column;
  width: min(100% - 2rem, var(--content-width));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 1.25rem 1rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
}

.connection {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .045em;
}

.connection-mark {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: #aa9b83;
  box-shadow: 0 0 0 .2rem rgb(170 155 131 / 8%);
}

.release {
  display: grid;
  flex: 1;
  align-items: center;
  gap: 2.25rem;
  padding-block: clamp(2rem, 8vw, 5.5rem);
}

.cover-frame {
  position: relative;
  width: 100%;
  max-width: 39rem;
  margin: 0;
  background: var(--surface);
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 28%);
}

.cover-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(236 230 220 / 12%);
  content: "";
  pointer-events: none;
}

.cover {
  display: block;
  width: 100%;
  height: auto;
}

.release-info {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(2.75rem, 13vw, 6.6rem);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .87;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: .78rem;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, padding 160ms ease;
}

.platform:nth-child(odd) {
  padding-right: .75rem;
}

.platform:nth-child(even) {
  padding-left: .75rem;
  border-left: 1px solid var(--line);
}

.platform::after {
  content: "↗";
  color: var(--muted);
}

.platform:not(.unavailable):hover,
.platform:not(.unavailable):focus-visible {
  border-color: var(--line-active);
  color: #fff;
  outline: none;
  padding-inline-start: .35rem;
}

.platform.unavailable {
  color: #5f5b55;
  cursor: default;
  pointer-events: none;
}

.platform.unavailable::after {
  content: "—";
  color: #4b4843;
}

.site-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .06em;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 48rem) {
  .site-shell {
    width: min(100% - 4rem, var(--content-width));
    padding-block: 1.75rem 1.25rem;
  }

  .release {
    grid-template-columns: minmax(0, 1.28fr) minmax(17rem, .72fr);
    gap: clamp(3rem, 8vw, 7rem);
  }

  h1 {
    font-size: clamp(4rem, 7.2vw, 6.6rem);
  }
}

@media (max-width: 27rem) {
  .site-header {
    align-items: flex-start;
  }

  .connection {
    max-width: 9rem;
    justify-content: flex-end;
    text-align: right;
  }

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

  .platform:nth-child(n) {
    padding-inline: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header,
  .release,
  .site-footer {
    animation: reveal 620ms both cubic-bezier(.2, .7, .2, 1);
  }

  .release {
    animation-delay: 90ms;
  }

  .site-footer {
    animation-delay: 180ms;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(.45rem);
    }
  }
}
