:root {
  --bg: #0b1020;
  --bg-soft: #11182e;
  --card: #151d38;
  --line: #24304f;
  --text: #e7ecf6;
  --muted: #9aa7c7;
  --brand: #4f7cff;
  --brand-2: #7b5cff;
  --accent: #34d399;
  --radius: 14px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(123,92,255,.18), transparent 60%),
              radial-gradient(1000px 500px at -10% 10%, rgba(79,124,255,.16), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(11,16,32,.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  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(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 16px;
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important; padding: 9px 16px; border-radius: 10px; font-weight: 600;
}
.nav-cta:hover { text-decoration: none; opacity: .92; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.badge {
  display: inline-block; padding: 6px 14px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); font-size: 13px; margin-bottom: 22px;
  background: var(--bg-soft);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn-primary:hover { text-decoration: none; opacity: .92; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg-soft); }
.btn-ghost:hover { text-decoration: none; border-color: var(--brand); }

/* Sections */
section { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand); }
.card .ic {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(79,124,255,.22), rgba(123,92,255,.22));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(79,124,255,.16), rgba(123,92,255,.16));
  border: 1px solid var(--line); border-radius: 18px; padding: 44px; text-align: center;
}
.cta-band h2 { font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* Legal / article pages */
.article { padding: 56px 0 72px; }
.article .container { max-width: 820px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; letter-spacing: -.02em; }
.article .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.article h2 { font-size: 22px; margin: 34px 0 12px; }
.article h3 { font-size: 18px; margin: 24px 0 10px; }
.article p, .article li { color: #c7d1e8; font-size: 16px; margin-bottom: 12px; }
.article ul { padding-left: 22px; margin-bottom: 14px; }
.article a { color: var(--brand); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); }

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

@media (max-width: 820px) {
  .grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
