:root {
  --bg: #0B1026;
  --bg-2: #111836;
  --card: #151D40;
  --line: rgba(255,255,255,.08);
  --text: #EEF1FF;
  --muted: #A3ABCF;
  --violet: #8B5CF6;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --grad: linear-gradient(120deg, var(--violet), var(--blue) 55%, var(--cyan));
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,16,38,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .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 svg { width: 34px; height: 34px; }
.brand span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.links { display: flex; gap: 22px; }
nav.links a { color: var(--muted); font-size: 15px; }
nav.links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { nav.links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); color: var(--text); background: var(--card);
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn.primary { background: var(--grad); border: 0; color: #fff; }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(139,92,246,.35), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -50% -20%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(34,211,238,.18), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.12; letter-spacing: -.02em; max-width: 760px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 20px 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.01em; margin-bottom: 12px; }
section p.sub { color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 20px; left: 26px; font-weight: 800; font-size: 22px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.contact-box {
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.10));
  border: 1px solid var(--line); border-radius: 24px; padding: 44px 32px; text-align: center;
}
.contact-box p { color: var(--muted); margin: 10px auto 26px; max-width: 520px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
footer .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 36px 0 12px; }
.legal p, .legal li { color: #CBD1F0; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.legal .box p { margin-bottom: 4px; }
