:root {
  color-scheme: dark;
  --bg: #090a10;
  --bg-soft: #10121a;
  --panel: #151720;
  --panel-strong: #1d202c;
  --text: #f7f5ee;
  --muted: #aaa7b2;
  --line: rgba(255, 255, 255, 0.12);
  --amber: #ffb21d;
  --green: #3bd37f;
  --cyan: #38d8ff;
  --wine: #b34270;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 20, 29, 0.78);
}

nav a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(100% - 32px, var(--max));
  min-height: calc(100svh - 112px);
  margin: 0 auto;
  padding: clamp(16px, 3.4vw, 42px) 0 28px;
}

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

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4.4rem, 10vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  color: #d6d2dc;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
}

.button.primary {
  background: var(--amber);
  color: #1b1200;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

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

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.quick-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.quick-facts dt {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
}

.quick-facts dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  min-height: min(720px, 74svh);
}

.phone {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #05060b;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 8px solid #161822;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone {
  position: absolute;
  aspect-ratio: 1320 / 2868;
}

.phone-home {
  z-index: 3;
  left: 17%;
  top: 2%;
  width: min(48%, 360px);
}

.phone-nowplaying {
  z-index: 2;
  right: 0;
  top: 12%;
  width: min(41%, 305px);
}

.phone-dashboard {
  z-index: 1;
  left: 0;
  bottom: 0;
  width: min(39%, 292px);
}

.strip {
  border-block: 1px solid var(--line);
  background: #11131a;
}

.strip p {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 24px 0;
  color: #dedbe3;
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  font-weight: 800;
}

.feature-band,
.screens-band,
.beta {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 116px) 0;
}

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

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

.feature {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 22px;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature:nth-child(1) {
  border-top-color: rgba(255, 178, 29, 0.55);
}

.feature:nth-child(2) {
  border-top-color: rgba(59, 211, 127, 0.55);
}

.feature:nth-child(3) {
  border-top-color: rgba(56, 216, 255, 0.55);
}

.feature:nth-child(4) {
  border-top-color: rgba(179, 66, 112, 0.55);
}

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

.feature-kicker {
  margin-bottom: 10px;
  color: var(--amber) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature img {
  align-self: end;
  width: 170px;
  aspect-ratio: 1320 / 2868;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.screens-band {
  width: 100%;
  max-width: none;
  background: #f5f0e7;
  color: #17130e;
}

.screens-band .section-heading {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.screens-band .eyebrow {
  color: #8e4a13;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 18px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.screen-gallery .phone {
  border-color: rgba(0, 0, 0, 0.16);
}

.screen-gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(11, 12, 16, 0.78);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.beta {
  padding-bottom: 88px;
}

.beta-inner {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.beta-inner img {
  border-radius: 8px;
}

.beta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
  }

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

  .hero-media {
    min-height: 640px;
  }

  .phone-home {
    left: 26%;
  }

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

  .feature {
    grid-template-columns: 1fr 150px;
    min-height: 310px;
  }

  .feature img {
    width: 150px;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.4rem);
  }

  .quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-facts div {
    padding: 10px;
  }

  .quick-facts dt {
    font-size: 0.92rem;
  }

  .quick-facts dd {
    display: none;
  }

  .hero-media {
    min-height: 280px;
  }

  .phone-home {
    left: 22%;
    width: 50%;
  }

  .phone-nowplaying {
    top: 20%;
    width: 40%;
  }

  .phone-dashboard {
    width: 36%;
  }

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

  .feature img {
    width: min(100%, 240px);
  }

  .screen-gallery {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .screen-gallery .phone {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }

  .beta-inner {
    grid-template-columns: 1fr;
  }
}
