:root {
  --bg: #0b0d12;
  --surface: #12151d;
  --border: #232836;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #5b8cff;
  --accent-2: #8a5bff;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.01em; }
.logo span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 24px; font-size: 14px; }
nav a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 96px 0 72px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.1; letter-spacing: -0.03em; max-width: 780px; }
.lead { color: var(--muted); font-size: 19px; max-width: 640px; margin-top: 20px; }
.btn {
  display: inline-block; margin-top: 32px; padding: 13px 24px; border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 600; font-size: 15px;
}
.btn:hover { text-decoration: none; opacity: 0.92; }

section { padding: 72px 0; border-top: 1px solid var(--border); }
h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 620px; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.num { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 10px; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.about p { color: var(--muted); margin-bottom: 14px; }
.facts { list-style: none; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.facts li span:first-child { color: var(--muted); }

footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 18px; }
footer a:first-child { margin-left: 0; }

/* Legal pages */
.legal { padding: 64px 0 80px; max-width: 760px; }
.legal h1 { font-size: 38px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 36px; font-size: 14px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: #c4c8d4; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

@media (max-width: 760px) {
  nav a:not(:last-child) { display: none; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
}
