:root{
  /* Brand */
  --brand: #36a57f;         /* primary green */
  --brand-2: #2f9a77;       /* hover */
  --ink: #0f1f1a;           /* headings */
  --muted: rgba(15, 31, 26, 0.62);

  /* Surfaces */
  --bg: #f6fbf8;            /* app-like background */
  --card: rgba(255,255,255,0.78);
  --border: rgba(15, 31, 26, 0.10);

  /* Radii */
  --r-pill: 999px;
  --r-lg: 22px;
  --r-md: 16px;

  /* Effects */
  --shadow: 0 18px 40px rgba(15, 31, 26, 0.10);
  --shadow-soft: 0 10px 26px rgba(15, 31, 26, 0.08);

  /* Layout */
  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 520px at 50% -80px, rgba(54,165,127,0.12) 0%, rgba(246,251,248,1) 55%, rgba(255,255,255,1) 100%);
}

/* Links */
a{ color: inherit; }
a:hover{ opacity: 0.92; }

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

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246,251,248,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brandmark{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand);
  display:grid;
  place-items:center;
  color: white;
  font-weight: 900;
}
.nav-links{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a{
  text-decoration:none;
  color: rgba(15,31,26,0.62);
  font-weight: 600;
}
.nav-links a:hover{
  color: var(--ink);
}

/* Hero */
.hero{
  padding: 86px 0 34px;
  text-align: center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(54,165,127,0.22);
  background: rgba(54,165,127,0.10);
  color: rgba(15,31,26,0.72);
  font-weight: 700;
  font-size: 13px;
}
h1{
  margin: 18px auto 12px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.lead{
  margin: 0 auto;
  max-width: 72ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

/* Buttons */
.cta-row{
  margin-top: 26px;
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap: wrap;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15,31,26,0.12);
  text-decoration:none;
  font-weight: 800;
  min-width: 170px;
}
.button.primary{
  background: var(--brand);
  border-color: rgba(54,165,127,0.28);
  color: white;
  box-shadow: var(--shadow-soft);
}
.button.primary:hover{ background: var(--brand-2); }
.button.secondary{
  background: rgba(54,165,127,0.08);
  color: var(--brand);
  border-color: rgba(54,165,127,0.24);
}
.button.secondary:hover{
  background: rgba(255,255,255,0.75);
}

/* Feature row (like the app) */
.feature-row{
  margin: 34px auto 0;
  display:flex;
  justify-content:center;
  gap: 26px;
  flex-wrap: wrap;
  color: rgba(15,31,26,0.62);
  font-weight: 700;
}
.feature{
  display:flex;
  align-items:center;
  gap: 10px;
}
.feature-badge{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(54,165,127,0.18);
  background: rgba(54,165,127,0.10);
}

/* Sections */
.section{
  padding: 38px 0 74px;
}
.section-title{
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

/* Card grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(15,31,26,0.10);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{
  margin: 2px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card p, .card li{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.card ul{
  margin: 0;
  padding-left: 18px;
}

/* Step badge (matches the numbered circles in the app) */
.step{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(54,165,127,0.10);
  border: 1px solid rgba(54,165,127,0.18);
  color: rgba(15,31,26,0.70);
  font-weight: 900;
  margin-bottom: 10px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(246,251,248,0.68);
}
.footer-inner{
  padding: 20px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  gap: 16px;
}
.footer-links a{
  text-decoration:none;
  color: rgba(15,31,26,0.62);
  font-weight: 700;
}
.footer-links a:hover{ color: var(--ink); }

/* Responsive */
@media (max-width: 920px){
  h1{ font-size: 44px; }
  .grid{ grid-template-columns: 1fr; }
  .hero{ padding: 66px 0 28px; }
  .button{ min-width: 0; }
}
/* Minimal header (brand only) */
.nav-minimal{
  justify-content: flex-start;
  min-height: 64px;
}

.nav-minimal .brand{
  font-size: 16px;
}

.site-header{
  background: rgba(246,251,248,0.6);
}
.icon-tile{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}

.lucide-icon{
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.text-link{
  color: rgba(15,31,26,0.72);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover{
  color: var(--ink);
  text-decoration: underline;
}
/* Shared header alignment (same on all pages) */
.nav-shared{
  min-height: 72px;
}

.nav-links-shared{
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links-shared a{
  font-size: 14px;
  font-weight: 600;
  color: rgba(15,31,26,0.62);
}

.nav-links-shared a:hover{
  color: var(--ink);
}

.nav-cta{
  padding: 10px 16px;
  min-width: 0;
  border-radius: 14px;
  font-size: 14px;
}
/* Mobile header: keep it clean */
@media (max-width: 760px){
  .nav-center{ display: none; }        /* hides the link row if you use nav-center */
  .nav-links{ display: none; }         /* hides old nav-links if still present */
  .nav-right{ gap: 10px; }

  .site-header .container{
    padding-left: 16px;
    padding-right: 16px;
  }

  .brandmark{
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 760px){
  .hero{
    padding: 56px 0 26px;
    text-align: left;
  }

  h1{
    font-size: 40px;
    max-width: 100%;
  }

  .lead{
    font-size: 16px;
    line-height: 1.7;
  }

  .cta-row{
    justify-content: flex-start;
  }

  .pill{
    font-size: 12px;
    padding: 8px 12px;
  }
}
@media (max-width: 760px){
  .grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card{
    padding: 16px;
    border-radius: 18px;
  }

  .section{
    padding: 28px 0 52px;
  }

  .section-title{
    font-size: 22px;
  }
}
@media (max-width: 760px){
  .button{
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
  }

  .cta-row{
    width: 100%;
  }
}
@media (max-width: 760px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 0;
  }

  .footer-links{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-links a{
    padding: 8px 0;
  }
}
