:root {
  --bg-primary: #070b1a;
  --bg-secondary: #0d1430;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text-primary: #f4f7ff;
  --text-secondary: #b8c2e0;
  --border: rgba(255, 255, 255, 0.12);
  --primary: #6b7bff;
  --primary-2: #3dc4ff;
  --ok: #1dbf8f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #12204e 0%, var(--bg-primary) 42%), var(--bg-primary);
  color: var(--text-primary);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: #9fc5ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 26, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #c8d6ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-home-btn:hover {
  color: var(--text-primary);
  border-color: rgba(107, 123, 255, 0.5);
  background: rgba(107, 123, 255, 0.12);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 16px rgba(107, 123, 255, 0.7);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-docs-nav {
  justify-content: flex-end;
  gap: 8px;
}

.docs-inline-link {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.docs-inline-link:hover {
  color: var(--text-primary);
  border-color: rgba(107, 123, 255, 0.45);
  background: rgba(107, 123, 255, 0.14);
  text-decoration: none;
}

.hero {
  padding: 68px 0 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9db0e5;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

h1 {
  margin: 16px 0 8px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0;
}

.breadcrumbs {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: #bcd2ff;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
}

.section {
  padding: 26px 0 12px;
}

.section h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3.5vw, 32px);
}

.section p.lead {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-radius: 14px;
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.list li + li {
  margin-top: 6px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--border);
  color: #c7d2f5;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.conversion-cta {
  margin-top: 16px;
  border: 1px solid rgba(107, 123, 255, 0.45);
  background: linear-gradient(140deg, rgba(107, 123, 255, 0.18), rgba(61, 196, 255, 0.1));
  border-radius: 14px;
  padding: 18px;
}

.conversion-cta h3 {
  margin: 0 0 8px;
}

.conversion-cta p {
  margin: 0;
  color: var(--text-secondary);
}

.conversion-cta .cta-row {
  margin-top: 14px;
}

.muted {
  color: var(--text-secondary);
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.05);
}

.ok {
  color: var(--ok);
  font-weight: 600;
}

.footer {
  margin-top: 38px;
  border-top: 1px solid var(--border);
  padding: 22px 0 34px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-links {
    width: 100%;
    gap: 10px;
  }

  .topbar-docs-nav {
    justify-content: flex-start;
  }

  .back-home-btn {
    font-size: 11px;
    padding: 5px 10px;
  }

  .docs-inline-link {
    font-size: 11px;
    padding: 7px 10px;
  }
}
