:root {
  color-scheme: dark;
  --bg: #090a0c;
  --surface: #111820;
  --surface-2: #17212c;
  --text: #f4f7fa;
  --muted: #b7c0ce;
  --line: #284153;
  --cyan: #56b4e9;
  --amber: #f2b544;
  --green: #00c781;
  --red: #d95f5f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(9, 10, 12, 0.82);
  border-bottom: 1px solid rgba(86, 180, 233, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand strong {
  color: var(--amber);
}

nav {
  display: flex;
  gap: clamp(10px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(22px, 6vw, 76px) 82px;
  border-bottom: 1px solid rgba(86, 180, 233, 0.22);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.96) 0%, rgba(9, 10, 12, 0.78) 42%, rgba(9, 10, 12, 0.36) 100%),
    linear-gradient(0deg, rgba(9, 10, 12, 0.78), rgba(9, 10, 12, 0.22)),
    url("assets/screenshots/play-grid.png") center / cover no-repeat;
  filter: saturate(1.06);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px);
  mix-blend-mode: screen;
}

.hero-copy {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 7.4rem;
  line-height: 0.95;
  overflow-wrap: normal;
}

h1 span {
  display: block;
}

h2 {
  font-size: 4rem;
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.tagline {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.hero-actions,
.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.copy-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--amber);
  color: #05080a;
  border-color: #ffe4a3;
}

.button.secondary,
.copy-button {
  background: rgba(23, 33, 44, 0.84);
  color: var(--text);
  border-color: rgba(86, 180, 233, 0.72);
}

.button:hover,
.button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-1px);
}

.hero-status {
  position: absolute;
  left: clamp(22px, 6vw, 76px);
  right: clamp(22px, 6vw, 76px);
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-status span {
  padding: 7px 11px;
  border: 1px solid rgba(86, 180, 233, 0.38);
  border-radius: 8px;
  background: rgba(9, 10, 12, 0.76);
  color: var(--muted);
  font-size: 0.9rem;
}

.band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: #f4f7fa;
  color: #111820;
}

main > section[id] {
  scroll-margin-top: 88px;
}

.band.dark {
  background:
    linear-gradient(rgba(9, 10, 12, 0.94), rgba(9, 10, 12, 0.94)),
    url("assets/feature-graphic-1024x500.png") center / cover fixed;
  color: var(--text);
}

.band.accent {
  background: #101820;
  color: var(--text);
  border-top: 1px solid rgba(242, 181, 68, 0.28);
  border-bottom: 1px solid rgba(86, 180, 233, 0.2);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.split > *,
.feature-layout > *,
.pack-layout > *,
.poster-layout > *,
.sampler-layout > *,
.pocket-layout > *,
.download-layout > *,
.payment-layout > *,
.screenshot-row > *,
.version-grid > *,
.feature-gallery > * {
  min-width: 0;
}

.intro p:last-child,
.section-heading p,
.feature-copy p,
.pack-layout p,
.poster-copy p:last-child,
.sampler-copy p {
  color: inherit;
  opacity: 0.78;
  font-size: 1.08rem;
}

.feature-layout,
.pack-layout,
.poster-layout,
.sampler-layout,
.pocket-layout,
.download-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.feature-layout.reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
}

.feature-layout.reverse .feature-copy {
  order: 2;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: inherit;
  opacity: 0.92;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.plain-list li:nth-child(2)::before {
  background: var(--amber);
}

.plain-list li:nth-child(3)::before {
  background: var(--green);
}

.plain-list li:nth-child(4)::before {
  background: var(--red);
}

.poster-band,
.sampler-band {
  position: relative;
  overflow: hidden;
}

.poster-band::before,
.sampler-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 20%, rgba(242, 181, 68, 0.14), transparent 30%),
    radial-gradient(circle at 18% 80%, rgba(86, 180, 233, 0.12), transparent 32%);
}

.poster-layout,
.sampler-layout {
  position: relative;
}

