:root {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-900: #312e81;
  --geo-green: #10b981;
  --geo-teal: #14b8a6;
  --geo-blue: #3b82f6;
  --ink: #0f1222;
  --ink-soft: #4b5065;
  --paper: #ffffff;
  --paper-soft: #f7f8fc;
  --border: #e7e8f2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
header.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand-600); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--border);
  background: var(--paper);
}
.btn-ghost:hover { background: var(--paper-soft); }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79,70,229,0.15);
}
.btn-primary:hover { background: var(--brand-700); }

.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(680px 320px at 85% -10%, var(--brand-100), transparent 60%),
    radial-gradient(520px 260px at 5% 10%, #e6fbf6, transparent 55%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--geo-green);
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 22px;
  max-width: 780px;
}
h1 .accent { color: var(--brand-600); }

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: #8b8fa3; margin-top: 14px; }

/* Sections */
.section { padding: 72px 0; }
.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  font-weight: 800;
}
.section-sub { color: var(--ink-soft); font-size: 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  background: var(--paper);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(15,18,34,0.06); transform: translateY(-2px); }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

.icon-indigo { background: var(--brand-50); color: var(--brand-600); }
.icon-green  { background: #ecfdf5; color: var(--geo-green); }
.icon-blue   { background: #eff6ff; color: var(--geo-blue); }
.icon-teal   { background: #f0fdfa; color: var(--geo-teal); }

/* CTA band */
.cta-band {
  background: var(--brand-900);
  background-image: radial-gradient(600px 260px at 90% 0%, rgba(129,140,248,0.35), transparent 60%);
  border-radius: 24px;
  padding: 56px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: #c7cbfa; margin: 0; max-width: 480px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); }
.cta-band .btn-primary:hover { background: var(--brand-50); }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8b8fa3;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink-soft); }

/* Badge / pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}

.skeleton {
  background: linear-gradient(90deg, var(--paper-soft) 25%, #eef0f8 37%, var(--paper-soft) 63%);
  background-size: 400% 100%;
  animation: skeleton-shine 1.4s ease infinite;
  border-radius: 8px;
}
@keyframes skeleton-shine {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.empty-note { color: #8b8fa3; font-size: 14.5px; padding: 8px 0; }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 64px 0 56px; }
}
