*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #09090d;
  --surface: #111117;
  --surface2: #18181f;
  --border: #232330;
  --border-hover: #3a3a55;
  --accent: #5865f2;
  --accent-glow: rgba(88, 101, 242, 0.15);
  --accent-dim: #4752c4;
  --text: #eeeef5;
  --muted: #7777a0;
  --muted2: #555575;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 54px;
  gap: 3rem;
}
.nav-brand {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}
.nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.3rem 1rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); text-decoration: none; }
.nav-links a.active { color: var(--text); background: var(--surface2); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center top, rgba(88,101,242,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: #23d160;
  border-radius: 50%;
  box-shadow: 0 0 6px #23d160;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(160deg, #fff 40%, #8888cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88,101,242,0.4), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 40px; height: 40px;
  background: var(--accent-glow);
  border: 1px solid rgba(88,101,242,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.card-desc {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.card-links {
  display: flex;
  gap: 0.6rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dim); text-decoration: none; color: #fff; }
.btn.secondary {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn.secondary:hover { border-color: var(--border-hover); color: var(--text); background: var(--surface2); }

/* ── Policy page ── */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 0.78rem;
  color: var(--muted2);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); text-decoration: none; }
.breadcrumb-sep { color: var(--muted2); }
.badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(88,101,242,0.3);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-header h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.page-header .meta {
  color: var(--muted2);
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}
.policy-nav {
  display: flex;
  gap: 0.6rem;
}

/* ── Policy content ── */
.policy-body h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 2.25rem 0 0.6rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.policy-body h2::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.policy-body p, .policy-body ul, .policy-body ol {
  color: #aaaacc;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.75;
}
.policy-body ul, .policy-body ol { padding-left: 1.5rem; }
.policy-body li { margin-bottom: 0.4rem; }
.policy-body strong { color: #ccccee; font-weight: 600; }

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-box-icon { font-size: 1.1rem; line-height: 1.5; flex-shrink: 0; }
.contact-box p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.contact-box a { color: var(--accent); }

/* ── Footer ── */
footer {
  text-align: center;
  color: var(--muted2);
  font-size: 0.78rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { padding: 0 1rem; gap: 1rem; }
  .hero { padding: 4rem 1.25rem 2.5rem; }
  .hero h1 { font-size: 1.9rem; }
  .cards { padding: 0 1.25rem 4rem; }
  .page { padding: 2rem 1.25rem 4rem; }
  .page-header h1 { font-size: 1.5rem; }
}
