:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: #11151d;
  --soft: #191f2a;
  --line: #262e3d;
  --text: #f4f6fb;
  --muted: #99a4b7;
  --accent: #8b5cf6;
  --accent2: #22d3ee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% -20%, #281b55 0, transparent 38rem), var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1100px) / 2));
  border-bottom: 1px solid #ffffff12;
  background: #090b10cc;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mascot { width: 36px; height: 36px; object-fit: contain; }
.topbar nav { display: flex; gap: 26px; }
.topbar nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.topbar nav a:hover { color: var(--text); text-decoration: none; }

.button {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  padding: 10px 15px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.button:hover { border-color: #64748b; text-decoration: none; }
.button.primary { border: 0; background: linear-gradient(135deg, var(--accent), #6d28d9); box-shadow: 0 10px 32px #7c3aed45; }
.button.ghost { background: transparent; }
.button.large { padding: 14px 26px; font-size: 17px; }

.hero {
  text-align: center;
  padding: 90px 20px 80px;
  max-width: 900px;
  margin: auto;
}
.hero-mascot { width: 120px; height: 120px; object-fit: contain; margin-bottom: 20px; }
.eyebrow { font-size: 12px; letter-spacing: .19em; color: var(--accent2); font-weight: 800; margin: 0 0 15px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -.055em; line-height: .95; margin: 0 0 24px; }
.hero h1 span { background: linear-gradient(90deg, #a78bfa, #22d3ee); color: transparent; background-clip: text; }
.hero > p:not(.eyebrow) { max-width: 640px; margin: 0 auto 30px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.platforms { margin-top: 26px; color: var(--muted); font-size: 14px; }

.section { max-width: 1100px; margin: 0 auto; padding: 70px 20px; text-align: center; }
.section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; margin: 0 0 12px; }
.section > .muted { max-width: 640px; margin: 0 auto 30px; color: var(--muted); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  text-align: left;
  box-shadow: 0 18px 50px #0004;
}
.card-icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.download { border-top: 1px solid #ffffff12; border-bottom: 1px solid #ffffff12; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px auto 20px; max-width: 900px; }
.download-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.download-card:hover { transform: translateY(-4px); border-color: var(--accent); text-decoration: none; }
.os-icon { font-size: 40px; margin-bottom: 10px; }
.download-card h3 { margin: 0 0 4px; font-size: 20px; }
.download-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

.community-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.faq { max-width: 720px; margin: 30px auto 0; text-align: left; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 12px 0 0; }

footer { border-top: 1px solid #ffffff12; padding: 40px 20px; text-align: center; }
.footer-inner { max-width: 1100px; margin: auto; }
.footer-inner .brand { justify-content: center; margin-bottom: 10px; }
.footer-links { display: flex; gap: 22px; justify-content: center; margin: 14px 0; }
.footer-links a { color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  .grid, .download-grid { grid-template-columns: 1fr; }
  .topbar nav { display: none; }
  .hero { padding: 60px 20px; }
}
