:root {
  --bg: #0b0d10;
  --bg-alt: #12151a;
  --card: #171a20;
  --border: #262a31;
  --text: #f2f3f5;
  --text-dim: #9aa0aa;
  --accent: #4fd1c5;
  --accent-2: #7c9eff;
  --danger: #ff6b6b;
  --radius: 14px;
  --max-width: 1080px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

a { color: var(--accent-2); text-decoration: none; transition: color 0.18s ease; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand .logo-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}

nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav.main-nav a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 0;
}

nav.main-nav a:hover { color: var(--text); text-decoration: none; }

nav.main-nav a.cta {
  color: var(--bg);
  background: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: opacity 0.18s ease;
}

nav.main-nav a.cta:hover { opacity: 0.85; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--text-dim); text-decoration: none; }

.btn-disabled {
  background: var(--card);
  color: var(--text-dim);
  border-color: var(--border);
  cursor: not-allowed;
}
.btn-disabled:hover { text-decoration: none; }

.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 209, 197, 0.1);
  border: 1px solid rgba(79, 209, 197, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.section-head p { color: var(--text-dim); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.95rem;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 158, 255, 0.12);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

/* Platform badges */
.platforms {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
}

.platform-badge--planned {
  border-style: dashed;
}

.platform-badge--planned .badge-note {
  font-weight: 500;
  opacity: 0.75;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site .foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

footer.site .foot-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 12px 0;
  margin: -12px 0;
}

footer.site .copyright {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Legal / content pages */
.legal {
  padding: 56px 0 80px;
}

.legal .meta {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 44px;
  margin-bottom: 14px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* Cookie notice */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 100;
  animation: cookie-banner-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

.cookie-banner p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  flex: 1 1 320px;
}

.cookie-banner p a { color: var(--accent-2); }

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner .btn {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.cookie-banner[hidden] { display: none; }

@media (max-width: 520px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .cookie-actions { justify-content: flex-end; }
}

.legal p, .legal li {
  color: #d5d8dd;
  font-size: 1rem;
}

.legal ul, .legal ol { padding-left: 22px; }

.legal ol li { margin-bottom: 6px; }

.legal strong { color: var(--text); }

.notice-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  nav.main-nav { gap: 16px; }
  nav.main-nav .hide-mobile { display: none; }
  header.site .wrap { height: 60px; }
}
