:root {
  --emerald: #10b981;
  --emerald-dark: #059669;
  --ink: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --max-width: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, 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;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

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

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(150deg, #10b981, #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -3px rgba(4, 120, 87, 0.5);
}

.brand-mark svg {
  width: 62%;
  height: 62%;
  display: block;
}

.brand-name {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.nav-links a:hover {
  color: var(--emerald-dark);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--slate-700);
}

/* Hero */
.hero {
  background: radial-gradient(1200px 400px at 80% -10%, #d1fae5 0%, transparent 60%),
    linear-gradient(180deg, var(--slate-50), var(--white));
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald-dark);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
}

.lede {
  font-size: 1.08rem;
  color: var(--slate-500);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--emerald-dark);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--slate-200);
}

.stats div {
  min-width: 120px;
}

.stats dt {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.stats dd {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Hero art */
.hero-art {
  display: flex;
  justify-content: center;
}

.map-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.map-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background: var(--emerald);
  box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.6);
  z-index: 2;
}

.pin-a {
  left: 8%;
  bottom: 12%;
}

.pin-b {
  right: 8%;
  top: 10%;
  background: var(--ink);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--slate-50);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -20px rgba(15, 23, 42, 0.3);
}

.card-icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
}

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

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--emerald-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--ink), #1e293b);
  color: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band .lede {
  color: #cbd5e1;
  margin: 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--slate-200);
  padding: 44px 0 28px;
  background: var(--white);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--emerald-dark);
}

.muted {
  color: var(--slate-500);
}

.small {
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.85rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}
