/* Palette matches admin/src/index.css --color-primary-* so the brand is
   consistent between the marketing site and the admin panel. */
:root {
  --primary-50: #eefbf2;
  --primary-100: #d6f5e0;
  --primary-200: #afe9c5;
  --primary-300: #7bd7a3;
  --primary-400: #47bd80;
  --primary-500: #2d8b4e;
  --primary-600: #24713e;
  --primary-700: #1e5c33;
  --primary-800: #1a4a2a;
  --primary-900: #163d24;

  --ink: #16241c;
  --muted: #56685f;
  --border: #e3ece6;
  --bg: #ffffff;
  --bg-alt: #f5faf6;

  --radius: 16px;
  --max-width: 1160px;
  --shadow: 0 12px 32px -16px rgba(22, 61, 36, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

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

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(36, 113, 62, 0.6);
}

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

.btn-ghost {
  background: transparent;
  color: var(--primary-700);
  border-color: var(--primary-200);
}

.btn-ghost:hover {
  background: var(--primary-50);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
  flex: 1;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary-700);
}

.header-cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(circle at top right, var(--primary-50), var(--bg) 60%);
  padding: 72px 0 96px;
}

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

.eyebrow {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--primary-600);
}

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

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary-700);
}

.hero-stats .stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-art {
  position: relative;
  min-height: 340px;
}

.hero-logo-mark {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(var(--shadow));
}

.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.hero-card-1 {
  top: 4%;
  left: 0;
}

.hero-card-2 {
  top: 42%;
  right: 0;
}

.hero-card-3 {
  bottom: 4%;
  left: 12%;
}

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

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

.section-dark {
  background: var(--primary-800);
  color: #fff;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.section-title.light {
  color: #fff;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 0 36px;
}

.section-sub.light {
  color: var(--primary-100);
}

/* ── Features ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 12px;
  margin-bottom: 16px;
}

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

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

/* ── Steps ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

/* ── Cities ──────────────────────────────────────────────── */
.cities-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cities-badge {
  background: var(--primary-50);
  border: 1px dashed var(--primary-300);
  border-radius: var(--radius);
  padding: 24px 32px;
  font-weight: 600;
  color: var(--primary-700);
  white-space: nowrap;
}

/* ── Download ────────────────────────────────────────────── */
.download-inner {
  text-align: center;
}

.download-inner .section-title,
.download-inner .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: default;
}

.store-badge-icon {
  font-size: 1.2rem;
}

.store-badge-link {
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.store-badge-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.store-badge small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--primary-100);
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-inner {
  text-align: center;
}

.contact-inner .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.contact-links a {
  font-weight: 600;
  color: var(--primary-700);
  font-size: 1.05rem;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-900);
  color: var(--primary-100);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
}

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

  .hero-art {
    order: -1;
    min-height: 220px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .header-cta {
    margin-left: auto;
    order: 3;
  }

  .nav-toggle {
    display: flex;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cities-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
