:root {
  --page-bg: #000000;
  --surface: #111111;
  --surface-2: #1c1c1e;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: rgb(255 255 255 / 10%);
  --accent: #0095da;
  --accent-2: #572f8e;
  --nav-bg: rgb(0 0 0 / 72%);
  --hero-scrim: linear-gradient(
    180deg,
    rgb(0 0 0 / 55%) 0%,
    rgb(0 0 0 / 8%) 28%,
    rgb(0 0 0 / 18%) 52%,
    rgb(0 0 0 / 78%) 78%,
    rgb(0 0 0 / 92%) 100%
  );
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --title-weight: 700;
  --title-style: normal;
  --title-letter: -0.045em;
  --title-rule: none;
  --radius: 16px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  color: #f5f5f7;
  text-decoration: none;
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-store {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-store img {
  display: block;
  height: 32px;
  width: auto;
}

.nav-store:hover {
  opacity: 0.9;
}

.hero {
  position: relative;
  min-height: 70svh;
  overflow: hidden;
  background: #000;
  color: #f5f5f7;
}

.tv-parade {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
}

.tv-parade-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: none;
  will-change: transform;
  user-select: none;
}

.tv-parade.is-paused .tv-parade-item {
  animation-play-state: paused;
}

.tv-set-bezel {
  background: #000;
  border-radius: 8px;
  padding: 2.15%;
  box-shadow:
    0 0 10px rgb(255 255 255 / 0.42),
    0 0 28px rgb(255 255 255 / 0.22),
    0 0 56px rgb(255 255 255 / 0.1);
}

.tv-set-bezel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: #111;
}

.tv-set-feet {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

@keyframes tv-parade-move {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--travel), 0, 0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-scrim);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 70svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 1.5rem 4.5rem;
  text-shadow: 0 2px 24px rgb(0 0 0 / 55%);
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  font-weight: var(--title-weight);
  font-style: var(--title-style);
  letter-spacing: var(--title-letter);
  line-height: 1.08;
  max-width: 16ch;
}

.hero-copy h1 em,
.hero-copy .accent {
  font-style: inherit;
  color: var(--accent);
}

.hero-copy p {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: rgb(245 245 247 / 82%);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.store-row img {
  height: 40px;
  width: auto;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--surface);
}

.section-title {
  margin: 0 auto 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: var(--title-weight);
  font-style: var(--title-style);
  letter-spacing: var(--title-letter);
  line-height: 1.15;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  border-bottom: var(--title-rule);
  padding-bottom: 0.65rem;
}

.lede {
  margin: -1.25rem auto 2.5rem;
  max-width: 40rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 3rem 4rem;
  align-items: center;
}

.intro-copy h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: var(--title-weight);
  font-style: var(--title-style);
  letter-spacing: var(--title-letter);
  line-height: 1.15;
  width: fit-content;
  max-width: 100%;
  border-bottom: var(--title-rule);
  padding-bottom: 0.55rem;
}

.intro-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.55;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-phone {
  justify-self: center;
  width: min(100%, 300px);
  border-radius: 44px;
  overflow: hidden;
}

.intro-phone video {
  display: block;
  width: 100%;
  aspect-ratio: 472 / 978;
  object-fit: cover;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.use-card {
  margin: 0;
}

.use-card figcaption {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
}

.use-card .tv-set-feet {
  width: 100%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.steps.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-inline: auto;
}

.step {
  text-align: center;
}

.step h3 {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.step img {
  display: block;
  margin: 0 auto;
  max-width: 280px;
  border-radius: 18px;
}

.steps.ipad .step img {
  max-width: 360px;
  width: 100%;
  border-radius: 12px;
}

.steps.tv {
  grid-template-columns: repeat(4, 1fr);
}

.steps.tv .step img {
  max-width: none;
  width: 100%;
  border-radius: 12px;
}

.steps.ipad .step,
.steps.tv .step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps.ipad .step img,
.steps.tv .step img {
  margin-top: auto;
}

.tv-callout {
  margin: 2.25rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent);
}

.feature-callout {
  position: relative;
  margin: 2.5rem auto 0;
  max-width: 38rem;
  padding: 1.55rem 1.6rem 1.25rem;
  text-align: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.new-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-callout p {
  margin: 0;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

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

.faq-list {
  max-width: 44rem;
  margin: 0 auto;
}

.faq-list + .faq-list,
.faq-item + .faq-item {
  margin-top: 1.5rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--title-weight);
  font-style: var(--title-style);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

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

.copyright {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.copyright a {
  color: var(--muted);
  text-decoration: none;
}

.copyright a:hover {
  color: var(--accent);
}

.subpage-main p,
.subpage-main ol {
  max-width: 40rem;
  color: var(--muted);
}

.subpage-main input[type="email"] {
  width: min(100%, 22rem);
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.subpage-main button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  color: #fff;
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
}

.subpage-main {
  padding: 6.5rem 1.25rem 4rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.subpage-main h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--title-weight);
  font-style: var(--title-style);
  border-bottom: var(--title-rule);
  padding-bottom: 0.6rem;
  width: fit-content;
}

.gallery {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 3rem;
}

.gallery.iphone {
  grid-template-columns: repeat(4, 1fr);
}

.gallery.tv {
  grid-template-columns: 1fr 1fr;
}

.gallery.logos {
  grid-template-columns: 1fr;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.press-hero {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-split,
  .steps,
  .steps.two,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .intro-phone {
    width: min(100%, 260px);
  }

  .steps.tv {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero-copy {
    padding: 6rem 1.15rem 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tv-parade-item {
    animation: none !important;
  }
}
