/* GrowLeafly — layout idea: white page, black hero and footer, green and lime accents; soft serif headings, round shapes and tilted illustration tiles carry the playful side. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --wash: #f2f8ee;
  --ink: #0b0f0c;
  --muted: #4b554e;
  --leaf: #16803c;
  --leaf-deep: #0b0f0c;
  --sprout: #b8f26b;
  --bloom: #ff3d81;
  --line: #e2e9de;
  --safe-bg: #e3f6da; --warn-bg: #fdf2c4; --toxic-bg: #ffe1ea;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-display: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bloom); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ui { font-family: var(--font-display); }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; font-family: var(--font-display); }
.skip:focus { top: 12px; color: #fff; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); font-family: var(--font-display); }
.head-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.logo svg { width: 38px; height: 38px; }
.logo:hover { color: var(--leaf-deep); }
.main-nav { margin-right: auto; }
.main-nav ul { display: flex; gap: 4px 22px; list-style: none; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--leaf); color: var(--leaf-deep); }
.head-search { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; background: var(--wash); }
.head-search:focus-within { border-color: var(--leaf); }
.head-search input[type="search"] { border: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--ink); width: 11rem; padding: 7px 0; outline: none; min-height: 0; border-radius: 0; }
.head-search button { border: 0; background: transparent; color: var(--leaf); padding: 7px 9px; cursor: pointer; display: flex; border-radius: 999px; }
.saved-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.saved-link .icon { color: var(--bloom); }
.saved-link [data-saved-count] { background: var(--ink); color: #fff; border-radius: 999px; font-size: .75rem; min-width: 1.5rem; text-align: center; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; font: inherit; font-weight: 600; background: var(--wash); border: 1.5px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .head-collapse { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 6px; }
  .head-collapse.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .head-search input[type="search"] { width: 100%; }
  .head-search { width: 100%; }
}
@media (min-width: 881px) { .head-collapse { display: contents; } }

/* ---------- buttons, chips, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; background: var(--leaf); color: #fff; border: 2px solid var(--leaf); border-radius: 10px; padding: 11px 20px; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--leaf-deep); }
.btn.ghost:hover { background: var(--wash); color: var(--leaf-deep); }
.btn.light { background: var(--sprout); border-color: var(--sprout); color: var(--leaf-deep); }
.btn.light:hover { background: #d3f28b; border-color: #d3f28b; color: var(--leaf-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { font-family: var(--font-display); font-size: .88rem; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink); background: var(--paper); text-decoration: none; }
a.chip:hover { border-color: var(--leaf); color: var(--leaf-deep); }
label, legend { font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
select, input[type="text"], input[type="search"], input[type="number"] { font-family: var(--font-display); font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid #b9c9b4; border-radius: 10px; padding: 10px 12px; width: 100%; min-height: 46px; }
select:focus, input:focus { border-color: var(--leaf); }
.field { display: grid; gap: 6px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(44px, 7vw, 84px); }
.section.wash { background: var(--wash); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 56ch; margin-top: 8px; }
.more { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.crumbs { font-family: var(--font-display); font-size: .9rem; padding-block: 18px 0; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9aab9c; }
.page-head { padding-block: 26px 34px; }
.page-head p.lede { font-size: 1.25rem; color: var(--muted); max-width: 62ch; margin-top: 14px; }

/* ---------- hero ---------- */
.hero { background: var(--wash); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.hero p.lede { font-size: 1.25rem; color: var(--muted); max-width: 46ch; margin-top: 18px; }
.quick { margin-top: 28px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quick .btn { grid-column: 1 / -1; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic a { display: block; border-radius: 18px; overflow: hidden; position: relative; }
.mosaic a:nth-child(even) { transform: translateY(28px); }
.mosaic span { position: absolute; left: 10px; bottom: 10px; background: var(--paper); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.mosaic-wrap { padding-bottom: 28px; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .quick { grid-template-columns: 1fr; } }

/* ---------- plant type tiles ---------- */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; list-style: none; }
.types a { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--paper); height: 100%; }
.types a:hover { border-color: var(--leaf); }
.types img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; flex: none; }
.types strong { font-family: var(--font-display); font-size: 1.1rem; display: block; line-height: 1.2; }
.types small { font-family: var(--font-display); color: var(--muted); font-size: .88rem; }

@media (max-width: 560px) { .types { grid-template-columns: 1fr 1fr; } .types a { flex-direction: column; align-items: flex-start; gap: 8px; } .types img { width: 60px; height: 60px; } }

/* ---------- plant cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 30px 22px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pcard[hidden] { display: none; }
.pcard-img { display: block; border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.pcard-img img { width: 100%; transition: transform .25s ease; }
.pcard-img:hover img { transform: scale(1.04); }
.pcard h3, .pcard h2 { font-size: 1.2rem; }
.pcard h3 a, .pcard h2 a { color: var(--ink); text-decoration: none; }
.pcard h3 a:hover, .pcard h2 a:hover { color: var(--leaf); text-decoration: underline; }
.bot { font-style: italic; color: var(--muted); font-size: 1rem; line-height: 1.3; }
.pfacts { list-style: none; display: flex; flex-wrap: wrap; gap: 3px 14px; font-family: var(--font-display); font-size: .86rem; color: var(--muted); margin-top: 4px; }
.pfacts li { display: inline-flex; align-items: center; gap: 5px; }
.pfacts .icon { color: var(--leaf); }
.save { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(20, 38, 28, .18); }
.save:hover { color: var(--bloom); }
.save[aria-pressed="true"] { color: var(--bloom); }
.save[aria-pressed="true"] .icon { fill: var(--bloom); }
.save-wide { position: static; width: auto; height: auto; border-radius: 10px; box-shadow: none; border: 2px solid var(--line); padding: 9px 16px; display: inline-flex; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }

/* ---------- idea + guide lists ---------- */
.igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 26px; }
.icard { display: flex; flex-direction: column; gap: 6px; }
.icover { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 18px; overflow: hidden; margin-bottom: 10px; }
.icard h3 a, .icard h2 a { color: var(--ink); text-decoration: none; }
.icard h3 a:hover, .icard h2 a:hover { color: var(--leaf); text-decoration: underline; }
.icard h2 { font-size: 1.35rem; }
.icard p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.glist { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: 48px; }
.glist li { border-top: 1.5px solid var(--line); padding: 20px 0; display: grid; gap: 6px; }
.glist h3, .glist h2 { font-size: 1.3rem; }
.glist a { color: var(--ink); text-decoration: none; }
.glist a:hover { color: var(--leaf); text-decoration: underline; }
.glist p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.meta { font-family: var(--font-display); font-size: .86rem; color: var(--muted); }