.poster-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(310px, 0.9fr);
}

.poster-shot,
.sampler-shot {
  margin: 0;
}

.poster-shot {
  width: min(100%, 450px);
}

.poster-shot img,
.sampler-shot img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(242, 181, 68, 0.34);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46);
}

.poster-shot img {
  aspect-ratio: 2 / 3;
}

.poster-copy {
  align-self: center;
}

.sampler-layout {
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1.24fr);
}

.sampler-copy h2 {
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
}

.sampler-shot img {
  aspect-ratio: 3 / 2;
}

.sampler-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.pocket-band {
  position: relative;
  overflow: hidden;
}

.pocket-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(86, 180, 233, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(242, 181, 68, 0.1), transparent 45%);
}

.pocket-layout {
  position: relative;
  grid-template-columns: minmax(310px, 0.9fr) minmax(280px, 0.72fr);
}

.pocket-copy p:last-child {
  color: var(--muted);
  font-size: 1.18rem;
}

.promo-shot {
  margin: 0;
  justify-self: end;
  width: min(100%, 420px);
}

.promo-shot img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(242, 181, 68, 0.34);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.promo-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.device-shot {
  margin: 0;
}

.device-shot img {
  width: 100%;
  aspect-ratio: 2300 / 1080;
  object-fit: cover;
  border: 1px solid rgba(86, 180, 233, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.device-shot figcaption {
  margin-top: 10px;
  color: inherit;
  opacity: 0.62;
  font-size: 0.92rem;
  text-align: center;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.screenshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gallery-shot {
  margin: 0;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(17, 24, 32, 0.12);
  overflow: hidden;
}

.gallery-shot img {
  width: 100%;
  aspect-ratio: 2300 / 1080;
  object-fit: cover;
  background: #090a0c;
}

.gallery-shot figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #111820;
}

.gallery-shot figcaption strong {
  font-size: 1.08rem;
}

.gallery-shot figcaption span {
  color: rgba(17, 24, 32, 0.72);
}

.premium-shot {
  border-color: rgba(242, 181, 68, 0.48);
}

.premium-shot figcaption strong::after {
  content: " Deluxe";
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(242, 181, 68, 0.18);
  color: #8b5a00;
  font-size: 0.72rem;
  vertical-align: middle;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.deluxe-lede {
  max-width: 920px;
  color: var(--muted);
  font-size: 1.08rem;
}

.version-grid article,
.prompt-panel {
  border: 1px solid rgba(86, 180, 233, 0.28);
  border-radius: 8px;
  background: rgba(23, 33, 44, 0.72);
  padding: 22px;
}

.version-grid article:nth-child(1) {
  border-color: rgba(242, 181, 68, 0.42);
}

.version-grid article:nth-child(2) {
  border-color: rgba(86, 180, 233, 0.42);
}

.version-grid article:nth-child(3) {
  border-color: rgba(0, 199, 129, 0.42);
}

.version-grid p,
.prompt-panel p {
  color: var(--muted);
}

.code-panel,
.prompt-panel pre {
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  background: #101820;
  color: #e9f0f7;
}

.code-panel pre,
.prompt-panel pre {
  margin: 0;
  padding: 18px;
  font-size: 0.92rem;
  line-height: 1.48;
}

.code-panel code,
.prompt-panel code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.page-hero {
  min-height: auto;
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.deluxe-hero .feature-layout {
  align-items: center;
}

.download-layout,
.payment-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  align-items: start;
}

.download-card,
.notice-panel {
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.download-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 32, 0.14);
  box-shadow: 0 16px 40px rgba(17, 24, 32, 0.12);
}

.notice-panel {
  background: #101820;
  color: var(--text);
  border: 1px solid rgba(242, 181, 68, 0.34);
}

.notice-panel p {
  color: var(--muted);
}

.release-meta {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.release-meta div {
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 32, 0.12);
}

.release-meta dt {
  color: rgba(17, 24, 32, 0.62);
  font-weight: 800;
}

.release-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.checksum-label {
  margin-bottom: 8px;
  color: rgba(17, 24, 32, 0.62);
  font-weight: 850;
}

.checksum {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(86, 180, 233, 0.42);
  background: #101820;
  color: #e9f0f7;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.wide-button {
  width: 100%;
}

.inline-button {
  margin-top: 10px;
}

.disabled-button {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

.sample-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sample-pack-grid > * {
  min-width: 0;
}

.sample-pack-card {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 32, 0.14);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(17, 24, 32, 0.12);
}

.band.dark .sample-pack-card {
  background: rgba(23, 33, 44, 0.82);
  border-color: rgba(86, 180, 233, 0.28);
  box-shadow: none;
}

.sample-pack-card.paid-pack {
  border-color: rgba(242, 181, 68, 0.48);
}

.sample-pack-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
}

.sample-pack-header h3 {
  margin-bottom: 4px;
}

.pack-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(86, 180, 233, 0.16);
  color: #075c86;
  font-weight: 900;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.paid-pack .pack-badge {
  background: rgba(242, 181, 68, 0.2);
  color: var(--amber);
}

.band.dark .pack-badge {
  color: var(--cyan);
}

.pack-price {
  padding: 6px 9px;
  border-radius: 8px;
  background: #101820;
  color: var(--amber);
  white-space: nowrap;
}

.band.dark .pack-price {
  background: rgba(9, 10, 12, 0.84);
}

.pack-type,
.pack-description,
.pack-delivery {
  color: inherit;
  opacity: 0.76;
  overflow-wrap: anywhere;
}

.pack-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.pack-meta div {
  display: grid;
  grid-template-columns: minmax(76px, 0.28fr) minmax(0, 1fr);
  gap: 12px;
}

.pack-meta dt {
  color: inherit;
  opacity: 0.58;
  font-weight: 850;
}

.pack-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.sample-pack-actions {
  display: grid;
  gap: 10px;
}

.pack-checksum {
  margin: 0;
  color: inherit;
  opacity: 0.62;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  min-height: 148px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(86, 180, 233, 0.28);
  background: rgba(23, 33, 44, 0.72);
  color: var(--muted);
}

.step-list li::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--amber);
  color: #05080a;
  font-weight: 900;
}

