@property --gx {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --gy {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 48%;
}

@property --gs {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

:root {
  --accent: rgb(101, 45, 209);
  --accent-strong: rgb(124, 58, 237);
  --accent-gradient: linear-gradient(135deg, rgb(101, 45, 209) 0%, rgb(124, 58, 237) 100%);
  --text: #f5f5f5;
  --text-on-accent: #f5f3ff;
  --shadow-accent: 0 8px 28px rgba(101, 45, 209, 0.35);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #050505;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: #050505;
}

.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --gx: 50%;
  --gy: 48%;
  --gs: 1;
  background:
    radial-gradient(
      ellipse calc(160% * var(--gs)) calc(120% * var(--gs)) at var(--gx) var(--gy),
      rgba(124, 58, 237, 0.16) 0%,
      rgba(32, 12, 58, 0.38) 28%,
      rgba(10, 8, 16, 0.92) 48%,
      #050505 72%
    );
  animation: wash 9.6s ease-in-out infinite;
}

@keyframes wash {
  0%,
  100% {
    --gx: 50%;
    --gy: 48%;
    --gs: 1;
  }
  25% {
    --gx: 62%;
    --gy: 42%;
    --gs: 1.12;
  }
  50% {
    --gx: 40%;
    --gy: 58%;
    --gs: 0.92;
  }
  75% {
    --gx: 56%;
    --gy: 36%;
    --gs: 1.18;
  }
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wordmark {
  height: 4.2rem;
  width: auto;
  max-width: min(280px, 80vw);
  object-fit: contain;
  user-select: none;
}

.kicker {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 450;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.app-badge-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.app-badge-copy strong {
  font-size: 15px;
  font-weight: 650;
}

.app-badge-copy span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: var(--text-on-accent);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-accent);
  transition: filter 150ms ease;
}

.btn-download-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  box-shadow: none;
}

.btn-download:hover {
  filter: brightness(1.06);
}

.btn-download-secondary:hover {
  filter: brightness(1.12);
  background: rgba(255, 255, 255, 0.12);
}

.btn-download.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  max-width: 28rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  margin: 0;
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.foot {
  margin-top: auto;
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 640px) {
  .shell {
    padding: 48px 20px 32px;
    gap: 28px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .logo-wordmark {
    height: 3.4rem;
  }
}
