:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #101828;
  --muted: #5c667a;
  --border: #e4e8ef;
  --accent: #2f5bea;
  --accent-dark: #1f45c4;
  --accent-soft: #eef2ff;
  --ok: #0e9f6e;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

img, svg { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 249, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(135deg, #2f5bea, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(47, 91, 234, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9px;
}

.site-nav a:hover { color: var(--text); background: rgba(16, 24, 40, 0.05); }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(124, 58, 237, 0.10), transparent 60%),
    radial-gradient(800px 420px at 10% 0%, rgba(47, 91, 234, 0.10), transparent 60%),
    var(--surface);
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 78px 24px 74px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d7e0f7;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.14);
}

.hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 20px 0 18px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(47, 91, 234, 0.25); }
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: #cfd6e4; }

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.terminal {
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(11, 18, 32, 0.28);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  color: #8291ab;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal-body {
  padding: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.95;
  color: #d8e1f5;
}

.terminal-body .prompt { color: #7dd3fc; }
.terminal-body .dim { color: #8291ab; }
.terminal-body .ok { color: #4ade80; }

.section { padding: 72px 24px; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.025em; margin: 0 0 10px; line-height: 1.2; }
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.section.alt .card { background: var(--bg); }

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }

.step { position: relative; padding: 4px 0 0 0; }

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 6px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14.8px; }

.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid #d7e0f7;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.callout .icon { flex: none; color: var(--accent); margin-top: 2px; }
.callout h3 { margin: 0 0 4px; font-size: 16px; }
.callout p { margin: 0; color: #3d4a66; font-size: 14.8px; }

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
}

.contact-strip h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.contact-strip p { margin: 0; color: #b9c2d4; font-size: 15px; }
.contact-strip .btn { flex: none; }

.site-footer { padding: 44px 24px 52px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.footer-note { color: var(--muted); font-size: 14px; margin: 10px 0 0; max-width: 380px; }
.footer-links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright, .disclaimer { color: #8a93a6; font-size: 12.5px; margin: 0; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 24px 84px; }
.legal .kicker { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 12px; }
.legal .meta { color: var(--muted); font-size: 14.5px; margin: 0 0 34px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.legal h2 { font-size: 19px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal p { color: #344054; margin: 0 0 14px; font-size: 15.5px; }
.legal ul { color: #344054; margin: 0 0 16px; padding-left: 22px; font-size: 15.5px; }
.legal li { margin-bottom: 8px; }
.legal .box { border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; background: var(--surface); margin: 22px 0; }
.legal .box p:last-child { margin-bottom: 0; }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 26px; }
.back-link:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 20px; }
  .header-inner { padding: 12px 20px; }
  .site-nav a { padding: 7px 9px; font-size: 14px; }
  .legal { padding: 48px 20px 64px; }
}

@media (max-width: 560px) {
  .brand span.name { display: inline; }
  .site-nav { gap: 2px; }
  .site-nav .nav-home { display: none; }
  .site-nav a { font-size: 13px; padding: 6px 7px; }
  .contact-strip { padding: 24px; }
}
