*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --green: #0d6e3f;
  --green-bright: #20c66b;
  --ink: #f7f6f1;
  --muted: rgba(247, 246, 241, 0.72);
  --line: rgba(255, 255, 255, 0.12);
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #080d09;
}

body {
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.download-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(21, 184, 97, 0.18), transparent 32%),
    linear-gradient(145deg, #0d2f1a 0%, #0a120c 42%, #070907 100%);
}

.download-page::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.download-nav {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(1200px, calc(100% - 64px));
  min-height: 80px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.secondary-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secondary-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.secondary-links a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.secondary-links .x-link {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.download-hero {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1200px, calc(100% - 64px));
  min-height: 0;
  flex: 1;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.download-copy {
  position: relative;
  z-index: 3;
  padding: 24px 0 34px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #69dc98;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 5vw, 74px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 span {
  color: #91e4b4;
  background: linear-gradient(100deg, #c0f6d5 0%, #78dca1 58%, #56c98a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

.benefit-list {
  display: flex;
  margin: 24px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.benefit-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.benefit-list li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 14px rgba(32, 198, 107, 0.7);
  content: "";
}

.download-action {
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 15px 11px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 14, 9, 0.56);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.store-row {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 12px;
}

.store-link {
  display: block;
  border-radius: 11px;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.store-link img {
  display: block;
  width: auto;
  height: 52px;
}

.download-proof {
  display: flex;
  margin-top: 10px;
  gap: 10px 22px;
  flex-wrap: wrap;
}

.download-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
}

.download-proof strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.qr-prompt {
  display: inline-flex;
  margin-top: 24px;
  align-items: center;
  gap: 13px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.qr-prompt:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.qr-prompt img {
  width: 112px;
  height: 112px;
  padding: 6px;
  border-radius: 13px;
  background: #fff;
}

.qr-prompt strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.product-stage {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  min-height: 0;
  align-items: flex-end;
  justify-content: center;
}

.product-stage::before {
  position: absolute;
  inset: 9% 2% 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 52px 52px 0 0;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), transparent 46%),
    linear-gradient(to bottom, rgba(15, 91, 52, 0.2), rgba(6, 12, 8, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  content: "";
}

.stage-glow {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: min(42vw, 560px);
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 199, 107, 0.28), rgba(13, 110, 63, 0.08) 48%, transparent 72%);
  filter: blur(18px);
  transform: translateX(-50%);
}

.phone-carousel {
  position: relative;
  width: min(350px, 78%);
  height: min(72vh, 700px);
  max-height: calc(100svh - 112px);
  aspect-ratio: 858 / 1662;
  filter: drop-shadow(0 35px 48px rgba(0, 0, 0, 0.48));
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 520ms ease, transform 620ms ease;
}

.phone-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.carousel-dots {
  position: absolute;
  right: 4px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-dot.active {
  background: var(--green-bright);
  box-shadow: 0 0 16px rgba(32, 198, 107, 0.75);
  transform: scale(1.35);
}

@media (max-width: 900px) {
  .download-nav {
    width: calc(100% - 32px);
    min-height: 64px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .secondary-links {
    gap: 6px;
  }

  .secondary-links a {
    min-height: 34px;
    padding: 0 9px;
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
  }

  .secondary-links .x-link {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
  }

  .secondary-links a:first-child {
    font-size: 0;
  }

  .secondary-links a:first-child::after {
    font-size: 12px;
    content: "Website";
  }

  .secondary-links .x-link {
    font-size: 0;
  }

  .secondary-links .x-link::after {
    font-size: 12px;
    content: "Follow on X";
  }

  .download-hero {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
  }

  .download-copy {
    padding: 20px 0 8px;
    text-align: center;
  }

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

  h1 {
    margin-inline: auto;
    font-size: clamp(35px, 10.5vw, 48px);
    line-height: 1;
  }

  .intro {
    max-width: 520px;
    margin-top: 13px;
    margin-inline: auto;
    color: rgba(247, 246, 241, 0.76);
    font-size: 14.75px;
    line-height: 1.45;
  }

  .benefit-list {
    display: grid;
    margin-top: 14px;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .benefit-list li {
    justify-content: center;
    padding: 6px 5px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .download-action {
    margin-top: 17px;
    margin-inline: auto;
    padding: 11px 13px 9px;
    align-items: center;
    border-radius: 17px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
      rgba(7, 14, 9, 0.9);
  }

  .store-row {
    justify-content: center;
    gap: 8px;
  }

  .store-link img {
    height: 48px;
  }

  [data-store-platform="ios"] .store-link:not([data-store-primary]),
  [data-store-platform="android"] .store-link:not([data-store-primary]) {
    display: none;
  }

  .download-proof {
    margin-top: 8px;
    justify-content: center;
  }

  .download-proof p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
  }

  .qr-prompt {
    display: none;
  }

  .product-stage {
    align-items: center;
  }

  .product-stage::before {
    inset: 10% 16% 0;
    border-radius: 999px 999px 0 0;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.045), transparent 46%),
      linear-gradient(to bottom, rgba(19, 114, 65, 0.16), rgba(6, 12, 8, 0.02));
  }

  .phone-carousel {
    width: auto;
    height: min(45svh, 486px);
    max-height: 45svh;
  }

  .carousel-dots {
    right: auto;
    bottom: 22px;
    left: calc(50% + min(104px, 11.7svh) + 10px);
    gap: 9px;
  }
}

@media (max-width: 390px) {
  .download-nav {
    min-height: 58px;
  }

  .download-copy {
    padding-top: 16px;
  }
}

@media (max-width: 340px) {
  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .secondary-links a {
    padding: 0 8px;
  }

  .benefit-list li {
    gap: 4px;
    padding-inline: 2px;
    font-size: 9.5px;
  }

  .benefit-list li::before {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
  }
}

@media (max-height: 650px) and (max-width: 900px) {
  .download-copy {
    padding-top: 12px;
  }

  .eyebrow {
    display: none;
  }

  h1 {
    font-size: clamp(31px, 9.5vw, 38px);
  }

  .intro {
    margin-top: 9px;
    font-size: 13px;
  }

  .benefit-list {
    margin-top: 9px;
  }

  .download-action {
    margin-top: 12px;
    padding-block: 9px 8px;
  }

  .download-proof {
    display: none;
  }

  .phone-carousel {
    height: 42svh;
    max-height: 42svh;
  }
}

@media (max-height: 700px) and (max-width: 900px) {
  .download-action {
    padding-block: 9px;
  }

  .download-proof {
    display: none;
  }
}

@media (max-height: 620px) and (min-width: 901px) {
  .download-nav {
    min-height: 66px;
  }

  .download-copy {
    padding: 12px 0;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(40px, 4.8vw, 58px);
  }

  .intro,
  .benefit-list,
  .download-action,
  .qr-prompt {
    margin-top: 12px;
  }

  .phone-carousel {
    height: 84vh;
  }

  .qr-prompt img {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
