*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #3D7A3A;
  --green-strong: #2F6A2C;
  --green-dark: #1F4D1E;
  --green-pale: #DCEFD9;
  --terra: #B55A30;
  --terra-pale: #FBE3D6;
  --sky: #2E7D9B;
  --sky-pale: #D6ECF5;
  --bg: #F8F5F0;
  --surface: #FFFFFF;
  --surface-2: #EFEAE2;
  --line: #E4DDD2;
  --text: #1C1B17;
  --muted: #5A534C;
  --shadow: 0 1px 2px rgba(31, 77, 30, .06), 0 8px 24px rgba(31, 77, 30, .08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #7DC479;
    --green-strong: #95D391;
    --green-dark: #CDEBCB;
    --green-pale: #1F3320;
    --terra: #F0A07A;
    --terra-pale: #3A251B;
    --sky: #7CC3E0;
    --sky-pale: #19303A;
    --bg: #121411;
    --surface: #1A1D19;
    --surface-2: #242822;
    --line: #2E332C;
    --text: #EDEBE6;
    --muted: #AFA9A0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 14px;
  font: inherit; font-weight: 800; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--bg); }
.btn-primary:hover { background: var(--green-strong); }
.btn-ghost { background: var(--surface-2); color: var(--text); }

/* Hero */
.hero { padding: 72px 0 40px; display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.eyebrow { display: inline-block; background: var(--green-pale); color: var(--green-dark); font-weight: 800; font-size: .85rem; padding: 6px 14px; border-radius: 99px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.store-note { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* Phone mock */
.phone {
  justify-self: center; width: min(300px, 100%);
  background: var(--text); border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px rgba(31, 77, 30, .25);
}
.screen { background: var(--bg); border-radius: 34px; padding: 22px 16px 18px; min-height: 520px; }
.screen h4 { font-size: 1.25rem; font-weight: 900; margin-bottom: 4px; }
.screen .sub { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.mock-task { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.mock-task .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: none; }
.mock-task b { display: block; font-size: .95rem; }
.mock-task span { font-size: .8rem; color: var(--muted); }
.mock-task .check { margin-left: auto; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 50%; flex: none; }
.pill { display: inline-block; font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }

section { padding: 64px 0; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head .kicker { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; margin: 6px 0 10px; }
.section-head p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .98rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { counter-increment: step; padding: 24px; border-radius: 20px; background: var(--surface-2); }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--bg); font-weight: 900; margin-bottom: 14px; }
.step h3 { font-weight: 800; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Catalog */
.catalog-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); color: var(--bg); border-color: var(--green); }
.plants { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.plant { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.plant .img { aspect-ratio: 1; background: var(--surface-2); }
.plant .img img { width: 100%; height: 100%; object-fit: cover; }
.plant .body { padding: 10px 12px 14px; }
.plant b { display: block; font-size: .98rem; line-height: 1.3; }
.plant span { font-size: .85rem; color: var(--muted); text-transform: capitalize; }
.catalog-empty { color: var(--muted); padding: 24px 0; }

.cta { background: var(--green-dark); color: var(--bg); border-radius: 28px; padding: 48px 32px; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 8px; }
.cta p { opacity: .85; margin-bottom: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Prose pages */
.prose { max-width: 44rem; padding: 48px 0 72px; }
.prose h1 { font-size: 2.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 8px; }
.prose .updated { color: var(--muted); margin-bottom: 32px; }
.prose h2 { font-size: 1.25rem; font-weight: 800; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .features, .steps { grid-template-columns: 1fr; }
  .nav-links a.hide-sm { display: none; }
}
