:root {
  color-scheme: dark;
  --bg: #0b1017;
  --panel: rgba(24, 33, 45, 0.82);
  --panel-strong: #18212d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f8fb;
  --muted: #a9b4c2;
  --green: #8cf64a;
  --green-deep: #4fb91d;
  --blue: #62a8ff;
  --orange: #ffb45f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% -10%, rgba(98, 168, 255, 0.18), transparent 36rem),
    radial-gradient(circle at 88% 8%, rgba(140, 246, 74, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

main, footer {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 28px;
  align-items: center;
  padding: 72px 0 40px;
}

.app-icon {
  width: 118px;
  height: 118px;
  border-radius: 27px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 9px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.035em; }
h3 { margin-bottom: 0; font-size: 1.2rem; }

.lede {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.notice {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  margin-bottom: 64px;
  padding: 22px;
  border: 1px solid rgba(140, 246, 74, .22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(140, 246, 74, .09), rgba(98, 168, 255, .06));
}

.notice h2 { margin-bottom: 3px; font-size: 1.12rem; letter-spacing: -.01em; }
.notice p { margin-bottom: 0; color: var(--muted); }
.notice-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #10170b; font-weight: 900; }

.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
.verified-pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(30, 41, 55, .94), rgba(19, 27, 37, .88));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .19);
}

.card.featured { border-color: rgba(140, 246, 74, .28); }
.card.source-card { min-height: 320px; }

.platform-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  color: var(--green);
  font-size: 1.42rem;
  font-weight: 800;
}

.platform-mark.windows { color: var(--blue); }
.platform-mark.android { color: #a9f27b; }
.platform-mark.ios { color: #eef3f9; font-size: .78rem; }
.platform-mark.quest { color: #e9edff; }
.platform-mark.source { color: var(--orange); font-size: .9rem; }

.card-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.card-copy p { color: var(--muted); }
.card-copy ul { margin: 0 0 22px; padding-left: 20px; color: #d6dee8; font-size: .9rem; }
.card-copy li + li { margin-top: 4px; }

.cap { padding: 4px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.cap.full { background: rgba(140, 246, 74, .12); color: var(--green); }
.cap.network { background: rgba(98, 168, 255, .13); color: #8fc2ff; }
.cap.source-cap { background: rgba(255, 180, 95, .12); color: var(--orange); }

.download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin-top: auto;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--green);
  color: #11180c;
  text-decoration: none;
  font-weight: 850;
  transition: transform .15s ease, filter .15s ease;
}

.download:hover { transform: translateY(-1px); filter: brightness(1.06); }
.download.secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, .055); color: var(--text); }
.download[aria-disabled="true"] { pointer-events: none; opacity: .5; }
.button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; }
.button-row .download { margin-top: 0; }
.meta { min-height: 20px; margin: 9px 0 -4px; color: #8190a2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .67rem; overflow-wrap: anywhere; }

.how-it-works { margin: 70px 0 40px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 9px; background: rgba(140, 246, 74, .12); color: var(--green); font-weight: 900; }
.steps h3 { margin-bottom: 6px; font-size: 1rem; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

footer { display: flex; justify-content: space-between; gap: 22px; padding: 26px 0 42px; border-top: 1px solid var(--line); color: #7f8c9b; font-size: .78rem; }
footer p { margin-bottom: 0; }
footer a { color: #aeb9c6; }

.prose { max-width: 780px; padding: 64px 0; }
.prose h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.prose h2 { margin-top: 40px; font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); }
.back { display: inline-block; margin-bottom: 30px; color: var(--green); text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 78px 1fr; gap: 18px; padding-top: 44px; }
  .app-icon { width: 78px; height: 78px; border-radius: 19px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .download { margin-top: 12px; }
  footer { flex-direction: column; }
}

@media (max-width: 480px) {
  main, footer { width: min(100% - 24px, 1120px); }
  .hero { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .button-row { grid-template-columns: 1fr; }
  .how-it-works { padding: 22px; }
}