.prompt-panel {
  background: #101820;
  color: var(--text);
  max-width: 100%;
  min-width: 0;
}

.copy-button {
  margin-bottom: 14px;
}

.manual-band .split {
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(86, 180, 233, 0.2);
  color: var(--muted);
  background: var(--bg);
  font-size: 0.92rem;
}

.site-footer div {
  display: grid;
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  main > section[id] {
    scroll-margin-top: 126px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 128px;
  }

  .hero-bg {
    background-position: center top;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.32rem;
  }

  .split,
  .feature-layout,
  .feature-layout.reverse,
  .pack-layout,
  .poster-layout,
  .sampler-layout,
  .pocket-layout,
  .download-layout,
  .payment-layout,
  .screenshot-row,
  .feature-gallery,
  .version-grid,
  .sample-pack-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .feature-layout.reverse .feature-copy {
    order: 0;
  }

  .promo-shot {
    justify-self: center;
    width: min(100%, 380px);
  }

  .poster-shot {
    justify-self: center;
    width: min(100%, 390px);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 92vh;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-copy,
  .hero-actions,
  .tagline {
    max-width: calc(100vw - 48px);
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .tagline {
    font-size: 1.04rem;
  }

  .hero-status {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 28px;
    max-width: calc(100vw - 48px);
  }

  .hero-status span {
    font-size: 0.84rem;
  }

  .button,
  .copy-button {
    width: 100%;
  }

  .page-hero .hero-actions {
    display: grid;
    max-width: calc(100vw - 48px);
  }

  .release-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sample-pack-header {
    flex-wrap: wrap;
  }

  .pack-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .step-list li {
    min-height: 0;
  }
}
