/* the pages about topics and plants (tools/seo): plain, quick, in the look of the presentation page */
:root { --green: #2e6b45; --green2: #3f8a5a; --leaf: #e6f1e8; --cream: #f8f6f1; --ink: #1d2a22; --text: #3b463f; --muted: #59635c; --line: #e1ddd2; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--text); font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2 { font-family: Fraunces, Georgia, serif; color: var(--ink); line-height: 1.14; letter-spacing: -.015em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 46px 0 12px; scroll-margin-top: 84px; }
section { scroll-margin-top: 70px; }
.btn { display: inline-flex; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--green); color: #fff; white-space: nowrap; }
.btn:hover { background: #255a39; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.top { background: rgba(248, 246, 241, .95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.top .nav { display: flex; gap: 18px; margin-right: 8px; }
.top .nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.top .btn { padding: 9px 18px; font-size: 15px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--ink); font: 650 20px Fraunces, Georgia, serif; white-space: nowrap; }
/* the menu on small screens (a <details>, works without the script too) */
.top .btn { gap: .28em; }
.menu { display: none; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.menu i, .menu i::before, .menu i::after { content: ''; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, background .25s; }
.menu i { position: relative; } .menu i::before, .menu i::after { position: absolute; left: 0; }
.menu i::before { transform: translateY(-6px); } .menu i::after { transform: translateY(6px); }
.menu[open] i { background: transparent; } .menu[open] i::before { transform: rotate(45deg); } .menu[open] i::after { transform: rotate(-45deg); }
.menu-panel { position: absolute; top: 100%; right: 12px; width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow: auto; margin-top: 8px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(29, 42, 34, .24); display: grid; animation: menu-in .22s ease-out; }
.menu-panel a:not(.btn) { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; }
.menu-panel a:not(.btn):hover { background: var(--leaf); color: var(--green); }
.menu-panel .menu-login { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; margin-top: 6px; }
.menu-panel .btn { justify-content: center; margin: 8px 4px 4px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .menu-panel { animation: none; } }
@media (max-width: 860px) { .menu { display: block; } }

.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 14px; }
.crumbs a { color: var(--muted); }
.lead { font-size: 20px; line-height: 1.6; max-width: 42em; margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 34px; }
.pic { margin: 0; background: #fff; padding: 10px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(29, 42, 34, .12); }
.pic img { border-radius: 9px; width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 30%; }
.pic.whole img { object-fit: contain; background: #fff; }
.text { max-width: 760px; }
.text ul { padding-left: 22px; }
.text li { margin: 6px 0; }
.text li::marker { color: var(--green2); }
.faq details { border-bottom: 1px solid var(--line); padding: 15px 0; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin: 8px 0 0; }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.more a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; font-weight: 600; }
.more a:hover { border-color: var(--green2); }
.more small { display: block; font-weight: 400; color: var(--muted); font-style: italic; }
.box { background: linear-gradient(135deg, #2e6b45, #3f8a5a); color: #e8f2ea; border-radius: 20px; padding: 34px; margin: 56px 0 0; }
.box h2 { color: #fff; margin: 0 0 8px; }
.box .btn { background: #fff; color: var(--green); margin-top: 10px; }
.foot { border-top: 1px solid var(--line); margin-top: 70px; padding: 34px 0 44px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.foot b { color: var(--ink); }
.foot ul { list-style: none; padding: 0; margin: 8px 0 0; }
.foot li { margin: 5px 0; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--green); }
.foot p { color: var(--muted); margin: 26px 0 0; }
/* plants */
.plant { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.plant .side { position: sticky; top: 90px; display: grid; gap: 18px; }
.shot, .scale { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.shot { padding: 10px; }
.shot img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 9px; }
.shot figcaption { font-size: 12.5px; line-height: 1.5; color: var(--muted); padding: 8px 4px 0; overflow-wrap: anywhere; }
.shot figcaption a { color: inherit; }
.scale { padding: 18px; }
.scale svg { max-height: 220px; margin: 0 auto; }
.plants a { padding: 10px 10px 12px; overflow: hidden; }
.plants img, .nopic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: var(--leaf); margin: 0 0 10px; }
.lat { font-style: italic; color: var(--muted); font-size: 20px; margin: -10px 0 18px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 14px; }
td { color: var(--ink); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 10px 0 0; }
.months span { font-size: 11px; text-align: center; padding: 7px 0; border-radius: 5px; background: #efece3; color: var(--muted); }
.months .on { background: var(--c); color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 20px; }
.tags span { background: var(--leaf); color: var(--green); border-radius: 99px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.tags .warn { background: #fbe9e2; color: #a8431a; }
.az { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.az a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; text-decoration: none; font-weight: 600; font-size: 15px; }
.note { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .top .nav, .top .btn.ghost { display: none; }
  .plant { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .plant .side { display: contents; }
  .shot { order: -1; }
  .shot img { max-height: 60vh; }
  .plants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plants a { font-size: 15px; line-height: 1.35; overflow-wrap: break-word; }
  .wrap { padding: 0 16px; }
  .brand { font-size: 17px; }
  .top .wrap { gap: 10px; }
  .top .long { display: none; }
  .top .wrap > .btn { padding: 9px 16px; font-size: 14.5px; }
}
