/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --bg:        #0c0e14;
  --surface:   #111318;
  --surface2:  #161921;
  --border:    #1c2030;
  --border2:   #252b3b;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --faint:     #334155;
  --accent:    #6366f1;
  --accent-dim:#4f46e5;
  --green:     #22c55e;
  --yellow:    #eab308;
  --orange:    #f97316;
  --red:       #ef4444;
  --radius:    10px;
  --radius-lg: 14px;
}

/* ─── Base ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  zoom: 1.3;
}

a { color: inherit; text-decoration: none; }

/* ─── Nav ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 7px 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--accent-dim) !important; }

/* ─── Layout ─────────────────────────────────────────── */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

.page-wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

/* ─── Section label ──────────────────────────────────── */
.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ─── Cards ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

/* ─── Tags ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border2);
  color: var(--muted);
  background: var(--surface2);
}

/* ─── Divider ────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* ─── Footer ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-text {
  font-size: 12.5px;
  color: var(--faint);
}

.footer-link {
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-link:hover { color: var(--text); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-dim); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border2);
}

.btn-ghost:hover { color: var(--text); border-color: var(--faint); }

/* ─── Flow arrow ─────────────────────────────────────── */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.flow-step {
  font-size: 12.5px;
  color: var(--muted);
  padding: 5px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.flow-arrow {
  font-size: 12px;
  color: var(--faint);
}
