:root {
  --bg: #000000;
  --text: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.52);
  --muted-strong: rgba(255, 255, 255, 0.68);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: flow-root;
  min-height: calc(250vh - 220px);
  overflow: clip;
  text-align: center;
}

.hero-copy {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 20px;
  pointer-events: none;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity 420ms ease;
}

.hero-copy.is-hidden {
  opacity: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.eyebrow img {
  width: 11px;
  height: 15px;
  opacity: 0.74;
  transform: translateY(0.5px);
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 113px;
  height: 48px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #090a09;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.download-button svg {
  width: 13px;
  height: 15px;
  fill: currentColor;
  transform: translateY(-0.5px);
}

.phone-layer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-top: 70vh;
  pointer-events: none;
}

.gradient-aura {
  position: absolute;
  top: 39vh;
  left: 50%;
  z-index: 0;
  width: 1600px;
  height: 140vh;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%,
      #fffdf2 0%,
      #fff2ad 16%,
      #ffe066 36%,
      #f7c04a 56%,
      #ee9430 74%,
      transparent 88%);
  filter: blur(85px);
  opacity: 0.65;
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 2;
  width: auto;
  height: 118vh;
  max-width: none;
  filter: drop-shadow(0 42px 80px rgba(0, 0, 0, 0.68));
}

.features {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 104px;
  width: min(calc(100% - 40px), 900px);
  margin: 40px auto 0;
  padding: 0 0 40px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.feature-row.reversed .feature-media {
  order: 2;
}

.feature-row.reversed .feature-copy {
  order: 1;
  text-align: right;
}

.feature-media {
  width: 100%;
  max-width: 345px;
  aspect-ratio: 1 / 1;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  overflow: hidden;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy h2 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 37px;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: center;
  margin-top: 480px;
  padding: 0 20px 62px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.86);
}

.email-link {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(194vh - 200px);
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 15px;
  }

  h1 {
    font-size: 40px;
  }

  .phone-layer {
    margin-top: 66vh;
  }

  .gradient-aura {
    top: 45vh;
    width: 640px;
    height: 740px;
    background:
      radial-gradient(ellipse 50% 50% at 50% 50%,
        #fffdf2 0%,
        #fff5b8 14%,
        #ffe469 30%,
        #f9cb52 48%,
        #f0a238 68%,
        transparent 88%);
    filter: blur(34px);
    opacity: 1;
  }

  .phone {
    width: 90vw;
    height: auto;
    opacity: 0;
    transition: opacity 260ms ease;
  }

  .phone.is-loaded {
    opacity: 1;
  }

  .features {
    gap: 80px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-row.reversed .feature-media {
    order: 0;
  }

  .feature-row.reversed .feature-copy {
    order: 0;
    text-align: left;
  }

  .feature-media {
    max-width: none;
  }

  .feature-copy h2 {
    font-size: 32px;
  }

  .feature-copy p {
    font-size: 16px;
  }

  .footer {
    margin-top: 180px;
  }
}

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

  .download-button,
  .footer-links a {
    transition: none;
  }
}
