:root {
  --bg: #05070d;
  --fg: #e6edf7;
  --muted: #8a97ae;
  --card: #0b1020;
  --border: #1b2338;
  --brand: #2f6bff;
  --brand2: #1a3faa;
  --success: #4ade80;
  --err: #f87171;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--fg);
  font-family: Inter, system-ui, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none }
a:hover { text-decoration: underline }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px }
.narrow { max-width: 760px }

/* header */
header.site {
  position: sticky; top: 0; z-index: 40;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  background: rgba(5,7,13,.85); backdrop-filter: blur(12px);
}
header.site .row { display: flex; align-items: center; justify-content: space-between; gap: 20px }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--fg) }
.logo:hover { text-decoration: none }
.logo .mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; font-weight: 800; font-size: 14px;
}
.logo small { color: var(--muted); font-weight: 400; font-size: 12px }
nav.main { display: flex; gap: 24px; font-size: 14px }
nav.main a { color: var(--muted) }
nav.main a:hover { color: var(--fg); text-decoration: none }
@media(max-width: 720px) { nav.main { display: none } }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600;
  font-size: 14px; cursor: pointer; border: 0;
  font-family: inherit; transition: all .15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  box-shadow: 0 4px 20px -6px rgba(47,107,255,.5);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--fg)
}
.btn-outline:hover { border-color: var(--brand); text-decoration: none }
.btn-lg { padding: 14px 26px; font-size: 15px }
.btn-xl { padding: 17px 32px; font-size: 16px }

/* hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 60px; text-align: center }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 400px at 50% -80px, rgba(47,107,255,.3), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero > .container { position: relative; z-index: 1; max-width: 880px }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid rgba(47,107,255,.35);
  background: rgba(47,107,255,.08); color: #77a1ff;
  border-radius: 999px; font-size: 12px; font-weight: 500;
}
h1 {
  font-size: clamp(36px, 6vw, 64px); line-height: 1.05;
  letter-spacing: -0.025em; margin: 20px 0 16px;
  font-family: "Sora", Inter, system-ui; font-weight: 700;
}
h1 .grad {
  background: linear-gradient(135deg, #5f8bff, #1a3faa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 {
  font-family: "Sora", Inter, system-ui; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h3 { font-family: "Sora", Inter; font-weight: 600; margin: 0 0 8px; font-size: 18px }
.sub { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 660px; margin: 0 auto 28px }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 40px; text-align: center }

/* waitlist form */
form.waitlist {
  display: flex; gap: 8px; max-width: 480px; margin: 12px auto 8px;
  padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
}
form.waitlist input {
  flex: 1; border: 0; background: transparent; color: var(--fg);
  padding: 12px 14px; font-size: 15px; outline: none; font-family: inherit;
}
form.waitlist button { border: 0; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: 14px; font-family: inherit }
form.waitlist button:hover { filter: brightness(1.1) }
.tiny { color: var(--muted); font-size: 12px; margin-top: 6px }
.msg { display: none; margin-top: 10px; font-size: 14px; font-weight: 500 }
.msg.ok { color: var(--success); display: block }
.msg.err { color: var(--err); display: block }

/* preview cards */
.preview {
  margin: 70px auto 0; max-width: 980px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(47,107,255,.05), transparent 40%), var(--card);
  border-radius: 20px; padding: 16px;
  box-shadow: 0 40px 80px -40px rgba(47,107,255,.35);
}
.preview .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px }
@media(max-width: 720px) { .preview .row { grid-template-columns: 1fr } }
.card { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 18px; text-align: left }
.card .pill { display: inline-block; color: #77a1ff; font-weight: 600; font-size: 12px }
.card .name { margin-top: 4px; font-weight: 600 }
.card .city { color: var(--muted); font-size: 13px; margin-bottom: 10px }
.card p { margin: 0; font-size: 14px }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 860px; margin: 56px auto 0 }
.stats .s { text-align: center }
.stats .s b { display: block; font-family: "Sora", Inter; font-size: 28px; background: linear-gradient(135deg, #5f8bff, #1a3faa); -webkit-background-clip: text; background-clip: text; color: transparent }
.stats .s span { color: var(--muted); font-size: 13px }
@media(max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr) } }

/* sections */
section { padding: 80px 0 }
section.dark { background: rgba(11, 16, 32, 0.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px }
.features .card { padding: 24px }
.features .card .icon { font-size: 22px; margin-bottom: 10px }
.features .card h3 { margin-bottom: 6px; font-size: 16px }
.features .card p { color: var(--muted); font-size: 13.5px; line-height: 1.55 }
@media(max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr) } }
@media(max-width: 520px) { .features { grid-template-columns: 1fr } }

