:root {
  color-scheme: light;
  --ink: #171322;
  --muted: #65717a;
  --paper: #f7f8fb;
  --surface: #ffffff;
  --line: #dfe6eb;
  --coral: #ff6b4a;
  --coral-dark: #d84d30;
  --mint: #19a88a;
  --blue: #3467b1;
  --plum: #322342;
  --shadow: 0 22px 60px rgba(23, 19, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Lato, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 70px);
  color: #ffffff;
  background: rgba(23, 19, 34, 0.78);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.nav-links {
  gap: clamp(12px, 2.4vw, 28px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: 120px clamp(20px, 6vw, 80px) 74px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(25, 168, 138, 0.34), transparent 28%),
    linear-gradient(135deg, #171322 0%, #2f2443 47%, #0d4d59 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #f7c56e;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.intro-band h2,
.section-heading h2,
.demo-copy h2,
.offer-section h2,
.legal-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.14rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--coral);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  width: 190px;
  max-width: 100%;
  min-height: 56px;
  text-decoration: none;
}

.app-store-link img {
  display: block;
  width: 100%;
  height: auto;
}

.floating-app-store-link {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  width: 178px;
  max-width: calc(100vw - 32px);
  min-height: 52px;
  border-radius: 8px;
  background: rgba(23, 19, 34, 0.84);
  box-shadow: 0 18px 46px rgba(23, 19, 34, 0.28);
  text-decoration: none;
}

.floating-app-store-link img {
  display: block;
  width: 100%;
  height: auto;
}

.app-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 42px 0 0;
}

.app-facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 14px;
}

.app-facts dt,
.app-facts dd {
  margin: 0;
}

.app-facts dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.app-facts dd {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  width: min(54vw, 305px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 193 / 420;
  object-fit: contain;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.phone-main {
  right: 8%;
  top: 4%;
  z-index: 2;
}

.phone-back {
  left: 0;
  bottom: 0;
  transform: rotate(-7deg);
  opacity: 0.82;
}

.intro-band,
.features,
.screens-section,
.demo-section,
.offer-section,
.legal-section {
  padding: 78px clamp(20px, 6vw, 80px);
}

.intro-band {
  background: #ffffff;
}

.intro-band h2 {
  max-width: 980px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
}

.intro-band p:not(.section-kicker) {
  max-width: 840px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.features,
.offer-section {
  background: #eef5f3;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.demo-copy h2,
.offer-section h2,
.legal-section h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature-card,
.offer-list article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 22px;
  background: #f1f5fb;
}

.feature-icon::before {
  font-size: 1.45rem;
  line-height: 1;
}

.feature-icon.radio::before { content: "♪"; color: var(--blue); }
.feature-icon.music::before { content: "♫"; color: var(--coral); }
.feature-icon.podcast::before { content: "P"; color: var(--mint); font-size: 1.25rem; font-weight: 900; }
.feature-icon.moon::before { content: "◐"; color: var(--plum); }
.feature-icon.sleep::before { content: "Zz"; color: var(--mint); font-size: 1rem; font-weight: 900; }
.feature-icon.alarm::before { content: "⏰"; }
.feature-icon.palette::before { content: "●"; color: var(--coral); }

.feature-card h3,
.offer-list h3 {
  margin: 0;
  font-size: 1.28rem;
}

.feature-card p,
.demo-copy p,
.offer-list p {
  color: var(--muted);
  line-height: 1.62;
}

.screens-section {
  background: #ffffff;
}

.screens-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 193px));
  gap: 18px;
  justify-content: start;
  margin-top: 34px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.screens-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 193 / 420;
  object-fit: contain;
  min-width: 150px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: #101018;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  background: #171322;
  color: #ffffff;
}

.demo-copy p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.06rem;
}

.demo-copy .app-store-link {
  margin-top: 12px;
}

.demo-video {
  width: 100%;
  max-height: 680px;
  border-radius: 8px;
  background: #09070d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 70px);
}

.offer-list {
  display: grid;
  gap: 14px;
}

.offer-list article {
  min-height: 0;
}

.legal-section {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  background: #ffffff;
}

.legal-links {
  width: min(100%, 430px);
  display: grid;
  gap: 12px;
  align-content: start;
}

.legal-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--blue);
  background: #fbfcff;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 80px);
  color: #d8e3df;
  background: #171322;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .demo-section,
  .offer-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone {
    width: min(46vw, 260px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-section {
    display: grid;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-store-link {
    width: 186px;
  }

  .floating-app-store-link {
    left: 50%;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 184px;
    transform: translateX(-50%);
  }

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

  .hero-visual {
    min-height: 420px;
  }

  .phone {
    width: min(62vw, 230px);
  }

  .phone-main {
    right: 0;
  }
}
