:root {
  color-scheme: dark;
  --bg: #070811;
  --panel: #101427;
  --panel-soft: #171c33;
  --ink: #ffffff;
  --muted: #c2bbd2;
  --dim: #8c849e;
  --line: rgba(255, 255, 255, 0.14);
  --purple: #bd65ff;
  --pink: #ff5ccb;
  --coral: #ff746b;
  --cyan: #77d9ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-width: 320px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 8, 17, 0.92), rgba(7, 8, 17, 0.42) 70%, rgba(7, 8, 17, 0));
}

.brand,
.nav-links,
.header-cta,
.hero-actions,
.hero-stats,
.genre-track,
.store-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  justify-self: start;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--pink) 55%, var(--purple));
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 92, 203, 0.28);
}

.nav-links {
  justify-self: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover,
.header-cta:hover {
  color: #fff;
}

.header-cta {
  justify-self: end;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 118px clamp(22px, 6vw, 90px) 96px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(7, 8, 17, 0), var(--bg));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #080911;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 17, 0.98) 0%, rgba(7, 8, 17, 0.86) 38%, rgba(7, 8, 17, 0.45) 72%, rgba(7, 8, 17, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 8, 17, 0.44), rgba(7, 8, 17, 0.78));
}

.hero-bg img {
  position: absolute;
  width: min(42vw, 420px);
  min-width: 260px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  filter: saturate(1.08);
}

.hero-bg-primary {
  right: clamp(24px, 8vw, 150px);
  top: 8%;
  transform: rotate(4deg);
}

.hero-bg-secondary {
  right: clamp(180px, 30vw, 500px);
  top: 22%;
  opacity: 0.7;
  transform: rotate(-7deg) scale(0.92);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 11vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.12;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.18rem);
  line-height: 1.65;
}

.hero-copy {
  width: min(610px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
}

.primary-button {
  background: linear-gradient(135deg, var(--coral), var(--pink) 52%, var(--purple));
  color: #fff;
  box-shadow: 0 16px 38px rgba(255, 92, 203, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  gap: clamp(18px, 4vw, 46px);
  flex-wrap: wrap;
  margin: 0;
}

.hero-stats div {
  min-width: 120px;
}

.hero-stats dt {
  color: #fff;
  font-size: clamp(1.28rem, 2.2vw, 1.9rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--dim);
  font-weight: 700;
}

.story-band,
.feature-grid,
.app-showcase,
.download-section {
  padding: clamp(64px, 10vw, 132px) clamp(22px, 6vw, 90px);
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  align-items: end;
  gap: clamp(34px, 6vw, 88px);
  background:
    linear-gradient(180deg, var(--bg), #0c0d17 45%, #0a0b14),
    #0c0d17;
}

.section-copy {
  max-width: 720px;
}

.genre-track {
  flex-wrap: wrap;
  gap: 12px;
}

.genre-track span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 18px;
  color: #f4efff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.genre-track span:nth-child(3n+1) {
  border-color: rgba(255, 116, 107, 0.4);
}

.genre-track span:nth-child(3n+2) {
  border-color: rgba(255, 92, 203, 0.4);
}

.genre-track span:nth-child(3n+3) {
  border-color: rgba(119, 217, 255, 0.35);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #090a13;
}

.section-heading {
  grid-column: span 1;
  padding-right: clamp(10px, 3vw, 34px);
}

.feature-grid article {
  min-height: 330px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.feature-index {
  display: block;
  margin-bottom: 70px;
  color: var(--pink);
  font-weight: 950;
}

.feature-grid article p {
  margin-bottom: 0;
  font-size: 1rem;
}

.app-showcase {
  overflow: hidden;
  background:
    linear-gradient(180deg, #0a0b14, #11172a 52%, #080911),
    #11172a;
}

.app-showcase .section-copy {
  margin-bottom: clamp(38px, 5vw, 62px);
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border: 10px solid #171928;
  border-radius: clamp(28px, 4vw, 48px);
  background: #090a13;
  box-shadow: var(--shadow);
}

.phone-shot.is-featured {
  transform: translateY(-34px);
}

.phone-shot figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(255, 116, 107, 0.18), rgba(255, 92, 203, 0.16) 44%, rgba(119, 217, 255, 0.1)),
    #0a0b14;
}

.download-section p {
  max-width: 720px;
}

.store-actions {
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-button {
  display: grid;
  min-width: 178px;
  min-height: 64px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.42);
}

.store-small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 750;
}

.store-large {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 90px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  background: #070811;
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-bg img {
    width: 48vw;
    opacity: 0.72;
  }

  .hero-bg-primary {
    right: -8vw;
  }

  .hero-bg-secondary {
    right: 30vw;
  }

  .story-band,
  .download-section {
    grid-template-columns: 1fr;
  }

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

  .section-heading,
  .feature-grid article {
    min-height: auto;
  }

  .feature-index {
    margin-bottom: 34px;
  }

  .phone-row {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin-inline: auto;
  }

  .phone-shot.is-featured {
    transform: none;
  }

  .store-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 86vh;
    padding: 104px 18px 72px;
  }

  .hero-bg img {
    width: 76vw;
    min-width: 230px;
    border-radius: 24px;
  }

  .hero-bg-primary {
    right: -28vw;
    top: 15%;
  }

  .hero-bg-secondary {
    right: 22vw;
    top: 34%;
  }

  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(7, 8, 17, 0.97), rgba(7, 8, 17, 0.78) 66%, rgba(7, 8, 17, 0.76)),
      linear-gradient(180deg, rgba(7, 8, 17, 0.42), rgba(7, 8, 17, 0.78));
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 5rem);
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .story-band,
  .feature-grid,
  .app-showcase,
  .download-section {
    padding: 58px 18px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 18px;
  }
}
