:root {
  --bg: #090d18;
  --surface: #131a2b;
  --raised: #222c44;
  --stroke: #25304a;
  --accent: #3d74ff;
  --link: #7fa6ff;
  --text: #f4f6fb;
  --muted: #a1abbf;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #10192e 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--stroke);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site a { color: var(--muted); margin-left: 20px; font-size: 15px; }
nav.site a:hover, nav.site a[aria-current] { color: var(--text); text-decoration: none; }

main { flex: 1; }

/* Home */
.hero { text-align: center; padding: 72px 0 48px; }
.hero img.icon {
  width: 128px; height: 128px; border-radius: 28px;
  box-shadow: 0 0 80px rgba(61, 116, 255, 0.35);
}
.hero h1 { font-size: 44px; line-height: 1.1; margin: 28px 0 12px; letter-spacing: -0.02em; }
.hero p.lede { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 auto 32px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 600;
  padding: 14px 28px; border-radius: 14px; font-size: 17px;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; padding-bottom: 64px; }
.feature { background: var(--surface); border: 1px solid var(--stroke); border-radius: 18px; padding: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: #d5dae6; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }

footer.site { border-top: 1px solid var(--stroke); padding: 24px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); margin-right: 16px; }
footer.site a:hover { color: var(--text); }

@media (max-width: 520px) {
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 34px; }
  nav.site a { margin-left: 14px; }
}
