/* Plant Doctor — botanical theme: deep green, warm cream, tomato red. */
:root {
  --green: #1e4633;
  --green-dark: #143325;
  --green-soft: #e4efe4;
  --cream: #faf5ea;
  --cream-dark: #f1e8d5;
  --red: #d64541;
  --ink: #22301f;
  --muted: #66755f;
  --line: #ddd3ba;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}

.topbar {
  background: var(--green);
  color: var(--cream);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem;
  position: sticky; top: 0; z-index: 10;
}
.brand { color: var(--cream); font-size: 1.25rem; font-weight: bold; text-decoration: none; }
.topnav { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.topnav a { color: var(--cream); text-decoration: none; font-size: 0.95rem; }
.topnav a:hover { text-decoration: underline; }

.demo-banner {
  background: #fdecea; border-bottom: 2px solid var(--red);
  color: #7c211d; padding: 0.55rem 1rem; font-size: 0.92rem; text-align: center;
}
.usage-pill {
  background: var(--cream-dark); color: var(--green-dark);
  padding: 0.35rem 1rem; font-size: 0.9rem; text-align: center;
  border-bottom: 1px solid var(--line);
}
.usage-pill.pro { background: var(--green-soft); }

.wrap { max-width: 720px; margin: 0 auto; padding: 1rem; }

h1 { font-size: 1.6rem; line-height: 1.25; color: var(--green-dark); }
h2 { font-size: 1.2rem; color: var(--green-dark); }
a { color: var(--green); }

.hero { text-align: center; padding: 1.5rem 0.5rem; }
.hero h1 { font-size: 1.9rem; }
.hero-img {
  display: block; width: 100%; height: auto; margin-top: 1.1rem;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(30, 70, 51, 0.18);
}
.lede { font-size: 1.08rem; color: var(--muted); }
.trust, .small { font-size: 0.88rem; color: var(--muted); }
.honest { font-size: 0.92rem; color: var(--muted); font-style: italic; }
.caution {
  background: #fdf3e3; border-left: 4px solid #e0a100;
  padding: 0.6rem 0.8rem; border-radius: 6px;
}
.escalation {
  background: var(--green-soft); border-left: 4px solid var(--green);
  padding: 0.6rem 0.8rem; border-radius: 6px;
}

.card {
  background: #fffdf7; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem; margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(30, 70, 51, 0.07);
}
.card.alert { border-color: var(--red); }
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.primary-diag { border: 2px solid var(--green); }
.row-card { display: flex; gap: 0.9rem; align-items: center; }

.btn {
  display: inline-block; background: var(--green); color: #fff;
  border: none; border-radius: 999px; padding: 0.55rem 1.2rem;
  font: inherit; font-size: 0.98rem; cursor: pointer; text-decoration: none;
  text-align: center;
}
.btn:hover { background: var(--green-dark); }
.btn-big { font-size: 1.08rem; padding: 0.8rem 1.6rem; background: var(--red); }
.btn-big:hover { background: #b83632; }
.btn-small { padding: 0.3rem 0.9rem; background: var(--red); }
.btn.block { display: block; width: 100%; margin: 0.6rem 0; }
.btn.danger { background: #fff; color: var(--red); border: 2px solid var(--red); }

form label { display: block; margin: 0.8rem 0; font-weight: bold; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 0.3rem; padding: 0.6rem;
  font: inherit; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-weight: normal;
}

.flash {
  background: var(--green-soft); border: 1px solid var(--green);
  border-radius: 8px; padding: 0.6rem 0.9rem; margin: 0.8rem 0;
}

.chip {
  display: inline-block; background: var(--cream-dark); color: var(--green-dark);
  border-radius: 999px; padding: 0.1rem 0.65rem; font-size: 0.82rem; margin: 0.15rem 0;
}
.chip.conf-high { background: #dcefe0; }
.chip.conf-moderate { background: #fdf3e3; }
.chip.conf-low { background: #fdecea; }
.chip.sev-high { background: #fdecea; color: #7c211d; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.tile {
  display: block; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.7rem; text-decoration: none;
  color: var(--ink);
}
.tile img, .thumb { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.thumb { width: 76px; height: 76px; flex: none; }
.tile span { display: block; margin-top: 0.3rem; }

.diag-photo { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); }
.checkin-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; margin-top: 0.4rem; }
.species-name { font-size: 1.08rem; }

.timeline-step { border-left: 4px solid var(--line); padding: 0.4rem 0 0.4rem 0.9rem; margin: 0.7rem 0; }
.timeline-step.done { border-color: var(--green); }
.timeline-step.due { border-color: var(--red); }

.outcome-form { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.outcome-form .btn { background: var(--cream-dark); color: var(--green-dark); border: 1px solid var(--line); }

.plans { display: grid; gap: 1rem; margin: 1rem 0; }
@media (min-width: 560px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 2px solid var(--green); border-radius: var(--radius); padding: 1rem; background: var(--cream); }
.plan .price { font-size: 1.5rem; font-weight: bold; color: var(--green-dark); margin: 0.3rem 0; }
.trust-list { list-style: none; padding: 0; }
.trust-list li { margin: 0.5rem 0; }
.steps li { margin: 0.5rem 0; }
.diff { border-top: 1px dashed var(--line); padding-top: 0.6rem; margin-top: 0.8rem; }

.footer { text-align: center; color: var(--muted); font-size: 0.88rem; padding: 1.5rem 1rem 2rem; }

/* Landing page: feature tiles, example diagnosis, FAQ */
.features { margin-top: 0.6rem; }
.feature {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.85rem 0.9rem;
}
.feature p { margin: 0.35rem 0 0; font-size: 0.95rem; }
.feature .feature-icon { font-size: 1.5rem; margin: 0 0 0.2rem; }
.example { border: 2px solid var(--green); }
.faq { border-top: 1px dashed var(--line); padding: 0.55rem 0; }
.faq:first-of-type { border-top: none; }
.faq summary { cursor: pointer; font-weight: bold; color: var(--green-dark); }
.faq p { margin: 0.45rem 0 0.2rem; }
