:root {
  --bg: #0B0E14;
  --bg-raised: #141821;
  --surface: #1C212C;
  --stroke: #262C38;
  --fg: #F4F6FA;
  --muted: #AEB6C4;
  --accent: #3DDBB4;
  --accent-ink: #06231C;
  --violet: #7C6CF6;
  --radius: 16px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  display: grid; place-items: center; color: var(--accent-ink); font-weight: 800;
}
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 520px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(61,219,180,0.14), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2.5vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { text-decoration: none; filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--stroke); }
.btn-ghost:hover { text-decoration: none; border-color: var(--muted); }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: clamp(26px, 4vw, 36px); text-align: center; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 48px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-raised); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 26px;
}
.card .ic { font-size: 26px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacy strip */
.strip {
  background: linear-gradient(135deg, rgba(61,219,180,0.10), rgba(124,108,246,0.10));
  border: 1px solid var(--stroke); border-radius: 24px; padding: 48px 32px; text-align: center;
}
.strip h2 { margin: 0 0 12px; font-size: clamp(24px, 4vw, 32px); }
.strip p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.pill { background: var(--surface); border: 1px solid var(--stroke); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--fg); }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .links a { color: var(--muted); }
.site-footer .links a:hover { color: var(--fg); text-decoration: none; }

/* Legal / document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 96px; }
.doc h1 { font-size: 32px; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc .lead { color: var(--muted); }
.doc h2 { font-size: 20px; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--stroke); }
.doc h3 { font-size: 16px; margin: 20px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc .contact { margin-top: 36px; padding: 20px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--bg-raised); }
.doc .contact p { margin: 4px 0; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a.hide-sm { display: none; }
}
