/* Content-page styles, layered on the shared palette and base layout. */

main { max-width: 760px; }

.brand {
  display: inline-block;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--accent);
}

.crumbs {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 16px;
}
.crumbs a { color: var(--fg-muted); }

.hero { border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 20px; }
.hero h1 { font-size: 30px; margin: 0; }
.latin { font-style: italic; color: var(--fg-muted); margin: 4px 0 0; }

.lead { font-size: 18px; color: var(--fg); }

table.facts { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.facts th, table.facts td {
  text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); font-size: 15px;
}
table.facts th { width: 42%; font-weight: 500; color: var(--fg-muted); }

.bloom { display: flex; gap: 4px; margin: 12px 0 8px; }
.bloom .m {
  flex: 1; text-align: center; font-size: 12px; padding: 8px 0; border-radius: 6px;
  background: color-mix(in srgb, var(--rule) 50%, transparent); color: var(--fg-muted);
}
.bloom .m.on { background: var(--accent); color: var(--bg); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 5px 11px; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 14px; color: var(--accent);
}
.chip:hover { text-decoration: none; border-color: var(--accent); }

ul.grid {
  list-style: none; padding: 0; margin: 16px 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px;
}
ul.grid.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
ul.grid li { margin: 0; }
ul.grid a {
  display: block; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px;
  height: 100%;
}
ul.grid a:hover { text-decoration: none; border-color: var(--accent); }
ul.grid b { display: block; color: var(--fg); font-weight: 600; }
ul.grid span { display: block; font-size: 13px; color: var(--fg-muted); font-style: italic; margin-top: 2px; }

.cta {
  margin: 28px 0; padding: 20px 22px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--rule));
}
.cta p { margin: 0 0 14px; font-size: 16px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-block; padding: 10px 18px; border-radius: 9px;
  background: var(--accent); color: var(--bg); font-weight: 600; font-size: 15px;
}
.store:hover { text-decoration: none; opacity: 0.9; }

.sources { margin: 24px 0; }
.sources ul { font-size: 14px; color: var(--fg-muted); }

footer nav { margin-bottom: 8px; }
footer nav a { margin-right: 14px; }

/* === editorial display type (site-wide headings) ============================ */
h1, h2, h3, .brand, .hero h1, .hero-copy h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 600;
}

/* === homepage =============================================================== */
main.home { max-width: 1080px; padding: 28px 24px 72px; }

.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  padding: 24px 0 8px;
}
.hero-copy h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 0 0 18px; color: var(--accent); }
.hero-copy .sub { font-size: 20px; line-height: 1.5; color: var(--fg); max-width: 40ch; margin: 0 0 28px; }
.get { display: flex; align-items: flex-start; gap: 22px; flex-wrap: wrap; }
.hero-shot { justify-self: center; }
.hero-shot img {
  width: 100%; max-width: 290px; height: auto; border-radius: 30px;
  box-shadow: 0 18px 44px rgba(60, 50, 30, 0.18); transform: rotate(-2deg);
}

.qr { display: none; margin: 0; }
.qr img { width: 92px; height: 92px; display: block; border-radius: 8px; }
.qr figcaption { font-size: 12px; color: var(--fg-muted); margin-top: 5px; text-align: center; }

.trust {
  font-size: 15px; color: var(--fg-muted);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 16px 0; margin: 28px 0 0;
}

section.block { padding: 56px 0 0; }
section.block > h2 { font-size: 27px; margin: 0 0 28px; }
section.block > p { font-size: 17px; max-width: 60ch; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery img {
  width: 100%; height: auto; border-radius: 22px;
  box-shadow: 0 12px 32px rgba(60, 50, 30, 0.14);
}

.endcta {
  background: var(--accent); border-radius: 18px; padding: 56px 32px;
  text-align: center; margin-top: 64px;
}
.endcta h2 { color: var(--bg); font-size: 30px; margin: 0 0 26px; }
.endcta .get { justify-content: center; }
.endcta .qr figcaption { color: rgba(250, 247, 239, 0.7); }

@media (min-width: 760px) { .qr { display: block; } }

@media (max-width: 759px) {
  main.home { padding: 16px 18px 56px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 8px 0 0; }
  .hero-shot { order: -1; }
  .hero-shot img { max-width: 230px; transform: none; }
  .gallery { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
}

/* === plant-page enrichment ================================================= */
.found { font-size: 15px; color: var(--fg-muted); margin: 8px 0 0; }
ul.notes { list-style: none; padding: 0; margin: 12px 0; }
ul.notes li {
  padding: 8px 0 8px 18px; border-bottom: 1px solid var(--rule);
  font-size: 16px; position: relative;
}
ul.notes li::before { content: "\2013"; position: absolute; left: 0; color: var(--accent); }
.get-note { font-size: 14px; color: var(--fg-muted); margin: 14px 0 0; }

.gallery figure { margin: 0; }
.gallery figcaption {
  margin-top: 14px; font-size: 16px; color: var(--fg); text-align: center;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
}

/* === homepage redesign: kicker, plant band, line-bug fix ==================== */
main.home .hero { border-bottom: none; padding-bottom: 0; }
.kicker {
  font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 14px;
}
/* === plant-page illustration ============================================== */
.plant-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.plant-head { min-width: 0; }
.plant-art { width: 150px; height: 150px; object-fit: contain; flex: none; }
@media (max-width: 559px) {
  .plant-hero { flex-direction: row; gap: 14px; }
  .plant-art { width: 96px; height: 96px; }
}

/* === redesign: what-you-get, conditions cluster, accent ===================== */
:root { --accent2: #a8633a; }
.qr img { width: 76px; height: 76px; }   /* QR demoted to secondary in hero */

ul.gets {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
ul.gets li { border-top: 2px solid var(--accent); padding-top: 10px; }
ul.gets b { display: block; font-size: 16px; margin-bottom: 4px; }
ul.gets span { font-size: 14px; color: var(--fg-muted); line-height: 1.45; }

.conditions { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.cond-copy h2 { margin: 0 0 12px; }
.cond-copy > p { font-size: 17px; max-width: 40ch; margin: 0 0 18px; }
ul.criteria { list-style: none; padding: 0; margin: 0 0 20px; }
ul.criteria li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--fg-muted); }
ul.criteria b { color: var(--fg); font-weight: 600; }
.cond-cluster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.condplant { margin: 0; text-align: center; }
.condplant img { width: 100%; max-width: 104px; height: 104px; object-fit: contain; }
.condplant figcaption b { display: block; font-size: 13px; margin-top: 4px; line-height: 1.2; }
.ptags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 6px; }
.ptags em {
  font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent2) 15%, transparent); color: var(--accent2);
}

@media (max-width: 759px) {
  ul.gets { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .conditions { grid-template-columns: 1fr; gap: 26px; }
}

ul.grid .cardmeta { display: block; font-size: 12px; color: var(--accent); font-style: normal; margin-top: 5px; }
