/* Gladeburn: lawn green, slate grey, hedgehog-brown accent, clean stripe motif (brief §13, brand guide
   21 Oct 2026). WCAG AA: brand Lawn Green #3F8F3A and Burn Blue #4A8FB0 are too light for body text on
   white, so text and buttons use the deeper --green-ink and --link; the brand tints are decoration. */
:root {
  --mist: #f4f6f1; --paper: #ffffff; --line: #dce1d8; --slate: #2f3b45; --slate-2: #46545f; --ink: #26313a; --muted: #56636b;
  --green: #3f8f3a; --green-ink: #2b6a27; --stripe: #8cc63f; --stripe-soft: #e8f3da; --brown: #8a5a3b; --brown-soft: #f3e9e1;
  --link: #24607d; --burn: #4a8fb0; --burn-soft: #e3eff5;
  --good: #e5f2e1; --good-line: #2b6a27; --maybe: #fbf1dc; --maybe-line: #8a5a00; --poor: #f6e6e1; --poor-line: #a1442f;
  --radius: 14px; --gap: 1rem; --wrap: 72rem;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-head: "Manrope", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
html.text-large { font-size: 125%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--font); line-height: 1.6; font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--slate); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--stripe); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--slate); line-height: 1.25; font-weight: 800; font-family: var(--font-head); }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); margin: 0.6rem 0 0.4rem; letter-spacing: -0.015em; }
h2 { font-size: 1.45rem; margin: 2rem 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.4rem; }
h4 { font-size: 1rem; margin: 1.2rem 0 0.3rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.small { font-size: 0.9rem; color: var(--muted); }
.lede { font-size: 1.15rem; max-width: 42rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--slate); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Header: slate bar with the stripe motif under the nav */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; padding-bottom: 0.6rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--slate); }
.logo svg { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; }
.logo__tag { font-size: 0.82rem; color: var(--muted); }
.text-size { font: inherit; font-size: 0.9rem; background: transparent; border: 2px solid var(--slate); color: var(--slate); border-radius: 999px; padding: 0.3rem 0.9rem; cursor: pointer; white-space: nowrap; }
.text-size[aria-pressed="true"] { background: var(--slate); color: #fff; }
.site-nav { background: var(--slate); border-bottom: 6px solid transparent; border-image: repeating-linear-gradient(115deg, var(--green) 0 18px, var(--stripe) 18px 36px) 6; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.2rem; margin: 0; padding: 0.5rem 0; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; display: inline-block; padding: 0.25rem 0; }
.site-nav a[aria-current="page"], .site-nav a:hover { box-shadow: inset 0 -3px 0 var(--stripe); }

main { padding-bottom: 3rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 1rem 0 0; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 0.3rem; }
.byline { margin: 0; color: var(--muted); font-size: 0.92rem; }
.badge { display: inline-block; margin: 0.6rem 0; padding: 0.2rem 0.75rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.badge--checked { background: var(--good); color: var(--green-ink); }
.badge--pending { background: var(--maybe); color: var(--maybe-line); }
.unverified { color: var(--maybe-line); font-weight: 700; }
.spec-notice { font-size: 0.92rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 0.9rem; max-width: 48rem; }
.stub-banner, .editor-note { background: var(--burn-soft); border-left: 4px solid var(--link); padding: 0.5rem 0.8rem; font-size: 0.92rem; color: var(--slate); }
span.editor-note { display: inline; padding: 0.1rem 0.4rem; }
.prose { max-width: 44rem; }
.prose li { margin: 0.25rem 0; }

/* Notices */
.ad-banner { background: var(--brown-soft); border-radius: var(--radius); padding: 0.6rem 0.9rem; font-size: 0.92rem; }
.ad-banner strong, .ad-label { background: var(--slate); color: #fff; border-radius: 6px; padding: 0 0.4rem; font-size: 0.78rem; font-weight: 800; margin-right: 0.3rem; }
.callout { border-radius: var(--radius); padding: 0.7rem 1rem; margin: 0.8rem 0; border-left: 6px solid var(--slate-2); background: var(--paper); max-width: 48rem; }
.callout p { margin: 0; }
.callout__link { margin-top: 0.3rem !important; font-size: 0.9rem; font-weight: 700; }
.callout--wildlife { border-left-color: var(--brown); background: var(--brown-soft); }
.callout--blades, .callout--electrical { border-left-color: var(--poor-line); background: var(--poor); }
.callout--none { border-left-color: var(--line); font-size: 0.92rem; color: var(--muted); }
.source-line { font-size: 0.88rem; color: var(--muted); margin: 0.8rem 0; }
.email-capture { border: 2px dashed var(--line); border-radius: var(--radius); padding: 0.8rem 1.1rem; margin: 1.5rem 0; max-width: 48rem; background: var(--paper); }
.email-capture__title { margin-top: 0.2rem; font-size: 1.05rem; }

/* Hero */
.hero { display: grid; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding: 1.4rem 0 0.6rem; }
.hero__text h1 { max-width: 18ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); letter-spacing: -0.03em; }
.hero__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0; background: var(--stripe-soft); color: var(--green-ink); border-radius: 999px; padding: .28rem .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
.hero__kicker::before { content: ""; width: .48rem; height: .48rem; background: var(--green); border-radius: 50%; }
.hero__promise { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 700; color: var(--slate); max-width: 40rem; }
.hero__promise svg { width: 26px; height: 26px; flex: none; color: var(--green-ink); }
.hero-art { position: relative; max-width: 31rem; justify-self: end; width: 100%; padding: .5rem 0 2.4rem; }
.hero-art__scene { display: block; width: 100%; filter: drop-shadow(0 12px 10px rgba(47,59,69,.1)); }
.art-sky { fill: #e9f2f6; }
.art-sun { fill: #f3d58a; }
.art-hill { fill: var(--green); }
.art-stripes path { fill: var(--stripe); opacity: .55; }
.art-hedge { fill: #2e6b2a; }
.art-hog-house { fill: var(--brown); stroke: #5b3a25; stroke-width: 3; stroke-linejoin: round; }
.art-hog-house path + path { fill: #3b2a1f; }
.art-mower { fill: #fff; stroke: var(--slate); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.art-mower circle { fill: var(--slate); }
.art-path { fill: none; stroke: #d9e7c6; stroke-width: 10; stroke-linecap: round; }
.art-burn { fill: none; stroke: var(--burn); stroke-width: 5; stroke-linecap: round; }
.hero-art__note { position: absolute; right: .25rem; bottom: .3rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 5px 18px rgba(47,59,69,.1); color: var(--slate); font-size: .88rem; font-weight: 750; }
.hero-art__dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--brown); box-shadow: 0 0 0 4px var(--brown-soft); }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.5fr 1fr; } }
@media (max-width: 51.99rem) { .hero-art { max-width: 26rem; justify-self: center; } }
@media (max-width: 40rem) { .hero-art { display: none; } .hero { padding-top: 0.6rem; } }
.pledge { display: flex; gap: 1rem; align-items: flex-start; background: var(--brown-soft); border-radius: var(--radius); padding: 0.4rem 1.2rem 0.8rem; margin-top: 2rem; }
.pledge > svg { width: 48px; height: 48px; flex: none; margin-top: 1.4rem; color: var(--brown); }
.pledge h2 { margin-top: 1rem; }

/* Cards */
.cards { list-style: none; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); padding: 0; margin: 0.8rem 0; }
.card__link { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.card__link:hover { border-color: var(--green); box-shadow: 0 3px 0 var(--stripe); }
.card__icon svg { width: 30px; height: 30px; color: var(--green-ink); }
.card__name { font-weight: 800; color: var(--slate); font-family: var(--font-head); }
.card__text { font-size: 0.92rem; color: var(--muted); }
.btn { display: inline-block; font: inherit; font-weight: 800; background: var(--green-ink); color: #fff; border: 2px solid var(--green-ink); border-radius: 999px; padding: 0.5rem 1.2rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-ink); }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; }
.tool-card { background: var(--stripe-soft); border-radius: var(--radius); padding: 0.4rem 1.1rem 0.8rem; margin: 1.2rem 0; max-width: 44rem; }
.host-link { font-weight: 700; }
.shop-row { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.3rem 0; }
.shop-link { font-size: 0.9rem; }

/* Tools */
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 0.4rem 1.2rem 1rem; margin: 1.2rem 0 1.6rem; box-shadow: 0 4px 0 var(--stripe-soft); }
.tool__title { margin-top: 0.8rem; }
.tool__static h3 { margin-top: 0.6rem; }
.zone { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 1rem 0.6rem; margin: 0 0 1rem; }
.zone > legend { font-weight: 800; color: var(--slate); padding: 0 0.3rem; font-family: var(--font-head); }
.deduct { background: var(--mist); border-radius: 10px; padding: 0.3rem 0.8rem 0.6rem; margin: 0.6rem 0; }
.deduct__label { font-weight: 700; margin: 0.3rem 0; }
.field-row { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); margin-bottom: 0.4rem; }
.field { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.6rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field__unit { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; padding: 0.5rem 0.7rem; border: 2px solid #a9b3a5; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field--error input { border-color: var(--poor-line); }
.field__hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
.field__error { color: #8f3524; font-weight: 700; font-size: 0.9rem; margin: 0; }
.choice { border: 0; padding: 0; margin: 0 0 0.8rem; }
.choice legend { font-weight: 800; color: var(--slate); padding: 0; margin-bottom: 0.3rem; }
.choice--inline .choice__opts { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.tick { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.2rem 0; cursor: pointer; }
.tick input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--green-ink); flex: none; }
.tick__hint { color: var(--muted); font-size: 0.9rem; }
.results { border-top: 2px solid var(--line); margin-top: 0.6rem; padding-top: 0.4rem; }
.result-tiles { display: flex; flex-wrap: wrap; gap: var(--gap); margin: 0.8rem 0; }
.tile { background: var(--mist); border-radius: var(--radius); padding: 0.6rem 1.1rem; min-width: 11rem; }
.tile--main { background: var(--slate); color: #fff; background-image: repeating-linear-gradient(115deg, rgba(140,198,63,.12) 0 14px, transparent 14px 28px); }
.tile__label { margin: 0; font-size: 0.9rem; font-weight: 700; }
.tile__value { margin: 0; font-size: 2rem; font-weight: 800; font-family: var(--font-head); }
.tile__sub { margin: 0; font-size: 0.9rem; }
.zone-list { padding-left: 1.1rem; }
.verdict { background: var(--mist); border-radius: var(--radius); padding: 0.6rem 1rem; font-weight: 700; }
.verdict--ok { background: var(--good); }
.verdict--no { background: var(--poor); }
.tech-list { list-style: none; padding: 0; margin: 0.6rem 0; display: grid; gap: 0.6rem; }
.tech { border-radius: var(--radius); padding: 0.5rem 1rem; border-left: 6px solid; background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech--good { border-left-color: var(--good-line); }
.tech--possible { border-left-color: var(--maybe-line); }
.tech--poor { border-left-color: var(--poor-line); opacity: .85; }
.tech__head { margin: 0.2rem 0; }
.tech__why { margin: 0.2rem 0 0.4rem; padding-left: 1.1rem; font-size: 0.95rem; }
.tech__more summary { cursor: pointer; font-weight: 700; color: var(--link); }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 800; border-radius: 999px; padding: 0.05rem 0.6rem; background: var(--mist); color: var(--slate); margin-left: 0.3rem; }
.pill--good { background: var(--good); color: var(--green-ink); }
.pill--possible { background: var(--maybe); color: var(--maybe-line); }
.pill--poor { background: var(--poor); color: #8f3524; }
.models { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.model { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 1rem; background: var(--paper); }
.model p { margin: 0.2rem 0; }
.model__note { color: var(--maybe-line); }
.empty { background: var(--mist); border-radius: var(--radius); padding: 0.6rem 1rem; }
.fit-card { border: 2px solid var(--slate); border-radius: var(--radius); padding: 0.4rem 1.1rem 0.8rem; margin: 1.4rem 0; background: #fff; }
.fit-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem; }
.fit-card__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.4rem 1.5rem; margin: 0.4rem 0; }
.fit-card__rows dt { font-size: 0.85rem; color: var(--muted); }
.fit-card__rows dd { margin: 0; font-weight: 800; color: var(--slate); }
.fit-card__note { font-size: 0.88rem; color: var(--muted); }
.example { background: var(--mist); border-radius: var(--radius); padding: 0.2rem 1rem 0.6rem; }
.sources ul { font-size: 0.92rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 0.6rem 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 0.4rem 0.5rem; vertical-align: top; }
.prose th { background: var(--mist); }
.tracker-status { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.2rem 1.2rem 0.6rem; }
.tech-counts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding-left: 1.1rem; }

/* Hub intro */
.hub-intro { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; align-items: center; gap: clamp(1rem, 4vw, 3rem); margin: .5rem 0 1.5rem; }
.hub-intro__copy { max-width: 48rem; }
.hub-intro__copy > :first-child { margin-top: 0; }
.hub-art { margin: 0; background: var(--stripe-soft); border-radius: 24px; padding: 1rem; color: var(--green-ink); }
.hub-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 40rem) { .hub-intro { grid-template-columns: 1fr; } .hub-art { display: none; } }

/* Footer, cookie banner */
.site-footer { background: var(--slate); color: #e6ebe4; padding: 1.6rem 0 2rem; border-top: 6px solid transparent; border-image: repeating-linear-gradient(115deg, var(--green) 0 18px, var(--stripe) 18px 36px) 6; }
.site-footer a { color: #fff; }
.site-footer .small { color: #cdd6d0; }
.site-footer__promise { font-weight: 700; max-width: 52rem; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 0; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 3px solid var(--green); box-shadow: 0 -4px 16px rgba(0,0,0,.08); z-index: 20; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { padding-top: 0.6rem; padding-bottom: 0.8rem; }
.cookie-banner__title { margin: 0.2rem 0; font-size: 1.1rem; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-choice { font: inherit; font-weight: 800; border: 2px solid var(--slate); background: var(--slate); color: #fff; border-radius: 999px; padding: 0.4rem 1rem; cursor: pointer; }
.cookie-choice[data-consent="denied"] { background: #fff; color: var(--slate); }

/* Print: the Lawn fit card button prints just the card. */
@page { size: A4; margin: 14mm; }
@media print {
  html { font-size: 11pt; }
  body { background: #fff; color: #000; }
  .site-header, .site-nav, .site-footer, .cookie-banner, .no-print, .skip, .crumbs, .email-capture, .ad-banner, .shop-row, .text-size, .stub-banner { display: none !important; }
  a { color: #000; text-decoration: none; }
  .tool, .fit-card { box-shadow: none; border-color: #000; break-inside: avoid; }
  .callout, .tile, .tech { background: #fff !important; color: #000 !important; border: 1px solid #000; }
  body.printing-card * { visibility: hidden; }
  body.printing-card .fit-card, body.printing-card .fit-card * { visibility: visible; }
  body.printing-card .fit-card { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
