:root {
  --ink: #0b1224;
  --navy: #151c3a;
  --brand: #3b5bfd;
  --brand-dark: #2a46e8;
  --sky: #38bdf8;
  --mint: #5eead4;
  --rose: #fb7185;
  --paper: #f4f6fb;
  --white: #ffffff;
  --muted: #5b647a;
  --line: #e4e8f2;
  --shadow: 0 18px 50px rgba(21, 28, 58, 0.12);
  --radius: 18px;
  --max: 1160px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.logo svg { width: 34px; height: 34px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: .2s transform, .2s box-shadow, .2s background;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #5b7cff);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(59, 91, 253, .28);
}
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--line);
}
.btn-white {
  background: #fff;
  color: var(--navy) !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(56,189,248,.22), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(59,91,253,.18), transparent 50%),
    linear-gradient(180deg, #eef2ff 0%, #fff 72%);
  padding: 72px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #e8edff;
  color: var(--brand);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 16px 0 18px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.device {
  position: relative;
  background: #0f1630;
  border-radius: 28px;
  padding: 18px 16px 22px;
  box-shadow: var(--shadow);
  color: #fff;
  min-height: 420px;
}
.device-bar {
  height: 10px;
  width: 84px;
  background: #2a3358;
  border-radius: 99px;
  margin: 0 auto 16px;
}
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  margin: 10px 0;
  font-size: .92rem;
}
.bubble.in { background: #243056; }
.bubble.out {
  background: linear-gradient(135deg, var(--brand), #6d8bff);
  margin-left: auto;
}
.device-meta { color: #9aa6c8; font-size: .75rem; margin-top: 8px; }

section { padding: 78px 0; }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.section-title span { color: var(--brand); }
.center { text-align: center; }
.muted { color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.card h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8edff, #dff6ff);
  color: var(--brand);
  font-size: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.browser-top {
  background: #f0f3fa;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #d5dbea; }
.thread { padding: 18px; background: #f8faff; min-height: 240px; }

.providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.provider {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  font-weight: 800;
  background: #fff;
  color: var(--navy);
}
.provider:hover { border-color: var(--brand); color: var(--brand); }

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.quote { background: var(--paper); border: 0; }
.stars { color: #f59e0b; letter-spacing: 2px; }

.cta-band {
  background: linear-gradient(135deg, #151c3a, #27368a 60%, #3b5bfd);
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-band h2 { margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; color: #d7e0ff; }

.page-hero {
  background: linear-gradient(180deg, #eef2ff, #fff);
  padding: 56px 0 24px;
}
.page-hero h1 { margin-bottom: 8px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  padding: 28px 24px 32px;
  position: relative;
}
.plan.featured {
  border-color: var(--brand);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e8edff;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 18px; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { padding: 0; margin: 0 0 22px; list-style: none; }
.plan li { padding: 8px 0 8px 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 18px 0;
}
ol.steps { padding-left: 20px; }
ol.steps li { margin: 10px 0; }
code, .code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .88em;
  background: #eef2ff;
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card h3 { margin-top: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
form { display: grid; gap: 12px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }

.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
}
.doc-list a:hover { border-color: var(--brand); }

.site-footer {
  background: var(--ink);
  color: #c9d2ea;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.site-footer a { color: #e8edff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.legal {
  border-top: 1px solid #243056;
  margin-top: 36px;
  padding-top: 18px;
  font-size: .9rem;
  color: #9aa6c8;
  text-align: center;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset: 76px 16px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    padding: 16px;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .hero-grid, .split, .quotes, .plans, .features, .blog-grid, .contact-grid, .footer-grid, .doc-list, .providers {
    grid-template-columns: 1fr;
  }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .plan.featured { transform: none; }
}
