:root {
  --brand: #5b8def;
  --brand-ink: #1f2a44;
  --ok: #2e7d32;
  --attention: #e08a00;
  --bg: #ffffff;
  --surface: #f6f7f9;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--brand-ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--brand-ink);
}

.brand-mark img { width: 28px; height: 28px; }

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

.site-nav a {
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--brand); }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn-primary:hover { background: #4a7cd8; }

.btn-secondary {
  background: transparent;
  color: var(--brand-ink);
  border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: var(--surface);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero .subhead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .no-key {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Hero visual: a lightweight CSS "map card" mock — no product screenshot yet */
.hero-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(31, 42, 68, 0.08);
}

.map-mock {
  position: relative;
  height: 220px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, rgba(91,141,239,0.12), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(91,141,239,0.10), transparent 45%),
    var(--surface);
  overflow: hidden;
}

.map-mock .pin {
  position: absolute;
  width: 22px;
  height: 28px;
}

.map-mock .pin.p1 { top: 40px; left: 60px; }
.map-mock .pin.p2 { top: 100px; left: 160px; }
.map-mock .pin.p3 { top: 60px; left: 230px; }
.map-mock .pin.p4 { top: 140px; left: 90px; }

.map-mock .cluster-badge {
  position: absolute;
  top: 30px;
  right: 24px;
  width: 40px;
  height: 40px;
}

.hero-visual .caption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
section { padding: 64px 0; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 8px;
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 40px;
  max-width: 40ch;
}

/* Value props */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 44px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { margin: 2px 0 6px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Who it's for */
.who-for {
  background: var(--surface);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--brand-ink);
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.price-card .plan-name {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 4px;
}

.price-card .plan-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.price-card .plan-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.price-card .trial-note {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 16px;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card li { margin-bottom: 6px; }

/* Final CTA */
.final-cta {
  text-align: center;
  background: var(--brand-ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 32px;
}

.final-cta h2 { margin: 0 0 12px; font-size: 1.6rem; }
.final-cta p { margin: 0 0 24px; color: #cbd5e1; }
.final-cta .btn-primary { background: #fff; color: var(--brand-ink); }
.final-cta .btn-primary:hover { background: #e5e7eb; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-trust {
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

.footer-attribution {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Legal pages */
.legal-page {
  padding: 56px 0 80px;
}

.legal-page .wrap { max-width: 720px; }

.legal-page h1 { font-size: 1.9rem; margin: 0 0 8px; }

.legal-page .updated { color: var(--muted); font-size: 0.88rem; margin: 0 0 24px; }

.draft-banner {
  background: #fff7e6;
  border: 1px solid var(--attention);
  color: #7a5200;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 32px 0 10px;
}

.legal-page p, .legal-page li { color: var(--brand-ink); font-size: 0.96rem; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--brand); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
