/* LawnBotVerdict — editorial column, calculator-first.
   Signature element: mowing-stripe bars that show how much of a robot's rated area your lawn uses. */
:root {
  --bg: #f3f5ee;
  --surface: #ffffff;
  --ink: #17251b;
  --muted: #56655a;
  --line: #d5ddd0;
  --grass: #3d8b37;
  --grass-2: #5aa64f;
  --lime: #c6e36a;
  --grass-soft: #e3f0d6;
  --grass-ink: #2b6a27;
  --good: #2b7a3a;
  --warn: #b5470f;
  --focus: #1f6fd1;
  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1510; --surface: #152019; --ink: #e6efe5; --muted: #9aab9c; --line: #2a3a2e;
    --grass: #59b04f; --grass-2: #73c467; --lime: #c6e36a; --grass-soft: #1f3322; --grass-ink: #9bd88f;
    --good: #6cc77a; --warn: #f28a5c; --focus: #6aa8ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1510; --surface: #152019; --ink: #e6efe5; --muted: #9aab9c; --line: #2a3a2e;
  --grass: #59b04f; --grass-2: #73c467; --lime: #c6e36a; --grass-soft: #1f3322; --grass-ink: #9bd88f;
  --good: #6cc77a; --warn: #f28a5c; --focus: #6aa8ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.05rem/1.6 var(--font-body); }
img { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--grass); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand b { color: var(--grass); font-weight: 800; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: inline-block; background: repeating-linear-gradient(90deg, var(--grass) 0 7px, var(--grass-2) 7px 14px); box-shadow: inset 0 0 0 2px var(--ink); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; font-weight: 600; font-size: 0.98rem; }
.nav a { text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--grass); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.lang select { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }

/* Hero */
.hero { padding-block: 48px 28px; display: grid; gap: 14px; }
.hero p.lede { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }

/* Calculator */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.calc-controls { padding: 22px; border-right: 1px solid var(--line); display: grid; gap: 20px; align-content: start; }
.calc-results { padding: 22px; min-width: 0; display: grid; gap: 14px; align-content: start; }
.field-label { font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 0.9rem var(--font-body); border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.area-input { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.area-input input { font: 700 1.4rem var(--font-display); font-variant-numeric: tabular-nums; width: 130px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); padding: 6px 10px; }
.hint { font-size: 0.86rem; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.seg button { font: 600 0.9rem var(--font-body); border: 0; background: var(--bg); color: var(--ink); padding: 7px 12px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.results-head h2 { font-size: 1.3rem; }

.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-row { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr) 110px; gap: 14px; align-items: center; }
.fit-name { min-width: 0; line-height: 1.25; }
.fit-name a { font-weight: 700; text-decoration: none; display: block; }
.fit-name a:hover { text-decoration: underline; text-decoration-color: var(--grass); }
.fit-name small { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; display: block; }
.fit-name .tag { display: inline-block; margin-top: 4px; font-size: 0.74rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--grass-soft); color: var(--grass-ink); }
.fit-name .tag.caution { background: transparent; border: 1px solid var(--warn); color: var(--warn); }
.lawn-bar { position: relative; height: 24px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.lawn-fill { height: 100%; background: repeating-linear-gradient(90deg, var(--grass) 0 12px, var(--grass-2) 12px 24px); transition: width 0.35s ease; }
.fit-row.tight .lawn-fill { background: repeating-linear-gradient(90deg, #c59a1d 0 12px, #d9b443 12px 24px); }
.fit-row.miss { opacity: 0.62; }
.fit-row.miss .lawn-bar { border-style: dashed; border-color: var(--warn); }
.fit-row.miss .lawn-fill { background: repeating-linear-gradient(135deg, var(--warn) 0 6px, transparent 6px 12px); opacity: 0.45; }
.fit-verdict { font: 700 0.92rem var(--font-body); text-align: right; line-height: 1.25; }
.fit-row.miss .fit-verdict { color: var(--warn); }
.fit-verdict small { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.method { font-size: 0.86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* Sections */
.section { padding-block: 44px; display: grid; gap: 22px; }
.section-intro { display: grid; gap: 8px; max-width: 68ch; }
.section-intro p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; }
.pick .use { font-weight: 700; color: var(--grass-ink); font-size: 0.92rem; }
.pick .specs { color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.principles div { display: grid; gap: 6px; border-top: 4px solid var(--grass); padding-top: 12px; }
.principles p { color: var(--muted); font-size: 0.97rem; }

/* Review page */
.crumbs { font-size: 0.86rem; color: var(--muted); padding-top: 22px; }
.review-head { padding-block: 16px 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; }
.review-head .lede { font-size: 1.15rem; color: var(--muted); margin-top: 14px; max-width: 58ch; }
.verdict { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.verdict-score { display: grid; gap: 2px; }
.verdict-score b { font: 800 2.3rem var(--font-display); line-height: 1; }
.verdict-score span { color: var(--muted); font-weight: 600; }
.verdict p { font-size: 0.97rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: 700 1rem var(--font-body); text-decoration: none; background: var(--lime); color: #14210f; border: 0; border-radius: 8px; padding: 12px 18px; cursor: pointer; }
.btn:hover { filter: brightness(0.95); }
.small { font-size: 0.82rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.spec-table-wrap { overflow-x: auto; }
table.specs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.specs th, table.specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs th { font-weight: 600; color: var(--muted); width: 38%; }
.pros-cons ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.pros-cons li { padding-left: 26px; position: relative; }
.pros li::before { content: "+"; position: absolute; left: 4px; font-weight: 800; color: var(--good); }
.cons li::before { content: "–"; position: absolute; left: 6px; font-weight: 800; color: var(--warn); }
.prose { max-width: 68ch; display: grid; gap: 14px; }
.prose h2 { margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* Data tables */
table.data thead th { color: var(--muted); font-size: 0.86rem; font-weight: 700; width: auto; white-space: nowrap; border-bottom: 2px solid var(--ink); }
table.data th[scope="row"] { width: auto; color: var(--ink); font-weight: 600; white-space: nowrap; }
table.data td { white-space: nowrap; }
table.data tbody tr:hover { background: var(--grass-soft); }
table.compare thead th { white-space: normal; min-width: 140px; color: var(--ink); }
table.compare td { white-space: normal; }
table.compare th[scope="row"] { color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; background: var(--surface); }
.site-foot .wrap { padding-block: 28px; display: grid; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; color: var(--ink); }

/* Home hero band: a striped lawn that "mows" to show coverage */
:root { --band-bg: #13261a; --band-fg: #f0f6ee; --band-muted: #a9c0ad; --band-line: #2c4433; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --band-bg: #0a140d; --band-line: #213428; } }
:root[data-theme="dark"] { --band-bg: #0a140d; --band-line: #213428; }
.hero-band { background: var(--band-bg); color: var(--band-fg); border-bottom: 1px solid var(--band-line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-copy { display: grid; gap: 20px; align-content: start; }
.hero-copy h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: 0.98; }
.hero-copy h1 em { font-style: normal; color: var(--lime); }
.hero-copy .lede { font-size: 1.18rem; color: var(--band-muted); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: var(--band-fg); border: 2px solid var(--band-line); }
.btn-ghost:hover { border-color: var(--band-fg); filter: none; }
.hero-facts { color: var(--band-muted); font-size: 0.92rem; }
.yard { margin: 0; display: grid; gap: 14px; }
.yard-cap { font: 700 1.05rem var(--font-body); color: var(--band-muted); }
.yard-cap span { color: var(--band-fg); }
.yard-plot { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 3px solid var(--band-fg);
  background: repeating-linear-gradient(90deg, #2f5a2c 0 9%, #386a33 9% 18%); }
.yard-mowed { position: absolute; inset: 0 auto 0 0; width: 0; background: repeating-linear-gradient(90deg, var(--grass) 0 9%, #6fb85f 9% 18%); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.yard-bot { position: absolute; top: 50%; width: 34px; height: 24px; border-radius: 8px; background: var(--lime); border: 3px solid #13261a; transform: translate(-50%, -50%); left: 0; transition: left 1.4s cubic-bezier(.2,.7,.2,1); }
.yard-readout { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.yard-readout b { font: 800 clamp(2.6rem, 7vw, 4rem) var(--font-display); line-height: 1; color: var(--lime); }
.yard-readout span { color: var(--band-muted); font-weight: 600; }
.hero-band + .wrap .calc { margin-top: 40px; }


/* ---- Data graphics: slope drawn at the real angle, area against one acre ---- */
.g-s1 { fill: var(--grass); } .g-s2 { fill: var(--grass-2); }
.g-ref { stroke: var(--g-faint, var(--line)); stroke-width: 1.2; stroke-dasharray: 3 4; }
.g-base { stroke: var(--g-ink, var(--ink)); stroke-width: 2.4; stroke-linecap: round; }
.g-hill { stroke: var(--g-ink, var(--ink)); stroke-width: 1.6; stroke-linejoin: round; }
.g-arc { fill: none; stroke: var(--lime); stroke-width: 2.4; }
.g-deg { font: 700 12px var(--font-body); fill: var(--g-ink, var(--ink)); }
.g-bot { fill: var(--lime); stroke: #13261a; stroke-width: 2; }
.g-wheel { fill: #13261a; }
.g-frame { fill: none; stroke: var(--g-faint, var(--line)); stroke-width: 1.5; stroke-dasharray: 3 4; }
.g-lawn { stroke: var(--g-ink, var(--ink)); stroke-width: 1.6; }
.g-frame-t { font: 700 9px var(--font-body); fill: var(--g-faint-t, var(--muted)); paint-order: stroke; stroke: var(--band-bg); stroke-width: 3px; }
.g-acre { fill: none; stroke: var(--lime); stroke-width: 2; }
.g-acre-t { font: 700 9px var(--font-body); fill: var(--lime); paint-order: stroke; stroke: #13261a; stroke-width: 3px; }

/* Review band */
.review-band { background: var(--band-bg); color: var(--band-fg); border-bottom: 1px solid var(--band-line);
  --g-ink: var(--band-fg); --g-faint: #4d6b55; --g-faint-t: var(--band-muted); }
.review-band .crumbs { color: var(--band-muted); }
.review-band .crumbs a { color: var(--band-fg); text-decoration-color: var(--grass-2); }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 48px; align-items: center; padding-block: 18px 52px; }
.review-copy { display: grid; gap: 14px; align-content: start; }
.brand-line { color: var(--lime); font-weight: 700; font-size: 1.05rem; }
.review-copy h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 0.98; }
.review-copy .lede { color: var(--band-muted); font-size: 1.15rem; max-width: 52ch; }
.price-line { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; color: var(--band-muted); }
.price-line b { font: 800 1.7rem var(--font-display); color: var(--band-fg); }
.capability { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.cap-cell { display: grid; gap: 10px; align-content: end; }
.cap-cell svg { width: 100%; height: auto; max-height: 190px; }
.cap-cell figcaption { display: grid; gap: 0; }
.cap-cell figcaption b { font: 800 clamp(1.8rem, 4vw, 2.4rem) var(--font-display); line-height: 1; color: var(--lime); }
.cap-cell figcaption span { color: var(--band-muted); font-weight: 600; font-size: 0.92rem; }
.nav-glyphs { grid-column: 1 / -1; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--band-line); display: flex; gap: 18px; flex-wrap: wrap; }
.nav-g { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.95rem; }
.nav-g svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-g.off { color: var(--band-muted); font-weight: 500; }
.nav-g.off svg { stroke: var(--band-muted); opacity: 0.55; }

/* Verdict strip under the band */
.verdict-strip { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; margin-top: -26px; position: relative;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); }
.verdict-strip > div { padding: 18px 22px; display: grid; gap: 6px; align-content: start; }
.verdict-strip > div + div { border-left: 1px solid var(--line); }
.verdict-strip h2 { font-size: 1.05rem; }
.verdict-strip > div:first-child h2 { color: var(--good); }
.verdict-strip > div:nth-child(2) h2 { color: var(--warn); }
.verdict-cta { align-content: center !important; }

/* Pick cards with mini graphics */
.mini-cap { display: grid; grid-template-columns: 44px auto 56px auto; align-items: center; gap: 8px; justify-content: start; color: var(--muted); font-size: 0.9rem; padding: 6px 0 2px; }
.mini-cap b { color: var(--ink); }
.g-area.mini, .g-slope.mini { width: 100%; height: auto; display: block; }
.pick-price { font: 800 1.35rem var(--font-display); }

/* Bars inside comparison tables */
.cell-bar { display: inline-block; vertical-align: middle; width: 54px; height: 9px; border-radius: 3px; background: var(--grass-soft); margin-right: 8px; overflow: hidden; }
.cell-bar > span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--grass) 0 5px, var(--grass-2) 5px 10px); }
.cell-bar.slope > span { background: var(--ink); opacity: 0.75; }

/* Model vs model */
.vs-head { display: grid; gap: 12px; padding-block: 14px 26px; max-width: 70ch; }
.vs-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.02; }
.vs-head .lede { color: var(--band-muted); font-size: 1.12rem; }
.vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 52px; }
.vs-side { display: grid; gap: 10px; align-content: start; }
.vs-side h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.vs-side h2 a { color: var(--band-fg); text-decoration-color: var(--grass-2); }
.vs-side .capability { margin-top: 8px; }
.vs-mid { align-self: center; font: 800 1.6rem var(--font-display); color: var(--lime); border: 2px solid var(--band-line); border-radius: 999px; width: 58px; height: 58px; display: grid; place-items: center; }
.vs-verdict { grid-template-columns: 1fr; }
.vs-verdict h2 { color: var(--ink) !important; }
@media (max-width: 820px) {
  .vs-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vs-mid { justify-self: start; width: 46px; height: 46px; font-size: 1.2rem; }
}
@media (max-width: 820px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 12px 48px; }
  .verdict-strip { grid-template-columns: minmax(0, 1fr); }
  .verdict-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .capability { gap: 18px 16px; } .mini-cap { grid-template-columns: 40px auto 50px auto; gap: 6px; } }

@media (max-width: 820px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-3, .principles, .two-col, .review-head { grid-template-columns: minmax(0, 1fr); }
  .fit-row { grid-template-columns: minmax(0, 1fr) 100px; }
  .fit-row .lawn-bar { grid-column: 1 / -1; grid-row: 2; }
  .nav { margin-left: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 48px; }
}
@media (max-width: 600px) {
  table.compare thead th { min-width: 0; }
  table.compare th, table.compare td { padding: 9px 6px; font-size: 0.92rem; }
  table.compare th[scope="row"] { white-space: normal; width: 28%; }
}
@media (prefers-reduced-motion: reduce) { .lawn-fill, .yard-mowed, .yard-bot { transition: none; } }
