.home-page {
  --home-black: #050505;
  --home-white: #f7f7f3;
  --home-muted: #a6a6a2;
  color: white;
  background: var(--home-black);
}

.home-page .shell {
  width: min(calc(100% - 4rem), 1280px);
}

.home-page .home-header {
  padding: 1.75rem 0;
  color: white;
  background: var(--home-black);
}

.home-page .brand {
  color: white;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.home-page .brand img {
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  border-radius: 0.78rem;
}

.home-page .nav-links {
  gap: 2.25rem;
}

.home-page .nav-links a {
  color: #d4d4d0;
}

.home-page .nav-links a:hover {
  color: white;
}

.home-hero {
  display: flex;
  min-height: calc(100svh - 98px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 62%, rgba(75, 124, 250, 0.12), transparent 25rem),
    var(--home-black);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(3.5rem, 7vh, 6.5rem);
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-kicker {
  margin: 0 0 1.5rem;
  color: var(--home-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-kicker-dark {
  color: #72726e;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: white;
  font-size: clamp(4.8rem, 9.4vw, 9.4rem);
  font-weight: 760;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.home-intro {
  max-width: 540px;
  margin: 2.25rem 0 2rem;
  color: #b7b7b2;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.55;
}

.home-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  color: var(--home-black);
  background: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.home-store-button svg {
  width: 1.3rem;
  height: 1.3rem;
}

.home-store-button:hover {
  background: #e8e8e3;
  transform: translateY(-2px);
}

.home-hero-phone {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
}

.home-hero-phone img {
  position: relative;
  z-index: 1;
  width: min(100%, 345px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.55));
}

.phone-glow {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 139, 247, 0.2), rgba(162, 95, 224, 0.08) 48%, transparent 70%);
  filter: blur(18px);
  transform: translateX(-50%);
}

.product-section {
  padding: clamp(6rem, 11vw, 10rem) 0 clamp(7rem, 12vw, 11rem);
  color: #0b0b0a;
  background: var(--home-white);
}

.product-heading {
  max-width: 980px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.product-heading h2,
.quiet-inner h2 {
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  font-weight: 740;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.product-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.product-screen {
  min-width: 0;
  margin: 0;
}

.product-screen figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.18);
}

.product-screen figcaption span {
  color: #8b8b86;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.product-screen figcaption strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-align: right;
}

.product-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.14));
}

.quiet-section {
  padding: clamp(7rem, 12vw, 12rem) 0;
  color: white;
  background: var(--home-black);
}

.quiet-inner {
  max-width: 1040px;
  text-align: center;
}

.quiet-inner h2 {
  margin-inline: auto;
}

.quiet-inner p {
  margin: 2rem auto 0.75rem;
  color: var(--home-muted);
}

.quiet-inner a {
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.quiet-inner a:hover {
  text-decoration: underline;
}

.home-page .home-footer {
  border-color: rgba(255, 255, 255, 0.12);
  color: #777773;
  background: var(--home-black);
}

.home-page .home-footer a {
  color: #a9a9a4;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    padding-top: 5rem;
    text-align: center;
  }

  .home-hero-copy {
    display: grid;
    justify-items: center;
  }

  .home-downloads {
    justify-content: center;
  }

  .home-hero h1 {
    font-size: clamp(4.5rem, 15vw, 7rem);
  }

  .home-hero-phone img {
    width: min(72vw, 320px);
  }

  .product-screens {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .product-screen {
    width: min(100%, 390px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .home-page .shell {
    width: min(calc(100% - 2rem), 1280px);
  }

  .home-page .home-header {
    padding: 1.1rem 0;
  }

  .home-page .brand span {
    display: inline;
  }

  .home-page .nav-links {
    gap: 1rem;
    font-size: 0.82rem;
  }

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

  .home-hero-grid {
    gap: 4rem;
    padding: 4.5rem 0 5.5rem;
  }

  .home-kicker {
    margin-bottom: 1.15rem;
  }

  .home-hero h1 {
    font-size: clamp(3.8rem, 18.5vw, 5rem);
    letter-spacing: -0.068em;
  }

  .home-intro {
    margin-top: 1.65rem;
    font-size: 1rem;
  }

  .home-downloads {
    align-items: center;
    flex-direction: column;
  }

  .home-hero-phone img {
    width: min(74vw, 285px);
  }

  .product-heading {
    margin-bottom: 4rem;
  }

  .product-heading h2,
  .quiet-inner h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .product-screen {
    width: min(86vw, 340px);
  }

  .product-screen figcaption {
    margin-bottom: 1.25rem;
  }
}
