*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050505;
  --bg-alt:    #0c0c0e;
  --surface:   #111114;
  --border:    #1e1e22;
  --border-lt: #2a2a30;
  --text:      #f5f5f7;
  --subtext:   #8e8e94;
  --muted:     #5a5a62;
  --accent:    #1466ff;
  --accent-lt: #4889ff;
  --accent-glow: rgba(20, 102, 255, 0.4);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    14px;
  --radius-sm: 8px;
  --max:       1200px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav:hover { border-bottom-color: var(--border); }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px; letter-spacing: 0.02em;
}
.logo svg { color: var(--text); }
.nav-links {
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500; color: var(--subtext);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: var(--accent); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-lt); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { display: flex; width: 100%; margin-top: 20px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 32px 120px;
  text-align: center;
}
.hero-glow {
  position: absolute; left: 50%; top: 30%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, var(--accent-glow), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  opacity: .55;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px; margin-bottom: 28px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent-lt);
  background: rgba(20, 102, 255, 0.1);
  border: 1px solid rgba(20, 102, 255, 0.25);
  border-radius: 999px;
}
.hero-title {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.95;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--subtext);
  max-width: 620px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 56px;
  font-size: 14px; color: var(--subtext);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--text); font-weight: 700; }
.hero-meta .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }

/* ── Sections ─────────────────────────────────────────── */
.section { padding: 120px 32px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  max-width: 720px; margin: 0 auto 64px;
  text-align: center;
}
.kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--accent-lt); margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 20px;
}
.lede {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--subtext);
}

/* ── Grid + Cards ─────────────────────────────────────── */
.grid-3 {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max); margin: 0 auto;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border-lt); transform: translateY(-2px); }
.card-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 18px;
}
.card h3 {
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { color: var(--subtext); font-size: 15px; }

/* ── Process steps ────────────────────────────────────── */
.steps {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.step-num {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 14px;
  border-radius: 999px; margin-bottom: 18px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--subtext); font-size: 14px; }

/* ── Founders / Team ─────────────────────────────────── */
.grid-2-team {
  display: grid; gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--max); margin: 0 auto;
}
@media (max-width: 720px) { .grid-2-team { grid-template-columns: 1fr; } }

.team-card { padding: 32px 28px; }
.team-name {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.team-role {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent-lt); text-transform: uppercase;
  margin-bottom: 18px;
}
.team-card p {
  color: var(--subtext); font-size: 15px; line-height: 1.7;
}
.team-card strong { color: var(--text); font-weight: 700; }

/* ── Pricing ──────────────────────────────────────────── */
.pricing .price-card {
  display: flex; flex-direction: column;
  padding: 32px 28px;
}
.price-name {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--subtext); margin-bottom: 14px; text-transform: uppercase;
}
.price {
  font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 10px;
}
.price span { font-size: 16px; font-weight: 500; color: var(--subtext); }
.price-tag { font-size: 14px; color: var(--subtext); margin-bottom: 24px; }
.price-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-list li {
  font-size: 14px; color: var(--text);
  padding-left: 22px; position: relative;
}
.price-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(20, 102, 255, 0.08), var(--surface));
}
.price-flag {
  position: absolute; top: -10px; right: 24px;
  padding: 4px 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  background: var(--accent); color: #fff;
  border-radius: 999px;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-lt); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px; font-weight: 400; color: var(--subtext);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin-top: 14px;
  color: var(--subtext); font-size: 15px; line-height: 1.65;
}

/* ── Final CTA ────────────────────────────────────────── */
.section-cta {
  text-align: center;
  background: radial-gradient(circle at top, rgba(20, 102, 255, 0.12), transparent 60%), var(--bg);
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 18px;
}
.cta-inner p {
  font-size: 17px; color: var(--subtext);
  margin-bottom: 32px;
}
.cta-meta {
  margin-top: 24px; font-size: 14px; color: var(--muted);
}
.cta-meta a { color: var(--accent-lt); }
.cta-meta a:hover { color: var(--text); }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 32px 32px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: start;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--subtext); font-size: 14px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--subtext); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-meta {
  grid-column: 1 / -1;
  padding-top: 32px; margin-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px;
}

/* ── Responsive nav ──────────────────────────────────── */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding: 14px 20px; }
  .section { padding: 80px 20px; }
  .hero { padding: 60px 20px 80px; }
}

/* ── Document pages (privacy/terms) ──────────────────── */
.doc {
  max-width: 760px; margin: 0 auto;
  padding: 80px 32px 120px;
}
.doc h1 {
  font-size: 44px; font-weight: 800; letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.doc .doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 48px; }
.doc h2 {
  font-size: 22px; font-weight: 700;
  margin: 40px 0 12px;
}
.doc p, .doc li {
  color: var(--subtext); font-size: 15px; line-height: 1.7;
  margin-bottom: 14px;
}
.doc ul { padding-left: 22px; list-style: disc; }

/* ── Login page ──────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(20, 102, 255, 0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(20, 102, 255, 0.12), transparent 50%),
    var(--bg);
}
.login-card {
  width: 100%; max-width: 400px;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.login-card .logo { justify-content: center; margin-bottom: 24px; }
.login-card h1 {
  font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 8px;
}
.login-card .login-sub {
  text-align: center; color: var(--subtext); font-size: 14px; margin-bottom: 28px;
}
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form label {
  font-size: 13px; font-weight: 600; color: var(--subtext);
}
.login-form input {
  padding: 12px 14px;
  font-family: inherit; font-size: 15px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s;
}
.login-form input:focus { border-color: var(--accent); }
.login-form .btn { margin-top: 8px; padding: 12px 20px; }
.login-error {
  padding: 10px 14px;
  background: rgba(220, 60, 60, 0.1);
  border: 1px solid rgba(220, 60, 60, 0.3);
  color: #ff8888;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
}
.login-back {
  display: block; text-align: center;
  margin-top: 24px; font-size: 13px;
  color: var(--subtext);
}
.login-back:hover { color: var(--text); }
