:root {
  --bg: #f6f8f2;
  --paper: #ffffff;
  --ink: #1d2b22;
  --muted: #5d6c62;
  --green: #2f7d4f;
  --green-dark: #1f5a37;
  --leaf: #e6f1e4;
  --sand: #f3ecdd;
  --line: #dfe8da;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 58, 43, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* header */
header.site { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--green-dark); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav a { margin-left: 20px; text-decoration: none; color: var(--ink); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a.on { color: var(--green); border-bottom-color: var(--green); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.02em; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin: 0 0 22px; }
.hero .photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--leaf); }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--leaf); padding: 4px 12px; border-radius: 99px; margin-bottom: 16px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 12px; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); margin-left: 10px; }
.btn.ghost:hover { background: var(--leaf); }

/* sections */
section.block { padding: 40px 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin: 0 0 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 8px rgba(31,58,43,.04); }
.card h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--leaf); display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; stroke: var(--green-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* plant cards */
.plants { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.plant { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(31,58,43,.04); display: flex; flex-direction: column; }
.plant .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--leaf); }
.plant .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.plant:hover .pic img { transform: scale(1.04); }
.plant .body { padding: 20px 22px 24px; }
.plant h3 { margin: 0; font-size: 1.25rem; }
.plant .lat { color: var(--muted); font-style: italic; font-size: .92rem; margin: 2px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li { font-size: .82rem; background: var(--leaf); color: var(--green-dark); padding: 3px 10px; border-radius: 99px; }
.tags li.warn { background: #fdebd8; color: #8a4b12; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
.split.rev .pic { order: 2; }

.note { background: #fff7e3; border: 1px solid #f0e0b0; border-radius: 14px; padding: 16px 20px; margin: 24px 0; }
.note.ok { background: var(--leaf); border-color: #c9e0c4; }

table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef5ec; }
tr:last-child td { border-bottom: 0; }

details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
details p { margin: 0 0 16px; color: var(--muted); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 66px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; }

.page-hero { padding: 44px 0 10px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 10px; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin: 0; }

footer.site { margin-top: 56px; background: #1f3a2b; color: #cfe0d4; padding: 34px 0 40px; font-size: .92rem; }
footer.site a { color: #e8f3ea; }
footer.site .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero, .split { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: 32px; }
  .hero .photo { aspect-ratio: 4 / 3; order: -1; }
  .split.rev .pic { order: 0; }
  nav a { margin: 0 16px 0 0; }
  .btn.ghost { margin: 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