/* ---------- tools band ---------- */
.band { background: var(--leaf-deep); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band p { color: #d5e6d6; }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.band-card { border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.band-card .btn { justify-self: start; margin-top: 6px; }

/* ---------- plant page ---------- */
.plant-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: center; padding-block: 22px 44px; }
.plant-art { margin: 0; border-radius: 22px; overflow: hidden; }
.plant-art img { width: 100%; }
.plant-top .bot { font-size: 1.4rem; margin-top: 8px; }
.aka { font-family: var(--font-display); color: var(--muted); font-size: .95rem; margin-top: 6px; }
.plant-top .intro { margin-top: 18px; font-size: 1.2rem; max-width: 56ch; }
.plant-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.plant-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 64px; }
@media (max-width: 940px) { .plant-top, .plant-body { grid-template-columns: 1fr; } .plant-side { order: -1; } }
.tag { background: var(--leaf-deep); color: #fff; padding: 64px 24px 24px; clip-path: polygon(22% 0, 78% 0, 100% 46px, 100% 100%, 0 100%, 0 46px); position: relative; font-family: var(--font-display); }
.tag::before { content: ""; position: absolute; top: 16px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--paper); }
.tag h2 { color: var(--sprout); font-size: 1.15rem; margin-bottom: 8px; }
.tag dl { margin: 0; }
.tag .row { display: grid; grid-template-columns: 24px 6.2rem minmax(0, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .18); align-items: start; font-size: .95rem; line-height: 1.35; }
.tag .row .icon { color: var(--sprout); margin-top: 2px; }
.tag dt { color: #c5d9c8; font-weight: 500; }
.tag dd { margin: 0; font-weight: 600; }
.pet { margin-top: 18px; border-radius: 14px; padding: 18px 20px; font-size: 1rem; line-height: 1.5; }
.pet strong { font-family: var(--font-display); display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 4px; }
.pet.safe { background: var(--safe-bg); } .pet.caution { background: var(--warn-bg); } .pet.toxic { background: var(--toxic-bg); }
.plant-side { display: grid; gap: 0; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 2.6vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 600; }
.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--font-display); font-size: .95rem; line-height: 1.4; }
.prose th { text-align: left; background: var(--wash); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.prose td { font-variant-numeric: tabular-nums; }
.fix { margin: 0; }
.fix dt { font-family: var(--font-display); font-weight: 600; margin-top: 1em; }
.fix dd { margin: 2px 0 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 64px; }
@media (max-width: 940px) { .article-grid { grid-template-columns: 1fr; } }
.side-list { border-top: 3px solid var(--leaf); padding-top: 14px; }
.side-list h2 { font-size: 1.1rem; margin-bottom: 10px; }
.side-list ul { list-style: none; display: grid; gap: 14px; }
.side-list a { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.side-list a:hover { color: var(--leaf); }
.side-list img { width: 72px; border-radius: 10px; flex: none; }
.side-list small { display: block; font-family: var(--font-body); font-style: italic; font-weight: 400; color: var(--muted); font-size: .9rem; }
.facts-row { display: flex; flex-wrap: wrap; gap: 0; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 30px; font-family: var(--font-display); }
.facts-row div { flex: 1 1 108px; padding: 12px 16px; border-right: 1.5px solid var(--line); margin-right: -1.5px; border-bottom: 1.5px solid var(--line); margin-bottom: -1.5px; }
.facts-row dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.facts-row dd { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.plan { list-style: none; display: grid; gap: 14px; padding: 0 !important; }
.plan li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 !important; }
.plan img { border-radius: 12px; width: 112px; }
.plan a { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.plan p { font-size: 1rem; line-height: 1.5; }

/* ---------- finder ---------- */
.finder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: 72px; }
.filters { background: var(--wash); border-radius: 16px; padding: 20px; display: grid; gap: 16px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.filters legend { margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--leaf); flex: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; font-family: var(--font-display); }
.results-bar strong { font-size: 1.1rem; }
.results-bar .field { grid-template-columns: auto auto; align-items: center; }
.results-bar select { min-height: 40px; padding: 6px 10px; width: auto; }
.empty { background: var(--wash); border-radius: 16px; padding: 32px; font-family: var(--font-display); }
.empty p { margin-top: 6px; color: var(--muted); }
.filters-toggle { display: none; }
@media (max-width: 880px) {
  .finder { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; }
  .filters:not(.open) { display: none; }
}

/* ---------- tools ---------- */
.tool { background: var(--wash); border-radius: 18px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 18px; max-width: 760px; }
.tool-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: end; }
.seg { display: inline-flex; border: 1.5px solid #b9c9b4; border-radius: 10px; overflow: hidden; background: var(--paper); flex-wrap: wrap; }
.seg label { padding: 9px 16px; cursor: pointer; font-weight: 600; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { background: var(--leaf); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--bloom); outline-offset: -3px; }
.result { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; font-family: var(--font-display); }
.result .big { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--leaf-deep); }
.result p { margin-top: 8px; }
.result ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin: 0; }
.nums dt { font-size: .85rem; color: var(--muted); font-weight: 500; }
.nums dd { margin: 0; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--leaf-deep); line-height: 1.2; }
.err { color: #a11244; font-family: var(--font-display); font-weight: 600; }

/* ---------- footer ---------- */
.site-foot { background: var(--wash); border-top: 1px solid var(--line); font-family: var(--font-display); font-size: .95rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px 40px; padding-block: 48px 28px; }
.foot-grid h2 { font-size: 1rem; margin-bottom: 10px; letter-spacing: 0; }
.foot-grid ul { list-style: none; display: grid; gap: 7px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--leaf); text-decoration: underline; }
.foot-grid p { color: var(--muted); max-width: 34ch; margin-top: 12px; line-height: 1.5; }
.foot-base { border-top: 1px solid var(--line); padding-block: 18px 26px; color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .save, .filters, .plant-actions { display: none !important; } body { font-size: 11pt; } }

