* {
  box-sizing: border-box;
}

:root {
  --bg: #061025;
  --bg-deep: #030817;
  --surface: rgba(12, 21, 48, 0.66);
  --surface-strong: rgba(10, 18, 42, 0.84);
  --text: #f7f8ff;
  --muted: #aab6d3;
  --muted-2: #71809f;
  --cyan: #16c9f5;
  --blue: #2874ff;
  --violet: #7a35f4;
  --violet-soft: #a65cff;
  --border: rgba(96, 129, 216, 0.24);
  --border-bright: rgba(43, 190, 255, 0.42);
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 85%, rgba(16, 174, 245, 0.10), transparent 27rem),
    radial-gradient(circle at 82% 15%, rgba(111, 45, 242, 0.13), transparent 32rem),
    linear-gradient(145deg, #040a19 0%, #071126 54%, #0b1030 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.56) 0 1px, transparent 1.4px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%);
}

.ambient,
.orb {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.ambient-a {
  width: 34rem;
  height: 34rem;
  right: -15rem;
  top: -11rem;
  border: 1px solid rgba(72, 131, 255, .25);
  box-shadow:
    inset 0 0 90px rgba(56, 97, 255, .07),
    0 0 80px rgba(63, 94, 255, .06);
}

.ambient-b {
  width: 23rem;
  height: 23rem;
  left: -13rem;
  bottom: -9rem;
  background: rgba(97, 45, 235, .05);
  box-shadow: 0 0 95px rgba(36, 191, 255, .09);
}

.ambient-c {
  width: 7rem;
  height: 7rem;
  right: 12%;
  top: 44%;
  border: 1px solid rgba(99, 61, 243, .16);
  opacity: .65;
}

.orb {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(22, 201, 245, .72);
}

.orb-a {
  right: 9%;
  top: 21%;
}

.orb-b {
  width: 9px;
  height: 9px;
  right: 18%;
  top: 32%;
  background: var(--violet-soft);
  box-shadow: 0 0 18px rgba(166, 92, 255, .62);
}

.shell {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 46px 0 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: block;
  width: 150px;
  height: auto;
}

.beta-badge {
  font-size: 11px;
  letter-spacing: .19em;
  font-weight: 750;
  color: #d9ddff;
  padding: 10px 14px;
  border: 1px solid rgba(126, 70, 255, .5);
  border-radius: 999px;
  background: rgba(67, 34, 145, .17);
  box-shadow: 0 0 22px rgba(114, 50, 241, .09);
}

.hero {
  padding: 92px 0 58px;
}

.eyebrow,
.section-heading > span,
.mini-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 780;
}

h1 {
  max-width: 870px;
  margin: 14px 0 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 770;
}

h1 span {
  background: linear-gradient(90deg, #70cfff 2%, #7590ff 40%, #a45cff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 660px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.glass {
  background:
    linear-gradient(135deg, rgba(18, 36, 78, .72), rgba(14, 16, 48, .58));
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.download-card {
  position: relative;
  max-width: 900px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(95deg, rgba(28,201,245,.60), rgba(59,112,255,.14), rgba(137,58,242,.56));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .8;
}

.app-mark {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(7, 15, 36, .72);
  border: 1px solid rgba(68, 117, 225, .28);
  box-shadow: 0 0 22px rgba(34, 124, 255, .08);
}

.app-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.download-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.download-copy strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.download-copy span {
  color: var(--muted);
  font-size: 14px;
}

.download-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  background: linear-gradient(105deg, #7132f3 0%, #5364ff 52%, #10c7ef 100%);
  box-shadow: 0 10px 34px rgba(45, 105, 255, .18);
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.download-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.download-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-button.disabled {
  cursor: not-allowed;
  opacity: .48;
  filter: saturate(.45);
  box-shadow: none;
}

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

.availability {
  margin: 13px 0 0 76px;
  color: var(--muted-2);
  font-size: 13px;
}

.availability.available {
  color: #7ce7ff;
}

.steps {
  position: relative;
  padding: 34px;
  border-radius: 26px;
}

.section-heading h2 {
  margin: 7px 0 30px;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -.03em;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(101, 129, 190, .17);
}

.step-grid article {
  position: relative;
  min-height: 150px;
  padding: 26px;
  background: rgba(7, 14, 34, .75);
}

.step-grid article:first-child {
  border-radius: 17px 0 0 17px;
}

.step-grid article:last-child {
  border-radius: 0 17px 17px 0;
}

.number {
  display: inline-flex;
  margin-bottom: 25px;
  color: #94a6ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.step-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.tester-note {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 4px;
}

.tester-note p {
  max-width: 630px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.confidential {
  color: #747f9e;
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 750;
  white-space: nowrap;
}

footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(109, 131, 188, .12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #596781;
  font-size: 11px;
  letter-spacing: .06em;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 650px);
    padding-top: 28px;
  }

  .wordmark {
    width: 122px;
  }

  .beta-badge {
    font-size: 9px;
    padding: 8px 10px;
  }

  .hero {
    padding: 72px 0 38px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .lead {
    font-size: 16px;
  }

  .download-card {
    grid-template-columns: auto 1fr;
  }

  .download-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .availability {
    margin-left: 0;
    text-align: center;
  }

  .steps {
    padding: 24px 18px;
  }

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

  .step-grid article:first-child,
  .step-grid article:last-child {
    border-radius: 0;
  }

  .step-grid article:first-child {
    border-radius: 16px 16px 0 0;
  }

  .step-grid article:last-child {
    border-radius: 0 0 16px 16px;
  }

  .tester-note {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
