:root {
  --bg: #d9ecd4;
  --bg-deep: #cfe6ca;
  --bg-soft: #eef6ea;
  --cream: #fbfdf6;
  --text: #16311c;
  --muted: #4f6b52;
  --forest: #14361b;
  --moss: #2f7d3f;
  --moss-dark: #22602f;
  --card: #ffffff;
  --line: #cfe1cd;
  --line-soft: #e2eede;
  /* Garden status colors, mirrored from the app */
  --bloom-bg: #fbe1ec;
  --bloom-text: #c53d7a;
  --planted-bg: #d8efce;
  --planted-text: #2f7d3f;
  --thirsty-bg: #fdeecb;
  --thirsty-text: #b7791f;
  --wilting-bg: #fbdcd8;
  --wilting-text: #c0392b;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% -5%, #e8f5e2 0%, transparent 34%),
    radial-gradient(circle at 92% 8%, #cbe6c6 0%, transparent 30%),
    radial-gradient(circle at 50% 120%, #c2e0bc 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.site {
  width: min(1040px, 92vw);
  margin: 0 auto;
  padding: 20px 0 48px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.brand {
  text-decoration: none;
  color: var(--forest);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.brand::before {
  content: "🌱";
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  text-decoration: none;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cream), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 18px 44px rgba(20, 54, 27, 0.10);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(47, 125, 63, 0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--planted-bg);
  color: var(--planted-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  color: var(--forest);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  max-width: 16ch;
}

.hero p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--moss), var(--moss-dark));
  box-shadow: 0 8px 20px rgba(34, 96, 47, 0.28);
}

.button-secondary {
  color: var(--forest);
  border: 1px solid var(--line);
  background: #fff;
}

/* ---------- Growth-stage strip ---------- */
.stages {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
}

.stages .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}

.pill {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.pill.planted { background: var(--planted-bg); color: var(--planted-text); }
.pill.bloom   { background: var(--bloom-bg);   color: var(--bloom-text); }
.pill.thirsty { background: var(--thirsty-bg); color: var(--thirsty-text); }
.pill.wilting { background: var(--wilting-bg); color: var(--wilting-text); }
.stages .arrow { color: var(--muted); opacity: 0.5; }

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

.card {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 54, 27, 0.10);
}

.card .icon {
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  color: var(--forest);
  font-size: 20px;
  font-weight: 700;
}

.card p,
.content p,
.content li {
  color: var(--muted);
  line-height: 1.62;
}

/* ---------- Screenshot showcase ---------- */
.showcase {
  margin-top: 34px;
  text-align: center;
}

.showcase h2 {
  font-family: var(--display);
  color: var(--forest);
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 0 0 6px;
}

.showcase .sub {
  color: var(--muted);
  font-size: 17px;
  margin: 0 auto 30px;
  max-width: 52ch;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px 20px;
  justify-items: center;
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

.phone {
  position: relative;
  width: 100%;
  padding: 9px;
  background: linear-gradient(160deg, #1c3b23, #14361b);
  border-radius: 34px;
  box-shadow: 0 20px 40px rgba(20, 54, 27, 0.22);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 26px;
}

.shot .caption {
  font-weight: 700;
  color: var(--forest);
  font-size: 15px;
}

.shot .caption span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- Content blocks ---------- */
.content {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 20px;
  padding: 26px;
}

.content h2 {
  font-family: var(--display);
  color: var(--forest);
  margin-top: 0;
}

.content h2:not(:first-child) { margin-top: 22px; }

.footer {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer::before {
  content: "🌿";
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

a.inline {
  color: var(--moss-dark);
  font-weight: 650;
}

@media (max-width: 640px) {
  .hero {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .hero p { font-size: 16px; }
  .content { padding: 20px; }
}
