.app-download-page {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 4rem) 4rem;
}

.app-download-page__inner {
  margin-inline: auto;
  max-width: 90rem;
  width: 100%;
}

.app-download-hero {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 6vw, 6.5rem);
  grid-template-columns: minmax(17rem, 0.72fr) minmax(30rem, 1.28fr);
}

.app-download-hero__copy {
  min-width: 0;
  text-align: start;
}

.app-download-eyebrow {
  color: var(--glass-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

html[dir="rtl"] .app-download-eyebrow {
  letter-spacing: 0;
  text-transform: none;
}

.app-download-hero__copy h1 {
  color: var(--glass-text);
  font-size: clamp(3.1rem, 5.5vw, 5.7rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
  max-width: 9ch;
  text-wrap: balance;
}

html[dir="rtl"] .app-download-hero__copy h1 {
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 10ch;
}

.app-download-hero__lead {
  color: var(--glass-text-secondary);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 520;
  line-height: 1.9;
  margin: 1.5rem 0 0;
  max-width: 34rem;
}

.app-download-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.app-download-button {
  align-items: center;
  background: var(--glass-text);
  border: 1px solid var(--glass-text);
  border-radius: 0.9rem;
  color: var(--glass-page-soft);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 780;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.78rem 1.15rem;
  text-decoration: none;
  transition:
    transform 150ms ease,
    opacity 150ms ease;
}

.app-download-button:hover {
  transform: translateY(-1px);
}

.app-download-button:focus-visible {
  outline: 3px solid var(--market-up-soft);
  outline-offset: 3px;
}

.app-download-button svg {
  flex: 0 0 auto;
  height: 1.2rem;
  width: 1.2rem;
}

.app-download-button--disabled {
  background: transparent;
  border-color: var(--glass-outline);
  color: var(--glass-muted);
  cursor: default;
}

.app-download-button--disabled:hover {
  transform: none;
}

.app-download-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.app-download-hero__meta strong {
  color: var(--glass-text-secondary);
  font-size: 0.74rem;
  font-weight: 760;
}

.app-download-hero__meta span {
  color: var(--glass-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.app-download-visual {
  margin: 0;
  min-width: 0;
}

.app-download-visual > img {
  background: #111827;
  border: 1px solid var(--glass-border);
  border-radius: clamp(1rem, 2vw, 1.6rem);
  box-shadow: 0 30px 80px rgb(15 23 42 / 0.16);
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

html[data-theme="dark"] .app-download-visual > img {
  box-shadow: 0 34px 90px rgb(0 0 0 / 0.42);
}

.app-download-visual__placeholder {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: var(--glass-panel);
  border: 1px dashed var(--glass-outline);
  border-radius: 1.4rem;
  color: var(--glass-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 22rem;
  text-align: center;
}

.app-download-visual__placeholder img {
  height: 4.75rem;
  width: 4.75rem;
}

.app-download-visual__placeholder strong {
  color: var(--glass-text);
  font-size: 1.5rem;
  font-weight: 850;
  margin-top: 0.8rem;
}

.app-download-visual__placeholder span {
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.app-feature-strip {
  border-bottom: 1px solid var(--glass-divider);
  border-top: 1px solid var(--glass-divider);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5.75rem);
}

.app-feature {
  align-items: flex-start;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 1.5rem clamp(0.75rem, 2vw, 1.6rem);
}

.app-feature + .app-feature {
  border-inline-start: 1px solid var(--glass-divider);
}

.app-feature:first-child {
  padding-inline-start: 0;
}

.app-feature:last-child {
  padding-inline-end: 0;
}

.app-feature__icon {
  align-items: center;
  color: var(--glass-text-secondary);
  display: flex;
  height: 2rem;
  justify-content: center;
  margin-top: 0.05rem;
  width: 2rem;
}

.app-feature__icon svg {
  height: 1.35rem;
  width: 1.35rem;
}

.app-feature h2 {
  color: var(--glass-text);
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0;
}

.app-feature p {
  color: var(--glass-muted);
  font-size: 0.78rem;
  line-height: 1.7;
  margin: 0.32rem 0 0;
  max-width: 22rem;
}

.app-mobile-coming {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding-top: clamp(2rem, 4vw, 3.2rem);
}

.app-mobile-coming__copy h2 {
  color: var(--glass-text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 820;
  letter-spacing: -0.025em;
  margin: 0;
}

html[dir="rtl"] .app-mobile-coming__copy h2 {
  letter-spacing: 0;
}

.app-mobile-coming__copy p {
  color: var(--glass-muted);
  font-size: 0.82rem;
  line-height: 1.75;
  margin: 0.45rem 0 0;
}

.app-mobile-coming__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.app-mobile-platform {
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.5rem 0.85rem;
}

.app-mobile-platform__icon {
  align-items: center;
  color: var(--glass-text-secondary);
  display: inline-flex;
  justify-content: center;
}

.app-mobile-platform__icon svg {
  height: 1.15rem;
  width: 1.15rem;
}

.app-mobile-platform__name {
  color: var(--glass-text-secondary);
  font-size: 0.78rem;
  font-weight: 760;
}

.app-mobile-platform__status {
  color: var(--glass-muted);
  font-size: 0.68rem;
  font-weight: 680;
}

@media (max-width: 1180px) {
  .app-download-hero {
    gap: 3rem;
    grid-template-columns: minmax(17rem, 0.82fr) minmax(25rem, 1.18fr);
  }

  .app-download-hero__copy h1 {
    font-size: clamp(3rem, 6vw, 5rem);
  }
}

@media (max-width: 900px) {
  .app-download-page {
    padding-top: 2.75rem;
  }

  .app-download-hero {
    display: flex;
    flex-direction: column;
  }

  .app-download-hero__copy {
    max-width: 42rem;
    width: 100%;
  }

  .app-download-hero__copy h1 {
    max-width: 11ch;
  }

  .app-download-visual {
    width: 100%;
  }

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

  .app-feature {
    padding-inline: 0;
  }

  .app-feature + .app-feature {
    border-inline-start: 0;
    border-top: 1px solid var(--glass-divider);
  }

  .app-mobile-coming {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-mobile-coming__platforms {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .app-download-page {
    padding: 2rem 1rem 2.75rem;
  }

  .app-download-hero__copy h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .app-download-hero__lead {
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .app-download-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-download-button {
    justify-content: center;
    width: 100%;
  }

  .app-download-visual__placeholder {
    min-height: 15rem;
  }

  .app-feature-strip {
    margin-top: 2.75rem;
  }

  .app-mobile-coming__platforms {
    width: 100%;
  }

  .app-mobile-platform {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-download-button {
    transition: none;
  }
}
