:root {
  --bg: #090b0d;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.11);
  --text: #f7f8fa;
  --muted: #9ea5ad;
  --accent: #d7dadd;
  --accent-dark: #1b1f23;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.08), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.055), transparent 24%),
    linear-gradient(145deg, #070809 0%, #101316 50%, #070809 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 36px;
}
.hero { text-align: center; padding: 38px 20px 56px; }
.brand-logo {
  width: min(530px, 78vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .98;
}
.eyebrow, .section-kicker {
  letter-spacing: .28em;
  font-size: 12px;
  color: #b9bec4;
  font-weight: 700;
}
.eyebrow { margin: 28px 0 14px; }
h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}
h1 span { color: #aeb4ba; }
.intro {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.download-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  padding: 34px;
  backdrop-filter: blur(18px);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-kicker { margin: 0 0 9px; }
h2 { margin: 0; font-size: 31px; letter-spacing: -.03em; }
.official-badge {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 9px 14px;
  color: #d7dbe0;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-card {
  min-height: 315px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
}
.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f6f7f8;
  color: #111;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 36px;
}
.platform-icon.apple { font-size: 28px; font-family: system-ui, sans-serif; }
.platform-icon.windows { letter-spacing: -.08em; }
.card-copy { flex: 1; }
.platform { margin: 0 0 8px; color: #c8cdd2; font-size: 14px; }
h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.025em; }
.meta { margin: 0; color: var(--muted); font-size: 14px; }
.download-btn {
  display: block;
  text-decoration: none;
  text-align: center;
  color: #f7f8fa;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  padding: 14px 16px;
  font-weight: 750;
  margin-top: 24px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.download-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.download-btn.primary { background: #f4f5f6; color: #0d0f11; border-color: #f4f5f6; }
.download-btn.primary:hover { background: #dfe2e5; }
.trust-row {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 14px;
  color: #b7bdc3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.dot { color: #656b71; }
footer {
  padding: 34px 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #6f767d;
  letter-spacing: .22em;
  font-size: 10px;
}
.footer-logo { width: 180px; height: auto; filter: brightness(0) invert(1); opacity: .48; }
footer p { margin: 0; }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 24px, 720px); padding-top: 28px; }
  .hero { padding: 24px 12px 34px; }
  .brand-logo { width: min(430px, 88vw); }
  .intro { font-size: 16px; }
  .download-panel { padding: 20px; border-radius: 22px; }
  .panel-heading { align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .download-card { min-height: auto; }
  .platform-icon { margin-bottom: 24px; }
  footer { flex-direction: column; justify-content: center; text-align: center; }
}