/* ================= v2: green, white and black ================= */
body { font-size: 1.0625rem; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 1.02; }
.foot-grid h2, .tag h2, .side-list h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.bot { font-family: var(--font-head); }
a:hover { text-decoration-style: wavy; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.65rem; letter-spacing: -0.02em; }
.logo svg { width: 40px; height: 40px; }
.logo em { font-style: italic; font-weight: 600; color: var(--leaf); }
.logo:hover { color: var(--ink); }
.saved-link { background: var(--ink); color: #fff; padding: 8px 12px 8px 14px; border-radius: 999px; }
.saved-link:hover { color: var(--sprout); }
.saved-link [data-saved-count] { background: var(--sprout); color: var(--ink); font-weight: 700; }
.nav-toggle { border-radius: 999px; background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 881px) {
  .site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
  .main-nav ul { gap: 4px; }
  .main-nav a { padding: 8px 14px; border-radius: 999px; border-bottom: 0; }
  .main-nav a:hover { background: var(--wash); color: var(--ink); }
  .main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
}
.btn { border-radius: 999px; background: var(--ink); border-color: var(--ink); padding: 12px 24px; font-weight: 700; }
.btn:hover { background: var(--leaf); border-color: var(--leaf); }
.btn.ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: var(--sprout); border-color: var(--sprout); color: var(--ink); }
.btn.light:hover { background: #fff; border-color: #fff; color: var(--ink); }
select, input[type="text"], input[type="search"], input[type="number"] { border-radius: 14px; }
.chip { font-weight: 600; }
a.chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section:not(.band) .section-head h2 { display: inline; padding: 0 .14em; background: linear-gradient(transparent 62%, var(--sprout) 62%, var(--sprout) 93%, transparent 93%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section-head p { margin-top: 14px; }

.hero { background: var(--ink); color: #fff; border-radius: 0 0 44px 44px; }
.hero h1 { color: #fff; }
.hero p.lede { color: #c9d3cb; }
.quick { border: 0; border-radius: 26px; color: var(--ink); }
.quick .btn { background: var(--sprout); border-color: var(--sprout); color: var(--ink); }
.quick .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.mosaic-wrap { position: relative; }
.mosaic a { border-radius: 28px; transition: transform .25s ease; }
.mosaic a:nth-child(odd) { transform: rotate(-2.5deg); }
.mosaic a:nth-child(even) { transform: translateY(28px) rotate(2.5deg); }
.mosaic a:nth-child(odd):hover { transform: rotate(0) scale(1.03); }
.mosaic a:nth-child(even):hover { transform: translateY(28px) rotate(0) scale(1.03); }
.mosaic span { background: var(--ink); color: #fff; padding: 4px 12px; left: 12px; bottom: 12px; }
.sticker { position: absolute; z-index: 2; left: -26px; top: -30px; width: 116px; height: 116px; border-radius: 50%; background: var(--sprout); color: var(--ink); display: grid; place-items: center; text-align: center; padding: 14px; font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.08rem; line-height: 1.05; transform: rotate(-12deg); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
@media (max-width: 820px) { .sticker { left: auto; right: 6px; top: -12px; width: 96px; height: 96px; font-size: .95rem; } .hero { border-radius: 0 0 30px 30px; } }

.types a { border-radius: 999px; padding: 8px 22px 8px 8px; transition: background .2s ease, border-color .2s ease; }
.types a:hover { background: var(--sprout); border-color: var(--ink); }
.types strong { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
@media (max-width: 560px) { .types a { border-radius: 24px; padding: 12px; } }
.pcard-img { border-radius: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover .pcard-img { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 18px 30px -18px rgba(11, 15, 12, .55); }
.pcard h3, .pcard h2 { font-size: 1.35rem; }
.save { box-shadow: 0 2px 8px rgba(11, 15, 12, .22); transition: transform .15s ease; }
.save:hover { transform: scale(1.12); }
.save-wide:hover { transform: none; }
.save-wide { border-radius: 999px; border-color: var(--ink); }
.icover { border-radius: 28px; }
.glist li { border-top: 1px solid var(--ink); }
.band { background: var(--leaf); }
.band p { color: #f0faf0; }
.band-card { border-color: rgba(255, 255, 255, .45); border-radius: 26px; }
.plant-art { border-radius: 34px; }
.pet { border-radius: 22px; }
.filters, .empty { border-radius: 26px; }
.tool { border-radius: 28px; }
.result { border-radius: 22px; }
.result .big { font-family: var(--font-head); }
.seg { border-radius: 999px; }
.seg input:checked + label { background: var(--ink); }
.side-list { border-top: 3px solid var(--ink); }
.facts-row { border-radius: 22px; }
.plan img { border-radius: 18px; }
.side-list img { border-radius: 14px; }
.site-foot { background: var(--ink); color: #fff; border-top: 0; }
.site-foot .logo { color: #fff; }
.site-foot .logo em { color: var(--sprout); }
.foot-grid h2 { color: var(--sprout); }
.foot-grid a { color: #e9f0ea; }
.foot-grid a:hover { color: var(--sprout); }
.foot-grid p { color: #aab5ad; }
.foot-base { border-top-color: rgba(255, 255, 255, .16); color: #aab5ad; }
.smap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 48px; align-items: start; }
.smap h2 { font-size: 1.4rem; margin: 26px 0 12px; }
.smap section > h2:first-child { margin-top: 0; }
.smap h2 a { color: var(--ink); }
.smap ul { list-style: none; display: grid; gap: 7px; }
.smap .bot { font-size: .92rem; }

/* ---- larger logo ---- */
.logo { font-size: 2.05rem; gap: 12px; }
.logo svg { width: 52px; height: 52px; }
.head-row { padding-block: 12px; }
@media (max-width: 560px) { .logo { font-size: 1.75rem; gap: 10px; } .logo svg { width: 44px; height: 44px; } }
/* ---- photos or illustrations share one frame ---- */
.pcard-img img, .plant-art img, .mosaic img, .icover img, .plan img, .side-list img, .post-thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.side-list img { width: 72px; } .plan img { width: 112px; }
/* ---- home: guides column with sidebar ---- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .cols { grid-template-columns: 1fr; } }
.posts { list-style: none; }
.posts li { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--ink); align-items: start; }
.post-thumb img { border-radius: 18px; }
.posts h3 { font-size: 1.35rem; }
.posts h3 a { color: var(--ink); text-decoration: none; }
.posts h3 a:hover { color: var(--leaf); text-decoration: underline wavy; }
.posts p { color: var(--muted); font-size: 1rem; line-height: 1.5; margin-top: 6px; }
@media (max-width: 520px) { .posts li { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .posts h3 { font-size: 1.15rem; } }
.sidebar { display: grid; gap: 18px; }
.side-box { background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; padding: 20px 22px; font-family: var(--font-display); }
.side-box h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.side-box ol { padding-left: 1.3em; display: grid; gap: 8px; }
.side-box ul { list-style: none; display: grid; gap: 8px; }
.side-box ul li { display: flex; justify-content: space-between; gap: 12px; }
.side-box ul span { color: var(--muted); font-variant-numeric: tabular-nums; }
.side-box a { color: var(--ink); font-weight: 600; }
.side-box a:hover { color: var(--leaf); }
.side-box .head-search { width: 100%; }
.side-box .head-search input[type="search"] { width: 100%; }
