:root {
  --green: #1F8A5B;
  --ink: #10211A;
  --body: #333333;
  --muted: #6F8279;
  --line: #E8F1EC;
  --bg: #FFFFFF;
}

* { box-sizing: border-box; }

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

.topbar {
  background: var(--green);
  color: #fff;
  padding: 18px 20px;
}
.topbar .wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-tag {
  font-size: 13px;
  opacity: 0.9;
  margin-left: auto;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
}
.updated {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 24px;
}
h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 8px;
}
p {
  font-size: 15px;
  margin: 0 0 14px;
}
a { color: var(--green); }

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nav a.active { color: var(--ink); text-decoration: underline; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
footer a { font-weight: 600; }

/* ============================================================
   Landing page (home) styles
   ============================================================ */

.hero {
  background: linear-gradient(160deg, #1F8A5B 0%, #14663f 100%);
  color: #fff;
  text-align: center;
  padding: 72px 20px 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 48px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.hero .logo {
  width: 88px; height: 88px;
  border-radius: 24px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 44px; margin-bottom: 18px;
}
.hero h1 { font-size: 40px; color: #fff; margin: 0; }
.hero .tag { font-size: 18px; opacity: 0.95; margin: 4px 0 0; }
.hero .lede {
  font-size: 16px; opacity: 0.92; max-width: 500px;
  margin: 20px auto 0; line-height: 1.6;
}
.cta-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}
.badge {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
}

.features { max-width: 900px; margin: 0 auto; padding: 24px 20px 8px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px; text-align: left;
}
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #E3F3EC; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 12px;
}
.feature h3 { font-size: 16px; color: var(--ink); margin: 0 0 6px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

.steps { max-width: 900px; margin: 0 auto; padding: 40px 20px 8px; text-align: center; }
.steps-title { font-size: 22px; color: var(--ink); margin: 0 0 24px; }
.step-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.step {
  background: #F1F8F4; border-radius: 16px; padding: 24px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step p { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

.home-footer {
  max-width: 900px; margin: 48px auto 0; padding: 28px 20px 56px;
  border-top: 1px solid var(--line); text-align: center;
}
.foot-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.foot-links a { color: var(--green); font-weight: 600; text-decoration: none; font-size: 14px; }
.foot-fine { color: var(--muted); font-size: 13px; margin: 0; }
