/* ---------- Design tokens ---------- */
:root {
  --background: #ffffff;
  --foreground: #1c3d47;
  --muted: #f3f8f6;
  --muted-foreground: #5a7079;
  --primary: #24b07b;
  --primary-hover: #1f9a6c;
  --primary-foreground: #ffffff;
  --secondary: #f3f8f6;
  --border: #dde7e3;
  --radius: 0.75rem;
  --shadow: 0 4px 14px rgba(28, 61, 71, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
    padding-bottom: 64px;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.85rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background-color 0.15s ease, transform 0.05s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }

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

.btn-sm { height: 36px; padding: 0 0.875rem; font-size: 0.875rem; }
.btn-lg { height: 48px; padding: 0 3rem; font-size: 1rem; }

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  width: 25px;
  height: 40px;
  border-radius: var(--radius);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  color: rgba(28, 61, 71, 0.8);
}
.nav-desktop a:hover { color: var(--primary); }

.nav-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-button { display: inline-flex; align-items: center; justify-content: flex-end; }
.menu-button svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
}

/* ---------- Mobile sheet ---------- */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 260px;
  background: var(--background);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 70;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sheet.open { transform: translateX(0); }
.sheet a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}
.sheet a:hover { color: var(--primary); }
.sheet-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--foreground);
  margin-bottom: 1rem;
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-tight { padding: 4rem 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  font-weight: 700;
}
.hero p { color: var(--muted-foreground); margin: 0 0 1rem; }
.hero p.lead { font-size: 1.125rem; color: var(--muted-foreground); }
.hero-stat {
  background: rgba(36, 176, 123, 0.05);
  border: 2px solid rgba(36, 176, 123, 0.2);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
}
.hero-stat .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.25rem; }
}

/* ---------- Features ---------- */
.features { background: var(--secondary); }
.features-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.feature-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  background: rgba(36, 176, 123, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.feature-card p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Steps ---------- */
.steps { background: var(--background); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps h2 { font-size: 2rem; margin: 0 0 0.5rem; }
.steps .subtitle { color: var(--muted-foreground); margin: 0 0 2.5rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step-card {
  background: rgba(36, 176, 123, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.step-num { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.step-card h3 { margin: 0; font-size: 1.125rem; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- Contacts ---------- */
.contacts { text-align: center; scroll-margin-top: 80px; }
.contacts h2 { font-size: 1.5rem; margin: 0 0 1.5rem; }
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
}
.contact-pill svg { width: 20px; height: 20px; color: var(--primary); }
.contact-pill a { font-weight: 500; }
.contact-pill a:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 50;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer p { margin: 0; color: var(--muted-foreground); font-size: 0.875rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted-foreground); font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 600px) {
  .footer-inner { justify-content: center; text-align: center; }
}

/* ---------- Content pages ---------- */
.page-content { max-width: 760px; margin: 0 auto; }
.page-content h1 { font-size: 2.25rem; margin: 0 0 0.5rem; }
.page-content .updated { color: var(--muted-foreground); font-size: 0.875rem; margin: 0 0 2rem; }
.page-content .intro { color: var(--muted-foreground); margin-bottom: 2rem; }
.page-section { margin-bottom: 2rem; }
.page-section h2 { font-size: 1.25rem; margin: 0 0 0.75rem; }
.page-section p { color: var(--muted-foreground); margin: 0 0 0.75rem; }
.page-section a { color: var(--primary); }
.page-section a:hover { text-decoration: underline; }