/* how steps */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px }
.step { display: flex; gap: 18px }
.step .n { font-family: "Sora", Inter; font-size: 36px; font-weight: 700; background: linear-gradient(135deg, #5f8bff, #1a3faa); -webkit-background-clip: text; background-clip: text; color: transparent; width: 56px; flex-shrink: 0 }
.step h3 { margin-bottom: 6px; font-size: 19px }
.step p { margin: 0; color: var(--muted); font-size: 14px }
@media(max-width: 720px) { .steps { grid-template-columns: 1fr } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px }
.quote .q { font-size: 16px; line-height: 1.65 }
.quote .a { margin-top: 14px; display: flex; align-items: center; gap: 12px }
.quote .a .initials { width: 38px; height: 38px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px }
.quote .a span { font-size: 14px; color: var(--muted) }
@media(max-width: 720px) { .quotes { grid-template-columns: 1fr } }

/* pricing */
.toggle {
  display: inline-flex; background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px; margin-top: 24px;
}
.toggle button {
  border: 0; background: transparent; color: var(--muted);
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-weight: 500; font-size: 14px; font-family: inherit;
}
.toggle button.on { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px }
.plan {
  position: relative; border: 1px solid var(--border); border-radius: 20px;
  background: var(--card); padding: 30px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--brand); box-shadow: 0 0 40px -10px rgba(47,107,255,.3); transform: translateY(-4px) }
.plan .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.plan .name { font-size: 20px; font-weight: 600; font-family: "Sora", Inter }
.plan .blurb { color: var(--muted); font-size: 13px; margin-top: 4px }
.plan .price { font-family: "Sora", Inter; font-size: 48px; font-weight: 700; line-height: 1; margin-top: 20px }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 400 }
.plan .billing { font-size: 12px; color: var(--muted); margin-top: 6px }
.plan ul { margin: 24px 0 0; padding: 0; list-style: none }
.plan ul li { padding: 8px 0; font-size: 14px; display: flex; gap: 8px; align-items: flex-start }
.plan ul li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0 }
.plan .cta { margin-top: auto; padding-top: 24px }
.plan .cta .btn { width: 100%; justify-content: center }
@media(max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto } .plan.featured { transform: none } }

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card) }
.faq details { border-bottom: 1px solid var(--border) }
.faq details:last-child { border-bottom: 0 }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 500; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 300 }
.faq details[open] summary::after { content: "−" }
.faq details[open] summary { border-bottom: 1px solid var(--border) }
.faq .ans { padding: 16px 22px; color: var(--muted); font-size: 14px; line-height: 1.65 }

/* final cta */
.cta-box { background: linear-gradient(135deg, rgba(47,107,255,.12), rgba(26,63,170,.12)); border: 1px solid var(--brand); border-radius: 20px; padding: 60px 30px; text-align: center }
.cta-box h2 { margin-bottom: 12px }
.cta-box .sub { margin-bottom: 30px }

/* footer */
footer.site { padding: 40px 0 30px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px }
footer.site .cols h4 { color: var(--fg); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; font-family: Inter; font-weight: 600 }
footer.site ul { list-style: none; padding: 0; margin: 0 }
footer.site ul li { padding: 4px 0 }
footer.site ul a { color: var(--muted) }
footer.site ul a:hover { color: var(--fg); text-decoration: none }
footer.site .legal { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 12px }
@media(max-width: 720px) { footer.site .cols { grid-template-columns: 1fr 1fr; gap: 20px } }

/* blog */
article.post { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px }
article.post h1 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 16px; text-align: left }
article.post .meta { color: var(--muted); font-size: 14px; margin-bottom: 40px }
article.post h2 { font-size: 26px; margin-top: 44px; margin-bottom: 16px }
article.post h3 { font-size: 19px; margin-top: 30px; margin-bottom: 12px; font-weight: 600 }
article.post p { font-size: 16.5px; line-height: 1.7; color: #d5dcea; margin: 0 0 16px }
article.post ul, article.post ol { font-size: 16.5px; line-height: 1.7; color: #d5dcea; padding-left: 24px }
article.post li { margin-bottom: 8px }
article.post blockquote { border-left: 3px solid var(--brand); background: rgba(47,107,255,.05); padding: 14px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; color: var(--fg) }
article.post pre { background: var(--card); border: 1px solid var(--border); padding: 18px; border-radius: 10px; font-size: 13.5px; overflow-x: auto; line-height: 1.6; color: #c3cde0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace }
article.post code { background: rgba(47,107,255,.15); padding: 2px 6px; border-radius: 4px; font-size: 88%; color: #9bb2ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace }
article.post pre code { background: none; padding: 0; color: inherit; font-size: 100% }
article.post a { color: #77a1ff }
article.post hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0 }
article.post table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px }
article.post th, article.post td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border) }
article.post th { color: var(--fg); font-weight: 600; background: var(--card) }

.post-cta { background: linear-gradient(135deg, rgba(47,107,255,.1), rgba(26,63,170,.1)); border: 1px solid var(--brand); border-radius: 14px; padding: 26px; margin: 40px 0; text-align: center }
.post-cta h3 { font-size: 18px; margin-bottom: 8px }
.post-cta p { color: var(--muted); font-size: 14px; margin-bottom: 16px }

.blog-index { list-style: none; padding: 0; max-width: 760px; margin: 0 auto }
.blog-index li { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: var(--card) }
.blog-index a { display: block; padding: 20px 22px; color: var(--fg) }
.blog-index a:hover { border-color: var(--brand); text-decoration: none }
.blog-index .post-title { font-size: 17px; font-weight: 600; margin-bottom: 4px }
.blog-index .post-read { color: var(--muted); font-size: 12.5px }
